@billgangcom/theme-lib 1.123.2 → 1.123.3
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/{builder-Ds7YGa4R.cjs → builder-BOLCAzvt.cjs} +3 -3
- package/dist/{builder-components-DwhwUeGI.js → builder-components-C6ut91u1.js} +145 -145
- package/dist/builder-components-DWWPmNmI.cjs +5 -0
- package/dist/{builder-CCEuMJHf.js → builder-fFmq4_MA.js} +6 -6
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +23 -23
- package/dist/{charge-DhnKnpft.cjs → charge-CfJ0VtUT.cjs} +38 -38
- package/dist/{charge-CDN6c8fH.js → charge-Dd7ZVW4n.js} +3413 -3411
- package/dist/{checkout-BvO_IFZC.js → checkout-CRG_AIof.js} +5 -5
- package/dist/{checkout-DwjYz2UO.cjs → checkout-rulhfb4v.cjs} +1 -1
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-BmdHEyvQ.cjs → index-BqRvogz6.cjs} +1 -1
- package/dist/{index-CnYAFW5g.js → index-CKCaGCwV.js} +5 -5
- package/dist/{index-Day7cnTY.js → index-Ch5oUfGB.js} +5 -5
- package/dist/{index-BUzWndW1.cjs → index-Ci9wiySE.cjs} +1 -1
- package/dist/{index-O1rl7waW.cjs → index-CjPIDcQG.cjs} +1 -1
- package/dist/{index-BEA2JbPH.js → index-ClGEV98b.js} +2 -2
- package/dist/{index-DFgrfmVQ.cjs → index-DFYhKoko.cjs} +1 -1
- package/dist/{index-5V9m4qrj.cjs → index-DRGwwUaI.cjs} +1 -1
- package/dist/{index-BnXJaCzv.cjs → index-DU12etk7.cjs} +1 -1
- package/dist/{index-4Fv4TJoE.js → index-DVWyoqbz.js} +1 -1
- package/dist/{index-Bf1rCeaA.js → index-DgFHjyWj.js} +5 -5
- package/dist/{index-CcUTer5K.js → index-Nzke2v3S.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-72eEexQG.js → order-Dj61ft1k.js} +5 -5
- package/dist/{order-CViCqeNE.cjs → order-zD22nXsz.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{subscription-KNkElwUf.cjs → subscription-BIjKGaYi.cjs} +1 -1
- package/dist/{subscription-_1E5Q4cZ.js → subscription-_sP5Hq4m.js} +5 -5
- package/dist/{ticket-BaaOhwo6.js → ticket-CljttyKl.js} +5 -5
- package/dist/{ticket-CAAyzazn.cjs → ticket-DOW_--eV.cjs} +1 -1
- package/dist/{top-up-BtDdCsvY.js → top-up-DBfbqtUp.js} +5 -5
- package/dist/{top-up-C6yt7kQ7.cjs → top-up-DRZbmTCi.cjs} +1 -1
- package/dist/{ui-components-CjgL5uP8.js → ui-components-C-rczZ94.js} +5 -5
- package/dist/ui-components-D25PvLKh.cjs +1 -0
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-CMUxfJfv.js → validation-B6paMD88.js} +5 -5
- package/dist/{validation-JBPRJyS9.cjs → validation-BLYCGS5g.cjs} +1 -1
- package/package.json +1 -1
- package/dist/builder-components-DGUkozk4.cjs +0 -5
- package/dist/ui-components-B4zC_5Bu.cjs +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as w, jsx as c, Fragment as Pe } from "react/jsx-runtime";
|
|
2
2
|
import A, { useLayoutEffect as Tr, useEffect as U, useRef as V, useMemo as H, useCallback as te, useState as he, memo as Mr, useReducer as Rr, createContext as Lt, useContext as nt } from "react";
|
|
3
|
-
import { u as ne, a as Xe, b as J, c as se, d as Po, e as Vn, f as B, v as tn, T as vt, g as Or, h as Kn, i as Fe, j as Lo, r as Fo, k as dn, l as Bt, m as
|
|
4
|
-
import { I as R, u as Wr, B as
|
|
3
|
+
import { u as ne, a as Xe, b as J, c as se, d as Po, e as Vn, f as B, v as tn, T as vt, g as Or, h as Kn, i as Fe, j as Lo, r as Fo, k as dn, l as Bt, m as q, n as zo, L as ot, o as Gn, p as rt, q as $r, s as Yn, t as tt, w as hn, x as Rt, y as jo, A as Pr, S as Lr, C as Fr, z as ft, B as zr, D as Be, E as Ft, R as _n, F as yn, G as Ho, H as nn, I as we, P as go, J as jr, K as Hr } from "./builder-fFmq4_MA.js";
|
|
4
|
+
import { I as R, u as Wr, B as qe, E as on, c as ue, S as Ce, d as Tn, T as Ur } from "./ui-components-C-rczZ94.js";
|
|
5
5
|
import { unstable_batchedUpdates as Kt, createPortal as Vr } from "react-dom";
|
|
6
|
-
import "./charge-
|
|
7
|
-
import "./ticket-
|
|
8
|
-
const
|
|
6
|
+
import "./charge-Dd7ZVW4n.js";
|
|
7
|
+
import "./ticket-CljttyKl.js";
|
|
8
|
+
const qn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext: t }) => {
|
|
9
9
|
const { footer: n } = ne(), { settings: o } = Xe(), { pageContext: r } = J(), { footer: s } = se();
|
|
10
10
|
if (!s || !n) return null;
|
|
11
11
|
const i = new s();
|
|
@@ -41,7 +41,7 @@ const Yn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext:
|
|
|
41
41
|
}, Rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
RenderAnnouncement: Vo,
|
|
44
|
-
RenderBlock:
|
|
44
|
+
RenderBlock: qn,
|
|
45
45
|
RenderFooter: Wo,
|
|
46
46
|
RenderHeader: Uo
|
|
47
47
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -95,7 +95,7 @@ function Qn(e) {
|
|
|
95
95
|
return t.current == null ? void 0 : t.current(...o);
|
|
96
96
|
}, []);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Gr() {
|
|
99
99
|
const e = V(null), t = te((o, r) => {
|
|
100
100
|
e.current = setInterval(o, r);
|
|
101
101
|
}, []), n = te(() => {
|
|
@@ -146,7 +146,7 @@ function Ht(e, t) {
|
|
|
146
146
|
return wn[e] = n, e + "-" + n;
|
|
147
147
|
}, [e, t]);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Go(e) {
|
|
150
150
|
return function(t) {
|
|
151
151
|
for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++)
|
|
152
152
|
o[r - 1] = arguments[r];
|
|
@@ -162,8 +162,8 @@ function qo(e) {
|
|
|
162
162
|
});
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
const pt = /* @__PURE__ */
|
|
166
|
-
function
|
|
165
|
+
const pt = /* @__PURE__ */ Go(1), sn = /* @__PURE__ */ Go(-1);
|
|
166
|
+
function Yr(e) {
|
|
167
167
|
return "clientX" in e && "clientY" in e;
|
|
168
168
|
}
|
|
169
169
|
function Zn(e) {
|
|
@@ -174,7 +174,7 @@ function Zn(e) {
|
|
|
174
174
|
} = ie(e.target);
|
|
175
175
|
return t && e instanceof t;
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function qr(e) {
|
|
178
178
|
if (!e)
|
|
179
179
|
return !1;
|
|
180
180
|
const {
|
|
@@ -183,7 +183,7 @@ function Yr(e) {
|
|
|
183
183
|
return t && e instanceof t;
|
|
184
184
|
}
|
|
185
185
|
function Rn(e) {
|
|
186
|
-
if (
|
|
186
|
+
if (qr(e)) {
|
|
187
187
|
if (e.touches && e.touches.length) {
|
|
188
188
|
const {
|
|
189
189
|
clientX: t,
|
|
@@ -204,7 +204,7 @@ function Rn(e) {
|
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
return
|
|
207
|
+
return Yr(e) ? {
|
|
208
208
|
x: e.clientX,
|
|
209
209
|
y: e.clientY
|
|
210
210
|
} : null;
|
|
@@ -302,9 +302,9 @@ function es() {
|
|
|
302
302
|
announcement: e
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
const
|
|
305
|
+
const Yo = /* @__PURE__ */ Lt(null);
|
|
306
306
|
function ts(e) {
|
|
307
|
-
const t = nt(
|
|
307
|
+
const t = nt(Yo);
|
|
308
308
|
U(() => {
|
|
309
309
|
if (!t)
|
|
310
310
|
throw new Error("useDndMonitor must be used within a children of <DndContext>");
|
|
@@ -431,10 +431,10 @@ function ss(e) {
|
|
|
431
431
|
}));
|
|
432
432
|
return n ? Vr(u, n) : u;
|
|
433
433
|
}
|
|
434
|
-
var
|
|
434
|
+
var G;
|
|
435
435
|
(function(e) {
|
|
436
436
|
e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
|
|
437
|
-
})(
|
|
437
|
+
})(G || (G = {}));
|
|
438
438
|
function an() {
|
|
439
439
|
}
|
|
440
440
|
function is(e, t) {
|
|
@@ -517,7 +517,7 @@ function hs(e, t, n) {
|
|
|
517
517
|
scaleY: t && n ? t.height / n.height : 1
|
|
518
518
|
};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function qo(e, t) {
|
|
521
521
|
return e && t ? {
|
|
522
522
|
x: e.left - t.left,
|
|
523
523
|
y: e.top - t.top
|
|
@@ -668,10 +668,10 @@ function On(e) {
|
|
|
668
668
|
y: Qo(e)
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
|
-
var
|
|
671
|
+
var Y;
|
|
672
672
|
(function(e) {
|
|
673
673
|
e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
|
|
674
|
-
})(
|
|
674
|
+
})(Y || (Y = {}));
|
|
675
675
|
function Zo(e) {
|
|
676
676
|
return !fn || !e ? !1 : e === document.scrollingElement;
|
|
677
677
|
}
|
|
@@ -725,7 +725,7 @@ function Cs(e, t, n, o, r) {
|
|
|
725
725
|
height: t.height * r.y,
|
|
726
726
|
width: t.width * r.x
|
|
727
727
|
};
|
|
728
|
-
return !d && s <= t.top + h.height ? (g.y =
|
|
728
|
+
return !d && s <= t.top + h.height ? (g.y = Y.Backward, y.y = o * Math.abs((t.top + h.height - s) / h.height)) : !u && l >= t.bottom - h.height && (g.y = Y.Forward, y.y = o * Math.abs((t.bottom - h.height - l) / h.height)), !p && a >= t.right - h.width ? (g.x = Y.Forward, y.x = o * Math.abs((t.right - h.width - a) / h.width)) : !f && i <= t.left + h.width && (g.x = Y.Backward, y.x = o * Math.abs((t.left + h.width - i) / h.width)), {
|
|
729
729
|
direction: g,
|
|
730
730
|
speed: y
|
|
731
731
|
};
|
|
@@ -1271,7 +1271,7 @@ function Os(e) {
|
|
|
1271
1271
|
const g = Ps({
|
|
1272
1272
|
delta: f,
|
|
1273
1273
|
disabled: !s
|
|
1274
|
-
}), [y, h] =
|
|
1274
|
+
}), [y, h] = Gr(), m = V({
|
|
1275
1275
|
x: 0,
|
|
1276
1276
|
y: 0
|
|
1277
1277
|
}), b = V({
|
|
@@ -1350,12 +1350,12 @@ function Os(e) {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
const $s = {
|
|
1352
1352
|
x: {
|
|
1353
|
-
[
|
|
1354
|
-
[
|
|
1353
|
+
[Y.Backward]: !1,
|
|
1354
|
+
[Y.Forward]: !1
|
|
1355
1355
|
},
|
|
1356
1356
|
y: {
|
|
1357
|
-
[
|
|
1358
|
-
[
|
|
1357
|
+
[Y.Backward]: !1,
|
|
1358
|
+
[Y.Forward]: !1
|
|
1359
1359
|
}
|
|
1360
1360
|
};
|
|
1361
1361
|
function Ps(e) {
|
|
@@ -1373,12 +1373,12 @@ function Ps(e) {
|
|
|
1373
1373
|
};
|
|
1374
1374
|
return {
|
|
1375
1375
|
x: {
|
|
1376
|
-
[
|
|
1377
|
-
[
|
|
1376
|
+
[Y.Backward]: r.x[Y.Backward] || s.x === -1,
|
|
1377
|
+
[Y.Forward]: r.x[Y.Forward] || s.x === 1
|
|
1378
1378
|
},
|
|
1379
1379
|
y: {
|
|
1380
|
-
[
|
|
1381
|
-
[
|
|
1380
|
+
[Y.Backward]: r.y[Y.Backward] || s.y === -1,
|
|
1381
|
+
[Y.Forward]: r.y[Y.Forward] || s.y === 1
|
|
1382
1382
|
}
|
|
1383
1383
|
};
|
|
1384
1384
|
}, [n, t, o]);
|
|
@@ -1563,7 +1563,7 @@ function wo(e, t, n) {
|
|
|
1563
1563
|
}
|
|
1564
1564
|
function Us(e) {
|
|
1565
1565
|
const t = rr(e);
|
|
1566
|
-
return
|
|
1566
|
+
return qo(e, t);
|
|
1567
1567
|
}
|
|
1568
1568
|
const Co = [];
|
|
1569
1569
|
function Vs(e) {
|
|
@@ -1614,7 +1614,7 @@ function So(e, t) {
|
|
|
1614
1614
|
o && !n.current && (n.current = e), !o && n.current && (n.current = null);
|
|
1615
1615
|
}, [e]), n.current ? sn(e, n.current) : Se;
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1617
|
+
function Gs(e) {
|
|
1618
1618
|
U(
|
|
1619
1619
|
() => {
|
|
1620
1620
|
if (!fn)
|
|
@@ -1640,7 +1640,7 @@ function qs(e) {
|
|
|
1640
1640
|
})
|
|
1641
1641
|
);
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function Ys(e, t) {
|
|
1644
1644
|
return H(() => e.reduce((n, o) => {
|
|
1645
1645
|
let {
|
|
1646
1646
|
eventName: r,
|
|
@@ -1655,7 +1655,7 @@ function sr(e) {
|
|
|
1655
1655
|
return H(() => e ? bs(e) : null, [e]);
|
|
1656
1656
|
}
|
|
1657
1657
|
const xo = [];
|
|
1658
|
-
function
|
|
1658
|
+
function qs(e, t) {
|
|
1659
1659
|
t === void 0 && (t = _t);
|
|
1660
1660
|
const [n] = e, o = sr(n ? ie(n) : null), [r, s] = he(xo);
|
|
1661
1661
|
function i() {
|
|
@@ -1807,7 +1807,7 @@ function ni() {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
function oi(e, t) {
|
|
1809
1809
|
switch (t.type) {
|
|
1810
|
-
case
|
|
1810
|
+
case G.DragStart:
|
|
1811
1811
|
return {
|
|
1812
1812
|
...e,
|
|
1813
1813
|
draggable: {
|
|
@@ -1816,7 +1816,7 @@ function oi(e, t) {
|
|
|
1816
1816
|
active: t.active
|
|
1817
1817
|
}
|
|
1818
1818
|
};
|
|
1819
|
-
case
|
|
1819
|
+
case G.DragMove:
|
|
1820
1820
|
return e.draggable.active == null ? e : {
|
|
1821
1821
|
...e,
|
|
1822
1822
|
draggable: {
|
|
@@ -1827,8 +1827,8 @@ function oi(e, t) {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
}
|
|
1829
1829
|
};
|
|
1830
|
-
case
|
|
1831
|
-
case
|
|
1830
|
+
case G.DragEnd:
|
|
1831
|
+
case G.DragCancel:
|
|
1832
1832
|
return {
|
|
1833
1833
|
...e,
|
|
1834
1834
|
draggable: {
|
|
@@ -1844,7 +1844,7 @@ function oi(e, t) {
|
|
|
1844
1844
|
}
|
|
1845
1845
|
}
|
|
1846
1846
|
};
|
|
1847
|
-
case
|
|
1847
|
+
case G.RegisterDroppable: {
|
|
1848
1848
|
const {
|
|
1849
1849
|
element: n
|
|
1850
1850
|
} = t, {
|
|
@@ -1858,7 +1858,7 @@ function oi(e, t) {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
};
|
|
1860
1860
|
}
|
|
1861
|
-
case
|
|
1861
|
+
case G.SetDroppableDisabled: {
|
|
1862
1862
|
const {
|
|
1863
1863
|
id: n,
|
|
1864
1864
|
key: o,
|
|
@@ -1878,7 +1878,7 @@ function oi(e, t) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
};
|
|
1880
1880
|
}
|
|
1881
|
-
case
|
|
1881
|
+
case G.UnregisterDroppable: {
|
|
1882
1882
|
const {
|
|
1883
1883
|
id: n,
|
|
1884
1884
|
key: o
|
|
@@ -1988,7 +1988,7 @@ function ai(e) {
|
|
|
1988
1988
|
const d = t == null ? void 0 : t.node.current;
|
|
1989
1989
|
if (!d || d.isConnected === !1)
|
|
1990
1990
|
return;
|
|
1991
|
-
const u = n(d), f =
|
|
1991
|
+
const u = n(d), f = qo(u, o);
|
|
1992
1992
|
if (i || (f.x = 0), a || (f.y = 0), s.current = !0, Math.abs(f.x) > 0 || Math.abs(f.y) > 0) {
|
|
1993
1993
|
const p = Xo(d);
|
|
1994
1994
|
p && p.scrollBy({
|
|
@@ -2003,10 +2003,10 @@ const ar = /* @__PURE__ */ Lt({
|
|
|
2003
2003
|
scaleX: 1,
|
|
2004
2004
|
scaleY: 1
|
|
2005
2005
|
});
|
|
2006
|
-
var
|
|
2006
|
+
var Ye;
|
|
2007
2007
|
(function(e) {
|
|
2008
2008
|
e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
|
|
2009
|
-
})(
|
|
2009
|
+
})(Ye || (Ye = {}));
|
|
2010
2010
|
const ci = /* @__PURE__ */ Mr(function(t) {
|
|
2011
2011
|
var n, o, r, s;
|
|
2012
2012
|
let {
|
|
@@ -2020,7 +2020,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2020
2020
|
modifiers: g,
|
|
2021
2021
|
...y
|
|
2022
2022
|
} = t;
|
|
2023
|
-
const h = Rr(oi, void 0, ni), [m, b] = h, [C, v] = ns(), [k, x] = he(
|
|
2023
|
+
const h = Rr(oi, void 0, ni), [m, b] = h, [C, v] = ns(), [k, x] = he(Ye.Uninitialized), S = k === Ye.Initialized, {
|
|
2024
2024
|
draggable: {
|
|
2025
2025
|
active: _,
|
|
2026
2026
|
nodes: N,
|
|
@@ -2071,7 +2071,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2071
2071
|
scrollAdjustedTranslate: null
|
|
2072
2072
|
}), at = z.getNodeFor((n = ke.current.over) == null ? void 0 : n.id), Re = Js({
|
|
2073
2073
|
measure: Q.dragOverlay.measure
|
|
2074
|
-
}), ct = (o = Re.nodeRef.current) != null ? o : F, lt = S ? (r = Re.rect) != null ? r : j : null, so = !!(Re.nodeRef.current && Re.rect), io = Us(so ? null : j), vn = sr(ct ? ie(ct) : null), He = Vs(S ? at ?? F : null), Ut =
|
|
2074
|
+
}), ct = (o = Re.nodeRef.current) != null ? o : F, lt = S ? (r = Re.rect) != null ? r : j : null, so = !!(Re.nodeRef.current && Re.rect), io = Us(so ? null : j), vn = sr(ct ? ie(ct) : null), He = Vs(S ? at ?? F : null), Ut = qs(He), Vt = si(g, {
|
|
2075
2075
|
transform: {
|
|
2076
2076
|
x: O.x - io.x,
|
|
2077
2077
|
y: O.y - io.y,
|
|
@@ -2160,8 +2160,8 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2160
2160
|
}
|
|
2161
2161
|
};
|
|
2162
2162
|
Kt(() => {
|
|
2163
|
-
Oe == null || Oe(St), x(
|
|
2164
|
-
type:
|
|
2163
|
+
Oe == null || Oe(St), x(Ye.Initializing), b({
|
|
2164
|
+
type: G.DragStart,
|
|
2165
2165
|
initialCoordinates: X,
|
|
2166
2166
|
active: Ve
|
|
2167
2167
|
}), C({
|
|
@@ -2172,12 +2172,12 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2172
2172
|
},
|
|
2173
2173
|
onMove(X) {
|
|
2174
2174
|
b({
|
|
2175
|
-
type:
|
|
2175
|
+
type: G.DragMove,
|
|
2176
2176
|
coordinates: X
|
|
2177
2177
|
});
|
|
2178
2178
|
},
|
|
2179
|
-
onEnd: ht(
|
|
2180
|
-
onCancel: ht(
|
|
2179
|
+
onEnd: ht(G.DragEnd),
|
|
2180
|
+
onCancel: ht(G.DragCancel)
|
|
2181
2181
|
});
|
|
2182
2182
|
mn.current = Ae;
|
|
2183
2183
|
function ht(X) {
|
|
@@ -2199,13 +2199,13 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2199
2199
|
collisions: Oe,
|
|
2200
2200
|
delta: xt,
|
|
2201
2201
|
over: St
|
|
2202
|
-
}, X ===
|
|
2202
|
+
}, X === G.DragEnd && typeof kt == "function" && await Promise.resolve(kt(Ke)) && (X = G.DragCancel);
|
|
2203
2203
|
}
|
|
2204
2204
|
M.current = null, Kt(() => {
|
|
2205
2205
|
b({
|
|
2206
2206
|
type: X
|
|
2207
|
-
}), x(
|
|
2208
|
-
const kt = X ===
|
|
2207
|
+
}), x(Ye.Uninitialized), uo(null), oe(null), K(null), mn.current = null;
|
|
2208
|
+
const kt = X === G.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
2209
2209
|
if (Ke) {
|
|
2210
2210
|
const bn = ve.current[kt];
|
|
2211
2211
|
bn == null || bn(Ke), C({
|
|
@@ -2235,8 +2235,8 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2235
2235
|
capturedBy: ae.sensor
|
|
2236
2236
|
}, M.current = Ue, ho(ce, ae));
|
|
2237
2237
|
}, [N, ho]), fo = Fs(u, Dr);
|
|
2238
|
-
|
|
2239
|
-
j && k ===
|
|
2238
|
+
Gs(u), Te(() => {
|
|
2239
|
+
j && k === Ye.Initializing && x(Ye.Initialized);
|
|
2240
2240
|
}, [j, k]), U(
|
|
2241
2241
|
() => {
|
|
2242
2242
|
const {
|
|
@@ -2363,7 +2363,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2363
2363
|
over: We,
|
|
2364
2364
|
measureDroppableContainers: xe
|
|
2365
2365
|
}), [I, fo, P, j, b, ze, N, We, xe]);
|
|
2366
|
-
return A.createElement(
|
|
2366
|
+
return A.createElement(Yo.Provider, {
|
|
2367
2367
|
value: v
|
|
2368
2368
|
}, A.createElement(pn.Provider, {
|
|
2369
2369
|
value: Br
|
|
@@ -2406,7 +2406,7 @@ function di(e) {
|
|
|
2406
2406
|
role: g = ko,
|
|
2407
2407
|
roleDescription: y = "draggable",
|
|
2408
2408
|
tabIndex: h = 0
|
|
2409
|
-
} = r ?? {}, m = (l == null ? void 0 : l.id) === t, b = nt(m ? ar : li), [C, v] = rn(), [k, x] = rn(), S =
|
|
2409
|
+
} = r ?? {}, m = (l == null ? void 0 : l.id) === t, b = nt(m ? ar : li), [C, v] = rn(), [k, x] = rn(), S = Ys(i, t), _ = Ot(n);
|
|
2410
2410
|
Te(
|
|
2411
2411
|
() => (f.set(t, {
|
|
2412
2412
|
id: t,
|
|
@@ -2492,7 +2492,7 @@ function pi(e) {
|
|
|
2492
2492
|
!v || !x.current || (v.disconnect(), f.current = !1, v.observe(x.current));
|
|
2493
2493
|
}, [x, v]), U(
|
|
2494
2494
|
() => (a({
|
|
2495
|
-
type:
|
|
2495
|
+
type: G.RegisterDroppable,
|
|
2496
2496
|
element: {
|
|
2497
2497
|
id: o,
|
|
2498
2498
|
key: s,
|
|
@@ -2502,7 +2502,7 @@ function pi(e) {
|
|
|
2502
2502
|
data: _
|
|
2503
2503
|
}
|
|
2504
2504
|
}), () => a({
|
|
2505
|
-
type:
|
|
2505
|
+
type: G.UnregisterDroppable,
|
|
2506
2506
|
key: s,
|
|
2507
2507
|
id: o
|
|
2508
2508
|
})),
|
|
@@ -2510,7 +2510,7 @@ function pi(e) {
|
|
|
2510
2510
|
[o]
|
|
2511
2511
|
), U(() => {
|
|
2512
2512
|
n !== u.current.disabled && (a({
|
|
2513
|
-
type:
|
|
2513
|
+
type: G.SetDroppableDisabled,
|
|
2514
2514
|
id: o,
|
|
2515
2515
|
key: s,
|
|
2516
2516
|
disabled: n
|
|
@@ -2534,7 +2534,7 @@ function vi(e, t) {
|
|
|
2534
2534
|
return s && (n[r] = s), n;
|
|
2535
2535
|
}, Array(e.length));
|
|
2536
2536
|
}
|
|
2537
|
-
function
|
|
2537
|
+
function Gt(e) {
|
|
2538
2538
|
return e !== null && e >= 0;
|
|
2539
2539
|
}
|
|
2540
2540
|
function mi(e, t) {
|
|
@@ -2567,7 +2567,7 @@ const lr = (e) => {
|
|
|
2567
2567
|
scaleX: a.width / i.width,
|
|
2568
2568
|
scaleY: a.height / i.height
|
|
2569
2569
|
};
|
|
2570
|
-
},
|
|
2570
|
+
}, Yt = {
|
|
2571
2571
|
scaleX: 1,
|
|
2572
2572
|
scaleY: 1
|
|
2573
2573
|
}, _i = (e) => {
|
|
@@ -2587,22 +2587,22 @@ const lr = (e) => {
|
|
|
2587
2587
|
return d ? {
|
|
2588
2588
|
x: 0,
|
|
2589
2589
|
y: n < i ? d.top + d.height - (a.top + a.height) : d.top - a.top,
|
|
2590
|
-
...
|
|
2590
|
+
...Yt
|
|
2591
2591
|
} : null;
|
|
2592
2592
|
}
|
|
2593
2593
|
const l = yi(s, r, n);
|
|
2594
2594
|
return r > n && r <= i ? {
|
|
2595
2595
|
x: 0,
|
|
2596
2596
|
y: -a.height - l,
|
|
2597
|
-
...
|
|
2597
|
+
...Yt
|
|
2598
2598
|
} : r < n && r >= i ? {
|
|
2599
2599
|
x: 0,
|
|
2600
2600
|
y: a.height + l,
|
|
2601
|
-
...
|
|
2601
|
+
...Yt
|
|
2602
2602
|
} : {
|
|
2603
2603
|
x: 0,
|
|
2604
2604
|
y: 0,
|
|
2605
|
-
...
|
|
2605
|
+
...Yt
|
|
2606
2606
|
};
|
|
2607
2607
|
};
|
|
2608
2608
|
function yi(e, t, n) {
|
|
@@ -2782,13 +2782,13 @@ function Di(e) {
|
|
|
2782
2782
|
...n
|
|
2783
2783
|
},
|
|
2784
2784
|
disabled: v.draggable
|
|
2785
|
-
}), st = Kr(z, W), Q = !!$, me = Q && !y &&
|
|
2785
|
+
}), st = Kr(z, W), Q = !!$, me = Q && !y && Gt(p) && Gt(m), xe = !b && I, Qe = xe && me ? ze : null, it = me ? Qe ?? (a ?? C)({
|
|
2786
2786
|
rects: h,
|
|
2787
2787
|
activeNodeRect: P,
|
|
2788
2788
|
activeIndex: p,
|
|
2789
2789
|
overIndex: m,
|
|
2790
2790
|
index: k
|
|
2791
|
-
}) : null, je =
|
|
2791
|
+
}) : null, je = Gt(p) && Gt(m) ? s({
|
|
2792
2792
|
id: i,
|
|
2793
2793
|
items: u,
|
|
2794
2794
|
activeIndex: p,
|
|
@@ -3153,11 +3153,11 @@ function mr(e, t, { getFn: n = E.getFn, fieldNormWeight: o = E.fieldNormWeight }
|
|
|
3153
3153
|
const r = new ro({ getFn: n, fieldNormWeight: o });
|
|
3154
3154
|
return r.setKeys(e.map(vr)), r.setSources(t), r.create(), r;
|
|
3155
3155
|
}
|
|
3156
|
-
function
|
|
3156
|
+
function Gi(e, { getFn: t = E.getFn, fieldNormWeight: n = E.fieldNormWeight } = {}) {
|
|
3157
3157
|
const { keys: o, records: r } = e, s = new ro({ getFn: t, fieldNormWeight: n });
|
|
3158
3158
|
return s.setKeys(o), s.setIndexRecords(r), s;
|
|
3159
3159
|
}
|
|
3160
|
-
function
|
|
3160
|
+
function qt(e, {
|
|
3161
3161
|
errors: t = 0,
|
|
3162
3162
|
currentLocation: n = 0,
|
|
3163
3163
|
expectedLocation: o = 0,
|
|
@@ -3170,7 +3170,7 @@ function Yt(e, {
|
|
|
3170
3170
|
const a = Math.abs(o - n);
|
|
3171
3171
|
return r ? i + a / r : a ? 1 : i;
|
|
3172
3172
|
}
|
|
3173
|
-
function
|
|
3173
|
+
function Yi(e = [], t = E.minMatchCharLength) {
|
|
3174
3174
|
let n = [], o = -1, r = -1, s = 0;
|
|
3175
3175
|
for (let i = e.length; s < i; s += 1) {
|
|
3176
3176
|
let a = e[s];
|
|
@@ -3179,7 +3179,7 @@ function Gi(e = [], t = E.minMatchCharLength) {
|
|
|
3179
3179
|
return e[s - 1] && s - o >= t && n.push([o, s - 1]), n;
|
|
3180
3180
|
}
|
|
3181
3181
|
const et = 32;
|
|
3182
|
-
function
|
|
3182
|
+
function qi(e, t, n, {
|
|
3183
3183
|
location: o = E.location,
|
|
3184
3184
|
distance: r = E.distance,
|
|
3185
3185
|
threshold: s = E.threshold,
|
|
@@ -3195,7 +3195,7 @@ function Yi(e, t, n, {
|
|
|
3195
3195
|
const h = a > 1 || l, m = h ? Array(f) : [];
|
|
3196
3196
|
let b;
|
|
3197
3197
|
for (; (b = e.indexOf(t, y)) > -1; ) {
|
|
3198
|
-
let _ =
|
|
3198
|
+
let _ = qt(t, {
|
|
3199
3199
|
currentLocation: b,
|
|
3200
3200
|
expectedLocation: p,
|
|
3201
3201
|
distance: r,
|
|
@@ -3213,7 +3213,7 @@ function Yi(e, t, n, {
|
|
|
3213
3213
|
for (let _ = 0; _ < u; _ += 1) {
|
|
3214
3214
|
let N = 0, O = k;
|
|
3215
3215
|
for (; N < O; )
|
|
3216
|
-
|
|
3216
|
+
qt(t, {
|
|
3217
3217
|
errors: _,
|
|
3218
3218
|
currentLocation: p + O,
|
|
3219
3219
|
expectedLocation: p,
|
|
@@ -3225,7 +3225,7 @@ function Yi(e, t, n, {
|
|
|
3225
3225
|
T[$ + 1] = (1 << _) - 1;
|
|
3226
3226
|
for (let M = $; M >= z; M -= 1) {
|
|
3227
3227
|
let W = M - 1, oe = n[e.charAt(W)];
|
|
3228
|
-
if (h && (m[W] = +!!oe), T[M] = (T[M + 1] << 1 | 1) & oe, _ && (T[M] |= (C[M + 1] | C[M]) << 1 | 1 | C[M + 1]), T[M] & x && (v =
|
|
3228
|
+
if (h && (m[W] = +!!oe), T[M] = (T[M + 1] << 1 | 1) & oe, _ && (T[M] |= (C[M + 1] | C[M]) << 1 | 1 | C[M + 1]), T[M] & x && (v = qt(t, {
|
|
3229
3229
|
errors: _,
|
|
3230
3230
|
currentLocation: W,
|
|
3231
3231
|
expectedLocation: p,
|
|
@@ -3237,7 +3237,7 @@ function Yi(e, t, n, {
|
|
|
3237
3237
|
z = Math.max(1, 2 * p - y);
|
|
3238
3238
|
}
|
|
3239
3239
|
}
|
|
3240
|
-
if (
|
|
3240
|
+
if (qt(t, {
|
|
3241
3241
|
errors: _ + 1,
|
|
3242
3242
|
currentLocation: p,
|
|
3243
3243
|
expectedLocation: p,
|
|
@@ -3253,7 +3253,7 @@ function Yi(e, t, n, {
|
|
|
3253
3253
|
score: Math.max(1e-3, v)
|
|
3254
3254
|
};
|
|
3255
3255
|
if (h) {
|
|
3256
|
-
const _ =
|
|
3256
|
+
const _ = Yi(m, a);
|
|
3257
3257
|
_.length ? l && (S.indices = _) : S.isMatch = !1;
|
|
3258
3258
|
}
|
|
3259
3259
|
return S;
|
|
@@ -3329,7 +3329,7 @@ class br {
|
|
|
3329
3329
|
} = this.options;
|
|
3330
3330
|
let f = [], p = 0, g = !1;
|
|
3331
3331
|
this.chunks.forEach(({ pattern: h, alphabet: m, startIndex: b }) => {
|
|
3332
|
-
const { isMatch: C, score: v, indices: k } =
|
|
3332
|
+
const { isMatch: C, score: v, indices: k } = qi(t, h, m, {
|
|
3333
3333
|
location: s + b,
|
|
3334
3334
|
distance: i,
|
|
3335
3335
|
threshold: a,
|
|
@@ -3894,7 +3894,7 @@ class yt {
|
|
|
3894
3894
|
}
|
|
3895
3895
|
yt.version = "7.1.0";
|
|
3896
3896
|
yt.createIndex = mr;
|
|
3897
|
-
yt.parseIndex =
|
|
3897
|
+
yt.parseIndex = Gi;
|
|
3898
3898
|
yt.config = E;
|
|
3899
3899
|
yt.parseQuery = wr;
|
|
3900
3900
|
ca(aa);
|
|
@@ -4019,7 +4019,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
|
|
|
4019
4019
|
R,
|
|
4020
4020
|
{
|
|
4021
4021
|
name: t.icon,
|
|
4022
|
-
fill: n.value === t.value ? "
|
|
4022
|
+
fill: n.value === t.value ? "var(--builder-text-primary)" : "var(--builder-text-secondary)",
|
|
4023
4023
|
width: 20,
|
|
4024
4024
|
height: 20
|
|
4025
4025
|
}
|
|
@@ -4122,7 +4122,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
|
|
|
4122
4122
|
R,
|
|
4123
4123
|
{
|
|
4124
4124
|
name: o && o[e] && o[e].icon || "File",
|
|
4125
|
-
fill: "
|
|
4125
|
+
fill: "var(--builder-text-primary)",
|
|
4126
4126
|
width: 20,
|
|
4127
4127
|
height: 20
|
|
4128
4128
|
}
|
|
@@ -4219,7 +4219,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
|
|
|
4219
4219
|
}) }),
|
|
4220
4220
|
/* @__PURE__ */ c("div", { className: be.separator }),
|
|
4221
4221
|
/* @__PURE__ */ w(
|
|
4222
|
-
|
|
4222
|
+
qe,
|
|
4223
4223
|
{
|
|
4224
4224
|
className: be.button,
|
|
4225
4225
|
onClick: (v) => {
|
|
@@ -4296,10 +4296,10 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
|
|
|
4296
4296
|
}, Ua = () => /* @__PURE__ */ w("div", { className: Ia.settings, children: [
|
|
4297
4297
|
/* @__PURE__ */ c(ja, {}),
|
|
4298
4298
|
/* @__PURE__ */ c(Wa, {})
|
|
4299
|
-
] }), Va = "
|
|
4299
|
+
] }), Va = "_theme_8ncc1_1", Ka = "_text_8ncc1_13", To = {
|
|
4300
4300
|
theme: Va,
|
|
4301
4301
|
text: Ka
|
|
4302
|
-
},
|
|
4302
|
+
}, Ga = () => /* @__PURE__ */ c("div", { className: To.theme, children: /* @__PURE__ */ c("div", { className: To.text, children: "Live Theme" }) }), Ya = async (e, t, n) => {
|
|
4303
4303
|
const o = localStorage.getItem("shopId") || void 0, r = localStorage.getItem("draftId"), i = `${Lo.getState().apiUrls.api}/v2/builder/shops/${o}/drafts/${r}/${t}`;
|
|
4304
4304
|
return await Fo({
|
|
4305
4305
|
url: i,
|
|
@@ -4325,7 +4325,7 @@ function Nt(e, t) {
|
|
|
4325
4325
|
return console.error("Error in getValues function:", n), [];
|
|
4326
4326
|
}
|
|
4327
4327
|
}
|
|
4328
|
-
function
|
|
4328
|
+
function qa(e, t, n) {
|
|
4329
4329
|
return Xa(e, t) ? (n.reviews || []).length * 3 : 0;
|
|
4330
4330
|
}
|
|
4331
4331
|
function Xa(e, t) {
|
|
@@ -4349,9 +4349,9 @@ function Ja(e, t) {
|
|
|
4349
4349
|
return null;
|
|
4350
4350
|
}
|
|
4351
4351
|
const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
4352
|
-
const { themeSettings: n } =
|
|
4352
|
+
const { themeSettings: n } = q(), { settings: o } = Xe(), [r, s] = A.useState(null), [i, a] = A.useState(!1), { setNotifications: l, notifications: d } = Vn(), { header: u, footer: f, announcement: p, blocks: g } = ne(), { pageContext: y } = J(), { pages: h } = J();
|
|
4353
4353
|
return /* @__PURE__ */ c(
|
|
4354
|
-
|
|
4354
|
+
qe,
|
|
4355
4355
|
{
|
|
4356
4356
|
onClick: async () => {
|
|
4357
4357
|
if (i)
|
|
@@ -4374,7 +4374,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4374
4374
|
],
|
|
4375
4375
|
neededListingIds: [...Nt("ListingIds", Object.values(g[x].data))],
|
|
4376
4376
|
neededFaqIds: [...Nt("FaqsIds", Object.values(g[x].data))],
|
|
4377
|
-
neededReviewCount:
|
|
4377
|
+
neededReviewCount: qa(
|
|
4378
4378
|
"ReviewCount",
|
|
4379
4379
|
Object.values(g[x].data),
|
|
4380
4380
|
y
|
|
@@ -4392,7 +4392,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4392
4392
|
header: u,
|
|
4393
4393
|
footer: f,
|
|
4394
4394
|
announcement: p
|
|
4395
|
-
}, { status: k } = await
|
|
4395
|
+
}, { status: k } = await Ya("post", "save", {
|
|
4396
4396
|
themeSettings: n,
|
|
4397
4397
|
settings: v,
|
|
4398
4398
|
updatedPages: C
|
|
@@ -4441,7 +4441,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4441
4441
|
] }),
|
|
4442
4442
|
/* @__PURE__ */ c("div", { className: Xt.center, children: /* @__PURE__ */ c(Ua, {}) }),
|
|
4443
4443
|
/* @__PURE__ */ w("div", { className: Xt.right, children: [
|
|
4444
|
-
/* @__PURE__ */ c(
|
|
4444
|
+
/* @__PURE__ */ c(Ga, {}),
|
|
4445
4445
|
/* @__PURE__ */ c(wa, {}),
|
|
4446
4446
|
/* @__PURE__ */ c(
|
|
4447
4447
|
Qa,
|
|
@@ -4482,7 +4482,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4482
4482
|
block: sc,
|
|
4483
4483
|
active: ic
|
|
4484
4484
|
}, $d = () => {
|
|
4485
|
-
const { activeBlock: e } =
|
|
4485
|
+
const { activeBlock: e } = Gn(), { setActiveBlock: t } = se(), { setCurrentBlock: n } = ne(), { setActiveBlock: o } = q(), { setActiveBlock: r } = Fe(), s = rt();
|
|
4486
4486
|
function i(a) {
|
|
4487
4487
|
switch (t(null), n(null), o(null), r({
|
|
4488
4488
|
id: null,
|
|
@@ -4516,7 +4516,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4516
4516
|
R,
|
|
4517
4517
|
{
|
|
4518
4518
|
name: a.icon,
|
|
4519
|
-
fill: e.icon === a.icon ? "
|
|
4519
|
+
fill: e.icon === a.icon ? "var(--builder-text-primary)" : "var(--builder-text-secondary)"
|
|
4520
4520
|
}
|
|
4521
4521
|
),
|
|
4522
4522
|
/* @__PURE__ */ c("span", { children: a.name })
|
|
@@ -4569,7 +4569,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4569
4569
|
/* @__PURE__ */ c("span", { className: De.text, children: e.value === "mobile" ? t(window.location.origin, 35) : e.value === "desktop" ? t(window.location.origin, 200) : t(window.location.origin, 100) })
|
|
4570
4570
|
] }) }),
|
|
4571
4571
|
/* @__PURE__ */ c(
|
|
4572
|
-
|
|
4572
|
+
qe,
|
|
4573
4573
|
{
|
|
4574
4574
|
type: "Secondary",
|
|
4575
4575
|
style: { padding: "8px" },
|
|
@@ -4596,7 +4596,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
)
|
|
4598
4598
|
] });
|
|
4599
|
-
}, xc = "_content_s4v4v_1", kc = "_main_s4v4v_12", Ac = "_block_s4v4v_16", Nc = "_active_s4v4v_22", Dc = "_name_s4v4v_32", Ec = "_addSection_s4v4v_109", Bc = "_addSectionTop_s4v4v_117",
|
|
4599
|
+
}, xc = "_content_s4v4v_1", kc = "_main_s4v4v_12", Ac = "_block_s4v4v_16", Nc = "_active_s4v4v_22", Dc = "_name_s4v4v_32", Ec = "_addSection_s4v4v_109", Bc = "_addSectionTop_s4v4v_117", Ge = {
|
|
4600
4600
|
content: xc,
|
|
4601
4601
|
main: kc,
|
|
4602
4602
|
block: Ac,
|
|
@@ -4694,7 +4694,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4694
4694
|
currentBlock: l,
|
|
4695
4695
|
setPositionBlock: d,
|
|
4696
4696
|
announcement: u
|
|
4697
|
-
} = ne(), { settings: f } = Xe(), { currentPage: p, pages: g, pageContext: y } = J(), { activeBlock: h, setActiveBlock: m } =
|
|
4697
|
+
} = ne(), { settings: f } = Xe(), { currentPage: p, pages: g, pageContext: y } = J(), { activeBlock: h, setActiveBlock: m } = q(), { setError: b } = Yn(), { setActiveBlock: C } = se(), v = A.useRef(n.id), k = A.useRef({});
|
|
4698
4698
|
A.useEffect(() => {
|
|
4699
4699
|
if (n.id && n.neededScroll && k.current[n.id]) {
|
|
4700
4700
|
const _ = k.current[n.id];
|
|
@@ -4735,7 +4735,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4735
4735
|
onClick: (_) => {
|
|
4736
4736
|
_.stopPropagation();
|
|
4737
4737
|
},
|
|
4738
|
-
className:
|
|
4738
|
+
className: Ge.content,
|
|
4739
4739
|
style: {
|
|
4740
4740
|
width: "100%",
|
|
4741
4741
|
height: "100%",
|
|
@@ -4745,7 +4745,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4745
4745
|
children: [
|
|
4746
4746
|
u && /* @__PURE__ */ c(Vo, {}),
|
|
4747
4747
|
/* @__PURE__ */ c(Uo, {}),
|
|
4748
|
-
/* @__PURE__ */ c("div", { className:
|
|
4748
|
+
/* @__PURE__ */ c("div", { className: Ge.main, children: g && g[p] && i[g[p].path] && i[g[p].path].data && i[g[p].path].order.map((_) => /* @__PURE__ */ w(
|
|
4749
4749
|
"div",
|
|
4750
4750
|
{
|
|
4751
4751
|
ref: (N) => k.current[_] = N,
|
|
@@ -4774,10 +4774,10 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4774
4774
|
neededScroll: !1
|
|
4775
4775
|
});
|
|
4776
4776
|
},
|
|
4777
|
-
className: B(
|
|
4777
|
+
className: B(Ge.block),
|
|
4778
4778
|
children: [
|
|
4779
|
-
(n.id === _ || l === _) && /* @__PURE__ */ c("div", { className:
|
|
4780
|
-
(n.id === _ || l === _) && /* @__PURE__ */ c("div", { className:
|
|
4779
|
+
(n.id === _ || l === _) && /* @__PURE__ */ c("div", { className: Ge.active }),
|
|
4780
|
+
(n.id === _ || l === _) && /* @__PURE__ */ c("div", { className: Ge.name, children: tt(
|
|
4781
4781
|
i[g[p].path].data[_].name,
|
|
4782
4782
|
s
|
|
4783
4783
|
) }),
|
|
@@ -4788,8 +4788,8 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4788
4788
|
(n.id === _ || l === _) && tt(
|
|
4789
4789
|
i[g[p].path].data[_].name,
|
|
4790
4790
|
s
|
|
4791
|
-
) !== "unknown name" && /* @__PURE__ */ c("div", { className:
|
|
4792
|
-
|
|
4791
|
+
) !== "unknown name" && /* @__PURE__ */ c("div", { className: Ge.addSection, children: /* @__PURE__ */ c(
|
|
4792
|
+
qe,
|
|
4793
4793
|
{
|
|
4794
4794
|
type: "Primary",
|
|
4795
4795
|
onClick: (N) => {
|
|
@@ -4804,8 +4804,8 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4804
4804
|
(n.id === _ || l === _) && tt(
|
|
4805
4805
|
i[g[p].path].data[_].name,
|
|
4806
4806
|
s
|
|
4807
|
-
) !== "unknown name" && /* @__PURE__ */ c("div", { className: B(
|
|
4808
|
-
|
|
4807
|
+
) !== "unknown name" && /* @__PURE__ */ c("div", { className: B(Ge.addSection, Ge.addSectionTop), children: /* @__PURE__ */ c(
|
|
4808
|
+
qe,
|
|
4809
4809
|
{
|
|
4810
4810
|
type: "Primary",
|
|
4811
4811
|
onClick: (N) => {
|
|
@@ -4818,7 +4818,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4818
4818
|
}
|
|
4819
4819
|
) }),
|
|
4820
4820
|
r && /* @__PURE__ */ c(
|
|
4821
|
-
|
|
4821
|
+
qn,
|
|
4822
4822
|
{
|
|
4823
4823
|
render: S,
|
|
4824
4824
|
block: i[g[p].path].data[_]
|
|
@@ -4929,7 +4929,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
4929
4929
|
)) : /* @__PURE__ */ c("div", { className: Mo.noResults, children: "No sections found" }) })
|
|
4930
4930
|
] });
|
|
4931
4931
|
}, Pd = () => {
|
|
4932
|
-
const { onPreview: e, zoomLevel: t } = Fe(), { keyBlock: n, hoverBlockId: o, isModalVisible: r, hoverBlockTopPosition: s } = hn(), { settings: i } = Xe(), { sourceBlocks: a } = se(), { pageContext: l } = J(), { showModal: d } = jo(), { currentDevice: u } = Kn(), { isLoadingThemeSettings: f } =
|
|
4932
|
+
const { onPreview: e, zoomLevel: t } = Fe(), { keyBlock: n, hoverBlockId: o, isModalVisible: r, hoverBlockTopPosition: s } = hn(), { settings: i } = Xe(), { sourceBlocks: a } = se(), { pageContext: l } = J(), { showModal: d } = jo(), { currentDevice: u } = Kn(), { isLoadingThemeSettings: f } = q(), { isLoadingLayers: p } = ne(), g = (v) => v ? !a || !a[v] ? /* @__PURE__ */ c(on, { error: `Block "${v}" does not exist in blocks.` }) : new a[v]().renderPreview(i, l) : /* @__PURE__ */ c(on, { error: "Block or block.name is undefined." });
|
|
4933
4933
|
function y() {
|
|
4934
4934
|
if (u.value === "desktop")
|
|
4935
4935
|
return t >= 1 ? "100%" : `${(t * 100).toFixed(2)}%`;
|
|
@@ -4970,7 +4970,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
4970
4970
|
positionLeft: !o && n ? void 0 : 250,
|
|
4971
4971
|
children: [
|
|
4972
4972
|
!f && !p && /* @__PURE__ */ c(
|
|
4973
|
-
|
|
4973
|
+
qn,
|
|
4974
4974
|
{
|
|
4975
4975
|
render: g,
|
|
4976
4976
|
block: n
|
|
@@ -5032,12 +5032,12 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5032
5032
|
}, Wc = "_sidebar_1yz5p_1", Uc = "_title_1yz5p_12", $o = {
|
|
5033
5033
|
sidebar: Wc,
|
|
5034
5034
|
title: Uc
|
|
5035
|
-
}, Vc = "_layers_anz81_1", Kc = "_wrapper_anz81_9",
|
|
5035
|
+
}, Vc = "_layers_anz81_1", Kc = "_wrapper_anz81_9", Gc = "_draggingWrapper_anz81_17", Yc = "_block_anz81_21", qc = "_dragging_anz81_17", Xc = "_active_anz81_56", Jc = "_add_anz81_63", Qc = "_addTop_anz81_79", Zc = "_visible_anz81_95", el = "_button_anz81_99", tl = "_nameBlock_anz81_158", nl = "_loader_anz81_162", ol = "_actions_anz81_171", rl = "_deleteButton_anz81_179", ee = {
|
|
5036
5036
|
layers: Vc,
|
|
5037
5037
|
wrapper: Kc,
|
|
5038
|
-
draggingWrapper:
|
|
5039
|
-
block:
|
|
5040
|
-
dragging:
|
|
5038
|
+
draggingWrapper: Gc,
|
|
5039
|
+
block: Yc,
|
|
5040
|
+
dragging: qc,
|
|
5041
5041
|
active: Xc,
|
|
5042
5042
|
add: Jc,
|
|
5043
5043
|
addTop: Qc,
|
|
@@ -5099,7 +5099,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5099
5099
|
hoverable: !0,
|
|
5100
5100
|
width: 20,
|
|
5101
5101
|
height: 20,
|
|
5102
|
-
fill: "
|
|
5102
|
+
fill: "var(--builder-text-secondary)"
|
|
5103
5103
|
}
|
|
5104
5104
|
) })
|
|
5105
5105
|
]
|
|
@@ -5361,7 +5361,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5361
5361
|
}, fl = () => {
|
|
5362
5362
|
const { settings: e } = Xe(), { settings: t, setSettingsInstance: n } = se();
|
|
5363
5363
|
if (!e) return null;
|
|
5364
|
-
const { setError: o } =
|
|
5364
|
+
const { setError: o } = Yn(), r = new t(e);
|
|
5365
5365
|
A.useEffect(() => {
|
|
5366
5366
|
n(r);
|
|
5367
5367
|
}, [e]);
|
|
@@ -5381,7 +5381,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5381
5381
|
name: vl,
|
|
5382
5382
|
loader: ml
|
|
5383
5383
|
}, bl = () => {
|
|
5384
|
-
const e = rt(), { isLoadingThemeSettings: t, setActiveBlock: n } =
|
|
5384
|
+
const e = rt(), { isLoadingThemeSettings: t, setActiveBlock: n } = q();
|
|
5385
5385
|
function o(r) {
|
|
5386
5386
|
switch (r == null ? void 0 : r.name) {
|
|
5387
5387
|
case "Colors":
|
|
@@ -5422,7 +5422,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5422
5422
|
loading: Sl,
|
|
5423
5423
|
settings: xl
|
|
5424
5424
|
}, kl = ({ block: e }) => {
|
|
5425
|
-
const { pageContext: t } = J(), { setError: n } =
|
|
5425
|
+
const { pageContext: t } = J(), { setError: n } = Yn();
|
|
5426
5426
|
try {
|
|
5427
5427
|
return e.renderSettings(t);
|
|
5428
5428
|
} catch (o) {
|
|
@@ -5443,7 +5443,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5443
5443
|
value: Tl,
|
|
5444
5444
|
length: Ml
|
|
5445
5445
|
}, Rl = (e) => {
|
|
5446
|
-
const { colors: t } = e, { themeSettings: n } =
|
|
5446
|
+
const { colors: t } = e, { themeSettings: n } = q(), [o, r] = A.useState(!0);
|
|
5447
5447
|
A.useEffect(() => {
|
|
5448
5448
|
t.length <= 3 && r(!0);
|
|
5449
5449
|
}, []);
|
|
@@ -5507,7 +5507,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5507
5507
|
colorChange: u,
|
|
5508
5508
|
setIsGradientActive: f,
|
|
5509
5509
|
setIsBlockSettings: p
|
|
5510
|
-
} = jo(), { updateColor: g } =
|
|
5510
|
+
} = jo(), { updateColor: g } = q(), y = (b, C) => (v) => {
|
|
5511
5511
|
g(b, C, v);
|
|
5512
5512
|
};
|
|
5513
5513
|
A.useEffect(() => {
|
|
@@ -5768,9 +5768,9 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5768
5768
|
/* @__PURE__ */ c("span", { className: Bn.title, children: t })
|
|
5769
5769
|
] }), Vl = "_options_ymds7_1", Kl = {
|
|
5770
5770
|
options: Vl
|
|
5771
|
-
},
|
|
5771
|
+
}, Gl = () => {
|
|
5772
5772
|
var d, u;
|
|
5773
|
-
const { activeBlock: e, themeSettings: t, updateBorder: n, setActiveBlock: o } =
|
|
5773
|
+
const { activeBlock: e, themeSettings: t, updateBorder: n, setActiveBlock: o } = q();
|
|
5774
5774
|
function r(f, p) {
|
|
5775
5775
|
n(p, f);
|
|
5776
5776
|
}
|
|
@@ -5815,9 +5815,9 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5815
5815
|
]
|
|
5816
5816
|
}
|
|
5817
5817
|
);
|
|
5818
|
-
},
|
|
5819
|
-
options:
|
|
5820
|
-
alignments:
|
|
5818
|
+
}, Yl = "_options_1q3u1_1", ql = "_alignments_1q3u1_9", Xl = "_blocks_1q3u1_15", Jl = "_alignment_1q3u1_9", Ql = "_active_1q3u1_34", Zl = "_chargeTypes_1q3u1_41", eu = "_charge_1q3u1_41", tu = "_chargeActive_1q3u1_69", nu = "_sliderContainer_1q3u1_83", ou = "_shadowInputs_1q3u1_91", ru = "_label_1q3u1_102", su = "_shadowInputsRow_1q3u1_111", iu = "_shadowInputsOpen_1q3u1_119", re = {
|
|
5819
|
+
options: Yl,
|
|
5820
|
+
alignments: ql,
|
|
5821
5821
|
blocks: Xl,
|
|
5822
5822
|
alignment: Jl,
|
|
5823
5823
|
active: Ql,
|
|
@@ -5830,7 +5830,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5830
5830
|
shadowInputsRow: su,
|
|
5831
5831
|
shadowInputsOpen: iu
|
|
5832
5832
|
}, au = ["left", "center", "right"], cu = () => {
|
|
5833
|
-
const { activeBlock: e, themeSettings: t, updateButton: n, setActiveBlock: o } =
|
|
5833
|
+
const { activeBlock: e, themeSettings: t, updateButton: n, setActiveBlock: o } = q(), { fonts: r } = Ho(), [s, i] = A.useState("primary");
|
|
5834
5834
|
function a(h, m) {
|
|
5835
5835
|
n(s, m, h);
|
|
5836
5836
|
}
|
|
@@ -5935,7 +5935,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5935
5935
|
/* @__PURE__ */ w("div", { className: re.sliderContainer, children: [
|
|
5936
5936
|
/* @__PURE__ */ c("h4", { className: re.label, children: "Shadow" }),
|
|
5937
5937
|
/* @__PURE__ */ c(
|
|
5938
|
-
|
|
5938
|
+
qe,
|
|
5939
5939
|
{
|
|
5940
5940
|
type: "Secondary",
|
|
5941
5941
|
onClick: () => d(!l),
|
|
@@ -6066,7 +6066,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6066
6066
|
category: lu,
|
|
6067
6067
|
categoryTitle: uu
|
|
6068
6068
|
}, du = () => {
|
|
6069
|
-
const { themeSettings: e, setActiveColorCategory: t } =
|
|
6069
|
+
const { themeSettings: e, setActiveColorCategory: t } = q();
|
|
6070
6070
|
function n(o) {
|
|
6071
6071
|
t(o);
|
|
6072
6072
|
}
|
|
@@ -6095,7 +6095,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6095
6095
|
}, hu = "_options_rwzk3_38", fu = {
|
|
6096
6096
|
options: hu
|
|
6097
6097
|
}, gu = () => {
|
|
6098
|
-
const { activeBlock: e, setActiveFont: t, activeFont: n, themeSettings: o, updateFont: r } =
|
|
6098
|
+
const { activeBlock: e, setActiveFont: t, activeFont: n, themeSettings: o, updateFont: r } = q(), { fonts: s } = Ho(), [i, a] = A.useState(null);
|
|
6099
6099
|
function l() {
|
|
6100
6100
|
t(null);
|
|
6101
6101
|
}
|
|
@@ -6197,7 +6197,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6197
6197
|
md: "medium",
|
|
6198
6198
|
sm: "small"
|
|
6199
6199
|
}, Su = (e) => {
|
|
6200
|
-
const { font: t, size: n, id: o, category: r } = e, { setActiveFont: s } =
|
|
6200
|
+
const { font: t, size: n, id: o, category: r } = e, { setActiveFont: s } = q();
|
|
6201
6201
|
return /* @__PURE__ */ w(
|
|
6202
6202
|
"div",
|
|
6203
6203
|
{
|
|
@@ -6221,7 +6221,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6221
6221
|
}
|
|
6222
6222
|
);
|
|
6223
6223
|
}, xu = () => {
|
|
6224
|
-
const { themeSettings: e, setActiveFont: t, activeBlock: n } =
|
|
6224
|
+
const { themeSettings: e, setActiveFont: t, activeBlock: n } = q();
|
|
6225
6225
|
A.useEffect(() => (o(), () => {
|
|
6226
6226
|
o();
|
|
6227
6227
|
}), []);
|
|
@@ -6267,7 +6267,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6267
6267
|
n
|
|
6268
6268
|
] });
|
|
6269
6269
|
}, Ou = () => {
|
|
6270
|
-
const { themeSettings: e, updateInput: t } =
|
|
6270
|
+
const { themeSettings: e, updateInput: t } = q(), n = H(() => e.inputs, [e]), o = (s, i, a) => {
|
|
6271
6271
|
t(s, i, a);
|
|
6272
6272
|
}, r = (s) => (i) => {
|
|
6273
6273
|
t(s, i, "color");
|
|
@@ -6439,7 +6439,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6439
6439
|
] })
|
|
6440
6440
|
] })
|
|
6441
6441
|
] });
|
|
6442
|
-
}, $u = "_wrapper_lyrvk_2", Pu = "_color_lyrvk_24", Lu = "_content_lyrvk_33", Fu = "_preview_lyrvk_42", zu = "_container_lyrvk_52", ju = "_buttonWrapper_lyrvk_62", Hu = "_button_lyrvk_62", Wu = "_buttonBorder_lyrvk_80", Uu = "_buttonBackground_lyrvk_83", Vu = "_text_lyrvk_87", Ku = "_textText_lyrvk_93",
|
|
6442
|
+
}, $u = "_wrapper_lyrvk_2", Pu = "_color_lyrvk_24", Lu = "_content_lyrvk_33", Fu = "_preview_lyrvk_42", zu = "_container_lyrvk_52", ju = "_buttonWrapper_lyrvk_62", Hu = "_button_lyrvk_62", Wu = "_buttonBorder_lyrvk_80", Uu = "_buttonBackground_lyrvk_83", Vu = "_text_lyrvk_87", Ku = "_textText_lyrvk_93", Gu = "_icon_lyrvk_97", Yu = "_iconIcon_lyrvk_100", qu = "_annotation_lyrvk_104", Xu = "_annotationText_lyrvk_111", Ju = "_label_lyrvk_116", Qu = "_circle_lyrvk_127", Zu = "_line_lyrvk_140", ed = "_circle1_lyrvk_154", td = "_circle2_lyrvk_159", nd = "_annotationIcon_lyrvk_164", od = "_annotationBorder_lyrvk_192", rd = "_line1_lyrvk_203", sd = "_line2_lyrvk_210", id = "_circle3_lyrvk_227", ad = "_circle4_lyrvk_232", cd = "_annotationSurface_lyrvk_237", D = {
|
|
6443
6443
|
wrapper: $u,
|
|
6444
6444
|
color: Pu,
|
|
6445
6445
|
content: Lu,
|
|
@@ -6451,9 +6451,9 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6451
6451
|
buttonBackground: Uu,
|
|
6452
6452
|
text: Vu,
|
|
6453
6453
|
textText: Ku,
|
|
6454
|
-
icon:
|
|
6455
|
-
iconIcon:
|
|
6456
|
-
annotation:
|
|
6454
|
+
icon: Gu,
|
|
6455
|
+
iconIcon: Yu,
|
|
6456
|
+
annotation: qu,
|
|
6457
6457
|
annotationText: Xu,
|
|
6458
6458
|
label: Ju,
|
|
6459
6459
|
circle: Qu,
|
|
@@ -6468,7 +6468,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6468
6468
|
circle4: ad,
|
|
6469
6469
|
annotationSurface: cd
|
|
6470
6470
|
}, ld = () => {
|
|
6471
|
-
const { activeColorCategory: e } =
|
|
6471
|
+
const { activeColorCategory: e } = q();
|
|
6472
6472
|
return /* @__PURE__ */ c("div", { className: D.container, children: /* @__PURE__ */ w("div", { className: D.buttonWrapper, children: [
|
|
6473
6473
|
/* @__PURE__ */ w(
|
|
6474
6474
|
"div",
|
|
@@ -6573,7 +6573,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6573
6573
|
"modal"
|
|
6574
6574
|
]
|
|
6575
6575
|
}, dd = () => {
|
|
6576
|
-
const { activeBlock: e, setActiveColorCategory: t, activeColorCategory: n, themeSettings: o, updateColor: r } =
|
|
6576
|
+
const { activeBlock: e, setActiveColorCategory: t, activeColorCategory: n, themeSettings: o, updateColor: r } = q();
|
|
6577
6577
|
function s() {
|
|
6578
6578
|
t(null);
|
|
6579
6579
|
}
|
|
@@ -6631,18 +6631,18 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6631
6631
|
}, hd = "_loader_1p5lr_1", fd = {
|
|
6632
6632
|
loader: hd
|
|
6633
6633
|
}, gd = () => {
|
|
6634
|
-
const { activeBlock: e, themeSettings: t, isLoadingThemeSettings: n } =
|
|
6634
|
+
const { activeBlock: e, themeSettings: t, isLoadingThemeSettings: n } = q();
|
|
6635
6635
|
return /* @__PURE__ */ c(Pe, { children: n ? /* @__PURE__ */ c("div", { className: fd.loader, children: /* @__PURE__ */ c(ot, {}) }) : /* @__PURE__ */ w(Pe, { children: [
|
|
6636
6636
|
(e == null ? void 0 : e.name) === "Fonts" && t.fonts && /* @__PURE__ */ c(xu, {}),
|
|
6637
6637
|
(e == null ? void 0 : e.name) === "Fonts" && t.fonts && /* @__PURE__ */ c(gu, {}),
|
|
6638
6638
|
(e == null ? void 0 : e.name) === "Colors" && t.colors && /* @__PURE__ */ c(du, {}),
|
|
6639
6639
|
(e == null ? void 0 : e.name) === "Colors" && t.colors && /* @__PURE__ */ c(dd, {}),
|
|
6640
6640
|
(e == null ? void 0 : e.name) === "Inputs" && t.inputs && /* @__PURE__ */ c(Ou, {}),
|
|
6641
|
-
(e == null ? void 0 : e.name) === "Borders" && t.borders && /* @__PURE__ */ c(
|
|
6641
|
+
(e == null ? void 0 : e.name) === "Borders" && t.borders && /* @__PURE__ */ c(Gl, {}),
|
|
6642
6642
|
(e == null ? void 0 : e.name) === "Buttons" && t.buttons && /* @__PURE__ */ c(cu, {})
|
|
6643
6643
|
] }) });
|
|
6644
6644
|
}, pd = () => {
|
|
6645
|
-
const { activeBlock: e, setActiveBlock: t } =
|
|
6645
|
+
const { activeBlock: e, setActiveBlock: t } = q(), { activeBlock: n } = Gn(), o = rt();
|
|
6646
6646
|
function r() {
|
|
6647
6647
|
t(null), o("/admin/builder/theme");
|
|
6648
6648
|
}
|
|
@@ -6665,7 +6665,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6665
6665
|
}
|
|
6666
6666
|
);
|
|
6667
6667
|
}, Ld = () => {
|
|
6668
|
-
const { activeBlock: e } =
|
|
6668
|
+
const { activeBlock: e } = Gn(), { showTooltip: t } = zo();
|
|
6669
6669
|
function n() {
|
|
6670
6670
|
switch (e.name) {
|
|
6671
6671
|
case "Layers":
|
|
@@ -6721,7 +6721,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6721
6721
|
setEditedPage: a,
|
|
6722
6722
|
pageContext: l
|
|
6723
6723
|
} = J(), { setIsOpen: d } = jr(), { isAntistock: u } = Hr(), { createPage: f, updatePage: p } = ne(), [g, y] = A.useState(i ? t && ((z = t[i]) == null ? void 0 : z.path) : ""), [h, m] = A.useState(i ? t && (($ = t[i]) == null ? void 0 : $.name) : ""), [b, C] = A.useState(
|
|
6724
|
-
i ? t && ((T = t[i]) == null ? void 0 : T.seo) && ((M = (P = t[i]) == null ? void 0 : P.seo) == null ? void 0 : M.pageDescription) || "" : `${l.general.info.name} is powered by the Billgang.com platform which allows them to sell their digital products online for free.`
|
|
6724
|
+
i ? t && ((T = t[i]) == null ? void 0 : T.seo) && ((M = (P = t[i]) == null ? void 0 : P.seo) == null ? void 0 : M.pageDescription) || "" : `${l.general.info.name} is powered by the ${u ? "Antistock.io" : "Billgang.com"} platform which allows them to sell their digital products online for free.`
|
|
6725
6725
|
), [v, k] = A.useState(
|
|
6726
6726
|
i && t && (W = t[i]) != null && W.isPrivate ? "private" : "public"
|
|
6727
6727
|
);
|
|
@@ -6811,7 +6811,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6811
6811
|
label: "Description",
|
|
6812
6812
|
onChange: (I) => C(I),
|
|
6813
6813
|
value: b,
|
|
6814
|
-
placeholder: `${l.general.info.name} is powered by the ${u ? "Antistock" : "Billgang.com"} platform which allows them to sell their digital products online for free.`,
|
|
6814
|
+
placeholder: `${l.general.info.name} is powered by the ${u ? "Antistock.io" : "Billgang.com"} platform which allows them to sell their digital products online for free.`,
|
|
6815
6815
|
maxLength: 150
|
|
6816
6816
|
}
|
|
6817
6817
|
),
|
|
@@ -6826,7 +6826,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6826
6826
|
] }),
|
|
6827
6827
|
/* @__PURE__ */ w("div", { className: _e.buttons, children: [
|
|
6828
6828
|
/* @__PURE__ */ c(
|
|
6829
|
-
|
|
6829
|
+
qe,
|
|
6830
6830
|
{
|
|
6831
6831
|
onClick: S,
|
|
6832
6832
|
type: "Secondary",
|
|
@@ -6834,7 +6834,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6834
6834
|
}
|
|
6835
6835
|
),
|
|
6836
6836
|
/* @__PURE__ */ c(
|
|
6837
|
-
|
|
6837
|
+
qe,
|
|
6838
6838
|
{
|
|
6839
6839
|
onClick: r ? O : N,
|
|
6840
6840
|
disabled: g.length === 0,
|
|
@@ -6859,7 +6859,7 @@ export {
|
|
|
6859
6859
|
Ld as S,
|
|
6860
6860
|
Uo as a,
|
|
6861
6861
|
Wo as b,
|
|
6862
|
-
|
|
6862
|
+
qn as c,
|
|
6863
6863
|
is as d,
|
|
6864
6864
|
wi as e,
|
|
6865
6865
|
oo as f,
|