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