@billgangcom/theme-lib 1.119.2 → 1.120.0

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 (42) hide show
  1. package/dist/{builder-BSSHp-yD.js → builder-COOwVmYf.js} +5 -5
  2. package/dist/{builder-DO8OBtHp.cjs → builder-D2Z888EH.cjs} +2 -2
  3. package/dist/{builder-components-BLjS3i1y.cjs → builder-components-CeV8vAD9.cjs} +1 -1
  4. package/dist/{builder-components-DpXfNGXA.js → builder-components-DIW3F4oN.js} +4 -4
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +204 -201
  7. package/dist/{charge-DxN1swGV.cjs → charge-D3lrI4Ud.cjs} +39 -39
  8. package/dist/{charge-DdDyImAT.js → charge-GM7BICIx.js} +8131 -8112
  9. package/dist/{checkout-C-efqqMW.js → checkout-7Tq3dWUe.js} +5 -5
  10. package/dist/{checkout-BITmt5GS.cjs → checkout-CjlGQSvn.cjs} +1 -1
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +6 -6
  13. package/dist/{index-CalgN83F.cjs → index-9pUVSOhu.cjs} +1 -1
  14. package/dist/{index-ByjPjRhG.cjs → index-BDiRhZO4.cjs} +1 -1
  15. package/dist/{index-B2K6XRTk.cjs → index-BNbbZxAR.cjs} +1 -1
  16. package/dist/{index-CazMxEI1.js → index-BSEVf9MF.js} +5 -5
  17. package/dist/{index-DWad8l4U.cjs → index-C6t0KlJ9.cjs} +1 -1
  18. package/dist/{index-tg9JppVw.js → index-CCCarAz0.js} +5 -5
  19. package/dist/{index-BClrySt3.cjs → index-CjkknAhD.cjs} +1 -1
  20. package/dist/{index-PLzigjI8.js → index-Cnz2WUHM.js} +5 -5
  21. package/dist/{index-BYlFYZPh.js → index-Cr_7GBLp.js} +1 -1
  22. package/dist/{index-B1DnUvVy.js → index-DqP6nS6V.js} +5 -5
  23. package/dist/index.cjs.js +1 -1
  24. package/dist/index.es.js +6 -6
  25. package/dist/{order-CxHdIagb.cjs → order-Bww_-NyP.cjs} +1 -1
  26. package/dist/{order-CDVeuAph.js → order-D6A71mPV.js} +5 -5
  27. package/dist/src/storefront/components/PaymentMethods/index.d.ts +1 -0
  28. package/dist/src/storefront/models/shop.d.ts +1 -0
  29. package/dist/style.css +1 -1
  30. package/dist/{subscription-BIvttFDo.cjs → subscription-B2CA6LXD.cjs} +1 -1
  31. package/dist/{subscription-ekcBEbjd.js → subscription-D4heazS1.js} +5 -5
  32. package/dist/{ticket-CSXMG52w.cjs → ticket-9tbnrHX0.cjs} +1 -1
  33. package/dist/{ticket-BJgcQGIh.js → ticket-FbE64Ih2.js} +5 -5
  34. package/dist/{top-up-Bt4Wyzxd.js → top-up-BDG04hQY.js} +5 -5
  35. package/dist/{top-up-B6jTXp8T.cjs → top-up-D45914YA.cjs} +1 -1
  36. package/dist/{ui-components-DID3UiF3.js → ui-components-B6WYf8_6.js} +4 -4
  37. package/dist/{ui-components-CVMpumDc.cjs → ui-components-CUItRi8R.cjs} +1 -1
  38. package/dist/ui.cjs.js +1 -1
  39. package/dist/ui.es.js +1 -1
  40. package/dist/{validation-uNWZdokt.cjs → validation-BAXOBuUN.cjs} +1 -1
  41. package/dist/{validation-DW7NInmD.js → validation-C4E-87ir.js} +5 -5
  42. package/package.json +1 -1
@@ -1,14 +1,14 @@
1
- import { jsx as t, Fragment as M, jsxs as L } from "react/jsx-runtime";
2
- import { N as G, K as W, j as _, c as j, m as V, a as q, M as N, ai as Q, aj as X, ak as J } from "./builder-BSSHp-yD.js";
3
- import { f as K, l as $, j as Y, k as Z, D as ee } from "./ticket-BJgcQGIh.js";
4
- import o, { Suspense as te } from "react";
5
- import { _ as oe, $ as ne, a0 as re } from "./charge-DdDyImAT.js";
6
- import { w as ae } from "./ui-components-DID3UiF3.js";
7
- import { TextUnderlineIcon as ce, TextStrikethroughIcon as ie, TextItalicIcon as le, AlignBottomIcon as se, AlignTopIcon as de, AlignRightIcon as he, AlignLeftIcon as ue, TextAlignCenterIcon as Ie, TextAlignRightIcon as me, TextAlignLeftIcon as ge, PushPinIcon as pe, CardsIcon as fe, DeviceMobileCameraIcon as Se, DeviceTabletCameraIcon as Ce, DesktopIcon as ye, UserCircleGearIcon as Ae, TicketIcon as we, ChatCenteredIcon as ke, SealQuestionIcon as Te, SquaresFourIcon as Pe, TextboxIcon as De, ArrowSquareInIcon as Le, CornersOutIcon as Re, TextHIcon as xe, TextBIcon as be, TextAaIcon as Ue, PaintBrushBroadIcon as Be, GearIcon as Ee, PaletteIcon as ze, TreeStructureIcon as ve, WarningDiamondIcon as He, WarningIcon as Fe, QuestionIcon as Oe, CalendarCheckIcon as Me, MedalIcon as Ge, CurrencyCircleDollarIcon as We, HouseSimpleIcon as _e, HouseIcon as je, GlobeIcon as Ve, SmileyIcon as qe, CalendarIcon as Ne, UserIcon as Qe, HeartIcon as Xe, LockIcon as Je, FileCloudIcon as Ke, ShieldCheckIcon as $e, ShieldIcon as Ye, ShareIcon as Ze, DotsSixVerticalIcon as et, ChatsTeardropIcon as tt, PaperPlaneRightIcon as ot, WalletIcon as nt, SignOutIcon as rt, TelegramLogoIcon as at, DiscordLogoIcon as ct, DownloadSimpleIcon as it, BookOpenIcon as lt, FileTextIcon as st, FileIcon as dt, AlignCenterHorizontalIcon as ht, LightningIcon as ut, FireIcon as It, StarIcon as mt, XCircleIcon as gt, CheckCircleIcon as pt, ArrowsVerticalIcon as ft, ArrowsHorizontalIcon as St, CloudArrowUpIcon as Ct, SelectionIcon as yt, ArrowLineDownIcon as At, MagnifyingGlassMinusIcon as wt, MagnifyingGlassIcon as kt, CaretLeftIcon as Tt, CaretUpIcon as Pt, CaretDownIcon as Dt, CaretRightIcon as Lt, ArrowUUpRightIcon as Rt, ArrowUUpLeftIcon as xt, ArrowUpRightIcon as bt, ArrowLineUpRightIcon as Ut, ArrowRightIcon as Bt, ArrowLeftIcon as Et, ConfettiIcon as zt, ArrowDownIcon as vt, ArrowUpIcon as Ht, CrownIcon as Ft, EyeIcon as Ot, BagIcon as Mt, HandbagIcon as Gt, ListIcon as Wt, ImageIcon as _t, SlidersIcon as jt, TrashIcon as Vt, CopyIcon as qt, InfoIcon as Nt, ClockIcon as Qt, CheckIcon as Xt, MinusIcon as Jt, PlusIcon as Kt, XIcon as $t } from "@phosphor-icons/react";
8
- const Yt = ({
1
+ import { jsx as t, Fragment as G, jsxs as R } from "react/jsx-runtime";
2
+ import { N as W, K as _, j, c as V, m as N, a as q, M as Q, ai as X, aj as J, ak as K } from "./builder-COOwVmYf.js";
3
+ import { f as $, l as Y, j as Z, k as ee, D as te } from "./ticket-FbE64Ih2.js";
4
+ import o, { Suspense as oe } from "react";
5
+ import { _ as ne, $ as re, a0 as ae } from "./charge-GM7BICIx.js";
6
+ import { w as ce } from "./ui-components-B6WYf8_6.js";
7
+ import { TextUnderlineIcon as ie, TextStrikethroughIcon as se, TextItalicIcon as le, AlignBottomIcon as de, AlignTopIcon as he, AlignRightIcon as ue, AlignLeftIcon as Ie, TextAlignCenterIcon as me, TextAlignRightIcon as ge, TextAlignLeftIcon as pe, PushPinIcon as fe, CardsIcon as Se, DeviceMobileCameraIcon as Ce, DeviceTabletCameraIcon as ye, DesktopIcon as Ae, UserCircleGearIcon as we, TicketIcon as ke, ChatCenteredIcon as Te, SealQuestionIcon as Pe, SquaresFourIcon as De, TextboxIcon as Le, ArrowSquareInIcon as Re, CornersOutIcon as xe, TextHIcon as be, TextBIcon as Be, TextAaIcon as Ee, PaintBrushBroadIcon as Ue, GearIcon as ze, PaletteIcon as ve, TreeStructureIcon as He, WarningDiamondIcon as Fe, WarningIcon as Oe, QuestionIcon as Me, CalendarCheckIcon as Ge, MedalIcon as We, CurrencyCircleDollarIcon as _e, HouseSimpleIcon as je, HouseIcon as Ve, GlobeIcon as Ne, SmileyIcon as qe, CalendarIcon as Qe, UserIcon as Xe, HeartIcon as Je, LockIcon as Ke, FileCloudIcon as $e, ShieldCheckIcon as Ye, ShieldIcon as Ze, ShareIcon as et, DotsSixVerticalIcon as tt, ChatsTeardropIcon as ot, PaperPlaneRightIcon as nt, WalletIcon as rt, SignOutIcon as at, TelegramLogoIcon as ct, DiscordLogoIcon as it, DownloadSimpleIcon as st, BookOpenIcon as lt, FileTextIcon as dt, FileIcon as ht, AlignCenterHorizontalIcon as ut, LightningIcon as It, FireIcon as mt, StarIcon as gt, XCircleIcon as pt, CheckCircleIcon as ft, ArrowsVerticalIcon as St, ArrowsHorizontalIcon as Ct, CloudArrowUpIcon as yt, SelectionIcon as At, ArrowLineDownIcon as wt, MagnifyingGlassMinusIcon as kt, MagnifyingGlassIcon as Tt, CaretLeftIcon as Pt, CaretUpIcon as Dt, CaretDownIcon as Lt, CaretRightIcon as Rt, ArrowUUpRightIcon as xt, ArrowUUpLeftIcon as bt, ArrowUpRightIcon as Bt, ArrowLineUpRightIcon as Et, ArrowRightIcon as Ut, ArrowLeftIcon as zt, ConfettiIcon as vt, ArrowDownIcon as Ht, ArrowUpIcon as Ft, CrownIcon as Ot, EyeIcon as Mt, BagIcon as Gt, HandbagIcon as Wt, ListIcon as _t, ImageIcon as jt, SlidersIcon as Vt, TrashIcon as Nt, CopyIcon as qt, InfoIcon as Qt, ClockIcon as Xt, CheckIcon as Jt, MinusIcon as Kt, PlusIcon as $t, XIcon as Yt } from "@phosphor-icons/react";
8
+ const Zt = ({
9
9
  children: e,
10
- shopDomain: l,
11
- shopId: s,
10
+ shopDomain: s,
11
+ shopId: l,
12
12
  shopPassword: d,
13
13
  shopLogo: u
14
14
  }) => {
@@ -20,185 +20,185 @@ const Yt = ({
20
20
  setShopPrivacyPolicy: c,
21
21
  setShopRefundPolicy: g,
22
22
  setShopLogo: A
23
- } = G();
23
+ } = W();
24
24
  return o.useLayoutEffect(() => {
25
25
  const r = async () => {
26
- const { data: i } = await oe();
26
+ const { data: i } = await ne();
27
27
  m(i);
28
28
  }, p = async () => {
29
- const { data: i } = await ne();
29
+ const { data: i } = await re();
30
30
  c(i);
31
31
  }, w = async () => {
32
- const { data: i } = await re();
32
+ const { data: i } = await ae();
33
33
  g(i);
34
34
  };
35
- I(l), C(s), d && y(d), u && A(u), r(), p(), w();
36
- }, [l, s, d]), /* @__PURE__ */ t(M, { children: e });
37
- }, Zt = "_wrapper_1xuz3_18", R = {
38
- wrapper: Zt
35
+ I(s), C(l), d && y(d), u && A(u), r(), p(), w();
36
+ }, [s, l, d]), /* @__PURE__ */ t(G, { children: e });
37
+ }, eo = "_wrapper_1xuz3_18", x = {
38
+ wrapper: eo
39
39
  };
40
- function eo() {
41
- ae({
40
+ function to() {
41
+ ce({
42
42
  // Основные UI иконки
43
- X: $t,
44
- Plus: Kt,
45
- Minus: Jt,
46
- Check: Xt,
47
- Clock: Qt,
48
- Info: Nt,
43
+ X: Yt,
44
+ Plus: $t,
45
+ Minus: Kt,
46
+ Check: Jt,
47
+ Clock: Xt,
48
+ Info: Qt,
49
49
  Copy: qt,
50
- Trash: Vt,
51
- Sliders: jt,
52
- Image: _t,
53
- List: Wt,
54
- Handbag: Gt,
55
- Bag: Mt,
56
- Eye: Ot,
57
- Crown: Ft,
58
- ArrowUp: Ht,
59
- ArrowDown: vt,
60
- Confetti: zt,
61
- ArrowLeft: Et,
62
- ArrowRight: Bt,
63
- ArrowLineUpRight: Ut,
64
- ArrowUpRight: bt,
65
- ArrowUUpLeft: xt,
66
- ArrowUUpRight: Rt,
67
- CaretRight: Lt,
68
- CaretDown: Dt,
69
- CaretUp: Pt,
70
- CaretLeft: Tt,
71
- MagnifyingGlass: kt,
72
- MagnifyingGlassMinus: wt,
73
- ArrowLineDown: At,
74
- Selection: yt,
75
- CloudArrowUpIcon: Ct,
76
- ArrowsHorizontal: St,
77
- ArrowsVertical: ft,
50
+ Trash: Nt,
51
+ Sliders: Vt,
52
+ Image: jt,
53
+ List: _t,
54
+ Handbag: Wt,
55
+ Bag: Gt,
56
+ Eye: Mt,
57
+ Crown: Ot,
58
+ ArrowUp: Ft,
59
+ ArrowDown: Ht,
60
+ Confetti: vt,
61
+ ArrowLeft: zt,
62
+ ArrowRight: Ut,
63
+ ArrowLineUpRight: Et,
64
+ ArrowUpRight: Bt,
65
+ ArrowUUpLeft: bt,
66
+ ArrowUUpRight: xt,
67
+ CaretRight: Rt,
68
+ CaretDown: Lt,
69
+ CaretUp: Dt,
70
+ CaretLeft: Pt,
71
+ MagnifyingGlass: Tt,
72
+ MagnifyingGlassMinus: kt,
73
+ ArrowLineDown: wt,
74
+ Selection: At,
75
+ CloudArrowUpIcon: yt,
76
+ ArrowsHorizontal: Ct,
77
+ ArrowsVertical: St,
78
78
  // Статусы и действия
79
- CheckCircle: pt,
80
- XCircle: gt,
81
- Star: mt,
82
- Fire: It,
83
- Lightning: ut,
84
- AlignCenterHorizontal: ht,
79
+ CheckCircle: ft,
80
+ XCircle: pt,
81
+ Star: gt,
82
+ Fire: mt,
83
+ Lightning: It,
84
+ AlignCenterHorizontal: ut,
85
85
  // Файлы и документы
86
- File: dt,
87
- FileText: st,
86
+ File: ht,
87
+ FileText: dt,
88
88
  BookOpen: lt,
89
- DownloadSimple: it,
89
+ DownloadSimple: st,
90
90
  // Социальные сети
91
- DiscordLogo: ct,
92
- TelegramLogo: at,
91
+ DiscordLogo: it,
92
+ TelegramLogo: ct,
93
93
  // Навигация и интерфейс
94
- SignOut: rt,
95
- Wallet: nt,
96
- PaperPlaneRight: ot,
97
- ChatsTeardrop: tt,
98
- DotsSixVertical: et,
99
- Share: Ze,
94
+ SignOut: at,
95
+ Wallet: rt,
96
+ PaperPlaneRight: nt,
97
+ ChatsTeardrop: ot,
98
+ DotsSixVertical: tt,
99
+ Share: et,
100
100
  // Безопасность и файлы (для Checkout/Secured)
101
- Shield: Ye,
102
- ShieldCheck: $e,
103
- FileCloud: Ke,
104
- Lock: Je,
101
+ Shield: Ze,
102
+ ShieldCheck: Ye,
103
+ FileCloud: $e,
104
+ Lock: Ke,
105
105
  // Специальные иконки
106
- Heart: Xe,
107
- User: Qe,
108
- Calendar: Ne,
106
+ Heart: Je,
107
+ User: Xe,
108
+ Calendar: Qe,
109
109
  Smiley: qe,
110
- Globe: Ve,
110
+ Globe: Ne,
111
111
  // Иконки для навигации в сайдбаре
112
- House: je,
113
- HouseSimple: _e,
114
- CurrencyCircleDollar: We,
115
- Medal: Ge,
116
- CalendarCheck: Me,
117
- Question: Oe,
112
+ House: Ve,
113
+ HouseSimple: je,
114
+ CurrencyCircleDollar: _e,
115
+ Medal: We,
116
+ CalendarCheck: Ge,
117
+ Question: Me,
118
118
  // Иконки для статусов
119
- Warning: Fe,
120
- WarningDiamond: He,
119
+ Warning: Oe,
120
+ WarningDiamond: Fe,
121
121
  // Иконки для билдера (Builder icons)
122
- TreeStructure: ve,
123
- Palette: ze,
124
- Gear: Ee,
125
- PaintBrushBroad: Be,
126
- TextAa: Ue,
127
- TextB: be,
128
- TextH: xe,
129
- CornersOut: Re,
130
- ArrowSquareIn: Le,
131
- Textbox: De,
132
- SquaresFour: Pe,
133
- SealQuestion: Te,
134
- ChatCentered: ke,
135
- Ticket: we,
136
- UserCircleGear: Ae,
137
- Desktop: ye,
138
- DeviceTabletCamera: Ce,
139
- DeviceMobileCamera: Se,
140
- Cards: fe,
141
- PushPin: pe,
122
+ TreeStructure: He,
123
+ Palette: ve,
124
+ Gear: ze,
125
+ PaintBrushBroad: Ue,
126
+ TextAa: Ee,
127
+ TextB: Be,
128
+ TextH: be,
129
+ CornersOut: xe,
130
+ ArrowSquareIn: Re,
131
+ Textbox: Le,
132
+ SquaresFour: De,
133
+ SealQuestion: Pe,
134
+ ChatCentered: Te,
135
+ Ticket: ke,
136
+ UserCircleGear: we,
137
+ Desktop: Ae,
138
+ DeviceTabletCamera: ye,
139
+ DeviceMobileCamera: Ce,
140
+ Cards: Se,
141
+ PushPin: fe,
142
142
  // Иконки для выравнивания текста и отступов
143
- TextAlignLeft: ge,
144
- TextAlignRight: me,
145
- TextAlignCenter: Ie,
146
- AlignLeft: ue,
147
- AlignRight: he,
148
- AlignTop: de,
149
- AlignBottom: se,
143
+ TextAlignLeft: pe,
144
+ TextAlignRight: ge,
145
+ TextAlignCenter: me,
146
+ AlignLeft: Ie,
147
+ AlignRight: ue,
148
+ AlignTop: he,
149
+ AlignBottom: de,
150
150
  // Иконки для форматирования текста
151
151
  TextItalic: le,
152
- TextStrikethrough: ie,
153
- TextUnderline: ce
152
+ TextStrikethrough: se,
153
+ TextUnderline: ie
154
154
  });
155
155
  }
156
- const to = o.lazy(
157
- () => import("./builder-BSSHp-yD.js").then((e) => e.an).then((e) => ({ default: e.BuilderPage }))
158
- ), oo = o.lazy(
159
- () => import("./index-PLzigjI8.js").then((e) => ({ default: e.ErrorPage }))
156
+ const oo = o.lazy(
157
+ () => import("./builder-COOwVmYf.js").then((e) => e.an).then((e) => ({ default: e.BuilderPage }))
160
158
  ), no = o.lazy(
161
- () => import("./index-BYlFYZPh.js").then((e) => ({ default: e.ActivePage }))
159
+ () => import("./index-Cnz2WUHM.js").then((e) => ({ default: e.ErrorPage }))
162
160
  ), ro = o.lazy(
163
- () => import("./validation-DW7NInmD.js").then((e) => ({ default: e.ValidationPage }))
161
+ () => import("./index-Cr_7GBLp.js").then((e) => ({ default: e.ActivePage }))
164
162
  ), ao = o.lazy(
165
- () => import("./index-B1DnUvVy.js").then((e) => ({ default: e.WrapperPage }))
163
+ () => import("./validation-C4E-87ir.js").then((e) => ({ default: e.ValidationPage }))
166
164
  ), co = o.lazy(
167
- () => import("./index-tg9JppVw.js").then((e) => ({ default: e.RouterErrorPage }))
168
- ), a = o.lazy(
169
- () => import("./index-CazMxEI1.js").then((e) => ({ default: e.DynamicErrorPage }))
165
+ () => import("./index-DqP6nS6V.js").then((e) => ({ default: e.WrapperPage }))
170
166
  ), io = o.lazy(
171
- () => import("./checkout-C-efqqMW.js").then((e) => ({ default: e.Checkout }))
172
- ), lo = o.lazy(
173
- () => import("./charge-DdDyImAT.js").then((e) => e.a5).then((e) => ({ default: e.ChargePage }))
167
+ () => import("./index-CCCarAz0.js").then((e) => ({ default: e.RouterErrorPage }))
168
+ ), a = o.lazy(
169
+ () => import("./index-BSEVf9MF.js").then((e) => ({ default: e.DynamicErrorPage }))
174
170
  ), so = o.lazy(
175
- () => import("./ticket-BJgcQGIh.js").then((e) => e.m).then((e) => ({ default: e.TicketItem }))
171
+ () => import("./checkout-7Tq3dWUe.js").then((e) => ({ default: e.Checkout }))
172
+ ), lo = o.lazy(
173
+ () => import("./charge-GM7BICIx.js").then((e) => e.a5).then((e) => ({ default: e.ChargePage }))
176
174
  ), ho = o.lazy(
177
- () => import("./subscription-ekcBEbjd.js").then((e) => e.i).then((e) => ({ default: e.Subscription }))
175
+ () => import("./ticket-FbE64Ih2.js").then((e) => e.m).then((e) => ({ default: e.TicketItem }))
178
176
  ), uo = o.lazy(
179
- () => import("./top-up-Bt4Wyzxd.js").then((e) => ({ default: e.TopUpBalance }))
177
+ () => import("./subscription-D4heazS1.js").then((e) => e.i).then((e) => ({ default: e.Subscription }))
180
178
  ), Io = o.lazy(
181
- () => import("./order-CDVeuAph.js").then((e) => e.i).then((e) => ({ default: e.OrderPage }))
179
+ () => import("./top-up-BDG04hQY.js").then((e) => ({ default: e.TopUpBalance }))
182
180
  ), mo = o.lazy(
183
- () => import("./charge-DdDyImAT.js").then((e) => e.a4).then((e) => ({ default: e.CustomerDashboard }))
184
- ), x = o.lazy(
185
- () => import("./charge-DdDyImAT.js").then((e) => e.a3).then((e) => ({ default: e.ReCaptchaProvider }))
186
- ), go = () => null, n = ({ children: e }) => /* @__PURE__ */ t(te, { fallback: /* @__PURE__ */ t(go, {}), children: e }), po = o.lazy(
187
- () => import("./builder-components-DpXfNGXA.js").then((e) => e.i).then((e) => ({
181
+ () => import("./order-D6A71mPV.js").then((e) => e.i).then((e) => ({ default: e.OrderPage }))
182
+ ), go = o.lazy(
183
+ () => import("./charge-GM7BICIx.js").then((e) => e.a4).then((e) => ({ default: e.CustomerDashboard }))
184
+ ), b = o.lazy(
185
+ () => import("./charge-GM7BICIx.js").then((e) => e.a3).then((e) => ({ default: e.ReCaptchaProvider }))
186
+ ), po = () => null, n = ({ children: e }) => /* @__PURE__ */ t(oe, { fallback: /* @__PURE__ */ t(po, {}), children: e }), fo = o.lazy(
187
+ () => import("./builder-components-DIW3F4oN.js").then((e) => e.i).then((e) => ({
188
188
  default: e.RenderAnnouncement
189
189
  }))
190
- ), b = o.lazy(
191
- () => import("./builder-components-DpXfNGXA.js").then((e) => e.i).then((e) => ({
190
+ ), B = o.lazy(
191
+ () => import("./builder-components-DIW3F4oN.js").then((e) => e.i).then((e) => ({
192
192
  default: e.RenderFooter
193
193
  }))
194
- ), U = o.lazy(
195
- () => import("./builder-components-DpXfNGXA.js").then((e) => e.i).then((e) => ({
194
+ ), E = o.lazy(
195
+ () => import("./builder-components-DIW3F4oN.js").then((e) => e.i).then((e) => ({
196
196
  default: e.RenderHeader
197
197
  }))
198
- ), To = (e) => {
198
+ ), Po = (e) => {
199
199
  const {
200
- blocks: l,
201
- settings: s,
200
+ blocks: s,
201
+ settings: l,
202
202
  header: d,
203
203
  footer: u,
204
204
  announcement: I,
@@ -206,14 +206,14 @@ const to = o.lazy(
206
206
  shopLogo: y,
207
207
  apiURLs: m,
208
208
  isAntistock: c = !1
209
- } = e, [g, A] = o.useState(null), { general: r, setIsAntistock: p } = W(), { setApiUrls: w } = _(), {
209
+ } = e, [g, A] = o.useState(null), { general: r, setIsAntistock: p } = _(), { setApiUrls: w } = j(), {
210
210
  setBlocks: i,
211
- setSourceBlocks: B,
212
- setHeader: E,
213
- setFooter: z,
214
- setAnnouncement: v,
215
- setSettings: H
216
- } = j(), { themeSettings: f } = V(), { settings: k, setSettings: F } = q(), S = N ? localStorage.getItem("fakeDomain") || "" : window.location.hostname, O = localStorage.getItem("shopPassword"), P = localStorage.getItem("shopId") || "";
211
+ setSourceBlocks: U,
212
+ setHeader: z,
213
+ setFooter: v,
214
+ setAnnouncement: H,
215
+ setSettings: F
216
+ } = V(), { themeSettings: f } = N(), { settings: k, setSettings: O } = q(), S = Q ? localStorage.getItem("fakeDomain") || "" : window.location.hostname, M = localStorage.getItem("shopPassword"), P = localStorage.getItem("shopId") || "";
217
217
  return o.useEffect(() => {
218
218
  p(c);
219
219
  }, [c, p]), o.useEffect(() => {
@@ -222,57 +222,58 @@ const to = o.lazy(
222
222
  !S && !c && localStorage.setItem("fakeDomain", "drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"), !S && c && localStorage.setItem("fakeDomain", "eva8.astck.io");
223
223
  }, [S]), o.useEffect(() => {
224
224
  if (f && k) {
225
- const h = K(f, k);
226
- $(), Y(f), Z(h);
225
+ const h = $(f, k);
226
+ Y(), Z(f), ee(h);
227
227
  }
228
228
  }, [f, JSON.stringify(k), window.location.hostname]), o.useEffect(() => {
229
- const T = new s().blockSettings;
230
- F(T);
229
+ const T = new l().blockSettings;
230
+ O(T);
231
231
  }, []), o.useEffect(() => {
232
- eo();
232
+ to();
233
233
  }, []), o.useLayoutEffect(() => {
234
+ var D;
234
235
  const h = {};
235
- Object.keys(l).map((D) => {
236
- h[D] = l[D];
237
- }), B(h), i(h), E(d), z(u), v(I), H(s), m && w(m);
238
- const T = Q([
236
+ Object.keys(s).map((L) => {
237
+ h[L] = s[L];
238
+ }), U(h), i(h), z(d), v(u), H(I), F(l), m && w(m);
239
+ const T = X([
239
240
  {
240
241
  element: /* @__PURE__ */ t(
241
- Yt,
242
+ Zt,
242
243
  {
243
244
  shopDomain: S,
244
245
  shopId: P,
245
- shopPassword: O || void 0,
246
+ shopPassword: M || void 0,
246
247
  shopLogo: y,
247
- children: /* @__PURE__ */ t(x, { children: /* @__PURE__ */ t(ao, { children: /* @__PURE__ */ t(X, {}) }) })
248
+ children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(co, { children: /* @__PURE__ */ t(J, {}) }) })
248
249
  }
249
250
  ),
250
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(co, {}) }),
251
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(io, {}) }),
251
252
  children: [
252
253
  {
253
254
  path: "/admin/builder/*",
254
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(no, { children: /* @__PURE__ */ t(
255
- to,
255
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ro, { children: /* @__PURE__ */ t(
256
+ oo,
256
257
  {
257
- blocks: l,
258
- settings: s,
258
+ blocks: s,
259
+ settings: l,
259
260
  header: d,
260
261
  footer: u,
261
262
  announcement: I
262
263
  }
263
264
  ) }) }),
264
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(oo, {}) })
265
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(no, {}) })
265
266
  },
266
267
  ...C,
267
268
  {
268
269
  path: "/checkout",
269
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(io, {}) }),
270
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(so, {}) }),
270
271
  errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
271
272
  loader: () => (document.title = "Checkout", !0)
272
273
  },
273
274
  {
274
275
  path: "/top-up",
275
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(uo, {}) }),
276
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(Io, {}) }),
276
277
  errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
277
278
  loader: () => (document.title = "Top Up Balance", !0)
278
279
  },
@@ -284,45 +285,47 @@ const to = o.lazy(
284
285
  },
285
286
  {
286
287
  path: "/orders/:id/:accessToken?",
287
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(Io, {}) }),
288
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(mo, {}) }),
288
289
  errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
289
290
  loader: () => (document.title = "Orders", !0)
290
291
  },
291
292
  {
292
293
  path: "/subscriptions/:id/:accessToken?",
293
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ho, {}) }),
294
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(uo, {}) }),
294
295
  errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
295
296
  loader: () => (document.title = "Subscriptions", !0)
296
297
  },
297
- {
298
- path: c ? "/account" : "/customer-dash",
299
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ L("div", { className: R.wrapper, children: [
300
- /* @__PURE__ */ t(po, {}),
301
- /* @__PURE__ */ t(U, {}),
302
- /* @__PURE__ */ t(
303
- "div",
304
- {
305
- style: {
306
- flex: "1 1 auto"
307
- },
308
- children: /* @__PURE__ */ t(mo, {})
309
- }
310
- ),
311
- /* @__PURE__ */ t(b, {})
312
- ] }) }),
313
- errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
314
- loader: () => (document.title = c ? "Account" : "Customer Dashboard", !0)
315
- },
298
+ ...(((D = r == null ? void 0 : r.info) == null ? void 0 : D.customerAccountSettings) ?? "OPTIONAL") === "DISABLED" ? [] : [
299
+ {
300
+ path: c ? "/account" : "/customer-dash",
301
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ R("div", { className: x.wrapper, children: [
302
+ /* @__PURE__ */ t(fo, {}),
303
+ /* @__PURE__ */ t(E, {}),
304
+ /* @__PURE__ */ t(
305
+ "div",
306
+ {
307
+ style: {
308
+ flex: "1 1 auto"
309
+ },
310
+ children: /* @__PURE__ */ t(go, {})
311
+ }
312
+ ),
313
+ /* @__PURE__ */ t(B, {})
314
+ ] }) }),
315
+ errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
316
+ loader: () => (document.title = c ? "Account" : "Customer Dashboard", !0)
317
+ }
318
+ ],
316
319
  {
317
320
  path: "/validation",
318
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ro, {}) }),
321
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ao, {}) }),
319
322
  errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
320
323
  loader: () => (document.title = "Validation", !0)
321
324
  },
322
325
  {
323
326
  path: "/ticket/:id/:accessToken",
324
- element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ L("div", { className: R.wrapper, children: [
325
- /* @__PURE__ */ t(U, {}),
327
+ element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ R("div", { className: x.wrapper, children: [
328
+ /* @__PURE__ */ t(E, {}),
326
329
  /* @__PURE__ */ t(
327
330
  "div",
328
331
  {
@@ -331,25 +334,25 @@ const to = o.lazy(
331
334
  width: "100%",
332
335
  height: "100%"
333
336
  },
334
- children: /* @__PURE__ */ t(x, { children: /* @__PURE__ */ t(so, {}) })
337
+ children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(ho, {}) })
335
338
  }
336
339
  ),
337
- /* @__PURE__ */ t(b, {})
340
+ /* @__PURE__ */ t(B, {})
338
341
  ] }) }),
339
342
  errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) }),
340
343
  loader: () => (document.title = "Ticket", !0)
341
344
  },
342
345
  {
343
346
  path: "*",
344
- element: /* @__PURE__ */ t(ee, {}),
347
+ element: /* @__PURE__ */ t(te, {}),
345
348
  errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(a, {}) })
346
349
  }
347
350
  ]
348
351
  }
349
352
  ]);
350
353
  A(T);
351
- }, [r]), /* @__PURE__ */ t(o.Suspense, { fallback: null, children: g && /* @__PURE__ */ t(J, { router: g }) });
354
+ }, [r]), /* @__PURE__ */ t(o.Suspense, { fallback: null, children: g && /* @__PURE__ */ t(K, { router: g }) });
352
355
  };
353
356
  export {
354
- To as App
357
+ Po as App
355
358
  };