@deepsel/admin 1.4.0 → 1.4.1
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/{index-DUaFobPv.js → index-DZq9Oo_a.js} +162 -134
- package/dist/{index-DUaFobPv.js.map → index-DZq9Oo_a.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{web-CAS4VAro.js → web-BwY2FMtF.js} +2 -2
- package/dist/{web-CAS4VAro.js.map → web-BwY2FMtF.js.map} +1 -1
- package/dist/{web-CyHQhGMv.js → web-Chl2J0SI.js} +2 -2
- package/dist/{web-CyHQhGMv.js.map → web-Chl2J0SI.js.map} +1 -1
- package/package.json +1 -1
|
@@ -8695,7 +8695,7 @@ const Fj = {
|
|
|
8695
8695
|
"--text-line-clamp": typeof n == "number" ? n.toString() : void 0,
|
|
8696
8696
|
"--text-color": i ? sr(i, e) : void 0
|
|
8697
8697
|
}
|
|
8698
|
-
}),
|
|
8698
|
+
}), bn = Lr((e, t) => {
|
|
8699
8699
|
const n = ve("Text", Fj, e), {
|
|
8700
8700
|
lineClamp: r,
|
|
8701
8701
|
truncate: o,
|
|
@@ -8749,8 +8749,8 @@ const Fj = {
|
|
|
8749
8749
|
}
|
|
8750
8750
|
);
|
|
8751
8751
|
});
|
|
8752
|
-
|
|
8753
|
-
|
|
8752
|
+
bn.classes = pD;
|
|
8753
|
+
bn.displayName = "@mantine/core/Text";
|
|
8754
8754
|
var fD = { root: "m_849cf0da" };
|
|
8755
8755
|
const Bj = {
|
|
8756
8756
|
underline: "hover"
|
|
@@ -8761,7 +8761,7 @@ const Bj = {
|
|
|
8761
8761
|
e
|
|
8762
8762
|
);
|
|
8763
8763
|
return /* @__PURE__ */ u(
|
|
8764
|
-
|
|
8764
|
+
bn,
|
|
8765
8765
|
{
|
|
8766
8766
|
component: "a",
|
|
8767
8767
|
ref: t,
|
|
@@ -18381,12 +18381,12 @@ Xv("CapacitorHttp", {
|
|
|
18381
18381
|
web: () => new wK()
|
|
18382
18382
|
});
|
|
18383
18383
|
const mo = Xv("Preferences", {
|
|
18384
|
-
web: () => import("./web-
|
|
18384
|
+
web: () => import("./web-Chl2J0SI.js").then((e) => new e.PreferencesWeb())
|
|
18385
18385
|
}), AL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18386
18386
|
__proto__: null,
|
|
18387
18387
|
Preferences: mo
|
|
18388
18388
|
}, Symbol.toStringTag, { value: "Module" })), xK = Xv("Device", {
|
|
18389
|
-
web: () => import("./web-
|
|
18389
|
+
web: () => import("./web-BwY2FMtF.js").then((e) => new e.DeviceWeb())
|
|
18390
18390
|
}), Jr = [];
|
|
18391
18391
|
for (let e = 0; e < 256; ++e)
|
|
18392
18392
|
Jr.push((e + 256).toString(16).slice(1));
|
|
@@ -22652,8 +22652,8 @@ function Sh(e) {
|
|
|
22652
22652
|
/* @__PURE__ */ u(is.Reject, { children: /* @__PURE__ */ u(cs, { size: 16, className: "text-3xl text-red-500" }) }),
|
|
22653
22653
|
/* @__PURE__ */ u(is.Idle, { children: o === "image" ? /* @__PURE__ */ u(za, { size: 16, className: "text-3xl text-gray-500" }) : /* @__PURE__ */ u(zE, { size: 16, className: "text-3xl text-gray-500" }) }),
|
|
22654
22654
|
/* @__PURE__ */ A("div", { className: "text-center", children: [
|
|
22655
|
-
/* @__PURE__ */ u(
|
|
22656
|
-
/* @__PURE__ */ u(
|
|
22655
|
+
/* @__PURE__ */ u(bn, { size: "xl", inline: !0, className: "font-medium", children: b("Drag files here or click to select files") }),
|
|
22656
|
+
/* @__PURE__ */ u(bn, { size: "sm", inline: !0, mt: 7, children: b("Upload as many files as you need") })
|
|
22657
22657
|
] })
|
|
22658
22658
|
] })
|
|
22659
22659
|
}
|
|
@@ -26344,8 +26344,8 @@ function nQ({
|
|
|
26344
26344
|
/* @__PURE__ */ u(is.Reject, { children: /* @__PURE__ */ u(cs, { size: 16, className: "text-3xl text-danger-main" }) }),
|
|
26345
26345
|
/* @__PURE__ */ u(is.Idle, { children: /* @__PURE__ */ u(za, { size: 16, className: "text-3xl text-gray-500" }) }),
|
|
26346
26346
|
/* @__PURE__ */ A("div", { className: "text-center", children: [
|
|
26347
|
-
/* @__PURE__ */ u(
|
|
26348
|
-
/* @__PURE__ */ u(
|
|
26347
|
+
/* @__PURE__ */ u(bn, { size: "xl", inline: !0, className: "font-medium", children: p("Drag files here or click to select files") }),
|
|
26348
|
+
/* @__PURE__ */ u(bn, { size: "sm", c: "dimmed", inline: !0, mt: 7, children: p("Upload as many files as you need") })
|
|
26349
26349
|
] })
|
|
26350
26350
|
]
|
|
26351
26351
|
}
|
|
@@ -26441,7 +26441,7 @@ function nQ({
|
|
|
26441
26441
|
}) }) }),
|
|
26442
26442
|
!o && !n.length && /* @__PURE__ */ A(ke, { className: "text-center space-y-3 px-6 py-16", children: [
|
|
26443
26443
|
/* @__PURE__ */ u(hX, { size: 16, className: "text-gray-pale-sky" }),
|
|
26444
|
-
/* @__PURE__ */ u(
|
|
26444
|
+
/* @__PURE__ */ u(bn, { c: "dimmed", size: "sm", children: p("No images found.") })
|
|
26445
26445
|
] })
|
|
26446
26446
|
] }) });
|
|
26447
26447
|
}
|
|
@@ -26967,7 +26967,7 @@ function cQ({
|
|
|
26967
26967
|
className: "cursor-pointer hover:bg-gray-50",
|
|
26968
26968
|
onClick: () => m(b),
|
|
26969
26969
|
children: [
|
|
26970
|
-
/* @__PURE__ */ u(Rr.Td, { children: /* @__PURE__ */ u(
|
|
26970
|
+
/* @__PURE__ */ u(Rr.Td, { children: /* @__PURE__ */ u(bn, { size: "sm", fw: 500, children: g }) }),
|
|
26971
26971
|
/* @__PURE__ */ u(Rr.Td, { children: /* @__PURE__ */ u("div", { className: "flex gap-1 flex-wrap", children: (v = b.contents) == null ? void 0 : v.map((S, x) => {
|
|
26972
26972
|
var w, y;
|
|
26973
26973
|
return /* @__PURE__ */ u(
|
|
@@ -26986,7 +26986,7 @@ function cQ({
|
|
|
26986
26986
|
);
|
|
26987
26987
|
}) })
|
|
26988
26988
|
] }),
|
|
26989
|
-
!p && !f && (!d || d.length === 0) && /* @__PURE__ */ u("div", { className: "text-center py-8", children: /* @__PURE__ */ u(
|
|
26989
|
+
!p && !f && (!d || d.length === 0) && /* @__PURE__ */ u("div", { className: "text-center py-8", children: /* @__PURE__ */ u(bn, { c: "dimmed", children: l("No templates available") }) }),
|
|
26990
26990
|
/* @__PURE__ */ u("div", { className: "flex justify-end gap-2 pt-4", children: /* @__PURE__ */ u(Ke, { variant: "outline", onClick: t, children: l("Cancel") }) })
|
|
26991
26991
|
] })
|
|
26992
26992
|
}
|
|
@@ -27414,7 +27414,7 @@ const mQ = ({
|
|
|
27414
27414
|
}
|
|
27415
27415
|
), uC = Ye.memo(
|
|
27416
27416
|
({ label: e, description: t, required: n = !1 }) => /* @__PURE__ */ A(pt, { children: [
|
|
27417
|
-
e && /* @__PURE__ */ A(
|
|
27417
|
+
e && /* @__PURE__ */ A(bn, { size: "sm", fw: 500, mb: 0, children: [
|
|
27418
27418
|
e,
|
|
27419
27419
|
" ",
|
|
27420
27420
|
n && /* @__PURE__ */ A(ke, { component: "span", className: "text-danger-main", children: [
|
|
@@ -27422,7 +27422,7 @@ const mQ = ({
|
|
|
27422
27422
|
"*"
|
|
27423
27423
|
] })
|
|
27424
27424
|
] }),
|
|
27425
|
-
t && /* @__PURE__ */ u(
|
|
27425
|
+
t && /* @__PURE__ */ u(bn, { size: "xs", c: "dimmed", mb: 8, children: t })
|
|
27426
27426
|
] })
|
|
27427
27427
|
);
|
|
27428
27428
|
uC.displayName = "LabelAndDescription";
|
|
@@ -54054,7 +54054,7 @@ const She = {
|
|
|
54054
54054
|
}, gt = Che(She), Ehe = {
|
|
54055
54055
|
isFirst: !0
|
|
54056
54056
|
};
|
|
54057
|
-
function
|
|
54057
|
+
function gn(e, t, n) {
|
|
54058
54058
|
gt(e, t, n, Ehe);
|
|
54059
54059
|
}
|
|
54060
54060
|
const SR = 1, _he = 1.5, khe = (e) => {
|
|
@@ -54697,7 +54697,7 @@ function Khe(e, t) {
|
|
|
54697
54697
|
const N = T.useRef(null);
|
|
54698
54698
|
gt(e, "viewportInnerSizeChange", (z) => {
|
|
54699
54699
|
N.current !== z.width && (N.current = z.width, l(M4(Kc(e.current.state), z.width)));
|
|
54700
|
-
}),
|
|
54700
|
+
}), gn(e, "columnVisibilityChange", t.onColumnVisibilityChange);
|
|
54701
54701
|
const R = T.useCallback(() => {
|
|
54702
54702
|
o.info("Columns pipe processing have changed, regenerating the columns");
|
|
54703
54703
|
const z = eu({
|
|
@@ -56054,7 +56054,7 @@ const Pme = (e, t) => {
|
|
|
56054
56054
|
props: _
|
|
56055
56055
|
}));
|
|
56056
56056
|
}, [e]);
|
|
56057
|
-
gt(e, "cellKeyDown", o(d)), gt(e, "cellDoubleClick", o(p)), gt(e, "cellFocusOut", o(m)), gt(e, "columnHeaderDragStart", o(b)), gt(e, "cellEditStart", o(g)), gt(e, "cellEditStop", o(v)), gt(e, "cellEditCommit", o(S)), gt(e, "editCellPropsChange", o(x)),
|
|
56057
|
+
gt(e, "cellKeyDown", o(d)), gt(e, "cellDoubleClick", o(p)), gt(e, "cellFocusOut", o(m)), gt(e, "columnHeaderDragStart", o(b)), gt(e, "cellEditStart", o(g)), gt(e, "cellEditStop", o(v)), gt(e, "cellEditCommit", o(S)), gt(e, "editCellPropsChange", o(x)), gn(e, "cellEditCommit", t.onCellEditCommit), gn(e, "cellEditStart", t.onCellEditStart), gn(e, "cellEditStop", t.onCellEditStop);
|
|
56058
56058
|
}, Ame = (e, t) => {
|
|
56059
56059
|
var n, r;
|
|
56060
56060
|
const o = T.useRef(null), i = T.useRef(null), s = _t(e, Ai), a = (C) => (...k) => {
|
|
@@ -56214,7 +56214,7 @@ const Pme = (e, t) => {
|
|
|
56214
56214
|
const k = e.current.getCellParams(C.id, C.field);
|
|
56215
56215
|
y(k, {});
|
|
56216
56216
|
});
|
|
56217
|
-
gt(e, "cellKeyDown", a(m)), gt(e, "cellDoubleClick", a(b)), gt(e, "editCellPropsChange", a(g)), gt(e, "rowEditStart", a(v)), gt(e, "rowEditStop", a(S)), gt(e, "rowEditCommit", a(x)), gt(e, "cellFocusIn", a(w)), gt(e, "cellFocusOut", a(E)), gt(e, "columnHeaderDragStart", a(_)),
|
|
56217
|
+
gt(e, "cellKeyDown", a(m)), gt(e, "cellDoubleClick", a(b)), gt(e, "editCellPropsChange", a(g)), gt(e, "rowEditStart", a(v)), gt(e, "rowEditStop", a(S)), gt(e, "rowEditCommit", a(x)), gt(e, "cellFocusIn", a(w)), gt(e, "cellFocusOut", a(E)), gt(e, "columnHeaderDragStart", a(_)), gn(e, "rowEditCommit", t.onRowEditCommit), gn(e, "rowEditStart", t.onRowEditStart), gn(e, "rowEditStop", t.onRowEditStop);
|
|
56218
56218
|
}, Dme = (e) => H({}, e, {
|
|
56219
56219
|
editRows: {}
|
|
56220
56220
|
});
|
|
@@ -56302,7 +56302,7 @@ function Lme(e, t) {
|
|
|
56302
56302
|
const S = v.detail > 1;
|
|
56303
56303
|
g.isEditable && g.cellMode === ln.View && S && v.preventDefault();
|
|
56304
56304
|
}, []);
|
|
56305
|
-
gt(e, "cellMouseDown", m),
|
|
56305
|
+
gt(e, "cellMouseDown", m), gn(e, "editCellPropsChange", t.onEditCellPropsChange), Tn(e, {
|
|
56306
56306
|
isCellEditable: i,
|
|
56307
56307
|
setEditRowsModel: p,
|
|
56308
56308
|
getEditRowsModel: f,
|
|
@@ -56395,7 +56395,7 @@ const $me = ["id", "field"], Fme = ["id", "field"], zme = Ji(["MUI: A call to `p
|
|
|
56395
56395
|
cellToFocusAfter: I
|
|
56396
56396
|
});
|
|
56397
56397
|
}, [e, t.disableIgnoreModificationsIfProcessingProps]);
|
|
56398
|
-
gt(e, "cellDoubleClick", p(b)), gt(e, "cellFocusOut", p(g)), gt(e, "cellKeyDown", p(v)), gt(e, "cellEditStart", p(S)), gt(e, "cellEditStop", p(x)),
|
|
56398
|
+
gt(e, "cellDoubleClick", p(b)), gt(e, "cellFocusOut", p(g)), gt(e, "cellKeyDown", p(v)), gt(e, "cellEditStart", p(S)), gt(e, "cellEditStop", p(x)), gn(e, "cellEditStart", t.onCellEditStart), gn(e, "cellEditStop", t.onCellEditStop);
|
|
56399
56399
|
const w = T.useCallback((O, P) => {
|
|
56400
56400
|
const $ = vr(e.current.state);
|
|
56401
56401
|
return $[O] && $[O][P] ? ln.Edit : ln.View;
|
|
@@ -56670,7 +56670,7 @@ const $me = ["id", "field"], Fme = ["id", "field"], zme = Ji(["MUI: A call to `p
|
|
|
56670
56670
|
cellToFocusAfter: U
|
|
56671
56671
|
});
|
|
56672
56672
|
}, [e, t.disableIgnoreModificationsIfProcessingProps]);
|
|
56673
|
-
gt(e, "cellDoubleClick", m(v)), gt(e, "cellFocusIn", m(S)), gt(e, "cellFocusOut", m(x)), gt(e, "cellKeyDown", m(w)), gt(e, "rowEditStart", m(y)), gt(e, "rowEditStop", m(E)),
|
|
56673
|
+
gt(e, "cellDoubleClick", m(v)), gt(e, "cellFocusIn", m(S)), gt(e, "cellFocusOut", m(x)), gt(e, "cellKeyDown", m(w)), gt(e, "rowEditStart", m(y)), gt(e, "rowEditStop", m(E)), gn(e, "rowEditStart", t.onRowEditStart), gn(e, "rowEditStop", t.onRowEditStop);
|
|
56674
56674
|
const _ = T.useCallback((I) => {
|
|
56675
56675
|
if (t.editMode === vo.Cell)
|
|
56676
56676
|
return yn.View;
|
|
@@ -57879,7 +57879,7 @@ const fge = (e, t) => {
|
|
|
57879
57879
|
});
|
|
57880
57880
|
};
|
|
57881
57881
|
function hge(e, t) {
|
|
57882
|
-
|
|
57882
|
+
gn(e, "columnHeaderClick", t.onColumnHeaderClick), gn(e, "columnHeaderDoubleClick", t.onColumnHeaderDoubleClick), gn(e, "columnHeaderOver", t.onColumnHeaderOver), gn(e, "columnHeaderOut", t.onColumnHeaderOut), gn(e, "columnHeaderEnter", t.onColumnHeaderEnter), gn(e, "columnHeaderLeave", t.onColumnHeaderLeave), gn(e, "columnOrderChange", t.onColumnOrderChange), gn(e, "cellClick", t.onCellClick), gn(e, "cellDoubleClick", t.onCellDoubleClick), gn(e, "cellKeyDown", t.onCellKeyDown), gn(e, "cellFocusOut", t.onCellFocusOut), gn(e, "preferencePanelClose", t.onPreferencePanelClose), gn(e, "preferencePanelOpen", t.onPreferencePanelOpen), gn(e, "menuOpen", t.onMenuOpen), gn(e, "menuClose", t.onMenuClose), gn(e, "rowDoubleClick", t.onRowDoubleClick), gn(e, "rowClick", t.onRowClick), gn(e, "componentError", t.onError), gn(e, "stateChange", t.onStateChange);
|
|
57883
57883
|
}
|
|
57884
57884
|
const mge = process.env.NODE_ENV === "test", gge = ({
|
|
57885
57885
|
content: e,
|
|
@@ -57981,7 +57981,7 @@ function bge(e, t) {
|
|
|
57981
57981
|
}
|
|
57982
57982
|
m();
|
|
57983
57983
|
}, [t.autoHeight, m, n, c]);
|
|
57984
|
-
yr(() => l(), [l]),
|
|
57984
|
+
yr(() => l(), [l]), gn(e, "sortedRowsSet", l), gn(e, "pageChange", l), gn(e, "pageSizeChange", l), gn(e, "columnsChange", l), gt(e, "resize", g), gn(e, "debouncedResize", t.onResize);
|
|
57985
57985
|
}
|
|
57986
57986
|
const vge = (e) => H({}, e, {
|
|
57987
57987
|
rowsMeta: {
|
|
@@ -60700,7 +60700,7 @@ pbe().then((e) => {
|
|
|
60700
60700
|
console.log(`backendHost ${Il} (source: ${hbe})`);
|
|
60701
60701
|
const mbe = {
|
|
60702
60702
|
backendHost: localStorage.getItem("backendHost") || Il
|
|
60703
|
-
},
|
|
60703
|
+
}, hn = hs((e) => ({
|
|
60704
60704
|
...mbe,
|
|
60705
60705
|
setBackendHost: (t) => {
|
|
60706
60706
|
localStorage.setItem("backendHost", t), e(() => ({ backendHost: t }));
|
|
@@ -60719,7 +60719,7 @@ const mbe = {
|
|
|
60719
60719
|
logout: () => e(() => ({ user: null }))
|
|
60720
60720
|
}));
|
|
60721
60721
|
function Ln() {
|
|
60722
|
-
const { backendHost: e } =
|
|
60722
|
+
const { backendHost: e } = hn(), { user: t, setUser: n } = ea(), { organizationId: r, setOrganizationId: o } = so();
|
|
60723
60723
|
return kK({
|
|
60724
60724
|
backendHost: e,
|
|
60725
60725
|
user: t,
|
|
@@ -60729,7 +60729,7 @@ function Ln() {
|
|
|
60729
60729
|
});
|
|
60730
60730
|
}
|
|
60731
60731
|
function jt(e, t = {}) {
|
|
60732
|
-
const { t: n } = et(), { backendHost: r } =
|
|
60732
|
+
const { t: n } = et(), { backendHost: r } = hn(), { user: o, setUser: i } = Ln(), { organizationId: s } = so();
|
|
60733
60733
|
return Ca(e, { backendHost: r, user: o, setUser: i, t: n }, t);
|
|
60734
60734
|
}
|
|
60735
60735
|
const vbe = {
|
|
@@ -61083,7 +61083,7 @@ const Xy = hs((e) => ({
|
|
|
61083
61083
|
}
|
|
61084
61084
|
}));
|
|
61085
61085
|
function To(e) {
|
|
61086
|
-
const { backendHost: t } =
|
|
61086
|
+
const { backendHost: t } = hn(), { user: n, setUser: r } = ea();
|
|
61087
61087
|
return /* @__PURE__ */ u(fQ, { backendHost: t, user: n, setUser: r, ...e });
|
|
61088
61088
|
}
|
|
61089
61089
|
var Fo = {}, $R;
|
|
@@ -62492,7 +62492,7 @@ Prism.languages.js = Prism.languages.javascript;
|
|
|
62492
62492
|
})(Prism);
|
|
62493
62493
|
function zR({ onSuccess: e }) {
|
|
62494
62494
|
var Ee, ze, Ie, tt, Bt, Pt;
|
|
62495
|
-
const { t } = et(), n = $n(), { id: r } = gi(), { notify: o } = dn(), { organizationId: i } = so(), { settings: s } = Lo(), { backendHost: a } =
|
|
62495
|
+
const { t } = et(), n = $n(), { id: r } = gi(), { notify: o } = dn(), { organizationId: i } = so(), { settings: s } = Lo(), { backendHost: a } = hn(), { setShowBackButton: l } = Xy(), { setNavigationConfirmation: c, clearNavigationConfirmation: d } = mk(), { isCollapsed: p, temporaryCollapse: f, clearTemporaryOverride: m } = aB(), b = !r, [g, v] = ee({
|
|
62496
62496
|
name: "",
|
|
62497
62497
|
contents: []
|
|
62498
62498
|
}), S = jt("template", { id: r, autoFetch: !!r }), x = b ? g : S.record, w = b ? v : S.setRecord, { update: y, create: E, loading: _ } = S, { data: C } = jt("locale", {
|
|
@@ -63330,7 +63330,7 @@ const _be = {
|
|
|
63330
63330
|
if (!(t().APISchema || t().isLoading)) {
|
|
63331
63331
|
e({ isLoading: !0, error: null });
|
|
63332
63332
|
try {
|
|
63333
|
-
const { backendHost: n } =
|
|
63333
|
+
const { backendHost: n } = hn.getState(), r = n.replace(/\/api\/v1\/?$/, ""), o = r === "" ? "/api/v1/openapi.json" : `${r}/openapi.json`, i = await fetch(o, {
|
|
63334
63334
|
credentials: "include"
|
|
63335
63335
|
});
|
|
63336
63336
|
if (!i.ok)
|
|
@@ -63562,7 +63562,7 @@ async function Nbe(e = null, t = null, n = null) {
|
|
|
63562
63562
|
}
|
|
63563
63563
|
}
|
|
63564
63564
|
function Tbe() {
|
|
63565
|
-
const { t: e } = et(), t = $n(), { backendHost: n } =
|
|
63565
|
+
const { t: e } = et(), t = $n(), { backendHost: n } = hn(), { user: r } = Ln(), { settings: o, setSettings: i } = Lo(), { notify: s } = dn((z) => z), [a, l] = ee([]), [c, d] = ee(!0), [p, f] = ee(null), [m, b] = ee(null), [g, v] = ee(null), [S, x] = ee(!1), [w, y] = ee(null), [E, _] = ee(!1);
|
|
63566
63566
|
_e(() => {
|
|
63567
63567
|
C();
|
|
63568
63568
|
}, []);
|
|
@@ -63695,7 +63695,7 @@ function Tbe() {
|
|
|
63695
63695
|
}, F = (z) => {
|
|
63696
63696
|
zi.openConfirmModal({
|
|
63697
63697
|
title: e("Reset Theme to Default"),
|
|
63698
|
-
children: /* @__PURE__ */ u(
|
|
63698
|
+
children: /* @__PURE__ */ u(bn, { size: "sm", children: e(
|
|
63699
63699
|
"This will reset all theme file edits to the original defaults. This action cannot be undone."
|
|
63700
63700
|
) }),
|
|
63701
63701
|
labels: { confirm: e("Reset"), cancel: e("Cancel") },
|
|
@@ -63763,8 +63763,8 @@ function Tbe() {
|
|
|
63763
63763
|
] }),
|
|
63764
63764
|
E && /* @__PURE__ */ u("div", { className: "fixed inset-0 bg-black/50 flex items-center justify-center z-50", children: /* @__PURE__ */ A("div", { className: "bg-white rounded-lg p-8 flex flex-col items-center gap-4 shadow-xl", children: [
|
|
63765
63765
|
/* @__PURE__ */ u(ka, { size: "xl" }),
|
|
63766
|
-
/* @__PURE__ */ u(
|
|
63767
|
-
/* @__PURE__ */ u(
|
|
63766
|
+
/* @__PURE__ */ u(bn, { size: "lg", fw: 600, children: e("Rebuilding site with new theme...") }),
|
|
63767
|
+
/* @__PURE__ */ u(bn, { size: "sm", c: "dimmed", children: e("This may take a minute. Please wait.") })
|
|
63768
63768
|
] }) }),
|
|
63769
63769
|
p && /* @__PURE__ */ u(
|
|
63770
63770
|
Xo,
|
|
@@ -64025,7 +64025,7 @@ function cB({ node: e, onSelectFile: t, selectedPath: n, level: r = 0 }) {
|
|
|
64025
64025
|
}
|
|
64026
64026
|
function Obe() {
|
|
64027
64027
|
var B;
|
|
64028
|
-
const { t: e } = et(), { themeName: t } = gi(), [n] = C1(), { notify: r } = dn(), { backendHost: o } =
|
|
64028
|
+
const { t: e } = et(), { themeName: t } = gi(), [n] = C1(), { notify: r } = dn(), { backendHost: o } = hn(), { setShowBackButton: i } = Xy(), [s, a] = ee([]), [l, c] = ee(null), [d, p] = ee(null), [f, m] = ee(!1), [b, g] = ee(!1), [v, S] = ee(null), [x, w] = ee(null), [y, E] = ee(!1), [_, C] = ee(null), { data: k } = jt("locale", {
|
|
64029
64029
|
autoFetch: !0,
|
|
64030
64030
|
pageSize: null
|
|
64031
64031
|
});
|
|
@@ -64348,7 +64348,7 @@ function gk({
|
|
|
64348
64348
|
autoTranslate: r = !1,
|
|
64349
64349
|
contentType: o = "page"
|
|
64350
64350
|
}) {
|
|
64351
|
-
const { t: i } = et(), { notify: s } = dn(), { backendHost: a } =
|
|
64351
|
+
const { t: i } = et(), { notify: s } = dn(), { backendHost: a } = hn(), { settings: l } = Lo(), [c, d] = ee(null), [p, f] = ee(null), [m, b] = ee(!1), [g, { open: v, close: S }] = ir(!1), [x, { open: w, close: y }] = ir(!1);
|
|
64352
64352
|
_e(() => {
|
|
64353
64353
|
var $;
|
|
64354
64354
|
if ((n == null ? void 0 : n.length) > 0 && (($ = e == null ? void 0 : e.contents) == null ? void 0 : $.length) === 0 && l) {
|
|
@@ -78869,7 +78869,7 @@ const Zk = Re((e, t) => {
|
|
|
78869
78869
|
});
|
|
78870
78870
|
Zk.classes = Td;
|
|
78871
78871
|
Zk.displayName = "@mantine/tiptap/RichTextEditorContent";
|
|
78872
|
-
function
|
|
78872
|
+
function mn(e) {
|
|
78873
78873
|
return /* @__PURE__ */ u(
|
|
78874
78874
|
"svg",
|
|
78875
78875
|
{
|
|
@@ -78885,14 +78885,14 @@ function hn(e) {
|
|
|
78885
78885
|
);
|
|
78886
78886
|
}
|
|
78887
78887
|
function MCe(e) {
|
|
78888
|
-
return /* @__PURE__ */ A(
|
|
78888
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78889
78889
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78890
78890
|
/* @__PURE__ */ u("path", { d: "M7 5h6a3.5 3.5 0 0 1 0 7h-6z" }),
|
|
78891
78891
|
/* @__PURE__ */ u("path", { d: "M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7" })
|
|
78892
78892
|
] });
|
|
78893
78893
|
}
|
|
78894
78894
|
function OCe(e) {
|
|
78895
|
-
return /* @__PURE__ */ A(
|
|
78895
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78896
78896
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78897
78897
|
/* @__PURE__ */ u("path", { d: "M11 5l6 0" }),
|
|
78898
78898
|
/* @__PURE__ */ u("path", { d: "M7 19l6 0" }),
|
|
@@ -78900,21 +78900,21 @@ function OCe(e) {
|
|
|
78900
78900
|
] });
|
|
78901
78901
|
}
|
|
78902
78902
|
function RCe(e) {
|
|
78903
|
-
return /* @__PURE__ */ A(
|
|
78903
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78904
78904
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78905
78905
|
/* @__PURE__ */ u("path", { d: "M7 5v5a5 5 0 0 0 10 0v-5" }),
|
|
78906
78906
|
/* @__PURE__ */ u("path", { d: "M5 19h14" })
|
|
78907
78907
|
] });
|
|
78908
78908
|
}
|
|
78909
78909
|
function ICe(e) {
|
|
78910
|
-
return /* @__PURE__ */ A(
|
|
78910
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78911
78911
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78912
78912
|
/* @__PURE__ */ u("path", { d: "M5 12l14 0" }),
|
|
78913
78913
|
/* @__PURE__ */ u("path", { d: "M16 6.5a4 2 0 0 0 -4 -1.5h-1a3.5 3.5 0 0 0 0 7h2a3.5 3.5 0 0 1 0 7h-1.5a4 2 0 0 1 -4 -1.5" })
|
|
78914
78914
|
] });
|
|
78915
78915
|
}
|
|
78916
78916
|
function PCe(e) {
|
|
78917
|
-
return /* @__PURE__ */ A(
|
|
78917
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78918
78918
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78919
78919
|
/* @__PURE__ */ u("path", { d: "M17 15l4 4m0 -4l-4 4" }),
|
|
78920
78920
|
/* @__PURE__ */ u("path", { d: "M7 6v-1h11v1" }),
|
|
@@ -78923,7 +78923,7 @@ function PCe(e) {
|
|
|
78923
78923
|
] });
|
|
78924
78924
|
}
|
|
78925
78925
|
function ACe(e) {
|
|
78926
|
-
return /* @__PURE__ */ A(
|
|
78926
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78927
78927
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78928
78928
|
/* @__PURE__ */ u("path", { d: "M19 18v-8l-2 2" }),
|
|
78929
78929
|
/* @__PURE__ */ u("path", { d: "M4 6v12" }),
|
|
@@ -78936,7 +78936,7 @@ function ACe(e) {
|
|
|
78936
78936
|
] });
|
|
78937
78937
|
}
|
|
78938
78938
|
function DCe(e) {
|
|
78939
|
-
return /* @__PURE__ */ A(
|
|
78939
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78940
78940
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78941
78941
|
/* @__PURE__ */ u("path", { d: "M17 12a2 2 0 1 1 4 0c0 .591 -.417 1.318 -.816 1.858l-3.184 4.143l4 0" }),
|
|
78942
78942
|
/* @__PURE__ */ u("path", { d: "M4 6v12" }),
|
|
@@ -78949,7 +78949,7 @@ function DCe(e) {
|
|
|
78949
78949
|
] });
|
|
78950
78950
|
}
|
|
78951
78951
|
function LCe(e) {
|
|
78952
|
-
return /* @__PURE__ */ A(
|
|
78952
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78953
78953
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78954
78954
|
/* @__PURE__ */ u("path", { d: "M19 14a2 2 0 1 0 -2 -2" }),
|
|
78955
78955
|
/* @__PURE__ */ u("path", { d: "M17 16a2 2 0 1 0 2 -2" }),
|
|
@@ -78963,7 +78963,7 @@ function LCe(e) {
|
|
|
78963
78963
|
] });
|
|
78964
78964
|
}
|
|
78965
78965
|
function $Ce(e) {
|
|
78966
|
-
return /* @__PURE__ */ A(
|
|
78966
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78967
78967
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78968
78968
|
/* @__PURE__ */ u("path", { d: "M20 18v-8l-4 6h5" }),
|
|
78969
78969
|
/* @__PURE__ */ u("path", { d: "M4 6v12" }),
|
|
@@ -78976,7 +78976,7 @@ function $Ce(e) {
|
|
|
78976
78976
|
] });
|
|
78977
78977
|
}
|
|
78978
78978
|
function FCe(e) {
|
|
78979
|
-
return /* @__PURE__ */ A(
|
|
78979
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78980
78980
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78981
78981
|
/* @__PURE__ */ u("path", { d: "M17 18h2a2 2 0 1 0 0 -4h-2v-4h4" }),
|
|
78982
78982
|
/* @__PURE__ */ u("path", { d: "M4 6v12" }),
|
|
@@ -78989,7 +78989,7 @@ function FCe(e) {
|
|
|
78989
78989
|
] });
|
|
78990
78990
|
}
|
|
78991
78991
|
function zCe(e) {
|
|
78992
|
-
return /* @__PURE__ */ A(
|
|
78992
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
78993
78993
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
78994
78994
|
/* @__PURE__ */ u("path", { d: "M19 14a2 2 0 1 0 0 4a2 2 0 0 0 0 -4z" }),
|
|
78995
78995
|
/* @__PURE__ */ u("path", { d: "M21 12a2 2 0 1 0 -4 0v4" }),
|
|
@@ -79003,7 +79003,7 @@ function zCe(e) {
|
|
|
79003
79003
|
] });
|
|
79004
79004
|
}
|
|
79005
79005
|
function BCe(e) {
|
|
79006
|
-
return /* @__PURE__ */ A(
|
|
79006
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79007
79007
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79008
79008
|
/* @__PURE__ */ u("path", { d: "M9 6l11 0" }),
|
|
79009
79009
|
/* @__PURE__ */ u("path", { d: "M9 12l11 0" }),
|
|
@@ -79014,7 +79014,7 @@ function BCe(e) {
|
|
|
79014
79014
|
] });
|
|
79015
79015
|
}
|
|
79016
79016
|
function HCe(e) {
|
|
79017
|
-
return /* @__PURE__ */ A(
|
|
79017
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79018
79018
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79019
79019
|
/* @__PURE__ */ u("path", { d: "M11 6h9" }),
|
|
79020
79020
|
/* @__PURE__ */ u("path", { d: "M11 12h9" }),
|
|
@@ -79024,7 +79024,7 @@ function HCe(e) {
|
|
|
79024
79024
|
] });
|
|
79025
79025
|
}
|
|
79026
79026
|
function VCe(e) {
|
|
79027
|
-
return /* @__PURE__ */ A(
|
|
79027
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79028
79028
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79029
79029
|
/* @__PURE__ */ u("path", { d: "M17 22v-2" }),
|
|
79030
79030
|
/* @__PURE__ */ u("path", { d: "M9 15l6 -6" }),
|
|
@@ -79036,7 +79036,7 @@ function VCe(e) {
|
|
|
79036
79036
|
] });
|
|
79037
79037
|
}
|
|
79038
79038
|
function UCe(e) {
|
|
79039
|
-
return /* @__PURE__ */ A(
|
|
79039
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79040
79040
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79041
79041
|
/* @__PURE__ */ u("path", { d: "M6 15h15" }),
|
|
79042
79042
|
/* @__PURE__ */ u("path", { d: "M21 19h-15" }),
|
|
@@ -79047,7 +79047,7 @@ function UCe(e) {
|
|
|
79047
79047
|
] });
|
|
79048
79048
|
}
|
|
79049
79049
|
function jCe(e) {
|
|
79050
|
-
return /* @__PURE__ */ A(
|
|
79050
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79051
79051
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79052
79052
|
/* @__PURE__ */ u("path", { d: "M4 6l16 0" }),
|
|
79053
79053
|
/* @__PURE__ */ u("path", { d: "M4 12l10 0" }),
|
|
@@ -79055,7 +79055,7 @@ function jCe(e) {
|
|
|
79055
79055
|
] });
|
|
79056
79056
|
}
|
|
79057
79057
|
function WCe(e) {
|
|
79058
|
-
return /* @__PURE__ */ A(
|
|
79058
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79059
79059
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79060
79060
|
/* @__PURE__ */ u("path", { d: "M4 6l16 0" }),
|
|
79061
79061
|
/* @__PURE__ */ u("path", { d: "M10 12l10 0" }),
|
|
@@ -79063,7 +79063,7 @@ function WCe(e) {
|
|
|
79063
79063
|
] });
|
|
79064
79064
|
}
|
|
79065
79065
|
function GCe(e) {
|
|
79066
|
-
return /* @__PURE__ */ A(
|
|
79066
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79067
79067
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79068
79068
|
/* @__PURE__ */ u("path", { d: "M4 6l16 0" }),
|
|
79069
79069
|
/* @__PURE__ */ u("path", { d: "M8 12l8 0" }),
|
|
@@ -79071,7 +79071,7 @@ function GCe(e) {
|
|
|
79071
79071
|
] });
|
|
79072
79072
|
}
|
|
79073
79073
|
function qCe(e) {
|
|
79074
|
-
return /* @__PURE__ */ A(
|
|
79074
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79075
79075
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79076
79076
|
/* @__PURE__ */ u("path", { d: "M4 6l16 0" }),
|
|
79077
79077
|
/* @__PURE__ */ u("path", { d: "M4 12l16 0" }),
|
|
@@ -79079,21 +79079,21 @@ function qCe(e) {
|
|
|
79079
79079
|
] });
|
|
79080
79080
|
}
|
|
79081
79081
|
function KCe(e) {
|
|
79082
|
-
return /* @__PURE__ */ A(
|
|
79082
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79083
79083
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79084
79084
|
/* @__PURE__ */ u("path", { d: "M5 7l8 10m-8 0l8 -10" }),
|
|
79085
79085
|
/* @__PURE__ */ u("path", { d: "M21 20h-4l3.5 -4a1.73 1.73 0 0 0 -3.5 -2" })
|
|
79086
79086
|
] });
|
|
79087
79087
|
}
|
|
79088
79088
|
function YCe(e) {
|
|
79089
|
-
return /* @__PURE__ */ A(
|
|
79089
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79090
79090
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79091
79091
|
/* @__PURE__ */ u("path", { d: "M5 7l8 10m-8 0l8 -10" }),
|
|
79092
79092
|
/* @__PURE__ */ u("path", { d: "M21 11h-4l3.5 -4a1.73 1.73 0 0 0 -3.5 -2" })
|
|
79093
79093
|
] });
|
|
79094
79094
|
}
|
|
79095
79095
|
function l3(e) {
|
|
79096
|
-
return /* @__PURE__ */ A(
|
|
79096
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79097
79097
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79098
79098
|
/* @__PURE__ */ u("path", { d: "M7 8l-4 4l4 4" }),
|
|
79099
79099
|
/* @__PURE__ */ u("path", { d: "M17 8l4 4l-4 4" }),
|
|
@@ -79101,7 +79101,7 @@ function l3(e) {
|
|
|
79101
79101
|
] });
|
|
79102
79102
|
}
|
|
79103
79103
|
function JCe(e) {
|
|
79104
|
-
return /* @__PURE__ */ A(
|
|
79104
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79105
79105
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79106
79106
|
/* @__PURE__ */ u("path", { d: "M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" }),
|
|
79107
79107
|
/* @__PURE__ */ u("path", { d: "M12.5 5.5l4 4" }),
|
|
@@ -79110,7 +79110,7 @@ function JCe(e) {
|
|
|
79110
79110
|
] });
|
|
79111
79111
|
}
|
|
79112
79112
|
function XCe(e) {
|
|
79113
|
-
return /* @__PURE__ */ A(
|
|
79113
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79114
79114
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79115
79115
|
/* @__PURE__ */ u("path", { d: "M5 12h2" }),
|
|
79116
79116
|
/* @__PURE__ */ u("path", { d: "M17 12h2" }),
|
|
@@ -79118,28 +79118,28 @@ function XCe(e) {
|
|
|
79118
79118
|
] });
|
|
79119
79119
|
}
|
|
79120
79120
|
function c3(e) {
|
|
79121
|
-
return /* @__PURE__ */ A(
|
|
79121
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79122
79122
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79123
79123
|
/* @__PURE__ */ u("path", { d: "M20.042 16.045a9 9 0 0 0 -12.087 -12.087m-2.318 1.677a9 9 0 1 0 12.725 12.73" }),
|
|
79124
79124
|
/* @__PURE__ */ u("path", { d: "M3 3l18 18" })
|
|
79125
79125
|
] });
|
|
79126
79126
|
}
|
|
79127
79127
|
function ZCe(e) {
|
|
79128
|
-
return /* @__PURE__ */ A(
|
|
79128
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79129
79129
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79130
79130
|
/* @__PURE__ */ u("path", { d: "M11 7l6 6" }),
|
|
79131
79131
|
/* @__PURE__ */ u("path", { d: "M4 16l11.7 -11.7a1 1 0 0 1 1.4 0l2.6 2.6a1 1 0 0 1 0 1.4l-11.7 11.7h-4v-4z" })
|
|
79132
79132
|
] });
|
|
79133
79133
|
}
|
|
79134
79134
|
function QCe(e) {
|
|
79135
|
-
return /* @__PURE__ */ A(
|
|
79135
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79136
79136
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79137
79137
|
/* @__PURE__ */ u("path", { d: "M18 6l-12 12" }),
|
|
79138
79138
|
/* @__PURE__ */ u("path", { d: "M6 6l12 12" })
|
|
79139
79139
|
] });
|
|
79140
79140
|
}
|
|
79141
79141
|
function e1e(e) {
|
|
79142
|
-
return /* @__PURE__ */ A(
|
|
79142
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79143
79143
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79144
79144
|
/* @__PURE__ */ u("path", { d: "M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25" }),
|
|
79145
79145
|
/* @__PURE__ */ u("path", { d: "M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }),
|
|
@@ -79148,13 +79148,13 @@ function e1e(e) {
|
|
|
79148
79148
|
] });
|
|
79149
79149
|
}
|
|
79150
79150
|
function t1e(e) {
|
|
79151
|
-
return /* @__PURE__ */ A(
|
|
79151
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79152
79152
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79153
79153
|
/* @__PURE__ */ u("path", { d: "M5 12l5 5l10 -10" })
|
|
79154
79154
|
] });
|
|
79155
79155
|
}
|
|
79156
79156
|
function n1e(e) {
|
|
79157
|
-
return /* @__PURE__ */ A(
|
|
79157
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79158
79158
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79159
79159
|
/* @__PURE__ */ u("path", { d: "M9 15l6 -6" }),
|
|
79160
79160
|
/* @__PURE__ */ u("path", { d: "M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464" }),
|
|
@@ -79162,7 +79162,7 @@ function n1e(e) {
|
|
|
79162
79162
|
] });
|
|
79163
79163
|
}
|
|
79164
79164
|
function r1e(e) {
|
|
79165
|
-
return /* @__PURE__ */ A(
|
|
79165
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79166
79166
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79167
79167
|
/* @__PURE__ */ u("path", { d: "M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6" }),
|
|
79168
79168
|
/* @__PURE__ */ u("path", { d: "M11 13l9 -9" }),
|
|
@@ -79170,21 +79170,21 @@ function r1e(e) {
|
|
|
79170
79170
|
] });
|
|
79171
79171
|
}
|
|
79172
79172
|
function o1e(e) {
|
|
79173
|
-
return /* @__PURE__ */ A(
|
|
79173
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79174
79174
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79175
79175
|
/* @__PURE__ */ u("path", { d: "M9 14l-4 -4l4 -4" }),
|
|
79176
79176
|
/* @__PURE__ */ u("path", { d: "M5 10h11a4 4 0 1 1 0 8h-1" })
|
|
79177
79177
|
] });
|
|
79178
79178
|
}
|
|
79179
79179
|
function i1e(e) {
|
|
79180
|
-
return /* @__PURE__ */ A(
|
|
79180
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79181
79181
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79182
79182
|
/* @__PURE__ */ u("path", { d: "M15 14l4 -4l-4 -4" }),
|
|
79183
79183
|
/* @__PURE__ */ u("path", { d: "M19 10h-11a4 4 0 1 0 0 8h1" })
|
|
79184
79184
|
] });
|
|
79185
79185
|
}
|
|
79186
79186
|
function s1e(e) {
|
|
79187
|
-
return /* @__PURE__ */ A(
|
|
79187
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79188
79188
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79189
79189
|
/* @__PURE__ */ u("path", { d: "M3.5 5.5l1.5 1.5l2.5 -2.5" }),
|
|
79190
79190
|
/* @__PURE__ */ u("path", { d: "M3.5 11.5l1.5 1.5l2.5 -2.5" }),
|
|
@@ -79195,7 +79195,7 @@ function s1e(e) {
|
|
|
79195
79195
|
] });
|
|
79196
79196
|
}
|
|
79197
79197
|
function a1e(e) {
|
|
79198
|
-
return /* @__PURE__ */ A(
|
|
79198
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79199
79199
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79200
79200
|
/* @__PURE__ */ u("path", { d: "M20 6l-11 0" }),
|
|
79201
79201
|
/* @__PURE__ */ u("path", { d: "M20 12l-7 0" }),
|
|
@@ -79204,7 +79204,7 @@ function a1e(e) {
|
|
|
79204
79204
|
] });
|
|
79205
79205
|
}
|
|
79206
79206
|
function l1e(e) {
|
|
79207
|
-
return /* @__PURE__ */ A(
|
|
79207
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79208
79208
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79209
79209
|
/* @__PURE__ */ u("path", { d: "M20 6l-7 0" }),
|
|
79210
79210
|
/* @__PURE__ */ u("path", { d: "M20 12l-9 0" }),
|
|
@@ -79213,7 +79213,7 @@ function l1e(e) {
|
|
|
79213
79213
|
] });
|
|
79214
79214
|
}
|
|
79215
79215
|
function c1e(e) {
|
|
79216
|
-
return /* @__PURE__ */ A(
|
|
79216
|
+
return /* @__PURE__ */ A(mn, { ...e, children: [
|
|
79217
79217
|
/* @__PURE__ */ u("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
79218
79218
|
/* @__PURE__ */ u(
|
|
79219
79219
|
"path",
|
|
@@ -83482,7 +83482,7 @@ const N3 = k3(!1, !0), T3 = k3(!0, !0), KEe = Vr.create({
|
|
|
83482
83482
|
),
|
|
83483
83483
|
/* @__PURE__ */ u(av, { in: p, children: /* @__PURE__ */ A(gu, { children: [
|
|
83484
83484
|
/* @__PURE__ */ A(Hr, { children: [
|
|
83485
|
-
/* @__PURE__ */ A(
|
|
83485
|
+
/* @__PURE__ */ A(bn, { size: "sm", children: [
|
|
83486
83486
|
o("Jump Marks"),
|
|
83487
83487
|
" (",
|
|
83488
83488
|
c.length,
|
|
@@ -83490,7 +83490,7 @@ const N3 = k3(!1, !0), T3 = k3(!0, !0), KEe = Vr.create({
|
|
|
83490
83490
|
] }),
|
|
83491
83491
|
/* @__PURE__ */ u(cn, { size: "xs", leftSection: /* @__PURE__ */ u(Yn, { size: 16 }), onClick: S, children: o("Add Jump Mark") })
|
|
83492
83492
|
] }),
|
|
83493
|
-
c.length === 0 ? /* @__PURE__ */ u(
|
|
83493
|
+
c.length === 0 ? /* @__PURE__ */ u(bn, { size: "sm", ta: "center", py: "xl", children: o("No jump marks added yet.") }) : /* @__PURE__ */ u(gu, { children: c.map((N, M) => /* @__PURE__ */ A(
|
|
83494
83494
|
"div",
|
|
83495
83495
|
{
|
|
83496
83496
|
className: "border border-gray-200 rounded-lg p-3 bg-gray-50 space-y-3",
|
|
@@ -102010,7 +102010,7 @@ function OTe({
|
|
|
102010
102010
|
onClose: t,
|
|
102011
102011
|
title: /* @__PURE__ */ A("div", { className: "flex items-center", children: [
|
|
102012
102012
|
/* @__PURE__ */ u(za, { size: 18, className: "mr-2" }),
|
|
102013
|
-
/* @__PURE__ */ u(
|
|
102013
|
+
/* @__PURE__ */ u(bn, { size: "lg", fw: 500, children: c(n ? "Edit Gallery" : "Create Gallery") })
|
|
102014
102014
|
] }),
|
|
102015
102015
|
size: "100%",
|
|
102016
102016
|
children: [
|
|
@@ -103088,7 +103088,7 @@ const ITe = [
|
|
|
103088
103088
|
});
|
|
103089
103089
|
pN.displayName = "RichTextInput";
|
|
103090
103090
|
const g0 = Ye.forwardRef(function(t, n) {
|
|
103091
|
-
const { backendHost: r } =
|
|
103091
|
+
const { backendHost: r } = hn(), { user: o, setUser: i } = ea(), { notify: s } = dn(), { settings: a } = Lo(), { organizationId: l } = so();
|
|
103092
103092
|
return /* @__PURE__ */ u(
|
|
103093
103093
|
pN,
|
|
103094
103094
|
{
|
|
@@ -103104,7 +103104,7 @@ const g0 = Ye.forwardRef(function(t, n) {
|
|
|
103104
103104
|
);
|
|
103105
103105
|
});
|
|
103106
103106
|
function fs(e, t = {}) {
|
|
103107
|
-
const { backendHost: n } =
|
|
103107
|
+
const { backendHost: n } = hn(), { setUser: r } = ea();
|
|
103108
103108
|
return iB(e, { backendHost: n, setUser: r }, t);
|
|
103109
103109
|
}
|
|
103110
103110
|
function sd(e) {
|
|
@@ -103162,7 +103162,7 @@ const p6 = Ye.forwardRef(({ page: e, setPage: t }, n) => {
|
|
|
103162
103162
|
p6.displayName = "HomepageSwitch";
|
|
103163
103163
|
const f6 = "/";
|
|
103164
103164
|
function fN(e) {
|
|
103165
|
-
const { backendHost: t } =
|
|
103165
|
+
const { backendHost: t } = hn(), { user: n, setUser: r } = ea();
|
|
103166
103166
|
return /* @__PURE__ */ u(lQ, { backendHost: t, user: n, setUser: r, ...e });
|
|
103167
103167
|
}
|
|
103168
103168
|
const b0 = Ye.memo(({ pageContent: e, updateContentField: t }) => {
|
|
@@ -103428,7 +103428,7 @@ function hN({
|
|
|
103428
103428
|
onContentInserted: o,
|
|
103429
103429
|
contentType: i = "page"
|
|
103430
103430
|
}) {
|
|
103431
|
-
const { t: s } = et(), { user: a } = Ln(), { notify: l } = dn(), { backendHost: c } =
|
|
103431
|
+
const { t: s } = et(), { user: a } = Ln(), { notify: l } = dn(), { backendHost: c } = hn(), d = Ve(null), { record: p } = jt("organization", {
|
|
103432
103432
|
id: 1,
|
|
103433
103433
|
autoFetch: !0
|
|
103434
103434
|
}), [f, m] = ee(""), [b, g] = ee(""), [v, S] = ee(!1), [x, w] = ee([]);
|
|
@@ -103647,7 +103647,7 @@ const VTe = (e = "redirect") => {
|
|
|
103647
103647
|
}, [n.search, t, e]);
|
|
103648
103648
|
};
|
|
103649
103649
|
function v6(e, t, n = null) {
|
|
103650
|
-
const { backendHost: r } =
|
|
103650
|
+
const { backendHost: r } = hn(), { user: o } = Ln(), [i, s] = ee(!1), [a, l] = ee(null), [c, d] = ee(!0), p = Ve(null), f = Ve(null), m = Ve(0), b = 5, g = async () => {
|
|
103651
103651
|
if (!(!e || !t || !o))
|
|
103652
103652
|
try {
|
|
103653
103653
|
const x = await mo.get({ key: "token" });
|
|
@@ -103875,7 +103875,7 @@ function y6({
|
|
|
103875
103875
|
/* @__PURE__ */ A("div", { className: "flex items-center justify-between mb-4 pb-2 border-b", children: [
|
|
103876
103876
|
/* @__PURE__ */ A("div", { className: "flex items-center gap-2", children: [
|
|
103877
103877
|
/* @__PURE__ */ u(ny, { size: 16, className: "text-blue-500" }),
|
|
103878
|
-
/* @__PURE__ */ A(
|
|
103878
|
+
/* @__PURE__ */ A(bn, { size: "lg", fw: 600, children: [
|
|
103879
103879
|
S(M),
|
|
103880
103880
|
" ",
|
|
103881
103881
|
v(M)
|
|
@@ -103884,7 +103884,7 @@ function y6({
|
|
|
103884
103884
|
/* @__PURE__ */ u(Uc, { size: "sm", variant: "filled", color: $ ? "red" : "green", children: $ ? "Has Differences" : "No Differences" })
|
|
103885
103885
|
] }),
|
|
103886
103886
|
O && /* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ A("div", { className: "flex items-center gap-2 px-3 py-2 bg-yellow-50 border border-yellow-200 rounded", children: [
|
|
103887
|
-
/* @__PURE__ */ u(
|
|
103887
|
+
/* @__PURE__ */ u(bn, { size: "sm", fw: 500, c: B ? "green" : "red", children: c(F ? B ? "Keep server version" : "Remove server version" : B ? "Keep your version" : "Remove your version") }),
|
|
103888
103888
|
/* @__PURE__ */ u(
|
|
103889
103889
|
Oi,
|
|
103890
103890
|
{
|
|
@@ -103906,14 +103906,14 @@ function y6({
|
|
|
103906
103906
|
] }),
|
|
103907
103907
|
N ? /* @__PURE__ */ A("div", { className: "space-y-3", children: [
|
|
103908
103908
|
/* @__PURE__ */ A("div", { children: [
|
|
103909
|
-
/* @__PURE__ */ A(
|
|
103909
|
+
/* @__PURE__ */ A(bn, { size: "sm", fw: 500, c: "dimmed", children: [
|
|
103910
103910
|
c("Title"),
|
|
103911
103911
|
":"
|
|
103912
103912
|
] }),
|
|
103913
|
-
/* @__PURE__ */ u(
|
|
103913
|
+
/* @__PURE__ */ u(bn, { size: "md", children: N.title || c("No title") })
|
|
103914
103914
|
] }),
|
|
103915
103915
|
/* @__PURE__ */ A("div", { children: [
|
|
103916
|
-
/* @__PURE__ */ A(
|
|
103916
|
+
/* @__PURE__ */ A(bn, { size: "sm", fw: 500, c: "dimmed", children: [
|
|
103917
103917
|
c("Content"),
|
|
103918
103918
|
":"
|
|
103919
103919
|
] }),
|
|
@@ -103924,7 +103924,7 @@ function y6({
|
|
|
103924
103924
|
__html: y(N.content)
|
|
103925
103925
|
}
|
|
103926
103926
|
}
|
|
103927
|
-
) : /* @__PURE__ */ u(
|
|
103927
|
+
) : /* @__PURE__ */ u(bn, { size: "sm", c: "dimmed", children: c("No content") }) })
|
|
103928
103928
|
] })
|
|
103929
103929
|
] }) : /* @__PURE__ */ u("div", { className: "text-center py-8 text-gray-400 italic", children: c("No server version") })
|
|
103930
103930
|
] }),
|
|
@@ -103932,7 +103932,7 @@ function y6({
|
|
|
103932
103932
|
/* @__PURE__ */ u("h4", { className: "font-semibold text-blue-700 mb-3", children: c("Your Version") }),
|
|
103933
103933
|
k ? /* @__PURE__ */ A("div", { className: "space-y-3", children: [
|
|
103934
103934
|
/* @__PURE__ */ A("div", { children: [
|
|
103935
|
-
/* @__PURE__ */ A(
|
|
103935
|
+
/* @__PURE__ */ A(bn, { size: "sm", fw: 500, c: "dimmed", mb: "xs", children: [
|
|
103936
103936
|
c("Title"),
|
|
103937
103937
|
":"
|
|
103938
103938
|
] }),
|
|
@@ -103947,7 +103947,7 @@ function y6({
|
|
|
103947
103947
|
)
|
|
103948
103948
|
] }),
|
|
103949
103949
|
/* @__PURE__ */ A("div", { children: [
|
|
103950
|
-
/* @__PURE__ */ A(
|
|
103950
|
+
/* @__PURE__ */ A(bn, { size: "sm", fw: 500, c: "dimmed", mb: "xs", children: [
|
|
103951
103951
|
c("Content"),
|
|
103952
103952
|
":"
|
|
103953
103953
|
] }),
|
|
@@ -104177,7 +104177,7 @@ function tA({ onSuccess: e }) {
|
|
|
104177
104177
|
labels: { confirm: t("Leave"), cancel: t("Stay") },
|
|
104178
104178
|
onConfirm: Ze
|
|
104179
104179
|
}) : Ze();
|
|
104180
|
-
}, { backendHost: qn } =
|
|
104180
|
+
}, { backendHost: qn } = hn();
|
|
104181
104181
|
_e(() => {
|
|
104182
104182
|
var Rt;
|
|
104183
104183
|
if (v || !((Rt = y == null ? void 0 : y.contents) != null && Rt.length) || !(i != null && i.selected_theme)) return;
|
|
@@ -105201,7 +105201,7 @@ function jTe() {
|
|
|
105201
105201
|
const xs = (e) => "_isThemeRow" in e && e._isThemeRow === !0, WTe = (e) => e === "/" ? "Home" : e.replace(/^\//, "").split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(" ");
|
|
105202
105202
|
function GTe() {
|
|
105203
105203
|
var z;
|
|
105204
|
-
const { t: e } = et(), { user: t } = Ln(), { organizationId: n } = so(), { settings: r } = Lo((O) => O), { organizations: o } = Zc(), { backendHost: i } =
|
|
105204
|
+
const { t: e } = et(), { user: t } = Ln(), { organizationId: n } = so(), { settings: r } = Lo((O) => O), { organizations: o } = Zc(), { backendHost: i } = hn(), s = Ke, [a, l] = ee([]);
|
|
105205
105205
|
_e(() => {
|
|
105206
105206
|
const O = r == null ? void 0 : r.selected_theme;
|
|
105207
105207
|
if (!O || !i) return;
|
|
@@ -105803,7 +105803,7 @@ const qTe = ({
|
|
|
105803
105803
|
// for adding child items
|
|
105804
105804
|
}) => {
|
|
105805
105805
|
var z, O;
|
|
105806
|
-
const { t: i } = et(), { settings: s } = Lo((P) => P), { organizationId: a } = so(), { backendHost: l } =
|
|
105806
|
+
const { t: i } = et(), { settings: s } = Lo((P) => P), { organizationId: a } = so(), { backendHost: l } = hn(), c = !!n, [d, p] = ee({}), [f, m] = ee(null), [b, g] = ee(!1), [v, S] = ee(null), [x, w] = ee(!1), [y, E] = ee([]), { data: _ } = jt("locale", {
|
|
105807
105807
|
autoFetch: !0,
|
|
105808
105808
|
pageSize: null
|
|
105809
105809
|
});
|
|
@@ -107071,7 +107071,7 @@ const eMe = hs((e, t) => {
|
|
|
107071
107071
|
};
|
|
107072
107072
|
});
|
|
107073
107073
|
function C6(e) {
|
|
107074
|
-
const { backendHost: t } =
|
|
107074
|
+
const { backendHost: t } = hn(), { user: n, setUser: r } = ea(), { notify: o } = dn(), { uploadSizeLimit: i, fetchUploadSizeLimit: s } = eMe();
|
|
107075
107075
|
return /* @__PURE__ */ u(
|
|
107076
107076
|
Sh,
|
|
107077
107077
|
{
|
|
@@ -107117,7 +107117,7 @@ const mN = Ye.memo(({ value: e, onChange: t }) => {
|
|
|
107117
107117
|
});
|
|
107118
107118
|
mN.displayName = "AuthorSelector";
|
|
107119
107119
|
function tMe({ modalMode: e, onSuccess: t }) {
|
|
107120
|
-
const { t: n } = et(), r = $n(), { notify: o } = dn((Z) => Z), { organizationId: i } = so(), { backendHost: s } =
|
|
107120
|
+
const { t: n } = et(), r = $n(), { notify: o } = dn((Z) => Z), { organizationId: i } = so(), { backendHost: s } = hn((Z) => Z), { settings: a } = Lo((Z) => Z), { user: l } = ea(), [c, d] = ee(!0), [p, f] = ee(!1), [m, b] = ee(0), [
|
|
107121
107121
|
g,
|
|
107122
107122
|
{ open: v, close: S }
|
|
107123
107123
|
] = ir(!1), x = !!(a != null && a.has_openrouter_api_key) && !!(a != null && a.ai_autocomplete_model_id), w = !!(a != null && a.has_openrouter_api_key) && !!(a != null && a.ai_default_writing_model_id), y = n(
|
|
@@ -107518,7 +107518,7 @@ function tMe({ modalMode: e, onSuccess: t }) {
|
|
|
107518
107518
|
}
|
|
107519
107519
|
function nMe() {
|
|
107520
107520
|
var pe, he;
|
|
107521
|
-
const { t: e } = et(), t = $n(), { id: n } = gi(), { notify: r } = dn((fe) => fe), { backendHost: o } =
|
|
107521
|
+
const { t: e } = et(), t = $n(), { id: n } = gi(), { notify: r } = dn((fe) => fe), { backendHost: o } = hn((fe) => fe), i = Lo((fe) => fe.settings), s = jt("blog_post", { id: n, autoFetch: !0 }), { record: a, setRecord: l, update: c, loading: d } = s, { data: p } = jt("locale", {
|
|
107522
107522
|
autoFetch: !0,
|
|
107523
107523
|
pageSize: null
|
|
107524
107524
|
}), {
|
|
@@ -108104,7 +108104,7 @@ function nMe() {
|
|
|
108104
108104
|
}
|
|
108105
108105
|
function rMe() {
|
|
108106
108106
|
var x;
|
|
108107
|
-
const { t: e } = et(), { user: t } = Ln(), { organizations: n } = Zc(), { id: r } = gi(), o = jt("blog_post", { id: r, autoFetch: !0 }), { record: i, update: s, getOne: a } = o, { notify: l } = dn((w) => w), { backendHost: c } =
|
|
108107
|
+
const { t: e } = et(), { user: t } = Ln(), { organizations: n } = Zc(), { id: r } = gi(), o = jt("blog_post", { id: r, autoFetch: !0 }), { record: i, update: s, getOne: a } = o, { notify: l } = dn((w) => w), { backendHost: c } = hn((w) => w), { data: d } = jt("locale", {
|
|
108108
108108
|
autoFetch: !0,
|
|
108109
108109
|
pageSize: null
|
|
108110
108110
|
}), p = !t.roles.some((w) => w.string_id === "website_author_role") || t.roles.some((w) => w.string_id === "website_author_role") && !t.roles.some(
|
|
@@ -108563,7 +108563,7 @@ const aMe = ({ links: e, user: t, opened: n, toggle: r }) => {
|
|
|
108563
108563
|
] }) : null;
|
|
108564
108564
|
}, cMe = () => {
|
|
108565
108565
|
var i;
|
|
108566
|
-
const e = $n(), { t } = et(), { backendHost: n } =
|
|
108566
|
+
const e = $n(), { t } = et(), { backendHost: n } = hn(), { user: r, logout: o } = Ln();
|
|
108567
108567
|
return r ? /* @__PURE__ */ A(ut, { shadow: "md", width: 200, children: [
|
|
108568
108568
|
/* @__PURE__ */ u(ut.Target, { children: /* @__PURE__ */ A("div", { className: "flex gap-2 items-center cursor-pointer font-[500] text-[13px]", children: [
|
|
108569
108569
|
/* @__PURE__ */ u(
|
|
@@ -109030,7 +109030,7 @@ function CMe() {
|
|
|
109030
109030
|
}
|
|
109031
109031
|
const _6 = Jo("/admin"), SMe = _6.Provider, gN = () => Po(_6);
|
|
109032
109032
|
function EMe() {
|
|
109033
|
-
const e = mi(), t = $n(), { t: n } = et(), r = gN(), { backendHost: o } =
|
|
109033
|
+
const e = mi(), t = $n(), { t: n } = et(), r = gN(), { backendHost: o } = hn((Y) => Y), [i, s] = ee(""), [a, l] = ee(""), [c, d] = ee(""), [p, f] = ee(""), [m, b] = ee(""), [g, v] = ee(""), { notify: S } = dn((Y) => Y), { login: x, signup: w, passwordlessLogin: y } = Ln(), [E, _] = ee(!1), [C, k] = ee(!1), [N, M] = ee(""), [R, F] = ee(!1), [z, O] = ee(!1), [P, $] = ee(!1), { organizationId: D } = so((Y) => Y), [I, B] = ee({}), [L, V] = ee(0), [U, { open: j, close: W }] = ir(), { post: q, loading: G } = fs(
|
|
109034
109034
|
"passwordless-login-request"
|
|
109035
109035
|
), K = C1()[0].get("passwordless");
|
|
109036
109036
|
_e(() => {
|
|
@@ -109351,7 +109351,7 @@ function EMe() {
|
|
|
109351
109351
|
] });
|
|
109352
109352
|
}
|
|
109353
109353
|
function _Me() {
|
|
109354
|
-
const { t: e } = et(), t = $n(), [n, r] = ee(!1), { token: o } = gi(), [i, s] = ee(""), [a, l] = ee(""), { backendHost: c } =
|
|
109354
|
+
const { t: e } = et(), t = $n(), [n, r] = ee(!1), { token: o } = gi(), [i, s] = ee(""), [a, l] = ee(""), { backendHost: c } = hn((f) => f), { notify: d } = dn((f) => f);
|
|
109355
109355
|
async function p(f) {
|
|
109356
109356
|
r(!0), f.preventDefault();
|
|
109357
109357
|
try {
|
|
@@ -109415,7 +109415,7 @@ function _Me() {
|
|
|
109415
109415
|
] }) });
|
|
109416
109416
|
}
|
|
109417
109417
|
function k6(e) {
|
|
109418
|
-
const { backendHost: t } =
|
|
109418
|
+
const { backendHost: t } = hn();
|
|
109419
109419
|
return /* @__PURE__ */ u(aQ, { backendHost: t, ...e });
|
|
109420
109420
|
}
|
|
109421
109421
|
function iA() {
|
|
@@ -109578,7 +109578,7 @@ function iA() {
|
|
|
109578
109578
|
] });
|
|
109579
109579
|
}
|
|
109580
109580
|
function Ku(e) {
|
|
109581
|
-
const { backendHost: t } =
|
|
109581
|
+
const { backendHost: t } = hn(), { user: n, setUser: r } = ea();
|
|
109582
109582
|
return /* @__PURE__ */ u(hQ, { backendHost: t, user: n, setUser: r, ...e });
|
|
109583
109583
|
}
|
|
109584
109584
|
const N6 = [
|
|
@@ -111522,7 +111522,7 @@ var qMe = GMe();
|
|
|
111522
111522
|
const I6 = /* @__PURE__ */ gd(qMe);
|
|
111523
111523
|
function KMe({ isOpen: e, close: t, onConfirmUsed2Fa: n = () => {
|
|
111524
111524
|
} }) {
|
|
111525
|
-
const { t: r } = et(), { get: o
|
|
111525
|
+
const { t: r } = et(), { get: o } = fs("user/me/2fa-config"), { backendHost: i } = hn(), { notify: s } = dn((E) => E), [a, { open: l, close: c }] = ir(!1), [d, p] = ee(!1), [f, m] = ee("idle"), [b, g] = ee(""), [v, S] = ee("");
|
|
111526
111526
|
_e(() => {
|
|
111527
111527
|
e && (async () => {
|
|
111528
111528
|
l();
|
|
@@ -111537,10 +111537,19 @@ function KMe({ isOpen: e, close: t, onConfirmUsed2Fa: n = () => {
|
|
|
111537
111537
|
async function x() {
|
|
111538
111538
|
l();
|
|
111539
111539
|
try {
|
|
111540
|
-
const
|
|
111541
|
-
|
|
111542
|
-
|
|
111543
|
-
|
|
111540
|
+
const E = await fetch(`${i}/user/me/2fa-config`, {
|
|
111541
|
+
method: "PUT",
|
|
111542
|
+
headers: { "Content-Type": "application/json" },
|
|
111543
|
+
credentials: "include",
|
|
111544
|
+
body: JSON.stringify({ action: "setup" })
|
|
111545
|
+
}), _ = await E.json();
|
|
111546
|
+
if (!E.ok) {
|
|
111547
|
+
s({ message: (_ == null ? void 0 : _.detail) || r("Failed to setup 2FA"), type: "error" });
|
|
111548
|
+
return;
|
|
111549
|
+
}
|
|
111550
|
+
if (_.totp_uri) {
|
|
111551
|
+
const C = await I6.toDataURL(_.totp_uri, { type: "image/png" });
|
|
111552
|
+
g(C), m("qr"), S("");
|
|
111544
111553
|
}
|
|
111545
111554
|
} catch (E) {
|
|
111546
111555
|
s({ message: E.message, type: "error" });
|
|
@@ -111550,11 +111559,20 @@ function KMe({ isOpen: e, close: t, onConfirmUsed2Fa: n = () => {
|
|
|
111550
111559
|
}
|
|
111551
111560
|
async function w(E) {
|
|
111552
111561
|
var _;
|
|
111553
|
-
if (E.preventDefault(), !!E.target.reportValidity()) {
|
|
111562
|
+
if (E.preventDefault(), E.stopPropagation(), !!E.target.reportValidity()) {
|
|
111554
111563
|
l();
|
|
111555
111564
|
try {
|
|
111556
|
-
const C = await
|
|
111557
|
-
|
|
111565
|
+
const C = await fetch(`${i}/user/me/2fa-config`, {
|
|
111566
|
+
method: "PUT",
|
|
111567
|
+
headers: { "Content-Type": "application/json" },
|
|
111568
|
+
credentials: "include",
|
|
111569
|
+
body: JSON.stringify({ action: "confirm", otp: v })
|
|
111570
|
+
}), k = await C.json();
|
|
111571
|
+
if (!C.ok) {
|
|
111572
|
+
s({ message: (k == null ? void 0 : k.detail) || r("Invalid OTP"), type: "error" }), S("");
|
|
111573
|
+
return;
|
|
111574
|
+
}
|
|
111575
|
+
p(!0), m("idle"), g(""), S(""), s({ message: r("Two-Factor Authentication enabled!"), type: "success" }), t(), (_ = k == null ? void 0 : k.recovery_codes) != null && _.length && n(k.recovery_codes);
|
|
111558
111576
|
} catch (C) {
|
|
111559
111577
|
s({ message: C.message, type: "error" });
|
|
111560
111578
|
} finally {
|
|
@@ -111563,10 +111581,20 @@ function KMe({ isOpen: e, close: t, onConfirmUsed2Fa: n = () => {
|
|
|
111563
111581
|
}
|
|
111564
111582
|
}
|
|
111565
111583
|
async function y(E) {
|
|
111566
|
-
if (E.preventDefault(), !!E.target.reportValidity()) {
|
|
111584
|
+
if (E.preventDefault(), E.stopPropagation(), !!E.target.reportValidity()) {
|
|
111567
111585
|
l();
|
|
111568
111586
|
try {
|
|
111569
|
-
|
|
111587
|
+
const _ = await fetch(`${i}/user/me/2fa-config`, {
|
|
111588
|
+
method: "PUT",
|
|
111589
|
+
headers: { "Content-Type": "application/json" },
|
|
111590
|
+
credentials: "include",
|
|
111591
|
+
body: JSON.stringify({ action: "disable", otp: v })
|
|
111592
|
+
}), C = await _.json();
|
|
111593
|
+
if (!_.ok) {
|
|
111594
|
+
s({ message: (C == null ? void 0 : C.detail) || r("Invalid OTP"), type: "error" }), S("");
|
|
111595
|
+
return;
|
|
111596
|
+
}
|
|
111597
|
+
p(!1), m("idle"), S(""), s({ message: r("Two-Factor Authentication disabled"), type: "success" }), t();
|
|
111570
111598
|
} catch (_) {
|
|
111571
111599
|
s({ message: _.message, type: "error" });
|
|
111572
111600
|
} finally {
|
|
@@ -111778,7 +111806,7 @@ function Ix() {
|
|
|
111778
111806
|
const { t: e } = et(), t = $n(), { user: n, fetchUser: r } = Ln(), { id: o } = gi(), { hashParams: i, updateHash: s } = vN(), a = i.get("tab"), l = jt("user", {
|
|
111779
111807
|
id: o,
|
|
111780
111808
|
autoFetch: !0
|
|
111781
|
-
}), { record: c, setRecord: d, update: p, loading: f } = l, { user: m } = Ln(), [b, g] = ee(!1), [v, S] = ee(""), [x, w] = ee(""), [y, E] = ee(""), [_, C] = ee(!1), { notify: k } = dn((G) => G), { backendHost: N } =
|
|
111809
|
+
}), { record: c, setRecord: d, update: p, loading: f } = l, { user: m } = Ln(), [b, g] = ee(!1), [v, S] = ee(""), [x, w] = ee(""), [y, E] = ee(""), [_, C] = ee(!1), { notify: k } = dn((G) => G), { backendHost: N } = hn((G) => G), [M, { open: R, close: F }] = ir(), [
|
|
111782
111810
|
z,
|
|
111783
111811
|
{ open: O, close: P }
|
|
111784
111812
|
] = ir(), [$, D] = ee([]), I = n.roles.find((G) => ["admin_role", "super_admin_role"].includes(G.string_id)) || !["admin_user", "super_user", "public_user"].includes(c == null ? void 0 : c.string_id);
|
|
@@ -113078,7 +113106,7 @@ function eOe() {
|
|
|
113078
113106
|
return /* @__PURE__ */ u(E6, { navbarLinks: QMe });
|
|
113079
113107
|
}
|
|
113080
113108
|
function tOe() {
|
|
113081
|
-
const e = mi(), t = $n(), { t: n } = et(), { backendHost: r } =
|
|
113109
|
+
const e = mi(), t = $n(), { t: n } = et(), { backendHost: r } = hn((N) => N), [o, i] = ee(""), [s, a] = ee(""), [l, c] = ee(!1), { notify: d } = dn((N) => N), { post: p } = fs("check-2fa-config"), [f, m] = ee(""), [b, g] = ee(!1), [
|
|
113082
113110
|
v,
|
|
113083
113111
|
{ open: S, close: x }
|
|
113084
113112
|
] = ir(), [w, y] = ee([]), [E, _] = ee("");
|
|
@@ -113222,7 +113250,7 @@ function nOe() {
|
|
|
113222
113250
|
const { t: e } = et(), t = jt("organization", {
|
|
113223
113251
|
id: 1,
|
|
113224
113252
|
autoFetch: !0
|
|
113225
|
-
}), { record: n, setRecord: r, update: o, loading: i } = t, { notify: s } = dn((C) => C), a = $n(), { user: l } = Ln(), { backendHost: c, setBackendHost: d, resetDefault: p } =
|
|
113253
|
+
}), { record: n, setRecord: r, update: o, loading: i } = t, { notify: s } = dn((C) => C), a = $n(), { user: l } = Ln(), { backendHost: c, setBackendHost: d, resetDefault: p } = hn((C) => C), [f, m] = ee(!1), b = i || f, [g, v] = ee(!1), [S, x] = ee(c), { data: w } = jt("apps", {
|
|
113226
113254
|
autoFetch: !0
|
|
113227
113255
|
});
|
|
113228
113256
|
async function y(C) {
|
|
@@ -113468,7 +113496,7 @@ function oOe() {
|
|
|
113468
113496
|
}, [o]), /* @__PURE__ */ u(pt, {});
|
|
113469
113497
|
}
|
|
113470
113498
|
function iOe() {
|
|
113471
|
-
const { t: e } = et(), { backendHost: t } =
|
|
113499
|
+
const { t: e } = et(), { backendHost: t } = hn((d) => d), { record: n, setRecord: r, update: o, loading: i } = jt("organization", {
|
|
113472
113500
|
id: 1,
|
|
113473
113501
|
autoFetch: !0
|
|
113474
113502
|
}), { notify: s } = dn();
|
|
@@ -113568,7 +113596,7 @@ function iOe() {
|
|
|
113568
113596
|
}
|
|
113569
113597
|
function sOe() {
|
|
113570
113598
|
var p, f;
|
|
113571
|
-
const { t: e } = et(), { backendHost: t } =
|
|
113599
|
+
const { t: e } = et(), { backendHost: t } = hn((m) => m), { record: n, setRecord: r, update: o, loading: i } = jt("organization", {
|
|
113572
113600
|
id: 1,
|
|
113573
113601
|
autoFetch: !0
|
|
113574
113602
|
}), { notify: s } = dn();
|
|
@@ -113793,7 +113821,7 @@ MIICXjCCAcegAwIBAgIBADANBgkqhkiG9w0BAQ0FADBLMQswCQYDVQQGEwJ1czE...
|
|
|
113793
113821
|
}
|
|
113794
113822
|
function aOe() {
|
|
113795
113823
|
var I, B;
|
|
113796
|
-
const { t: e } = et(), { user: t } = Ln(), { organizationId: n } = so(), { backendHost: r } =
|
|
113824
|
+
const { t: e } = et(), { user: t } = Ln(), { organizationId: n } = so(), { backendHost: r } = hn(), o = jt("organization", {
|
|
113797
113825
|
id: n,
|
|
113798
113826
|
// Use the selected organization ID without fallback
|
|
113799
113827
|
autoFetch: !!n
|
|
@@ -114062,14 +114090,14 @@ function aOe() {
|
|
|
114062
114090
|
/* @__PURE__ */ u(Lg, { size: 16, className: "text-gray-600" }),
|
|
114063
114091
|
/* @__PURE__ */ u(Ir, { children: e("AI Writing") })
|
|
114064
114092
|
] }),
|
|
114065
|
-
/* @__PURE__ */ u(
|
|
114093
|
+
/* @__PURE__ */ u(bn, { c: "dimmed", size: "sm", className: "mb-2", children: e(
|
|
114066
114094
|
"Configure AI-powered content generation and translation features. Requires an OpenRouter API key to function."
|
|
114067
114095
|
) }),
|
|
114068
114096
|
/* @__PURE__ */ A("div", { className: "relative grid grid-cols-1 md:grid-cols-2 gap-4 mb-4", children: [
|
|
114069
114097
|
/* @__PURE__ */ A("div", { children: [
|
|
114070
114098
|
/* @__PURE__ */ A("div", { className: "flex items-center gap-2 mb-2", children: [
|
|
114071
114099
|
/* @__PURE__ */ u(LE, { size: 16, className: "text-gray-500" }),
|
|
114072
|
-
/* @__PURE__ */ u(
|
|
114100
|
+
/* @__PURE__ */ u(bn, { size: "sm", weight: 500, children: e("API Keys") })
|
|
114073
114101
|
] }),
|
|
114074
114102
|
/* @__PURE__ */ u(
|
|
114075
114103
|
D$,
|
|
@@ -114175,7 +114203,7 @@ function aOe() {
|
|
|
114175
114203
|
/* @__PURE__ */ u(Lg, { size: 16, className: "text-gray-600" }),
|
|
114176
114204
|
/* @__PURE__ */ u(Ir, { children: e("Website AI Assistant") })
|
|
114177
114205
|
] }),
|
|
114178
|
-
/* @__PURE__ */ u(
|
|
114206
|
+
/* @__PURE__ */ u(bn, { c: "dimmed", size: "sm", className: "ml-1", children: e(
|
|
114179
114207
|
"Enable the website AI assistant in a popup chat box to help users with their queries and provide support."
|
|
114180
114208
|
) }),
|
|
114181
114209
|
/* @__PURE__ */ A("div", { className: "relative grid grid-cols-1 md:grid-cols-2 gap-4 mb-4", children: [
|
|
@@ -114263,7 +114291,7 @@ function aOe() {
|
|
|
114263
114291
|
/* @__PURE__ */ u(ME, { size: 16, className: "text-gray-600" }),
|
|
114264
114292
|
/* @__PURE__ */ u(Ir, { children: e("Custom Code") })
|
|
114265
114293
|
] }),
|
|
114266
|
-
/* @__PURE__ */ u(
|
|
114294
|
+
/* @__PURE__ */ u(bn, { c: "dimmed", size: "sm", className: "ml-1", children: e(
|
|
114267
114295
|
"Inject custom code (HTML, CSS, or JavaScript) on every page, inserted before the closing </body> tag."
|
|
114268
114296
|
) }),
|
|
114269
114297
|
/* @__PURE__ */ u("div", { children: /* @__PURE__ */ u("div", { className: "border border-gray-300 rounded", style: { height: "200px" }, children: /* @__PURE__ */ u(
|
|
@@ -114291,7 +114319,7 @@ function aOe() {
|
|
|
114291
114319
|
/* @__PURE__ */ u(MJ, { size: 16, className: "text-gray-600" }),
|
|
114292
114320
|
/* @__PURE__ */ u(Ir, { children: e("Backup & Restore") })
|
|
114293
114321
|
] }),
|
|
114294
|
-
/* @__PURE__ */ u(
|
|
114322
|
+
/* @__PURE__ */ u(bn, { c: "dimmed", size: "sm", className: "ml-1", children: e(
|
|
114295
114323
|
"Export your site content (Pages, Blog Posts, Menus, Attachments) as a ZIP file or restore from a previous backup."
|
|
114296
114324
|
) }),
|
|
114297
114325
|
/* @__PURE__ */ A("div", { className: "flex gap-4", children: [
|
|
@@ -114566,7 +114594,7 @@ function lOe() {
|
|
|
114566
114594
|
/* @__PURE__ */ u(Lg, { size: 16, className: "text-gray-600" }),
|
|
114567
114595
|
/* @__PURE__ */ u(Ir, { children: e("AI Writing") })
|
|
114568
114596
|
] }),
|
|
114569
|
-
/* @__PURE__ */ u(
|
|
114597
|
+
/* @__PURE__ */ u(bn, { color: "dimmed", size: "sm", className: "mb-2", children: e(
|
|
114570
114598
|
"Configure AI-powered content generation and translation features. Requires an OpenRouter API key to function."
|
|
114571
114599
|
) }),
|
|
114572
114600
|
/* @__PURE__ */ A("div", { className: "relative grid grid-cols-1 md:grid-cols-2 gap-4 mb-4", children: [
|
|
@@ -114603,7 +114631,7 @@ function lOe() {
|
|
|
114603
114631
|
/* @__PURE__ */ A("div", { children: [
|
|
114604
114632
|
/* @__PURE__ */ A("div", { className: "flex items-center gap-2 mb-2", children: [
|
|
114605
114633
|
/* @__PURE__ */ u(LE, { size: 16, className: "text-gray-500" }),
|
|
114606
|
-
/* @__PURE__ */ u(
|
|
114634
|
+
/* @__PURE__ */ u(bn, { size: "sm", weight: 500, children: e("API Keys") })
|
|
114607
114635
|
] }),
|
|
114608
114636
|
/* @__PURE__ */ u(
|
|
114609
114637
|
Oc,
|
|
@@ -114680,7 +114708,7 @@ function lOe() {
|
|
|
114680
114708
|
/* @__PURE__ */ u(Lg, { size: 16, className: "text-gray-600" }),
|
|
114681
114709
|
/* @__PURE__ */ u(Ir, { children: e("Website AI Assistant") })
|
|
114682
114710
|
] }),
|
|
114683
|
-
/* @__PURE__ */ u(
|
|
114711
|
+
/* @__PURE__ */ u(bn, { c: "dimmed", size: "sm", className: "ml-1", children: e(
|
|
114684
114712
|
"Enable the website AI assistant in a popup chat box to help users with their queries and provide support."
|
|
114685
114713
|
) }),
|
|
114686
114714
|
/* @__PURE__ */ A("div", { className: "relative grid grid-cols-1 md:grid-cols-2 gap-4 mb-4", children: [
|
|
@@ -114754,7 +114782,7 @@ function lOe() {
|
|
|
114754
114782
|
] });
|
|
114755
114783
|
}
|
|
114756
114784
|
function cOe() {
|
|
114757
|
-
const { user: e } = Ln(), { backendHost: t } =
|
|
114785
|
+
const { user: e } = Ln(), { backendHost: t } = hn();
|
|
114758
114786
|
return Zv({ backendHost: t, token: e == null ? void 0 : e.token });
|
|
114759
114787
|
}
|
|
114760
114788
|
function dOe(e) {
|
|
@@ -114785,7 +114813,7 @@ function uOe(e) {
|
|
|
114785
114813
|
}
|
|
114786
114814
|
function pOe({ file: e, onDelete: t }) {
|
|
114787
114815
|
var f;
|
|
114788
|
-
const { t: n } = et(), { backendHost: r } =
|
|
114816
|
+
const { t: n } = et(), { backendHost: r } = hn((m) => m), { notify: o } = dn((m) => m), [i, s] = ee(!1), a = (m) => {
|
|
114789
114817
|
m.stopPropagation();
|
|
114790
114818
|
const b = Tr(r, e.name);
|
|
114791
114819
|
Ch(b);
|
|
@@ -114898,7 +114926,7 @@ function pOe({ file: e, onDelete: t }) {
|
|
|
114898
114926
|
);
|
|
114899
114927
|
}
|
|
114900
114928
|
function fOe() {
|
|
114901
|
-
const { t: e } = et(), { user: t } = Ln(), { notify: n } = dn((E) => E), { backendHost: r } =
|
|
114929
|
+
const { t: e } = et(), { user: t } = Ln(), { notify: n } = dn((E) => E), { backendHost: r } = hn((E) => E), o = [
|
|
114902
114930
|
{
|
|
114903
114931
|
field: "owner_id",
|
|
114904
114932
|
operator: "=",
|
|
@@ -115005,8 +115033,8 @@ function fOe() {
|
|
|
115005
115033
|
/* @__PURE__ */ u(is.Accept, { children: /* @__PURE__ */ u(TE, { size: 16, className: "text-3xl text-green-500" }) }),
|
|
115006
115034
|
/* @__PURE__ */ u(is.Idle, { children: /* @__PURE__ */ u(za, { size: 16, className: "text-3xl text-gray-500" }) }),
|
|
115007
115035
|
/* @__PURE__ */ A("div", { className: "text-center", children: [
|
|
115008
|
-
/* @__PURE__ */ u(
|
|
115009
|
-
/* @__PURE__ */ u(
|
|
115036
|
+
/* @__PURE__ */ u(bn, { size: "xl", inline: !0, className: "font-medium", children: e("Drag files here or click to select files") }),
|
|
115037
|
+
/* @__PURE__ */ u(bn, { size: "sm", color: "dimmed", inline: !0, mt: 7, children: e("Upload as many files as you need") })
|
|
115010
115038
|
] })
|
|
115011
115039
|
] })
|
|
115012
115040
|
}
|
|
@@ -115025,7 +115053,7 @@ function hOe() {
|
|
|
115025
115053
|
let d = a == null ? void 0 : a.authless;
|
|
115026
115054
|
if (!a)
|
|
115027
115055
|
try {
|
|
115028
|
-
const { backendHost: p } =
|
|
115056
|
+
const { backendHost: p } = hn.getState(), f = await fetch(`${p}/util/public_settings/1`, {
|
|
115029
115057
|
credentials: "include"
|
|
115030
115058
|
});
|
|
115031
115059
|
if (f.ok) {
|
|
@@ -115283,7 +115311,7 @@ function GOe(e) {
|
|
|
115283
115311
|
}, [o.language]), _e(() => {
|
|
115284
115312
|
t && i(t);
|
|
115285
115313
|
}, [o, i, t]), _e(() => {
|
|
115286
|
-
r &&
|
|
115314
|
+
r && hn.getState().setBackendHost(r), lB.getState().fetchAPISchema();
|
|
115287
115315
|
}, [r]), /* @__PURE__ */ u(SMe, { value: n, children: /* @__PURE__ */ u(u2, { theme: vOe, children: /* @__PURE__ */ u(uK, { children: /* @__PURE__ */ u(kF, { theme: yOe, children: /* @__PURE__ */ u(W6, { basename: n, children: /* @__PURE__ */ A(G6, { children: [
|
|
115288
115316
|
/* @__PURE__ */ A(qt, { element: /* @__PURE__ */ u(bOe, {}), children: [
|
|
115289
115317
|
/* @__PURE__ */ u(qt, { path: "/google-authenticated", element: /* @__PURE__ */ u(rOe, {}) }),
|
|
@@ -115348,4 +115376,4 @@ export {
|
|
|
115348
115376
|
GOe as A,
|
|
115349
115377
|
PL as W
|
|
115350
115378
|
};
|
|
115351
|
-
//# sourceMappingURL=index-
|
|
115379
|
+
//# sourceMappingURL=index-DZq9Oo_a.js.map
|