@billgangcom/theme-lib 1.124.4 → 1.124.8

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.
Files changed (45) hide show
  1. package/dist/{builder-C0CY2NqW.cjs → builder-B_VHcbLD.cjs} +13 -13
  2. package/dist/{builder-NZcfw_uK.js → builder-Da7TEF-Q.js} +919 -925
  3. package/dist/{builder-components-t8vV2Uyv.js → builder-components-Cp8Zqx_S.js} +256 -245
  4. package/dist/{builder-components-Df75FZjk.cjs → builder-components-iEhF2Pbf.cjs} +2 -2
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +23 -23
  7. package/dist/{charge-Dlt2N2gE.js → charge-JIFfQW47.js} +3107 -3084
  8. package/dist/{charge-1NVtSa19.cjs → charge-PbrSlzq2.cjs} +33 -33
  9. package/dist/{checkout-B9xrJpzo.cjs → checkout-BUYeNvtd.cjs} +1 -1
  10. package/dist/{checkout-DQQO7oVk.js → checkout-DqtDf6g1.js} +5 -5
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +6 -6
  13. package/dist/{index-BKO1t2iG.cjs → index-AnMmiW23.cjs} +1 -1
  14. package/dist/{index-D8IUUs19.cjs → index-BJCYi1GY.cjs} +1 -1
  15. package/dist/{index-BlN9RDzk.js → index-BMA4a_O3.js} +5 -5
  16. package/dist/{index-D5e4nxfb.js → index-BTDlV9jN.js} +5 -5
  17. package/dist/{index-BPf7tR5l.cjs → index-BkSjxDPp.cjs} +1 -1
  18. package/dist/{index-CVatcZ-w.js → index-ChL-8xQO.js} +1 -1
  19. package/dist/{index-DeVXhlDm.js → index-DFnipeuV.js} +5 -5
  20. package/dist/{index-Df1M0AqD.cjs → index-DiAipax-.cjs} +1 -1
  21. package/dist/{index-uoTQcf9e.cjs → index-DlAAHfEI.cjs} +1 -1
  22. package/dist/{index-FcGMiqa9.js → index-DqhgfGZj.js} +2 -2
  23. package/dist/{index-DKixA0l5.cjs → index-ZHeSdR1d.cjs} +1 -1
  24. package/dist/{index-C-R7NUm4.js → index-wBb3CwJ1.js} +5 -5
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.es.js +6 -6
  27. package/dist/{order-QenSr8PO.js → order-7agEr47O.js} +5 -5
  28. package/dist/{order-CtTYCM0e.cjs → order-dz_UgvGB.cjs} +1 -1
  29. package/dist/src/assets/storefront-icons/index.d.ts +3 -0
  30. package/dist/src/builder/api/fetchData.d.ts +2 -4
  31. package/dist/src/storefront/components/PaymentMethod/model.d.ts +2 -1
  32. package/dist/src/storefront/models/payment.d.ts +2 -1
  33. package/dist/{subscription-i9Trr3Dj.cjs → subscription-BNkw4ae-.cjs} +1 -1
  34. package/dist/{subscription-tZMq2hbO.js → subscription-JT7LtnI_.js} +5 -5
  35. package/dist/{ticket-B7_yQkrG.js → ticket-CUj-mxgQ.js} +5 -5
  36. package/dist/{ticket-D5hDuE4u.cjs → ticket-nM6Hb7qw.cjs} +1 -1
  37. package/dist/{top-up-Cf5uGOet.js → top-up-CqoCBzK9.js} +5 -5
  38. package/dist/{top-up-D5nnzq3p.cjs → top-up-vR4oqVTR.cjs} +1 -1
  39. package/dist/{ui-components-DYyu32oT.js → ui-components-BpioK3SF.js} +4 -4
  40. package/dist/{ui-components-DTLctw1s.cjs → ui-components-DxzPkQcO.cjs} +1 -1
  41. package/dist/ui.cjs.js +1 -1
  42. package/dist/ui.es.js +1 -1
  43. package/dist/{validation-Bco9jXpi.js → validation-BRmHHm4X.js} +5 -5
  44. package/dist/{validation-BDFP1fbJ.cjs → validation-Cfgi2DqP.cjs} +1 -1
  45. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { jsxs as w, jsx as c, Fragment as Pe } from "react/jsx-runtime";
2
2
  import A, { useLayoutEffect as Mr, useEffect as U, useRef as V, useMemo as H, useCallback as te, useState as he, memo as Rr, useReducer as Or, createContext as Pt, useContext as nt } from "react";
3
- import { u as ne, a as Je, b as J, c as se, d as Po, e as Un, f as E, v as en, T as vt, g as $r, h as Vn, i as Fe, j as Lo, r as Fo, k as un, l as Et, m as X, n as zo, L as ot, o as Kn, p as rt, q as Pr, s as Gn, t as tt, w as dn, x as Yn, y as jo, A as Lr, S as Fr, C as zr, z as Ho, B as ft, D as jr, E as Ee, F as Lt, R as bn, G as _n, H as Wo, I as tn, J as we, P as go, K as Hr } from "./builder-NZcfw_uK.js";
4
- import { I as R, u as Wr, B as qe, E as nn, c as ue, S as Ce, d as In, T as Ur } from "./ui-components-DYyu32oT.js";
5
- import "./charge-Dlt2N2gE.js";
3
+ import { u as ne, a as Je, b as J, c as se, d as Po, e as Un, f as E, v as en, T as vt, g as $r, h as Vn, i as Fe, j as Lo, r as Fo, k as un, l as Et, m as X, n as zo, L as ot, o as Kn, p as rt, q as Pr, s as Gn, t as tt, w as dn, x as Yn, y as jo, A as Lr, S as Fr, C as zr, z as Ho, B as ft, D as jr, E as Ee, F as Lt, R as bn, G as _n, H as Wo, I as tn, J as we, P as go, K as Hr } from "./builder-Da7TEF-Q.js";
4
+ import { I as R, u as Wr, B as qe, E as nn, c as ue, S as Ce, d as In, T as Ur } from "./ui-components-BpioK3SF.js";
5
+ import "./charge-JIFfQW47.js";
6
6
  import { unstable_batchedUpdates as Vt, createPortal as Vr } from "react-dom";
7
- import "./ticket-B7_yQkrG.js";
7
+ import "./ticket-CUj-mxgQ.js";
8
8
  const Xn = ({ render: e, block: t }) => e(t), Uo = ({ settings: e, pageContext: t }) => {
9
9
  const { footer: n } = ne(), { settings: o } = Je(), { pageContext: r } = J(), { footer: s } = se();
10
10
  if (!s || !n) return null;
@@ -359,28 +359,28 @@ function ds(e, t, n, {
359
359
  const u = t.length, f = e.length, p = Math.max(0, Math.min(o, f));
360
360
  let g = s, y = p;
361
361
  const h = a > 1 || l, m = h ? Array(f) : [];
362
- let b;
363
- for (; (b = e.indexOf(t, y)) > -1; ) {
364
- let _ = Kt(t, {
365
- currentLocation: b,
362
+ let _;
363
+ for (; (_ = e.indexOf(t, y)) > -1; ) {
364
+ let b = Kt(t, {
365
+ currentLocation: _,
366
366
  expectedLocation: p,
367
367
  distance: r,
368
368
  ignoreLocation: d
369
369
  });
370
- if (g = Math.min(_, g), y = b + u, h) {
370
+ if (g = Math.min(b, g), y = _ + u, h) {
371
371
  let N = 0;
372
372
  for (; N < u; )
373
- m[b + N] = 1, N += 1;
373
+ m[_ + N] = 1, N += 1;
374
374
  }
375
375
  }
376
376
  y = -1;
377
377
  let C = [], v = 1, k = u + f;
378
- const x = 1 << u - 1;
379
- for (let _ = 0; _ < u; _ += 1) {
378
+ const S = 1 << u - 1;
379
+ for (let b = 0; b < u; b += 1) {
380
380
  let N = 0, O = k;
381
381
  for (; N < O; )
382
382
  Kt(t, {
383
- errors: _,
383
+ errors: b,
384
384
  currentLocation: p + O,
385
385
  expectedLocation: p,
386
386
  distance: r,
@@ -388,11 +388,11 @@ function ds(e, t, n, {
388
388
  }) <= g ? N = O : k = O, O = Math.floor((k - N) / 2 + N);
389
389
  k = O;
390
390
  let z = Math.max(1, p - O + 1), $ = i ? f : Math.min(p + O, f) + u, T = Array($ + 2);
391
- T[$ + 1] = (1 << _) - 1;
391
+ T[$ + 1] = (1 << b) - 1;
392
392
  for (let M = $; M >= z; M -= 1) {
393
393
  let W = M - 1, oe = n[e.charAt(W)];
394
- 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 = Kt(t, {
395
- errors: _,
394
+ if (h && (m[W] = +!!oe), T[M] = (T[M + 1] << 1 | 1) & oe, b && (T[M] |= (C[M + 1] | C[M]) << 1 | 1 | C[M + 1]), T[M] & S && (v = Kt(t, {
395
+ errors: b,
396
396
  currentLocation: W,
397
397
  expectedLocation: p,
398
398
  distance: r,
@@ -404,7 +404,7 @@ function ds(e, t, n, {
404
404
  }
405
405
  }
406
406
  if (Kt(t, {
407
- errors: _ + 1,
407
+ errors: b + 1,
408
408
  currentLocation: p,
409
409
  expectedLocation: p,
410
410
  distance: r,
@@ -413,16 +413,16 @@ function ds(e, t, n, {
413
413
  break;
414
414
  C = T;
415
415
  }
416
- const S = {
416
+ const x = {
417
417
  isMatch: y >= 0,
418
418
  // Count exact matches (those with a score of 0) to be "almost" exact
419
419
  score: Math.max(1e-3, v)
420
420
  };
421
421
  if (h) {
422
- const _ = us(m, a);
423
- _.length ? l && (S.indices = _) : S.isMatch = !1;
422
+ const b = us(m, a);
423
+ b.length ? l && (x.indices = b) : x.isMatch = !1;
424
424
  }
425
- return S;
425
+ return x;
426
426
  }
427
427
  function hs(e) {
428
428
  let t = {};
@@ -494,9 +494,9 @@ class Qo {
494
494
  ignoreLocation: u
495
495
  } = this.options;
496
496
  let f = [], p = 0, g = !1;
497
- this.chunks.forEach(({ pattern: h, alphabet: m, startIndex: b }) => {
497
+ this.chunks.forEach(({ pattern: h, alphabet: m, startIndex: _ }) => {
498
498
  const { isMatch: C, score: v, indices: k } = ds(t, h, m, {
499
- location: s + b,
499
+ location: s + _,
500
500
  distance: i,
501
501
  threshold: a,
502
502
  findAllMatches: l,
@@ -801,9 +801,9 @@ class Ss {
801
801
  const f = n[d];
802
802
  a.length = 0, i = 0;
803
803
  for (let p = 0, g = f.length; p < g; p += 1) {
804
- const y = f[p], { isMatch: h, indices: m, score: b } = y.search(t);
804
+ const y = f[p], { isMatch: h, indices: m, score: _ } = y.search(t);
805
805
  if (h) {
806
- if (i += 1, l += b, o) {
806
+ if (i += 1, l += _, o) {
807
807
  const C = y.constructor.type;
808
808
  Cs.has(C) ? a = [...a, ...m] : a.push(m);
809
809
  }
@@ -1955,18 +1955,18 @@ class fr {
1955
1955
  } = o.current;
1956
1956
  for (const h of y) {
1957
1957
  const m = t.code, {
1958
- isTop: b,
1958
+ isTop: _,
1959
1959
  isRight: C,
1960
1960
  isLeft: v,
1961
1961
  isBottom: k,
1962
- maxScroll: x,
1963
- minScroll: S
1964
- } = ur(h), _ = ci(h), N = {
1965
- x: Math.min(m === L.Right ? _.right - _.width / 2 : _.right, Math.max(m === L.Right ? _.left : _.left + _.width / 2, f.x)),
1966
- y: Math.min(m === L.Down ? _.bottom - _.height / 2 : _.bottom, Math.max(m === L.Down ? _.top : _.top + _.height / 2, f.y))
1967
- }, O = m === L.Right && !C || m === L.Left && !v, z = m === L.Down && !k || m === L.Up && !b;
1962
+ maxScroll: S,
1963
+ minScroll: x
1964
+ } = ur(h), b = ci(h), N = {
1965
+ x: Math.min(m === L.Right ? b.right - b.width / 2 : b.right, Math.max(m === L.Right ? b.left : b.left + b.width / 2, f.x)),
1966
+ y: Math.min(m === L.Down ? b.bottom - b.height / 2 : b.bottom, Math.max(m === L.Down ? b.top : b.top + b.height / 2, f.y))
1967
+ }, O = m === L.Right && !C || m === L.Left && !v, z = m === L.Down && !k || m === L.Up && !_;
1968
1968
  if (O && N.x !== f.x) {
1969
- const $ = h.scrollLeft + p.x, T = m === L.Right && $ <= x.x || m === L.Left && $ >= S.x;
1969
+ const $ = h.scrollLeft + p.x, T = m === L.Right && $ <= S.x || m === L.Left && $ >= x.x;
1970
1970
  if (T && !p.y) {
1971
1971
  h.scrollTo({
1972
1972
  left: $,
@@ -1974,13 +1974,13 @@ class fr {
1974
1974
  });
1975
1975
  return;
1976
1976
  }
1977
- T ? g.x = h.scrollLeft - $ : g.x = m === L.Right ? h.scrollLeft - x.x : h.scrollLeft - S.x, g.x && h.scrollBy({
1977
+ T ? g.x = h.scrollLeft - $ : g.x = m === L.Right ? h.scrollLeft - S.x : h.scrollLeft - x.x, g.x && h.scrollBy({
1978
1978
  left: -g.x,
1979
1979
  behavior: a
1980
1980
  });
1981
1981
  break;
1982
1982
  } else if (z && N.y !== f.y) {
1983
- const $ = h.scrollTop + p.y, T = m === L.Down && $ <= x.y || m === L.Up && $ >= S.y;
1983
+ const $ = h.scrollTop + p.y, T = m === L.Down && $ <= S.y || m === L.Up && $ >= x.y;
1984
1984
  if (T && !p.x) {
1985
1985
  h.scrollTo({
1986
1986
  top: $,
@@ -1988,7 +1988,7 @@ class fr {
1988
1988
  });
1989
1989
  return;
1990
1990
  }
1991
- T ? g.y = h.scrollTop - $ : g.y = m === L.Down ? h.scrollTop - x.y : h.scrollTop - S.y, g.y && h.scrollBy({
1991
+ T ? g.y = h.scrollTop - $ : g.y = m === L.Down ? h.scrollTop - S.y : h.scrollTop - x.y, g.y && h.scrollBy({
1992
1992
  top: -g.y,
1993
1993
  behavior: a
1994
1994
  });
@@ -2293,7 +2293,7 @@ function yi(e) {
2293
2293
  }), [y, h] = Ts(), m = V({
2294
2294
  x: 0,
2295
2295
  y: 0
2296
- }), b = V({
2296
+ }), _ = V({
2297
2297
  x: 0,
2298
2298
  y: 0
2299
2299
  }), C = H(() => {
@@ -2309,39 +2309,39 @@ function yi(e) {
2309
2309
  return r;
2310
2310
  }
2311
2311
  }, [n, r, l]), v = V(null), k = te(() => {
2312
- const S = v.current;
2313
- if (!S)
2312
+ const x = v.current;
2313
+ if (!x)
2314
2314
  return;
2315
- const _ = m.current.x * b.current.x, N = m.current.y * b.current.y;
2316
- S.scrollBy(_, N);
2317
- }, []), x = H(() => a === ln.TreeOrder ? [...d].reverse() : d, [a, d]);
2315
+ const b = m.current.x * _.current.x, N = m.current.y * _.current.y;
2316
+ x.scrollBy(b, N);
2317
+ }, []), S = H(() => a === ln.TreeOrder ? [...d].reverse() : d, [a, d]);
2318
2318
  U(
2319
2319
  () => {
2320
2320
  if (!s || !d.length || !C) {
2321
2321
  h();
2322
2322
  return;
2323
2323
  }
2324
- for (const S of x) {
2325
- if ((o == null ? void 0 : o(S)) === !1)
2324
+ for (const x of S) {
2325
+ if ((o == null ? void 0 : o(x)) === !1)
2326
2326
  continue;
2327
- const _ = d.indexOf(S), N = u[_];
2327
+ const b = d.indexOf(x), N = u[b];
2328
2328
  if (!N)
2329
2329
  continue;
2330
2330
  const {
2331
2331
  direction: O,
2332
2332
  speed: z
2333
- } = ai(S, N, C, t, p);
2333
+ } = ai(x, N, C, t, p);
2334
2334
  for (const $ of ["x", "y"])
2335
2335
  g[$][O[$]] || (z[$] = 0, O[$] = 0);
2336
2336
  if (z.x > 0 || z.y > 0) {
2337
- h(), v.current = S, y(k, i), m.current = z, b.current = O;
2337
+ h(), v.current = x, y(k, i), m.current = z, _.current = O;
2338
2338
  return;
2339
2339
  }
2340
2340
  }
2341
2341
  m.current = {
2342
2342
  x: 0,
2343
2343
  y: 0
2344
- }, b.current = {
2344
+ }, _.current = {
2345
2345
  x: 0,
2346
2346
  y: 0
2347
2347
  }, h();
@@ -2360,7 +2360,7 @@ function yi(e) {
2360
2360
  JSON.stringify(g),
2361
2361
  y,
2362
2362
  d,
2363
- x,
2363
+ S,
2364
2364
  u,
2365
2365
  // eslint-disable-next-line react-hooks/exhaustive-deps
2366
2366
  JSON.stringify(p)
@@ -2439,12 +2439,12 @@ function ki(e, t) {
2439
2439
  frequency: a,
2440
2440
  measure: l,
2441
2441
  strategy: d
2442
- } = r, u = V(e), f = m(), p = Rt(f), g = te(function(b) {
2443
- b === void 0 && (b = []), !p.current && i((C) => C === null ? b : C.concat(b.filter((v) => !C.includes(v))));
2444
- }, [p]), y = V(null), h = zt((b) => {
2442
+ } = r, u = V(e), f = m(), p = Rt(f), g = te(function(_) {
2443
+ _ === void 0 && (_ = []), !p.current && i((C) => C === null ? _ : C.concat(_.filter((v) => !C.includes(v))));
2444
+ }, [p]), y = V(null), h = zt((_) => {
2445
2445
  if (f && !n)
2446
2446
  return ko;
2447
- if (!b || b === ko || u.current !== e || s != null) {
2447
+ if (!_ || _ === ko || u.current !== e || s != null) {
2448
2448
  const C = /* @__PURE__ */ new Map();
2449
2449
  for (let v of e) {
2450
2450
  if (!v)
@@ -2453,12 +2453,12 @@ function ki(e, t) {
2453
2453
  C.set(v.id, v.rect.current);
2454
2454
  continue;
2455
2455
  }
2456
- const k = v.node.current, x = k ? new no(l(k), k) : null;
2457
- v.rect.current = x, x && C.set(v.id, x);
2456
+ const k = v.node.current, S = k ? new no(l(k), k) : null;
2457
+ v.rect.current = S, S && C.set(v.id, S);
2458
2458
  }
2459
2459
  return C;
2460
2460
  }
2461
- return b;
2461
+ return _;
2462
2462
  }, [e, s, n, f, l]);
2463
2463
  return U(() => {
2464
2464
  u.current = e;
@@ -3039,37 +3039,37 @@ const Gi = /* @__PURE__ */ Rr(function(t) {
3039
3039
  modifiers: g,
3040
3040
  ...y
3041
3041
  } = t;
3042
- const h = Or(Hi, void 0, ji), [m, b] = h, [C, v] = js(), [k, x] = he(Xe.Uninitialized), S = k === Xe.Initialized, {
3042
+ const h = Or(Hi, void 0, ji), [m, _] = h, [C, v] = js(), [k, S] = he(Xe.Uninitialized), x = k === Xe.Initialized, {
3043
3043
  draggable: {
3044
- active: _,
3044
+ active: b,
3045
3045
  nodes: N,
3046
3046
  translate: O
3047
3047
  },
3048
3048
  droppable: {
3049
3049
  containers: z
3050
3050
  }
3051
- } = m, $ = _ != null ? N.get(_) : null, T = V({
3051
+ } = m, $ = b != null ? N.get(b) : null, T = V({
3052
3052
  initial: null,
3053
3053
  translated: null
3054
3054
  }), P = H(() => {
3055
3055
  var Z;
3056
- return _ != null ? {
3057
- id: _,
3056
+ return b != null ? {
3057
+ id: b,
3058
3058
  // It's possible for the active node to unmount while dragging
3059
3059
  data: (Z = $ == null ? void 0 : $.data) != null ? Z : Li,
3060
3060
  rect: T
3061
3061
  } : null;
3062
- }, [_, $]), M = V(null), [W, oe] = he(null), [I, K] = he(null), ve = Rt(y, Object.values(y)), ze = jt("DndDescribedBy", i), st = H(() => z.getEnabled(), [z]), Q = Vi(p), {
3062
+ }, [b, $]), M = V(null), [W, oe] = he(null), [I, K] = he(null), ve = Rt(y, Object.values(y)), ze = jt("DndDescribedBy", i), st = H(() => z.getEnabled(), [z]), Q = Vi(p), {
3063
3063
  droppableRects: me,
3064
3064
  measureDroppableContainers: xe,
3065
3065
  measuringScheduled: Ze
3066
3066
  } = ki(st, {
3067
- dragging: S,
3067
+ dragging: x,
3068
3068
  dependencies: [O.x, O.y],
3069
3069
  config: Q.droppable
3070
- }), F = Si(N, _), it = H(() => I ? Fn(I) : null, [I]), je = Tr(), Me = Ai(F, Q.draggable.measure);
3070
+ }), F = Si(N, b), it = H(() => I ? Fn(I) : null, [I]), je = Tr(), Me = Ai(F, Q.draggable.measure);
3071
3071
  Ki({
3072
- activeNode: _ != null ? N.get(_) : null,
3072
+ activeNode: b != null ? N.get(b) : null,
3073
3073
  config: je.layoutShiftCompensation,
3074
3074
  initialRect: Me,
3075
3075
  measure: Q.draggable.measure
@@ -3090,7 +3090,7 @@ const Gi = /* @__PURE__ */ Rr(function(t) {
3090
3090
  scrollAdjustedTranslate: null
3091
3091
  }), at = z.getNodeFor((n = ke.current.over) == null ? void 0 : n.id), Re = $i({
3092
3092
  measure: Q.dragOverlay.measure
3093
- }), ct = (o = Re.nodeRef.current) != null ? o : F, lt = S ? (r = Re.rect) != null ? r : j : null, so = !!(Re.nodeRef.current && Re.rect), io = Bi(so ? null : j), pn = pr(ct ? ie(ct) : null), He = Ei(S ? at ?? F : null), Wt = Ri(He), Ut = Ui(g, {
3093
+ }), ct = (o = Re.nodeRef.current) != null ? o : F, lt = x ? (r = Re.rect) != null ? r : j : null, so = !!(Re.nodeRef.current && Re.rect), io = Bi(so ? null : j), pn = pr(ct ? ie(ct) : null), He = Ei(x ? at ?? F : null), Wt = Ri(He), Ut = Ui(g, {
3094
3094
  transform: {
3095
3095
  x: O.x - io.x,
3096
3096
  y: O.y - io.y,
@@ -3179,7 +3179,7 @@ const Gi = /* @__PURE__ */ Rr(function(t) {
3179
3179
  }
3180
3180
  };
3181
3181
  Vt(() => {
3182
- Oe == null || Oe(St), x(Xe.Initializing), b({
3182
+ Oe == null || Oe(St), S(Xe.Initializing), _({
3183
3183
  type: G.DragStart,
3184
3184
  initialCoordinates: q,
3185
3185
  active: Ve
@@ -3190,7 +3190,7 @@ const Gi = /* @__PURE__ */ Rr(function(t) {
3190
3190
  });
3191
3191
  },
3192
3192
  onMove(q) {
3193
- b({
3193
+ _({
3194
3194
  type: G.DragMove,
3195
3195
  coordinates: q
3196
3196
  });
@@ -3221,9 +3221,9 @@ const Gi = /* @__PURE__ */ Rr(function(t) {
3221
3221
  }, q === G.DragEnd && typeof kt == "function" && await Promise.resolve(kt(Ke)) && (q = G.DragCancel);
3222
3222
  }
3223
3223
  M.current = null, Vt(() => {
3224
- b({
3224
+ _({
3225
3225
  type: q
3226
- }), x(Xe.Uninitialized), uo(null), oe(null), K(null), vn.current = null;
3226
+ }), S(Xe.Uninitialized), uo(null), oe(null), K(null), vn.current = null;
3227
3227
  const kt = q === G.DragEnd ? "onDragEnd" : "onDragCancel";
3228
3228
  if (Ke) {
3229
3229
  const mn = ve.current[kt];
@@ -3255,7 +3255,7 @@ const Gi = /* @__PURE__ */ Rr(function(t) {
3255
3255
  }, M.current = Ue, ho(ce, ae));
3256
3256
  }, [N, ho]), fo = xi(u, Br);
3257
3257
  Ti(u), Te(() => {
3258
- j && k === Xe.Initializing && x(Xe.Initialized);
3258
+ j && k === Xe.Initializing && S(Xe.Initialized);
3259
3259
  }, [j, k]), U(
3260
3260
  () => {
3261
3261
  const {
@@ -3377,11 +3377,11 @@ const Gi = /* @__PURE__ */ Rr(function(t) {
3377
3377
  ariaDescribedById: {
3378
3378
  draggable: ze
3379
3379
  },
3380
- dispatch: b,
3380
+ dispatch: _,
3381
3381
  draggableNodes: N,
3382
3382
  over: We,
3383
3383
  measureDroppableContainers: xe
3384
- }), [I, fo, P, j, b, ze, N, We, xe]);
3384
+ }), [I, fo, P, j, _, ze, N, We, xe]);
3385
3385
  return A.createElement(rr.Provider, {
3386
3386
  value: v
3387
3387
  }, A.createElement(gn.Provider, {
@@ -3397,7 +3397,7 @@ const Gi = /* @__PURE__ */ Rr(function(t) {
3397
3397
  hiddenTextDescribedById: ze
3398
3398
  }));
3399
3399
  function Tr() {
3400
- const Z = (W == null ? void 0 : W.autoScrollEnabled) === !1, ae = typeof l == "object" ? l.enabled === !1 : l === !1, ce = S && !Z && !ae;
3400
+ const Z = (W == null ? void 0 : W.autoScrollEnabled) === !1, ae = typeof l == "object" ? l.enabled === !1 : l === !1, ce = x && !Z && !ae;
3401
3401
  return typeof l == "object" ? {
3402
3402
  ...l,
3403
3403
  enabled: ce
@@ -3425,14 +3425,14 @@ function qi(e) {
3425
3425
  role: g = Eo,
3426
3426
  roleDescription: y = "draggable",
3427
3427
  tabIndex: h = 0
3428
- } = r ?? {}, m = (l == null ? void 0 : l.id) === t, b = nt(m ? mr : Yi), [C, v] = sn(), [k, x] = sn(), S = Mi(i, t), _ = Rt(n);
3428
+ } = r ?? {}, m = (l == null ? void 0 : l.id) === t, _ = nt(m ? mr : Yi), [C, v] = sn(), [k, S] = sn(), x = Mi(i, t), b = Rt(n);
3429
3429
  Te(
3430
3430
  () => (f.set(t, {
3431
3431
  id: t,
3432
3432
  key: s,
3433
3433
  node: C,
3434
3434
  activatorNode: k,
3435
- data: _
3435
+ data: b
3436
3436
  }), () => {
3437
3437
  const O = f.get(t);
3438
3438
  O && O.key === s && f.delete(t);
@@ -3454,12 +3454,12 @@ function qi(e) {
3454
3454
  activeNodeRect: d,
3455
3455
  attributes: N,
3456
3456
  isDragging: m,
3457
- listeners: o ? void 0 : S,
3457
+ listeners: o ? void 0 : x,
3458
3458
  node: C,
3459
3459
  over: p,
3460
3460
  setNodeRef: v,
3461
- setActivatorNodeRef: x,
3462
- transform: b
3461
+ setActivatorNodeRef: S,
3462
+ transform: _
3463
3463
  };
3464
3464
  }
3465
3465
  function Ji() {
@@ -3489,14 +3489,14 @@ function ea(e) {
3489
3489
  } = {
3490
3490
  ...Zi,
3491
3491
  ...r
3492
- }, b = Rt(h ?? o), C = te(
3492
+ }, _ = Rt(h ?? o), C = te(
3493
3493
  () => {
3494
3494
  if (!f.current) {
3495
3495
  f.current = !0;
3496
3496
  return;
3497
3497
  }
3498
3498
  g.current != null && clearTimeout(g.current), g.current = setTimeout(() => {
3499
- d(Array.isArray(b.current) ? b.current : [b.current]), g.current = null;
3499
+ d(Array.isArray(_.current) ? _.current : [_.current]), g.current = null;
3500
3500
  }, m);
3501
3501
  },
3502
3502
  //eslint-disable-next-line react-hooks/exhaustive-deps
@@ -3506,19 +3506,19 @@ function ea(e) {
3506
3506
  disabled: y || !i
3507
3507
  }), k = te((N, O) => {
3508
3508
  v && (O && (v.unobserve(O), f.current = !1), N && v.observe(N));
3509
- }, [v]), [x, S] = sn(k), _ = Rt(t);
3509
+ }, [v]), [S, x] = sn(k), b = Rt(t);
3510
3510
  return U(() => {
3511
- !v || !x.current || (v.disconnect(), f.current = !1, v.observe(x.current));
3512
- }, [x, v]), U(
3511
+ !v || !S.current || (v.disconnect(), f.current = !1, v.observe(S.current));
3512
+ }, [S, v]), U(
3513
3513
  () => (a({
3514
3514
  type: G.RegisterDroppable,
3515
3515
  element: {
3516
3516
  id: o,
3517
3517
  key: s,
3518
3518
  disabled: n,
3519
- node: x,
3519
+ node: S,
3520
3520
  rect: p,
3521
- data: _
3521
+ data: b
3522
3522
  }
3523
3523
  }), () => a({
3524
3524
  type: G.UnregisterDroppable,
@@ -3538,9 +3538,9 @@ function ea(e) {
3538
3538
  active: i,
3539
3539
  rect: p,
3540
3540
  isOver: (l == null ? void 0 : l.id) === o,
3541
- node: x,
3541
+ node: S,
3542
3542
  over: l,
3543
- setNodeRef: S
3543
+ setNodeRef: x
3544
3544
  };
3545
3545
  }
3546
3546
  function br(e, t, n) {
@@ -3656,13 +3656,13 @@ function ia(e) {
3656
3656
  droppableRects: l,
3657
3657
  over: d,
3658
3658
  measureDroppableContainers: u
3659
- } = Ji(), f = jt(yr, n), p = a.rect !== null, g = H(() => o.map((S) => typeof S == "object" && "id" in S ? S.id : S), [o]), y = i != null, h = i ? g.indexOf(i.id) : -1, m = d ? g.indexOf(d.id) : -1, b = V(g), C = !na(g, b.current), v = m !== -1 && h === -1 || C, k = oa(s);
3659
+ } = Ji(), f = jt(yr, n), p = a.rect !== null, g = H(() => o.map((x) => typeof x == "object" && "id" in x ? x.id : x), [o]), y = i != null, h = i ? g.indexOf(i.id) : -1, m = d ? g.indexOf(d.id) : -1, _ = V(g), C = !na(g, _.current), v = m !== -1 && h === -1 || C, k = oa(s);
3660
3660
  Te(() => {
3661
3661
  C && y && u(g);
3662
3662
  }, [C, g, y, u]), U(() => {
3663
- b.current = g;
3663
+ _.current = g;
3664
3664
  }, [g]);
3665
- const x = H(
3665
+ const S = H(
3666
3666
  () => ({
3667
3667
  activeIndex: h,
3668
3668
  containerId: f,
@@ -3678,7 +3678,7 @@ function ia(e) {
3678
3678
  [h, f, k.draggable, k.droppable, v, g, m, l, p, r]
3679
3679
  );
3680
3680
  return A.createElement(wr.Provider, {
3681
- value: x
3681
+ value: S
3682
3682
  }, t);
3683
3683
  }
3684
3684
  const aa = (e) => {
@@ -3760,26 +3760,26 @@ function fa(e) {
3760
3760
  disableTransforms: y,
3761
3761
  sortedRects: h,
3762
3762
  overIndex: m,
3763
- useDragOverlay: b,
3763
+ useDragOverlay: _,
3764
3764
  strategy: C
3765
- } = nt(wr), v = ga(o, g), k = u.indexOf(i), x = H(() => ({
3765
+ } = nt(wr), v = ga(o, g), k = u.indexOf(i), S = H(() => ({
3766
3766
  sortable: {
3767
3767
  containerId: f,
3768
3768
  index: k,
3769
3769
  items: u
3770
3770
  },
3771
3771
  ...r
3772
- }), [f, r, k, u]), S = H(() => u.slice(u.indexOf(i)), [u, i]), {
3773
- rect: _,
3772
+ }), [f, r, k, u]), x = H(() => u.slice(u.indexOf(i)), [u, i]), {
3773
+ rect: b,
3774
3774
  node: N,
3775
3775
  isOver: O,
3776
3776
  setNodeRef: z
3777
3777
  } = ea({
3778
3778
  id: i,
3779
- data: x,
3779
+ data: S,
3780
3780
  disabled: v.droppable,
3781
3781
  resizeObserverConfig: {
3782
- updateMeasurementsFor: S,
3782
+ updateMeasurementsFor: x,
3783
3783
  ...l
3784
3784
  }
3785
3785
  }), {
@@ -3795,13 +3795,13 @@ function fa(e) {
3795
3795
  transform: ze
3796
3796
  } = qi({
3797
3797
  id: i,
3798
- data: x,
3798
+ data: S,
3799
3799
  attributes: {
3800
3800
  ...da,
3801
3801
  ...n
3802
3802
  },
3803
3803
  disabled: v.draggable
3804
- }), st = Is(z, W), Q = !!$, me = Q && !y && Gt(p) && Gt(m), xe = !b && I, Ze = xe && me ? ze : null, it = me ? Ze ?? (a ?? C)({
3804
+ }), st = Is(z, W), Q = !!$, me = Q && !y && Gt(p) && Gt(m), xe = !_ && I, Ze = xe && me ? ze : null, it = me ? Ze ?? (a ?? C)({
3805
3805
  rects: h,
3806
3806
  activeNodeRect: P,
3807
3807
  activeIndex: p,
@@ -3834,7 +3834,7 @@ function fa(e) {
3834
3834
  disabled: !ke,
3835
3835
  index: k,
3836
3836
  node: N,
3837
- rect: _
3837
+ rect: b
3838
3838
  });
3839
3839
  return U(() => {
3840
3840
  Q && j.current.newIndex !== je && (j.current.newIndex = je), f !== j.current.containerId && (j.current.containerId = f), u !== j.current.items && (j.current.items = u);
@@ -3853,8 +3853,8 @@ function fa(e) {
3853
3853
  active: $,
3854
3854
  activeIndex: p,
3855
3855
  attributes: M,
3856
- data: x,
3857
- rect: _,
3856
+ data: S,
3857
+ rect: b,
3858
3858
  index: k,
3859
3859
  newIndex: je,
3860
3860
  items: u,
@@ -4095,8 +4095,8 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
4095
4095
  setEditedPage: s,
4096
4096
  deletePage: i,
4097
4097
  setIsOpenSelectModal: a
4098
- } = J(), { deletePage: l, setCurrentBlock: d } = ne(), [u, f] = A.useState(null), { setTitle: p, setDescription: g, setOnConfirm: y } = un(), [h, m] = A.useState(!1), b = A.useRef(null);
4099
- Wr(b, () => {
4098
+ } = J(), { deletePage: l, setCurrentBlock: d } = ne(), [u, f] = A.useState(null), { setTitle: p, setDescription: g, setOnConfirm: y } = un(), [h, m] = A.useState(!1), _ = A.useRef(null);
4099
+ Wr(_, () => {
4100
4100
  h && m(!1);
4101
4101
  }), A.useEffect(() => {
4102
4102
  h ? a(!0) : setTimeout(() => {
@@ -4108,7 +4108,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
4108
4108
  "div",
4109
4109
  {
4110
4110
  className: be.pages,
4111
- ref: b,
4111
+ ref: _,
4112
4112
  children: [
4113
4113
  /* @__PURE__ */ w(
4114
4114
  "div",
@@ -4185,8 +4185,8 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
4185
4185
  {
4186
4186
  name: "Gear",
4187
4187
  fill: "#757575",
4188
- onClick: (x) => {
4189
- x.stopPropagation(), r(!0), s(v), n(!0);
4188
+ onClick: (S) => {
4189
+ S.stopPropagation(), r(!0), s(v), n(!0);
4190
4190
  }
4191
4191
  }
4192
4192
  ),
@@ -4195,11 +4195,11 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
4195
4195
  {
4196
4196
  name: "Trash",
4197
4197
  fill: "#C12A2A",
4198
- onClick: (x) => {
4199
- x.stopPropagation(), p("Delete Page"), g(
4198
+ onClick: (S) => {
4199
+ S.stopPropagation(), p("Delete Page"), g(
4200
4200
  `Are you sure you want to delete ${k.name || "this"} page? Once you delete this page, any content visible will also be deleted. This is irreversible.`
4201
4201
  ), y(() => {
4202
- x.stopPropagation(), o[e].path === k.path && t(Object.keys(o)[0]), i(v), l(k.name), Sr(k.path);
4202
+ S.stopPropagation(), o[e].path === k.path && t(Object.keys(o)[0]), i(v), l(k.name), Sr(k.path);
4203
4203
  });
4204
4204
  }
4205
4205
  }
@@ -4381,34 +4381,37 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4381
4381
  r && clearTimeout(r);
4382
4382
  else {
4383
4383
  e(!0);
4384
- const C = Object.keys(g).map((x) => {
4385
- const S = Ja(x, h);
4386
- return g[x] && g[x].data && (S != null && S.path) ? {
4387
- id: S ? S.id : x,
4388
- name: S ? S.name : x,
4389
- path: S.path,
4384
+ const C = Object.keys(g).map((S) => {
4385
+ const x = Ja(S, h);
4386
+ return g[S] && g[S].data && (x != null && x.path) ? {
4387
+ id: x ? x.id : S,
4388
+ name: x ? x.name : S,
4389
+ path: x.path,
4390
4390
  layout: {
4391
- ...g[x]
4391
+ ...g[S]
4392
4392
  },
4393
- neededProductIds: [...Nt("ProductId", Object.values(g[x].data))],
4394
- neededCategoryIds: [...Nt("CategoryId", Object.values(g[x].data))],
4393
+ neededProductIds: [...Nt("ProductId", Object.values(g[S].data))],
4394
+ neededCategoryIds: [...Nt("CategoryId", Object.values(g[S].data))],
4395
4395
  neededAnnouncementIds: [
4396
- ...Nt("AnnouncementId", Object.values(g[x].data))
4396
+ ...Nt("AnnouncementId", Object.values(g[S].data))
4397
4397
  ],
4398
- neededListingIds: [...Nt("ListingIds", Object.values(g[x].data))],
4399
- neededFaqIds: [...Nt("FaqsIds", Object.values(g[x].data))],
4398
+ neededListingIds: [...Nt("ListingIds", Object.values(g[S].data))],
4399
+ neededFaqIds: [...Nt("FaqsIds", Object.values(g[S].data))],
4400
4400
  neededReviewCount: Xa(
4401
4401
  "ReviewCount",
4402
- Object.values(g[x].data),
4402
+ Object.values(g[S].data),
4403
4403
  y
4404
4404
  ),
4405
+ neededVouchCount: Object.values(g[S].data).some(
4406
+ (b) => b.name === "Vouches"
4407
+ ) ? 1e3 : void 0,
4405
4408
  seo: {
4406
- pageTitle: S && S.seo && S.seo.pageTitle ? S.seo.pageTitle : "",
4407
- pageDescription: S && S.seo && S.seo.pageDescription ? S.seo.pageDescription : ""
4409
+ pageTitle: x && x.seo && x.seo.pageTitle ? x.seo.pageTitle : "",
4410
+ pageDescription: x && x.seo && x.seo.pageDescription ? x.seo.pageDescription : ""
4408
4411
  },
4409
- isPrivate: !!(S && S.visibility === "private")
4412
+ isPrivate: !!(x && x.visibility === "private")
4410
4413
  } : null;
4411
- }).filter((x) => x), v = {
4414
+ }).filter((S) => S), v = {
4412
4415
  settings: {
4413
4416
  ...o
4414
4417
  },
@@ -4430,10 +4433,10 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4430
4433
  ]), e(!1);
4431
4434
  }
4432
4435
  a(!0);
4433
- const b = setTimeout(() => {
4436
+ const _ = setTimeout(() => {
4434
4437
  a(!1);
4435
4438
  }, 2e3);
4436
- s(b);
4439
+ s(_);
4437
4440
  },
4438
4441
  disabled: t,
4439
4442
  type: "Primary",
@@ -4634,9 +4637,9 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4634
4637
  moveButton: Rc,
4635
4638
  deleteButton: Oc
4636
4639
  }, $c = () => {
4637
- var x;
4638
- const { activeBlock: e, setActiveBlock: t } = Fe(), { blocks: n, removeBlock: o, moveBlock: r, duplicateBlock: s, setCurrentBlock: i } = ne(), { currentPage: a, pages: l } = J(), { setTitle: d, setDescription: u, setOnConfirm: f } = un(), { setActiveBlock: p } = se(), g = (x = l == null ? void 0 : l[a]) == null ? void 0 : x.path, y = g ? n[g] : null, h = (y == null ? void 0 : y.order) || [], m = h.indexOf(e.id), b = (S) => {
4639
- S.stopPropagation(), m > 0 && g && (r(g, m, m - 1), t({
4640
+ var S;
4641
+ const { activeBlock: e, setActiveBlock: t } = Fe(), { blocks: n, removeBlock: o, moveBlock: r, duplicateBlock: s, setCurrentBlock: i } = ne(), { currentPage: a, pages: l } = J(), { setTitle: d, setDescription: u, setOnConfirm: f } = un(), { setActiveBlock: p } = se(), g = (S = l == null ? void 0 : l[a]) == null ? void 0 : S.path, y = g ? n[g] : null, h = (y == null ? void 0 : y.order) || [], m = h.indexOf(e.id), _ = (x) => {
4642
+ x.stopPropagation(), m > 0 && g && (r(g, m, m - 1), t({
4640
4643
  id: e.id,
4641
4644
  neededScroll: !0
4642
4645
  }), setTimeout(() => {
@@ -4645,8 +4648,8 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4645
4648
  neededScroll: !1
4646
4649
  });
4647
4650
  }, 100));
4648
- }, C = (S) => {
4649
- S.stopPropagation(), m < h.length - 1 && g && (r(g, m, m + 1), t({
4651
+ }, C = (x) => {
4652
+ x.stopPropagation(), m < h.length - 1 && g && (r(g, m, m + 1), t({
4650
4653
  id: e.id,
4651
4654
  neededScroll: !0
4652
4655
  }), setTimeout(() => {
@@ -4655,8 +4658,8 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4655
4658
  neededScroll: !1
4656
4659
  });
4657
4660
  }, 100));
4658
- }, v = (S) => {
4659
- S.stopPropagation(), g && s(g, e.id);
4661
+ }, v = (x) => {
4662
+ x.stopPropagation(), g && s(g, e.id);
4660
4663
  }, k = () => {
4661
4664
  g && (o(g, e.id), i(null), p(null), t({
4662
4665
  id: null,
@@ -4667,7 +4670,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4667
4670
  /* @__PURE__ */ c(
4668
4671
  "button",
4669
4672
  {
4670
- onClick: b,
4673
+ onClick: _,
4671
4674
  className: E(Be.button, Be.moveButton),
4672
4675
  disabled: m === 0,
4673
4676
  children: /* @__PURE__ */ c(R, { name: "ArrowUp" })
@@ -4694,8 +4697,8 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4694
4697
  "button",
4695
4698
  {
4696
4699
  className: E(Be.button, Be.deleteButton),
4697
- onClick: (S) => {
4698
- S.stopPropagation(), d("Remove Block"), u(
4700
+ onClick: (x) => {
4701
+ x.stopPropagation(), d("Remove Block"), u(
4699
4702
  `Are you sure you want to delete ${(y == null ? void 0 : y.data[e.id].name) || "this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`
4700
4703
  ), f(k);
4701
4704
  },
@@ -4717,12 +4720,12 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4717
4720
  currentBlock: l,
4718
4721
  setPositionBlock: d,
4719
4722
  announcement: u
4720
- } = ne(), { settings: f } = Je(), { currentPage: p, pages: g, pageContext: y } = J(), { activeBlock: h, setActiveBlock: m } = X(), { setError: b } = Gn(), { setActiveBlock: C } = se(), v = A.useRef(n.id), k = A.useRef({});
4723
+ } = ne(), { settings: f } = Je(), { currentPage: p, pages: g, pageContext: y } = J(), { activeBlock: h, setActiveBlock: m } = X(), { setError: _ } = Gn(), { setActiveBlock: C } = se(), v = A.useRef(n.id), k = A.useRef({});
4721
4724
  A.useEffect(() => {
4722
4725
  if (n.id && n.neededScroll && k.current[n.id]) {
4723
- const _ = k.current[n.id];
4724
- if (_ && e.current) {
4725
- const N = _.offsetTop;
4726
+ const b = k.current[n.id];
4727
+ if (b && e.current) {
4728
+ const N = b.offsetTop;
4726
4729
  e.current.scrollTo({
4727
4730
  top: N - 30,
4728
4731
  behavior: "smooth"
@@ -4730,33 +4733,33 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4730
4733
  }
4731
4734
  }
4732
4735
  }, [n, e]);
4733
- const x = rt();
4736
+ const S = rt();
4734
4737
  A.useEffect(() => {
4735
4738
  v.current = n.id;
4736
4739
  }, [n.id]);
4737
- const S = (_) => {
4738
- if (!_ || !_.name)
4739
- return b({
4740
+ const x = (b) => {
4741
+ if (!b || !b.name)
4742
+ return _({
4740
4743
  message: "Block or block.name is undefined.",
4741
4744
  failedSettings: !1,
4742
4745
  failedThemeSettings: !1,
4743
4746
  failedPageIds: g && g[p].id ? [g[p].id] : []
4744
4747
  }), /* @__PURE__ */ c(nn, { error: "Block or block.name is undefined." });
4745
- if (!r || !r[_.name])
4746
- return b({
4748
+ if (!r || !r[b.name])
4749
+ return _({
4747
4750
  message: 'Block "${block.name}" does not exist in blocks.',
4748
4751
  failedSettings: !1,
4749
4752
  failedThemeSettings: !1,
4750
4753
  failedPageIds: g && g[p].id ? [g[p].id] : []
4751
- }), /* @__PURE__ */ c(nn, { error: `Block "${_.name}" does not exist in blocks.` });
4752
- const N = new r[_.name]();
4753
- return _.value && Object.assign(N, _.value), N.renderBlock(f, y);
4754
+ }), /* @__PURE__ */ c(nn, { error: `Block "${b.name}" does not exist in blocks.` });
4755
+ const N = new r[b.name]();
4756
+ return b.value && Object.assign(N, b.value), N.renderBlock(f, y);
4754
4757
  };
4755
4758
  return /* @__PURE__ */ w(
4756
4759
  "div",
4757
4760
  {
4758
- onClick: (_) => {
4759
- _.stopPropagation();
4761
+ onClick: (b) => {
4762
+ b.stopPropagation();
4760
4763
  },
4761
4764
  className: Ge.content,
4762
4765
  style: {
@@ -4768,17 +4771,17 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4768
4771
  children: [
4769
4772
  u && /* @__PURE__ */ c(Ko, {}),
4770
4773
  /* @__PURE__ */ c(Vo, {}),
4771
- /* @__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(
4774
+ /* @__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((b) => /* @__PURE__ */ w(
4772
4775
  "div",
4773
4776
  {
4774
- ref: (N) => k.current[_] = N,
4777
+ ref: (N) => k.current[b] = N,
4775
4778
  onClick: (N) => {
4776
4779
  N.stopPropagation(), C(null), h && m(null), t({
4777
- id: _,
4780
+ id: b,
4778
4781
  neededScroll: !0
4779
4782
  }), setTimeout(() => {
4780
4783
  t({
4781
- id: _,
4784
+ id: b,
4782
4785
  neededScroll: !1
4783
4786
  });
4784
4787
  }, 100), a(null), l ? setTimeout(() => {
@@ -4787,7 +4790,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4787
4790
  },
4788
4791
  onMouseEnter: (N) => {
4789
4792
  N.stopPropagation(), n.neededScroll || t({
4790
- id: _,
4793
+ id: b,
4791
4794
  neededScroll: !1
4792
4795
  });
4793
4796
  },
@@ -4799,43 +4802,43 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4799
4802
  },
4800
4803
  className: E(Ge.block),
4801
4804
  children: [
4802
- (n.id === _ || l === _) && /* @__PURE__ */ c("div", { className: Ge.active }),
4803
- (n.id === _ || l === _) && /* @__PURE__ */ c("div", { className: Ge.name, children: tt(
4804
- i[g[p].path].data[_].name,
4805
+ (n.id === b || l === b) && /* @__PURE__ */ c("div", { className: Ge.active }),
4806
+ (n.id === b || l === b) && /* @__PURE__ */ c("div", { className: Ge.name, children: tt(
4807
+ i[g[p].path].data[b].name,
4805
4808
  s
4806
4809
  ) }),
4807
- (n.id === _ || l === _) && tt(
4808
- i[g[p].path].data[_].name,
4810
+ (n.id === b || l === b) && tt(
4811
+ i[g[p].path].data[b].name,
4809
4812
  s
4810
4813
  ) !== "unknown name" && /* @__PURE__ */ c($c, {}),
4811
- (n.id === _ || l === _) && tt(
4812
- i[g[p].path].data[_].name,
4814
+ (n.id === b || l === b) && tt(
4815
+ i[g[p].path].data[b].name,
4813
4816
  s
4814
4817
  ) !== "unknown name" && /* @__PURE__ */ c("div", { className: Ge.addSection, children: /* @__PURE__ */ c(
4815
4818
  qe,
4816
4819
  {
4817
4820
  type: "Primary",
4818
4821
  onClick: (N) => {
4819
- N.stopPropagation(), d(_, !0), a(null), t({
4822
+ N.stopPropagation(), d(b, !0), a(null), t({
4820
4823
  id: null,
4821
4824
  neededScroll: !1
4822
- }), C(null), x("/admin/builder/add");
4825
+ }), C(null), S("/admin/builder/add");
4823
4826
  },
4824
4827
  children: "Add Section"
4825
4828
  }
4826
4829
  ) }),
4827
- (n.id === _ || l === _) && tt(
4828
- i[g[p].path].data[_].name,
4830
+ (n.id === b || l === b) && tt(
4831
+ i[g[p].path].data[b].name,
4829
4832
  s
4830
4833
  ) !== "unknown name" && /* @__PURE__ */ c("div", { className: E(Ge.addSection, Ge.addSectionTop), children: /* @__PURE__ */ c(
4831
4834
  qe,
4832
4835
  {
4833
4836
  type: "Primary",
4834
4837
  onClick: (N) => {
4835
- N.stopPropagation(), d(_, !1), a(null), t({
4838
+ N.stopPropagation(), d(b, !1), a(null), t({
4836
4839
  id: null,
4837
4840
  neededScroll: !1
4838
- }), C(null), x("/admin/builder/add");
4841
+ }), C(null), S("/admin/builder/add");
4839
4842
  },
4840
4843
  children: "Add Section"
4841
4844
  }
@@ -4843,13 +4846,13 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4843
4846
  r && /* @__PURE__ */ c(
4844
4847
  Xn,
4845
4848
  {
4846
- render: S,
4847
- block: i[g[p].path].data[_]
4849
+ render: x,
4850
+ block: i[g[p].path].data[b]
4848
4851
  }
4849
4852
  )
4850
4853
  ]
4851
4854
  },
4852
- _
4855
+ b
4853
4856
  )) }),
4854
4857
  /* @__PURE__ */ c(Uo, {})
4855
4858
  ]
@@ -4884,10 +4887,10 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
4884
4887
  function g(m) {
4885
4888
  n(""), r(m), s("keyBlock");
4886
4889
  }
4887
- function y(m, b) {
4890
+ function y(m, _) {
4888
4891
  const C = window.innerHeight, v = 400, k = 10;
4889
- let x = b.clientY - 120;
4890
- x + v > C && (x = C - v - k), x < k && (x = k), i || s("keyBlock"), l(m, "keyBlock"), u(), p(x);
4892
+ let S = _.clientY - 120;
4893
+ S + v > C && (S = C - v - k), S < k && (S = k), i || s("keyBlock"), l(m, "keyBlock"), u(), p(S);
4891
4894
  }
4892
4895
  function h() {
4893
4896
  a ? f("keyBlock") : d("keyBlock"), p(null);
@@ -4976,8 +4979,8 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
4976
4979
  return "100%";
4977
4980
  }
4978
4981
  }
4979
- const { isOpenSelectModal: m } = J(), b = A.useRef(null), C = (v) => {
4980
- b.current && (b.current.scrollTop += v.deltaY);
4982
+ const { isOpenSelectModal: m } = J(), _ = A.useRef(null), C = (v) => {
4983
+ _.current && (_.current.scrollTop += v.deltaY);
4981
4984
  };
4982
4985
  return /* @__PURE__ */ w(
4983
4986
  "div",
@@ -5044,7 +5047,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5044
5047
  style: {
5045
5048
  width: y()
5046
5049
  },
5047
- children: /* @__PURE__ */ c(Pc, { scrollableRef: b })
5050
+ children: /* @__PURE__ */ c(Pc, { scrollableRef: _ })
5048
5051
  }
5049
5052
  ) : /* @__PURE__ */ c("div", { className: Dt.loading, children: /* @__PURE__ */ c(ot, {}) })
5050
5053
  }
@@ -5144,7 +5147,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5144
5147
  startHideTimeout: p,
5145
5148
  hoverBlockId: g,
5146
5149
  isModalVisible: y
5147
- } = dn(), { setPositionBlock: h } = ne(), [m, b] = A.useState(!1), [C, v] = A.useState(!1), [k, x] = A.useState(!1), [S, _] = A.useState(!1), [N, O] = A.useState(null), z = A.useRef(null), { attributes: $, listeners: T, setNodeRef: P, transform: M, transition: W } = fa({
5150
+ } = dn(), { setPositionBlock: h } = ne(), [m, _] = A.useState(!1), [C, v] = A.useState(!1), [k, S] = A.useState(!1), [x, b] = A.useState(!1), [N, O] = A.useState(null), z = A.useRef(null), { attributes: $, listeners: T, setNodeRef: P, transform: M, transition: W } = fa({
5148
5151
  id: e
5149
5152
  }), oe = {
5150
5153
  transform: Ot.Transform.toString(M),
@@ -5163,9 +5166,9 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5163
5166
  }), y ? p() : l();
5164
5167
  };
5165
5168
  return A.useEffect(() => {
5166
- x(!1), b(!1), v(!1), _(!1);
5169
+ S(!1), _(!1), v(!1), b(!1);
5167
5170
  }, [o]), A.useEffect(() => {
5168
- y || (v(!1), b(!1));
5171
+ y || (v(!1), _(!1));
5169
5172
  }, [y]), /* @__PURE__ */ w(
5170
5173
  "div",
5171
5174
  {
@@ -5224,12 +5227,12 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5224
5227
  onClick: (F) => xe(F, !1),
5225
5228
  onMouseEnter: () => {
5226
5229
  const F = setTimeout(() => {
5227
- o || _(!0);
5230
+ o || b(!0);
5228
5231
  }, 200);
5229
5232
  O(F);
5230
5233
  },
5231
5234
  onMouseLeave: () => {
5232
- N && clearTimeout(N), _(!1);
5235
+ N && clearTimeout(N), b(!1);
5233
5236
  },
5234
5237
  children: [
5235
5238
  /* @__PURE__ */ c(
@@ -5239,7 +5242,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5239
5242
  fill: "#fff"
5240
5243
  }
5241
5244
  ),
5242
- S && /* @__PURE__ */ c(vt, { text: "Click to add a section" })
5245
+ x && /* @__PURE__ */ c(vt, { text: "Click to add a section" })
5243
5246
  ]
5244
5247
  }
5245
5248
  )
@@ -5252,10 +5255,10 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5252
5255
  [ee.visible]: m
5253
5256
  }),
5254
5257
  onMouseEnter: () => {
5255
- b(!0);
5258
+ _(!0);
5256
5259
  },
5257
5260
  onMouseLeave: () => {
5258
- b(!1);
5261
+ _(!1);
5259
5262
  },
5260
5263
  children: /* @__PURE__ */ w(
5261
5264
  "button",
@@ -5264,12 +5267,12 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5264
5267
  onClick: (F) => xe(F),
5265
5268
  onMouseEnter: () => {
5266
5269
  const F = setTimeout(() => {
5267
- o || x(!0);
5270
+ o || S(!0);
5268
5271
  }, 200);
5269
5272
  O(F);
5270
5273
  },
5271
5274
  onMouseLeave: () => {
5272
- N && clearTimeout(N), x(!1);
5275
+ N && clearTimeout(N), S(!1);
5273
5276
  },
5274
5277
  children: [
5275
5278
  /* @__PURE__ */ c(
@@ -5327,8 +5330,8 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5327
5330
  );
5328
5331
  }, ll = () => {
5329
5332
  const { blocks: e, setCurrentBlock: t, currentBlock: n, moveBlock: o, isLoadingLayers: r, announcement: s } = ne(), { currentPage: i, pages: a } = J(), { setMouseOverModal: l, setHoverBlockId: d } = dn(), { sourceBlocks: u } = se();
5330
- function f(b) {
5331
- t(b), l(!1), d(null);
5333
+ function f(_) {
5334
+ t(_), l(!1), d(null);
5332
5335
  }
5333
5336
  const p = Ks(
5334
5337
  Vs(ro, {
@@ -5338,12 +5341,12 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5338
5341
  })
5339
5342
  ), [g, y] = A.useState(!1), h = () => {
5340
5343
  y(!0);
5341
- }, m = (b) => {
5344
+ }, m = (_) => {
5342
5345
  y(!1);
5343
- const { active: C, over: v } = b;
5346
+ const { active: C, over: v } = _;
5344
5347
  if (v && C.id !== v.id && a && a[i]) {
5345
- const k = a[i].path, x = e[k].order, S = x.indexOf(C.id), _ = x.indexOf(v.id);
5346
- S !== -1 && _ !== -1 && o(k, S, _);
5348
+ const k = a[i].path, S = e[k].order, x = S.indexOf(C.id), b = S.indexOf(v.id);
5349
+ x !== -1 && b !== -1 && o(k, x, b);
5347
5350
  }
5348
5351
  };
5349
5352
  return /* @__PURE__ */ c("div", { className: ee.layers, children: r ? /* @__PURE__ */ c("div", { className: ee.loader, children: /* @__PURE__ */ c(ot, {}) }) : /* @__PURE__ */ w(Pe, { children: [
@@ -5360,20 +5363,20 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5360
5363
  {
5361
5364
  items: e[a[i].path].order,
5362
5365
  strategy: ra,
5363
- children: e[a[i].path].order.map((b, C) => /* @__PURE__ */ c(
5366
+ children: e[a[i].path].order.map((_, C) => /* @__PURE__ */ c(
5364
5367
  cl,
5365
5368
  {
5366
- id: b,
5369
+ id: _,
5367
5370
  name: tt(
5368
- e[a[i].path].data[b].name,
5371
+ e[a[i].path].data[_].name,
5369
5372
  u
5370
5373
  ),
5371
5374
  index: C,
5372
5375
  onClick: f,
5373
5376
  isDragging: g,
5374
- icon: Yn[e[a[i].path].data[b].name]
5377
+ icon: Yn[e[a[i].path].data[_].name]
5375
5378
  },
5376
- b
5379
+ _
5377
5380
  ))
5378
5381
  }
5379
5382
  )
@@ -5417,6 +5420,14 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5417
5420
  {
5418
5421
  icon: "TextAa",
5419
5422
  name: "Fonts"
5423
+ },
5424
+ {
5425
+ icon: "CornersOut",
5426
+ name: "Borders"
5427
+ },
5428
+ {
5429
+ icon: "ArrowSquareIn",
5430
+ name: "Buttons"
5420
5431
  }
5421
5432
  ];
5422
5433
  function s(i) {
@@ -5544,30 +5555,30 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5544
5555
  colorChange: u,
5545
5556
  setIsGradientActive: f,
5546
5557
  setIsBlockSettings: p
5547
- } = jo(), { updateColor: g } = X(), y = (b, C) => (v) => {
5548
- g(b, C, v);
5558
+ } = jo(), { updateColor: g } = X(), y = (_, C) => (v) => {
5559
+ g(_, C, v);
5549
5560
  };
5550
5561
  A.useEffect(() => {
5551
- const b = () => {
5562
+ const _ = () => {
5552
5563
  i(!1), o(null), s(n), a(() => {
5553
5564
  }), l(n), d(() => {
5554
5565
  });
5555
5566
  };
5556
- return document.body.addEventListener("click", b), () => {
5557
- document.body.removeEventListener("click", b);
5567
+ return document.body.addEventListener("click", _), () => {
5568
+ document.body.removeEventListener("click", _);
5558
5569
  };
5559
5570
  }, []);
5560
- const h = (b) => {
5571
+ const h = (_) => {
5561
5572
  const C = t.split("/")[0], v = C.split(" ")[0].toLowerCase(), k = C.split(" ")[1].toLowerCase();
5562
- b.stopPropagation(), i(!0), d(u), a((_) => y(k, v)(_)), s(n), l(n), p(!0), f(k === "surface");
5563
- const { top: x, left: S } = jr(b, 550, 288, 10, 20, 230, 80);
5573
+ _.stopPropagation(), i(!0), d(u), a((b) => y(k, v)(b)), s(n), l(n), p(!0), f(k === "surface");
5574
+ const { top: S, left: x } = jr(_, 550, 288, 10, 20, 230, 80);
5564
5575
  r({
5565
- top: k === "surface" ? x : x + 125,
5566
- left: S - 200
5576
+ top: k === "surface" ? S : S + 125,
5577
+ left: x - 200
5567
5578
  });
5568
5579
  };
5569
- function m(b) {
5570
- return b.length > 15 ? b.slice(0, 15) + "..." : b;
5580
+ function m(_) {
5581
+ return _.length > 15 ? _.slice(0, 15) + "..." : _;
5571
5582
  }
5572
5583
  return /* @__PURE__ */ w(
5573
5584
  "div",
@@ -5659,20 +5670,20 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5659
5670
  // setHeader,
5660
5671
  // setFooter,
5661
5672
  // setAnnouncement,
5662
- header: b,
5673
+ header: _,
5663
5674
  footer: C,
5664
5675
  announcement: v,
5665
5676
  isLoadingLayers: k
5666
- } = ne(), { currentPage: x, pages: S } = J(), { past: _, future: N } = Po();
5677
+ } = ne(), { currentPage: S, pages: x } = J(), { past: b, future: N } = Po();
5667
5678
  function O(T = !1) {
5668
- if (S && d && h && !["header", "footer", "announcement"].includes(h) && !T) {
5679
+ if (x && d && h && !["header", "footer", "announcement"].includes(h) && !T) {
5669
5680
  const P = {
5670
5681
  blockSettings: {}
5671
5682
  };
5672
5683
  Object.keys(d.blockSettings).filter((M) => !["displayName", "isAddable"].includes(M)).map((M) => {
5673
5684
  P.blockSettings[M] = d.blockSettings[M];
5674
- }), y(S[x].path, h, {
5675
- name: p[S[x].path].data[h].name,
5685
+ }), y(x[S].path, h, {
5686
+ name: p[x[S].path].data[h].name,
5676
5687
  value: P
5677
5688
  });
5678
5689
  }
@@ -5685,13 +5696,13 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5685
5696
  }
5686
5697
  function z(T) {
5687
5698
  var oe;
5688
- if (!S || !x || !T) return null;
5699
+ if (!x || !S || !T) return null;
5689
5700
  if (T === "header") {
5690
5701
  const I = new o();
5691
5702
  return Object.keys(I.blockSettings).forEach((K) => {
5692
- I.blockSettings[K] = b == null ? void 0 : b.blockSettings[K];
5703
+ I.blockSettings[K] = _ == null ? void 0 : _.blockSettings[K];
5693
5704
  }), Object.keys(I.blockColors).forEach((K) => {
5694
- I.blockColors[K] = b == null ? void 0 : b.blockColors[K];
5705
+ I.blockColors[K] = _ == null ? void 0 : _.blockColors[K];
5695
5706
  }), I;
5696
5707
  }
5697
5708
  if (T === "footer") {
@@ -5710,7 +5721,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5710
5721
  I.blockColors[K] = v == null ? void 0 : v.blockColors[K];
5711
5722
  }), I;
5712
5723
  }
5713
- const P = p[S[x].path];
5724
+ const P = p[x[S].path];
5714
5725
  if (!P || !P.data[T]) return null;
5715
5726
  const M = P.data[T];
5716
5727
  return !M || !i[M.name] ? null : new i[M.name]((oe = M.value) == null ? void 0 : oe.blockSettings);
@@ -5721,8 +5732,8 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5721
5732
  u(T);
5722
5733
  } else
5723
5734
  u(null);
5724
- }, [h, _, N, a]), A.useEffect(() => {
5725
- if (a && S && !h) {
5735
+ }, [h, b, N, a]), A.useEffect(() => {
5736
+ if (a && x && !h) {
5726
5737
  const T = {
5727
5738
  blockSettings: {},
5728
5739
  blockColors: {}
@@ -5732,7 +5743,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5732
5743
  }), Object.keys(P.blockColors).filter((W) => !["displayName", "isAddable"].includes(W)).map((W) => {
5733
5744
  T.blockColors[W] = P.blockColors[W];
5734
5745
  });
5735
- const M = g(S[x].path, {
5746
+ const M = g(x[S].path, {
5736
5747
  name: a,
5737
5748
  value: T
5738
5749
  });
@@ -5741,12 +5752,12 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
5741
5752
  neededScroll: !0
5742
5753
  }), m(M), e("/admin/builder");
5743
5754
  }
5744
- }, [a, _, N]);
5755
+ }, [a, b, N]);
5745
5756
  function $(T) {
5746
5757
  if (!i)
5747
5758
  return "unknown name";
5748
5759
  if (!i[T])
5749
- return h === "header" ? b == null ? void 0 : b.blockSettings.displayName : h === "footer" ? C == null ? void 0 : C.blockSettings.displayName : h === "announcement" ? v == null ? void 0 : v.blockSettings.displayName : "unknown name";
5760
+ return h === "header" ? _ == null ? void 0 : _.blockSettings.displayName : h === "footer" ? C == null ? void 0 : C.blockSettings.displayName : h === "announcement" ? v == null ? void 0 : v.blockSettings.displayName : "unknown name";
5750
5761
  const P = new i[T]();
5751
5762
  return !P.blockSettings || !P.blockSettings.displayName ? "unknown name" : P.blockSettings.displayName;
5752
5763
  }
@@ -6757,48 +6768,48 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
6757
6768
  editedPage: i,
6758
6769
  setEditedPage: a,
6759
6770
  pageContext: l
6760
- } = J(), { setIsOpen: d } = Hr(), { isAntistock: u } = Ho(), { 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(
6771
+ } = J(), { setIsOpen: d } = Hr(), { isAntistock: u } = Ho(), { 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) : ""), [_, C] = A.useState(
6761
6772
  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.`
6762
6773
  ), [v, k] = A.useState(
6763
6774
  i && t && (W = t[i]) != null && W.isPrivate ? "private" : "public"
6764
6775
  );
6765
- function x() {
6776
+ function S() {
6766
6777
  y(""), m(""), C(""), k("public"), s(!1), a(null);
6767
6778
  }
6768
- function S() {
6779
+ function x() {
6769
6780
  d(!1), setTimeout(() => {
6770
- x(), e(!1), d(!0);
6781
+ S(), e(!1), d(!0);
6771
6782
  }, 300);
6772
6783
  }
6773
6784
  A.useEffect(() => () => {
6774
- S();
6785
+ x();
6775
6786
  }, []);
6776
- function _(I) {
6787
+ function b(I) {
6777
6788
  return I[0] === "/" ? I : "/" + I;
6778
6789
  }
6779
6790
  function N() {
6780
6791
  n({
6781
- path: _(g),
6792
+ path: b(g),
6782
6793
  name: h || g || "",
6783
6794
  icon: "File",
6784
6795
  seo: {
6785
6796
  pageTitle: h || "",
6786
- pageDescription: b || ""
6797
+ pageDescription: _ || ""
6787
6798
  },
6788
6799
  visibility: v || "public"
6789
- }), f(_(g)), S();
6800
+ }), f(b(g)), x();
6790
6801
  }
6791
6802
  function O() {
6792
6803
  t && (Et.includes(t[i].path) || Sr(t[i].path), p(t[i].path || "", g || ""), o(i, {
6793
- path: _(g),
6804
+ path: b(g),
6794
6805
  name: h || g,
6795
6806
  icon: t[i].icon || "File",
6796
6807
  seo: {
6797
6808
  pageTitle: h || "",
6798
- pageDescription: b || ""
6809
+ pageDescription: _ || ""
6799
6810
  },
6800
6811
  visibility: v || "public"
6801
- })), S();
6812
+ })), x();
6802
6813
  }
6803
6814
  return /* @__PURE__ */ w(
6804
6815
  "div",
@@ -6814,7 +6825,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
6814
6825
  name: "X",
6815
6826
  fill: "#757575",
6816
6827
  hoverable: !0,
6817
- onClick: S
6828
+ onClick: x
6818
6829
  }
6819
6830
  ) })
6820
6831
  ] }),
@@ -6847,7 +6858,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
6847
6858
  {
6848
6859
  label: "Description",
6849
6860
  onChange: (I) => C(I),
6850
- value: b,
6861
+ value: _,
6851
6862
  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.`,
6852
6863
  maxLength: 150
6853
6864
  }
@@ -6857,7 +6868,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
6857
6868
  /* @__PURE__ */ w("div", { className: _e.block, children: [
6858
6869
  /* @__PURE__ */ c("span", { className: _e.slug, children: g || "yoursite.url" }),
6859
6870
  /* @__PURE__ */ c("span", { className: _e.title, children: h || "My Blank Page" }),
6860
- /* @__PURE__ */ c("span", { className: _e.description, children: b || "It is My Description" })
6871
+ /* @__PURE__ */ c("span", { className: _e.description, children: _ || "It is My Description" })
6861
6872
  ] })
6862
6873
  ] })
6863
6874
  ] }),
@@ -6865,7 +6876,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
6865
6876
  /* @__PURE__ */ c(
6866
6877
  qe,
6867
6878
  {
6868
- onClick: S,
6879
+ onClick: x,
6869
6880
  type: "Secondary",
6870
6881
  children: "Cancel"
6871
6882
  }