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