@billgangcom/theme-lib 1.120.0 → 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-COOwVmYf.js → builder-CE6yg5oK.js} +5 -5
- package/dist/{builder-D2Z888EH.cjs → builder-CWaG42kw.cjs} +2 -2
- package/dist/{builder-components-DIW3F4oN.js → builder-components-5Z24DJJP.js} +4 -4
- package/dist/{builder-components-CeV8vAD9.cjs → builder-components-Dyplqbia.cjs} +1 -1
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +200 -200
- package/dist/{charge-GM7BICIx.js → charge-B1GrtVWc.js} +7 -7
- package/dist/{charge-D3lrI4Ud.cjs → charge-BEnNfxFr.cjs} +2 -2
- package/dist/{checkout-7Tq3dWUe.js → checkout-B21z1TGE.js} +5 -5
- package/dist/{checkout-CjlGQSvn.cjs → checkout-CF05O03i.cjs} +1 -1
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-BDiRhZO4.cjs → index-1x0-wbdS.cjs} +1 -1
- package/dist/{index-BNbbZxAR.cjs → index-BZ7C0iBt.cjs} +1 -1
- package/dist/{index-Cnz2WUHM.js → index-Be2NRkjG.js} +5 -5
- package/dist/{index-CjkknAhD.cjs → index-Bl91R63p.cjs} +1 -1
- package/dist/{index-9pUVSOhu.cjs → index-BpWh-qOk.cjs} +1 -1
- package/dist/{index-DqP6nS6V.js → index-C9ZIjLVQ.js} +5 -5
- package/dist/{index-BSEVf9MF.js → index-Cs9xerh4.js} +5 -5
- package/dist/{index-Cr_7GBLp.js → index-DTAlnIyB.js} +1 -1
- package/dist/{index-C6t0KlJ9.cjs → index-DT_aTpZf.cjs} +1 -1
- package/dist/{index-CCCarAz0.js → index-Dez8BiQX.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-Bww_-NyP.cjs → order-BEBOxyTb.cjs} +1 -1
- package/dist/{order-D6A71mPV.js → order-dg2Oyqn4.js} +5 -5
- package/dist/{subscription-B2CA6LXD.cjs → subscription-Cd-C2FDT.cjs} +1 -1
- package/dist/{subscription-D4heazS1.js → subscription-ts1zCYfh.js} +5 -5
- package/dist/{ticket-FbE64Ih2.js → ticket-KYg6_LAo.js} +5 -5
- package/dist/{ticket-9tbnrHX0.cjs → ticket-STaDp20p.cjs} +1 -1
- package/dist/{top-up-D45914YA.cjs → top-up-ZgLo1nZF.cjs} +1 -1
- package/dist/{top-up-BDG04hQY.js → top-up-dXcEKblL.js} +5 -5
- package/dist/{ui-components-B6WYf8_6.js → ui-components-CpDQ53a4.js} +4 -4
- package/dist/{ui-components-CUItRi8R.cjs → ui-components-s9Q6Wg3R.cjs} +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-C4E-87ir.js → validation-DC8gCoJH.js} +5 -5
- package/dist/{validation-BAXOBuUN.cjs → validation-DLYUReRT.cjs} +1 -1
- package/package.json +1 -1
package/dist/builder.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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
10
|
shopDomain: s,
|
|
11
11
|
shopId: l,
|
|
@@ -17,185 +17,185 @@ const Zt = ({
|
|
|
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
32
|
const { data: i } = await ae();
|
|
33
33
|
g(i);
|
|
34
34
|
};
|
|
35
35
|
I(s), C(l), d && y(d), u && A(u), r(), p(), w();
|
|
36
|
-
}, [s, l, d]), /* @__PURE__ */ t(
|
|
37
|
-
},
|
|
38
|
-
wrapper:
|
|
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:
|
|
63
|
-
ArrowLineUpRight:
|
|
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:
|
|
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
|
+
ArrowLineUpRight: Ut,
|
|
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
94
|
SignOut: at,
|
|
95
|
-
Wallet:
|
|
96
|
-
PaperPlaneRight:
|
|
97
|
-
ChatsTeardrop:
|
|
98
|
-
DotsSixVertical:
|
|
99
|
-
Share:
|
|
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:
|
|
126
|
-
TextAa:
|
|
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:
|
|
122
|
+
TreeStructure: Fe,
|
|
123
|
+
Palette: He,
|
|
124
|
+
Gear: ve,
|
|
125
|
+
PaintBrushBroad: ze,
|
|
126
|
+
TextAa: Ue,
|
|
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
|
-
), no = o.lazy(
|
|
159
|
-
() => import("./index-Cnz2WUHM.js").then((e) => ({ default: e.ErrorPage }))
|
|
156
|
+
const no = o.lazy(
|
|
157
|
+
() => import("./builder-CE6yg5oK.js").then((e) => e.an).then((e) => ({ default: e.BuilderPage }))
|
|
160
158
|
), ro = o.lazy(
|
|
161
|
-
() => import("./index-
|
|
162
|
-
), ao = o.lazy(
|
|
163
|
-
() => import("./validation-C4E-87ir.js").then((e) => ({ default: e.ValidationPage }))
|
|
159
|
+
() => import("./index-Be2NRkjG.js").then((e) => ({ default: e.ErrorPage }))
|
|
164
160
|
), co = o.lazy(
|
|
165
|
-
() => import("./index-
|
|
161
|
+
() => import("./index-DTAlnIyB.js").then((e) => ({ default: e.ActivePage }))
|
|
162
|
+
), ao = o.lazy(
|
|
163
|
+
() => import("./validation-DC8gCoJH.js").then((e) => ({ default: e.ValidationPage }))
|
|
166
164
|
), io = o.lazy(
|
|
167
|
-
() => import("./index-
|
|
168
|
-
), a = o.lazy(
|
|
169
|
-
() => import("./index-BSEVf9MF.js").then((e) => ({ default: e.DynamicErrorPage }))
|
|
165
|
+
() => import("./index-C9ZIjLVQ.js").then((e) => ({ default: e.WrapperPage }))
|
|
170
166
|
), so = o.lazy(
|
|
171
|
-
() => 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 }))
|
|
172
170
|
), lo = o.lazy(
|
|
173
|
-
() => import("./
|
|
171
|
+
() => import("./checkout-B21z1TGE.js").then((e) => ({ default: e.Checkout }))
|
|
174
172
|
), ho = o.lazy(
|
|
175
|
-
() => import("./
|
|
173
|
+
() => import("./charge-B1GrtVWc.js").then((e) => e.a5).then((e) => ({ default: e.ChargePage }))
|
|
176
174
|
), uo = o.lazy(
|
|
177
|
-
() => import("./
|
|
175
|
+
() => import("./ticket-KYg6_LAo.js").then((e) => e.m).then((e) => ({ default: e.TicketItem }))
|
|
178
176
|
), Io = o.lazy(
|
|
179
|
-
() => import("./
|
|
177
|
+
() => import("./subscription-ts1zCYfh.js").then((e) => e.i).then((e) => ({ default: e.Subscription }))
|
|
180
178
|
), mo = o.lazy(
|
|
181
|
-
() => import("./
|
|
179
|
+
() => import("./top-up-dXcEKblL.js").then((e) => ({ default: e.TopUpBalance }))
|
|
182
180
|
), go = o.lazy(
|
|
183
|
-
() => import("./
|
|
184
|
-
),
|
|
185
|
-
() => import("./charge-
|
|
186
|
-
),
|
|
187
|
-
() => import("./
|
|
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
|
-
),
|
|
195
|
-
() => import("./builder-components-
|
|
194
|
+
), U = o.lazy(
|
|
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
200
|
blocks: s,
|
|
201
201
|
settings: l,
|
|
@@ -205,55 +205,55 @@ const oo = o.lazy(
|
|
|
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
229
|
const T = new l().blockSettings;
|
|
230
|
-
|
|
230
|
+
M(T);
|
|
231
231
|
}, []), o.useEffect(() => {
|
|
232
|
-
|
|
232
|
+
oo();
|
|
233
233
|
}, []), o.useLayoutEffect(() => {
|
|
234
|
-
var D;
|
|
234
|
+
var D, L;
|
|
235
235
|
const h = {};
|
|
236
|
-
Object.keys(s).map((
|
|
237
|
-
h[
|
|
238
|
-
}),
|
|
239
|
-
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([
|
|
240
240
|
{
|
|
241
241
|
element: /* @__PURE__ */ t(
|
|
242
|
-
|
|
242
|
+
eo,
|
|
243
243
|
{
|
|
244
244
|
shopDomain: S,
|
|
245
245
|
shopId: P,
|
|
246
|
-
shopPassword:
|
|
246
|
+
shopPassword: G || void 0,
|
|
247
247
|
shopLogo: y,
|
|
248
|
-
children: /* @__PURE__ */ t(
|
|
248
|
+
children: /* @__PURE__ */ t(B, { children: /* @__PURE__ */ t(io, { children: /* @__PURE__ */ t(K, {}) }) })
|
|
249
249
|
}
|
|
250
250
|
),
|
|
251
|
-
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
251
|
+
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(so, {}) }),
|
|
252
252
|
children: [
|
|
253
253
|
{
|
|
254
254
|
path: "/admin/builder/*",
|
|
255
|
-
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
256
|
-
|
|
255
|
+
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(co, { children: /* @__PURE__ */ t(
|
|
256
|
+
no,
|
|
257
257
|
{
|
|
258
258
|
blocks: s,
|
|
259
259
|
settings: l,
|
|
@@ -262,70 +262,70 @@ const oo = o.lazy(
|
|
|
262
262
|
announcement: I
|
|
263
263
|
}
|
|
264
264
|
) }) }),
|
|
265
|
-
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
265
|
+
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ro, {}) })
|
|
266
266
|
},
|
|
267
267
|
...C,
|
|
268
268
|
{
|
|
269
269
|
path: "/checkout",
|
|
270
|
-
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
271
|
-
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, {}) }),
|
|
272
272
|
loader: () => (document.title = "Checkout", !0)
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
path: "/top-up",
|
|
276
|
-
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
277
|
-
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, {}) }),
|
|
278
278
|
loader: () => (document.title = "Top Up Balance", !0)
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
path: "/charges/:id",
|
|
282
|
-
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
283
|
-
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, {}) }),
|
|
284
284
|
loader: () => (document.title = "Charges", !0)
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
path: "/orders/:id/:accessToken?",
|
|
288
|
-
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
289
|
-
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, {}) }),
|
|
290
290
|
loader: () => (document.title = "Orders", !0)
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
path: "/subscriptions/:id/:accessToken?",
|
|
294
|
-
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
295
|
-
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, {}) }),
|
|
296
296
|
loader: () => (document.title = "Subscriptions", !0)
|
|
297
297
|
},
|
|
298
|
-
...(((
|
|
298
|
+
...(((L = r == null ? void 0 : r.info) == null ? void 0 : L.customerAccountSettings) ?? "OPTIONAL") === "DISABLED" ? [] : [
|
|
299
299
|
{
|
|
300
|
-
path:
|
|
301
|
-
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */
|
|
302
|
-
/* @__PURE__ */ t(
|
|
303
|
-
/* @__PURE__ */ t(
|
|
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
304
|
/* @__PURE__ */ t(
|
|
305
305
|
"div",
|
|
306
306
|
{
|
|
307
307
|
style: {
|
|
308
308
|
flex: "1 1 auto"
|
|
309
309
|
},
|
|
310
|
-
children: /* @__PURE__ */ t(
|
|
310
|
+
children: /* @__PURE__ */ t(po, {})
|
|
311
311
|
}
|
|
312
312
|
),
|
|
313
|
-
/* @__PURE__ */ t(
|
|
313
|
+
/* @__PURE__ */ t(E, {})
|
|
314
314
|
] }) }),
|
|
315
|
-
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
316
|
-
loader: () => (document.title =
|
|
315
|
+
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
|
|
316
|
+
loader: () => (document.title = a ? "Account" : "Customer Dashboard", !0)
|
|
317
317
|
}
|
|
318
318
|
],
|
|
319
319
|
{
|
|
320
320
|
path: "/validation",
|
|
321
321
|
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(ao, {}) }),
|
|
322
|
-
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
322
|
+
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
|
|
323
323
|
loader: () => (document.title = "Validation", !0)
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
path: "/ticket/:id/:accessToken",
|
|
327
|
-
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */
|
|
328
|
-
/* @__PURE__ */ t(
|
|
327
|
+
element: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ x("div", { className: b.wrapper, children: [
|
|
328
|
+
/* @__PURE__ */ t(U, {}),
|
|
329
329
|
/* @__PURE__ */ t(
|
|
330
330
|
"div",
|
|
331
331
|
{
|
|
@@ -334,25 +334,25 @@ const oo = o.lazy(
|
|
|
334
334
|
width: "100%",
|
|
335
335
|
height: "100%"
|
|
336
336
|
},
|
|
337
|
-
children: /* @__PURE__ */ t(
|
|
337
|
+
children: /* @__PURE__ */ t(B, { children: /* @__PURE__ */ t(uo, {}) })
|
|
338
338
|
}
|
|
339
339
|
),
|
|
340
|
-
/* @__PURE__ */ t(
|
|
340
|
+
/* @__PURE__ */ t(E, {})
|
|
341
341
|
] }) }),
|
|
342
|
-
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
342
|
+
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) }),
|
|
343
343
|
loader: () => (document.title = "Ticket", !0)
|
|
344
344
|
},
|
|
345
345
|
{
|
|
346
346
|
path: "*",
|
|
347
|
-
element: /* @__PURE__ */ t(
|
|
348
|
-
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
347
|
+
element: /* @__PURE__ */ t(oe, {}),
|
|
348
|
+
errorElement: /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(c, {}) })
|
|
349
349
|
}
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
]);
|
|
353
353
|
A(T);
|
|
354
|
-
}, [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 }) });
|
|
355
355
|
};
|
|
356
356
|
export {
|
|
357
|
-
|
|
357
|
+
Do as App
|
|
358
358
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { j as Ve, M as Ze, r as $e, N as Gt, O as Xt, Q as pn, U as Cs, V as pr, e as Rt, v as De, K as Pe, W as Es, p as cn, f as ee, X as wa, Y as _r, Z as nt, _ as We, J as Ke, $ as Tt, b as b2, u as _2, a as ys, a0 as C2, a1 as E2, a2 as Su, a3 as zi, a4 as y2, a5 as xo, a6 as Ll, a7 as Ts, a8 as Da, a9 as T2 } from "./builder-
|
|
1
|
+
import { j as Ve, M as Ze, r as $e, N as Gt, O as Xt, Q as pn, U as Cs, V as pr, e as Rt, v as De, K as Pe, W as Es, p as cn, f as ee, X as wa, Y as _r, Z as nt, _ as We, J as Ke, $ as Tt, b as b2, u as _2, a as ys, a0 as C2, a1 as E2, a2 as Su, a3 as zi, a4 as y2, a5 as xo, a6 as Ll, a7 as Ts, a8 as Da, a9 as T2 } from "./builder-CE6yg5oK.js";
|
|
2
2
|
import { jsx as c, jsxs as b, Fragment as Ue } from "react/jsx-runtime";
|
|
3
3
|
import * as he from "react";
|
|
4
4
|
import z, { useEffect as xn, forwardRef as Pl, createElement as ct, Component as x2, isValidElement as k2, useState as Ce, useRef as Xn, useMemo as jn } from "react";
|
|
5
|
-
import { I as B, e as At, f as _n, g as te, h as Rl, M as Mt, W as A2, i as Ml, j as Ol, k as Fl, l as Fu, m as ha, R as I2 } from "./ui-components-
|
|
6
|
-
import { F as Bl } from "./builder-components-
|
|
5
|
+
import { I as B, e as At, f as _n, g as te, h as Rl, M as Mt, W as A2, i as Ml, j as Ol, k as Fl, l as Fu, m as ha, R as I2 } from "./ui-components-CpDQ53a4.js";
|
|
6
|
+
import { F as Bl } from "./builder-components-5Z24DJJP.js";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
import { T as Hl } from "./ticket-
|
|
9
|
-
import { O as Ul } from "./order-
|
|
10
|
-
import { S as S2 } from "./subscription-
|
|
8
|
+
import { T as Hl } from "./ticket-KYg6_LAo.js";
|
|
9
|
+
import { O as Ul } from "./order-dg2Oyqn4.js";
|
|
10
|
+
import { S as S2 } from "./subscription-ts1zCYfh.js";
|
|
11
11
|
const N2 = () => typeof document < "u" ? document.documentElement.hasAttribute("translated") || document.documentElement.querySelector(".translated-ltr, .translated-rtl") !== null || // Safari переводчик добавляет мета-тег с name="_translator"
|
|
12
12
|
document.head.querySelector('meta[name="_translator"]') !== null : !1, v2 = ({
|
|
13
13
|
children: e,
|
|
@@ -11124,7 +11124,7 @@ const lb = {
|
|
|
11124
11124
|
h(T), l !== T && y(T);
|
|
11125
11125
|
},
|
|
11126
11126
|
selected: k.name === l,
|
|
11127
|
-
total: n.totalWithDiscount ??
|
|
11127
|
+
total: n.totalWithDiscount ?? n.total,
|
|
11128
11128
|
onSignInClick: r,
|
|
11129
11129
|
reversed: !0,
|
|
11130
11130
|
isAntistock: a
|