@billgangcom/theme-lib 1.117.0 → 1.117.2

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 (46) hide show
  1. package/dist/{builder-tYS_fx1j.cjs → builder-DS9oBIXt.cjs} +13 -13
  2. package/dist/{builder-VKA664PR.js → builder-DcfIyRTw.js} +1212 -1211
  3. package/dist/builder-components-B7SAxgEM.cjs +5 -0
  4. package/dist/{builder-components-xx5QFYCm.js → builder-components-Dm-kWtxj.js} +1910 -1906
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +212 -164
  7. package/dist/{charge-BTTelVH9.cjs → charge-B9XSDHYf.cjs} +37 -37
  8. package/dist/{charge-BVSghUTp.js → charge-CXy5zGzq.js} +5053 -4963
  9. package/dist/{checkout-Czl0XXKy.cjs → checkout-C4QKsh6P.cjs} +1 -1
  10. package/dist/{checkout-BvZF5GBN.js → checkout-C8pOrYnl.js} +7 -7
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +7 -7
  13. package/dist/{index-EV9sIbPf.cjs → index-AhJGutkd.cjs} +1 -1
  14. package/dist/{index-D9JwIfEP.cjs → index-B60hdPLY.cjs} +1 -1
  15. package/dist/{index-BFAsDjg4.js → index-BPwoye0T.js} +10 -10
  16. package/dist/{index-YoA87E0j.cjs → index-BRTHm-r0.cjs} +1 -1
  17. package/dist/{index-WSIj7mXJ.cjs → index-BtS9bwZU.cjs} +1 -1
  18. package/dist/{index-D-Y2LPyz.js → index-CVXfHRHS.js} +5 -5
  19. package/dist/{index-Cfuai6uk.js → index-CWMP7EHj.js} +1 -1
  20. package/dist/{index-CJ3NwBR_.js → index-CgKO4Rfc.js} +5 -5
  21. package/dist/{index-CQGjV27J.cjs → index-DHDz9Z2M.cjs} +1 -1
  22. package/dist/{index-DlH7nhLu.js → index-DWwyC_5W.js} +5 -5
  23. package/dist/index.cjs.js +1 -1
  24. package/dist/index.es.js +12 -12
  25. package/dist/order-BMAFH2EL.js +277 -0
  26. package/dist/order-VgDnKBla.cjs +1 -0
  27. package/dist/src/storefront/components/index.d.ts +1 -0
  28. package/dist/src/storefront/models/order.d.ts +1 -0
  29. package/dist/style.css +1 -1
  30. package/dist/{subscription-4ntHL0jJ.cjs → subscription-DaibYXfW.cjs} +1 -1
  31. package/dist/{subscription-BxRKKLjT.js → subscription-LF680WJT.js} +7 -7
  32. package/dist/{ticket-ZryFt3Gl.js → ticket-CQD0ZMj2.js} +5 -5
  33. package/dist/{ticket-BMP7CWTV.cjs → ticket-CraKfT7J.cjs} +1 -1
  34. package/dist/{top-up-DR2Qy-73.cjs → top-up-BY8uNtks.cjs} +1 -1
  35. package/dist/{top-up-CkfL0jBe.js → top-up-zL4MfdVN.js} +5 -5
  36. package/dist/ui-components-JBzZAyzL.cjs +1 -0
  37. package/dist/{ui-components-CL3XRzDd.js → ui-components-fiCrAhU8.js} +5 -5
  38. package/dist/ui.cjs.js +1 -1
  39. package/dist/ui.es.js +1 -1
  40. package/dist/{validation-8UtoT5cR.js → validation-Db2Od6AE.js} +11 -11
  41. package/dist/{validation-CZt2YZyc.cjs → validation-lxk5WFtw.cjs} +1 -1
  42. package/package.json +1 -1
  43. package/dist/builder-components-BER5mJmk.cjs +0 -5
  44. package/dist/order-Cxub8VWB.js +0 -356
  45. package/dist/order-D6bEahqA.cjs +0 -1
  46. package/dist/ui-components-Wg6-hSGe.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./builder-tYS_fx1j.cjs"),p=require("./ticket-BMP7CWTV.cjs"),n=require("react"),E=require("./charge-BTTelVH9.cjs"),M=require("./ui-components-Wg6-hSGe.cjs"),r=require("@phosphor-icons/react"),V=({children:t,shopDomain:d,shopId:u,shopPassword:h,shopLogo:g})=>{const{setShopDomain:x,setShopId:C,setShopPassword:k,setShopTerms:f,setShopPrivacyPolicy:l,setShopRefundPolicy:j,setShopLogo:w}=a.useStorefrontStore();return n.useLayoutEffect(()=>{const s=async()=>{const{data:c}=await E.fetchTerms();f(c)},S=async()=>{const{data:c}=await E.fetchPrivacyPolicy();l(c)},v=async()=>{const{data:c}=await E.fetchRefundPolicy();j(c)};x(d),C(u),h&&k(h),g&&w(g),s(),S(),v()},[d,u,h]),e.jsx(e.Fragment,{children:t})},_="_wrapper_1xuz3_18",L={wrapper:_};function X(){M.registerIcons({X:r.X,Plus:r.Plus,Minus:r.Minus,Check:r.Check,Clock:r.Clock,Info:r.Info,Copy:r.Copy,Trash:r.Trash,Sliders:r.Sliders,Image:r.Image,List:r.List,Handbag:r.Handbag,Bag:r.Bag,Eye:r.Eye,Crown:r.Crown,ArrowUp:r.ArrowUp,ArrowLineUpRight:r.ArrowLineUpRight,CaretRight:r.CaretRight,CaretDown:r.CaretDown,MagnifyingGlass:r.MagnifyingGlass,ArrowLineDown:r.ArrowLineDown,CloudArrowUpIcon:r.CloudArrowUpIcon,CheckCircle:r.CheckCircle,XCircle:r.XCircle,Star:r.Star,Fire:r.Fire,Lightning:r.Lightning,FileText:r.FileText,BookOpen:r.BookOpen,DownloadSimple:r.DownloadSimple,DiscordLogo:r.DiscordLogo,TelegramLogo:r.TelegramLogo,SignOut:r.SignOut,Wallet:r.Wallet,PaperPlaneRight:r.PaperPlaneRight,ChatsTeardrop:r.ChatsTeardrop,DotsSixVertical:r.DotsSixVertical,ArrowLeft:r.ArrowLeft,ArrowRight:r.ArrowRight,Heart:r.Heart,User:r.User,Calendar:r.Calendar,House:r.House,CurrencyCircleDollar:r.CurrencyCircleDollar,Medal:r.Medal,CalendarCheck:r.CalendarCheck,Question:r.Question,Shield:r.Shield,ShieldCheck:r.ShieldCheck,FileCloud:r.FileCloud,Warning:r.Warning,WarningDiamond:r.WarningDiamond})}const G=n.lazy(()=>Promise.resolve().then(()=>require("./builder-tYS_fx1j.cjs")).then(t=>t.index).then(t=>({default:t.BuilderPage}))),N=n.lazy(()=>Promise.resolve().then(()=>require("./index-EV9sIbPf.cjs")).then(t=>({default:t.ErrorPage}))),Q=n.lazy(()=>Promise.resolve().then(()=>require("./index-CQGjV27J.cjs")).then(t=>({default:t.ActivePage}))),J=n.lazy(()=>Promise.resolve().then(()=>require("./validation-CZt2YZyc.cjs")).then(t=>({default:t.ValidationPage}))),$=n.lazy(()=>Promise.resolve().then(()=>require("./index-WSIj7mXJ.cjs")).then(t=>({default:t.WrapperPage}))),K=n.lazy(()=>Promise.resolve().then(()=>require("./index-D9JwIfEP.cjs")).then(t=>({default:t.RouterErrorPage}))),i=n.lazy(()=>Promise.resolve().then(()=>require("./index-YoA87E0j.cjs")).then(t=>({default:t.DynamicErrorPage}))),Y=n.lazy(()=>Promise.resolve().then(()=>require("./checkout-Czl0XXKy.cjs")).then(t=>({default:t.Checkout}))),Z=n.lazy(()=>Promise.resolve().then(()=>require("./charge-BTTelVH9.cjs")).then(t=>t.index$1).then(t=>({default:t.ChargePage}))),ee=n.lazy(()=>Promise.resolve().then(()=>require("./ticket-BMP7CWTV.cjs")).then(t=>t.index).then(t=>({default:t.TicketItem}))),te=n.lazy(()=>Promise.resolve().then(()=>require("./subscription-4ntHL0jJ.cjs")).then(t=>t.index).then(t=>({default:t.Subscription}))),re=n.lazy(()=>Promise.resolve().then(()=>require("./top-up-DR2Qy-73.cjs")).then(t=>({default:t.TopUpBalance}))),ne=n.lazy(()=>Promise.resolve().then(()=>require("./order-D6bEahqA.cjs")).then(t=>t.index).then(t=>({default:t.OrderPage}))),oe=n.lazy(()=>Promise.resolve().then(()=>require("./charge-BTTelVH9.cjs")).then(t=>t.index).then(t=>({default:t.CustomerDashboard}))),b=n.lazy(()=>Promise.resolve().then(()=>require("./charge-BTTelVH9.cjs")).then(t=>t.recapcha).then(t=>({default:t.ReCaptchaProvider}))),se=()=>null,o=({children:t})=>e.jsx(n.Suspense,{fallback:e.jsx(se,{}),children:t}),ae=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-BER5mJmk.cjs")).then(t=>t.index).then(t=>({default:t.RenderAnnouncement}))),T=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-BER5mJmk.cjs")).then(t=>t.index).then(t=>({default:t.RenderFooter}))),I=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-BER5mJmk.cjs")).then(t=>t.index).then(t=>({default:t.RenderHeader}))),ie=t=>{const{blocks:d,settings:u,header:h,footer:g,announcement:x,routes:C=[],shopLogo:k,apiURLs:f,isAntistock:l=!1}=t,[j,w]=n.useState(null),{general:s,setIsAntistock:S}=a.useGeneralStore(),{setApiUrls:v}=a.useApiStore(),{setBlocks:c,setSourceBlocks:z,setHeader:B,setFooter:F,setAnnouncement:O,setSettings:U}=a.useBlocksStore(),{themeSettings:y}=a.useThemeSettingsStore(),{settings:D,setSettings:H}=a.useSettingsStore(),P=a.IS_LOCAL_HOST?localStorage.getItem("fakeDomain")||"":window.location.hostname,W=localStorage.getItem("shopPassword"),A=localStorage.getItem("shopId")||"";return n.useEffect(()=>{S(l)},[l,S]),n.useEffect(()=>{!A&&(s!=null&&s.info.id)&&localStorage.setItem("shopId",s==null?void 0:s.info.id)},[s]),n.useEffect(()=>{!P&&!l&&localStorage.setItem("fakeDomain","drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"),!P&&l&&localStorage.setItem("fakeDomain","eva8.astck.io")},[P]),n.useEffect(()=>{if(y&&D){const m=p.generateDynamicStyles(y,D);p.loadCustomFonts(),p.setupDynamicFonts(y),p.injectStylesToDOM(m)}},[y,JSON.stringify(D),window.location.hostname]),n.useEffect(()=>{const R=new u().blockSettings;H(R)},[]),n.useEffect(()=>{X()},[]),n.useLayoutEffect(()=>{const m={};Object.keys(d).map(q=>{m[q]=d[q]}),z(m),c(m),B(h),F(g),O(x),U(u),f&&v(f);const R=a.createBrowserRouter([{element:e.jsx(V,{shopDomain:P,shopId:A,shopPassword:W||void 0,shopLogo:k,children:e.jsx(b,{children:e.jsx($,{children:e.jsx(a.Outlet,{})})})}),errorElement:e.jsx(o,{children:e.jsx(K,{})}),children:[{path:"/admin/builder/*",element:e.jsx(o,{children:e.jsx(Q,{children:e.jsx(G,{blocks:d,settings:u,header:h,footer:g,announcement:x})})}),errorElement:e.jsx(o,{children:e.jsx(N,{})})},...C,{path:"/checkout",element:e.jsx(o,{children:e.jsx(Y,{})}),errorElement:e.jsx(o,{children:e.jsx(i,{})}),loader:()=>(document.title="Checkout",!0)},{path:"/top-up",element:e.jsx(o,{children:e.jsx(re,{})}),errorElement:e.jsx(o,{children:e.jsx(i,{})}),loader:()=>(document.title="Top Up Balance",!0)},{path:"/charges/:id",element:e.jsx(o,{children:e.jsx(Z,{})}),errorElement:e.jsx(o,{children:e.jsx(i,{})}),loader:()=>(document.title="Charges",!0)},{path:"/orders/:id/:accessToken?",element:e.jsx(o,{children:e.jsx(ne,{})}),errorElement:e.jsx(o,{children:e.jsx(i,{})}),loader:()=>(document.title="Orders",!0)},{path:"/subscriptions/:id/:accessToken?",element:e.jsx(o,{children:e.jsx(te,{})}),errorElement:e.jsx(o,{children:e.jsx(i,{})}),loader:()=>(document.title="Subscriptions",!0)},{path:l?"/account":"/customer-dash",element:e.jsx(o,{children:e.jsxs("div",{className:L.wrapper,children:[e.jsx(ae,{}),e.jsx(I,{}),e.jsx("div",{style:{flex:"1 1 auto"},children:e.jsx(oe,{})}),e.jsx(T,{})]})}),errorElement:e.jsx(o,{children:e.jsx(i,{})}),loader:()=>(document.title=l?"Account":"Customer Dashboard",!0)},{path:"/validation",element:e.jsx(o,{children:e.jsx(J,{})}),errorElement:e.jsx(o,{children:e.jsx(i,{})}),loader:()=>(document.title="Validation",!0)},{path:"/ticket/:id/:accessToken",element:e.jsx(o,{children:e.jsxs("div",{className:L.wrapper,children:[e.jsx(I,{}),e.jsx("div",{style:{flex:1,width:"100%",height:"100%"},children:e.jsx(b,{children:e.jsx(ee,{})})}),e.jsx(T,{})]})}),errorElement:e.jsx(o,{children:e.jsx(i,{})}),loader:()=>(document.title="Ticket",!0)},{path:"*",element:e.jsx(p.DynamicRouteWrapper,{}),errorElement:e.jsx(o,{children:e.jsx(i,{})})}]}]);w(R)},[s]),e.jsx(n.Suspense,{fallback:null,children:j&&e.jsx(a.RouterProvider,{router:j})})};exports.App=ie;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("./builder-DS9oBIXt.cjs"),x=require("./ticket-CraKfT7J.cjs"),o=require("react"),D=require("./charge-B9XSDHYf.cjs"),G=require("./ui-components-JBzZAyzL.cjs"),e=require("@phosphor-icons/react"),W=({children:r,shopDomain:u,shopId:h,shopPassword:d,shopLogo:m})=>{const{setShopDomain:p,setShopId:y,setShopPassword:A,setShopTerms:f,setShopPrivacyPolicy:l,setShopRefundPolicy:S,setShopLogo:w}=i.useStorefrontStore();return o.useLayoutEffect(()=>{const s=async()=>{const{data:c}=await D.fetchTerms();f(c)},C=async()=>{const{data:c}=await D.fetchPrivacyPolicy();l(c)},T=async()=>{const{data:c}=await D.fetchRefundPolicy();S(c)};p(u),y(h),d&&A(d),m&&w(m),s(),C(),T()},[u,h,d]),t.jsx(t.Fragment,{children:r})},V="_wrapper_1xuz3_18",b={wrapper:V};function _(){G.registerIcons({X:e.X,Plus:e.Plus,Minus:e.Minus,Check:e.Check,Clock:e.Clock,Info:e.Info,Copy:e.Copy,Trash:e.Trash,Sliders:e.Sliders,Image:e.Image,List:e.List,Handbag:e.Handbag,Bag:e.Bag,Eye:e.Eye,Crown:e.Crown,ArrowUp:e.ArrowUp,ArrowDown:e.ArrowDown,ArrowLeft:e.ArrowLeft,ArrowRight:e.ArrowRight,ArrowLineUpRight:e.ArrowLineUpRight,ArrowUpRight:e.ArrowUpRight,ArrowUUpLeft:e.ArrowUUpLeft,ArrowUUpRight:e.ArrowUUpRight,CaretRight:e.CaretRight,CaretDown:e.CaretDown,CaretUp:e.CaretUp,CaretLeft:e.CaretLeft,MagnifyingGlass:e.MagnifyingGlass,MagnifyingGlassMinus:e.MagnifyingGlassMinus,ArrowLineDown:e.ArrowLineDown,CloudArrowUpIcon:e.CloudArrowUpIcon,ArrowsHorizontal:e.ArrowsHorizontal,ArrowsVertical:e.ArrowsVertical,CheckCircle:e.CheckCircle,XCircle:e.XCircle,Star:e.Star,Fire:e.Fire,Lightning:e.Lightning,File:e.File,FileText:e.FileText,BookOpen:e.BookOpen,DownloadSimple:e.DownloadSimple,DiscordLogo:e.DiscordLogo,TelegramLogo:e.TelegramLogo,SignOut:e.SignOut,Wallet:e.Wallet,PaperPlaneRight:e.PaperPlaneRight,ChatsTeardrop:e.ChatsTeardrop,DotsSixVertical:e.DotsSixVertical,Share:e.Share,Shield:e.Shield,ShieldCheck:e.ShieldCheck,FileCloud:e.FileCloud,Lock:e.Lock,Heart:e.Heart,User:e.User,Calendar:e.Calendar,Smiley:e.Smiley,Globe:e.Globe,House:e.House,HouseSimple:e.HouseSimple,CurrencyCircleDollar:e.CurrencyCircleDollar,Medal:e.Medal,CalendarCheck:e.CalendarCheck,Question:e.Question,Warning:e.Warning,WarningDiamond:e.WarningDiamond,TreeStructure:e.TreeStructure,Palette:e.Palette,Gear:e.Gear,PaintBrushBroad:e.PaintBrushBroad,TextAa:e.TextAa,TextB:e.TextB,TextH:e.TextH,CornersOut:e.CornersOut,ArrowSquareIn:e.ArrowSquareIn,Textbox:e.Textbox,SquaresFour:e.SquaresFour,SealQuestion:e.SealQuestion,ChatCentered:e.ChatCentered,Ticket:e.Ticket,UserCircleGear:e.UserCircleGear,Desktop:e.Desktop,DeviceTabletCamera:e.DeviceTabletCamera,DeviceMobileCamera:e.DeviceMobileCamera,Cards:e.Cards,PushPin:e.PushPin,TextAlignLeft:e.TextAlignLeft,TextAlignRight:e.TextAlignRight,TextAlignCenter:e.TextAlignCenter,AlignLeft:e.AlignLeft,AlignRight:e.AlignRight,AlignTop:e.AlignTop,AlignBottom:e.AlignBottom,TextItalic:e.TextItalic,TextStrikethrough:e.TextStrikethrough,TextUnderline:e.TextUnderline})}const Q=o.lazy(()=>Promise.resolve().then(()=>require("./builder-DS9oBIXt.cjs")).then(r=>r.index).then(r=>({default:r.BuilderPage}))),X=o.lazy(()=>Promise.resolve().then(()=>require("./index-AhJGutkd.cjs")).then(r=>({default:r.ErrorPage}))),N=o.lazy(()=>Promise.resolve().then(()=>require("./index-DHDz9Z2M.cjs")).then(r=>({default:r.ActivePage}))),J=o.lazy(()=>Promise.resolve().then(()=>require("./validation-lxk5WFtw.cjs")).then(r=>({default:r.ValidationPage}))),$=o.lazy(()=>Promise.resolve().then(()=>require("./index-BtS9bwZU.cjs")).then(r=>({default:r.WrapperPage}))),K=o.lazy(()=>Promise.resolve().then(()=>require("./index-B60hdPLY.cjs")).then(r=>({default:r.RouterErrorPage}))),a=o.lazy(()=>Promise.resolve().then(()=>require("./index-BRTHm-r0.cjs")).then(r=>({default:r.DynamicErrorPage}))),Y=o.lazy(()=>Promise.resolve().then(()=>require("./checkout-C4QKsh6P.cjs")).then(r=>({default:r.Checkout}))),Z=o.lazy(()=>Promise.resolve().then(()=>require("./charge-B9XSDHYf.cjs")).then(r=>r.index$1).then(r=>({default:r.ChargePage}))),ee=o.lazy(()=>Promise.resolve().then(()=>require("./ticket-CraKfT7J.cjs")).then(r=>r.index).then(r=>({default:r.TicketItem}))),te=o.lazy(()=>Promise.resolve().then(()=>require("./subscription-DaibYXfW.cjs")).then(r=>r.index).then(r=>({default:r.Subscription}))),re=o.lazy(()=>Promise.resolve().then(()=>require("./top-up-BY8uNtks.cjs")).then(r=>({default:r.TopUpBalance}))),oe=o.lazy(()=>Promise.resolve().then(()=>require("./order-VgDnKBla.cjs")).then(r=>r.index).then(r=>({default:r.OrderPage}))),ne=o.lazy(()=>Promise.resolve().then(()=>require("./charge-B9XSDHYf.cjs")).then(r=>r.index).then(r=>({default:r.CustomerDashboard}))),q=o.lazy(()=>Promise.resolve().then(()=>require("./charge-B9XSDHYf.cjs")).then(r=>r.recapcha).then(r=>({default:r.ReCaptchaProvider}))),se=()=>null,n=({children:r})=>t.jsx(o.Suspense,{fallback:t.jsx(se,{}),children:r}),ie=o.lazy(()=>Promise.resolve().then(()=>require("./builder-components-B7SAxgEM.cjs")).then(r=>r.index).then(r=>({default:r.RenderAnnouncement}))),U=o.lazy(()=>Promise.resolve().then(()=>require("./builder-components-B7SAxgEM.cjs")).then(r=>r.index).then(r=>({default:r.RenderFooter}))),B=o.lazy(()=>Promise.resolve().then(()=>require("./builder-components-B7SAxgEM.cjs")).then(r=>r.index).then(r=>({default:r.RenderHeader}))),ae=r=>{const{blocks:u,settings:h,header:d,footer:m,announcement:p,routes:y=[],shopLogo:A,apiURLs:f,isAntistock:l=!1}=r,[S,w]=o.useState(null),{general:s,setIsAntistock:C}=i.useGeneralStore(),{setApiUrls:T}=i.useApiStore(),{setBlocks:c,setSourceBlocks:E,setHeader:I,setFooter:z,setAnnouncement:F,setSettings:H}=i.useBlocksStore(),{themeSettings:P}=i.useThemeSettingsStore(),{settings:k,setSettings:O}=i.useSettingsStore(),j=i.IS_LOCAL_HOST?localStorage.getItem("fakeDomain")||"":window.location.hostname,M=localStorage.getItem("shopPassword"),R=localStorage.getItem("shopId")||"";return o.useEffect(()=>{C(l)},[l,C]),o.useEffect(()=>{!R&&(s!=null&&s.info.id)&&localStorage.setItem("shopId",s==null?void 0:s.info.id)},[s]),o.useEffect(()=>{!j&&!l&&localStorage.setItem("fakeDomain","drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"),!j&&l&&localStorage.setItem("fakeDomain","eva8.astck.io")},[j]),o.useEffect(()=>{if(P&&k){const g=x.generateDynamicStyles(P,k);x.loadCustomFonts(),x.setupDynamicFonts(P),x.injectStylesToDOM(g)}},[P,JSON.stringify(k),window.location.hostname]),o.useEffect(()=>{const v=new h().blockSettings;O(v)},[]),o.useEffect(()=>{_()},[]),o.useLayoutEffect(()=>{const g={};Object.keys(u).map(L=>{g[L]=u[L]}),E(g),c(g),I(d),z(m),F(p),H(h),f&&T(f);const v=i.createBrowserRouter([{element:t.jsx(W,{shopDomain:j,shopId:R,shopPassword:M||void 0,shopLogo:A,children:t.jsx(q,{children:t.jsx($,{children:t.jsx(i.Outlet,{})})})}),errorElement:t.jsx(n,{children:t.jsx(K,{})}),children:[{path:"/admin/builder/*",element:t.jsx(n,{children:t.jsx(N,{children:t.jsx(Q,{blocks:u,settings:h,header:d,footer:m,announcement:p})})}),errorElement:t.jsx(n,{children:t.jsx(X,{})})},...y,{path:"/checkout",element:t.jsx(n,{children:t.jsx(Y,{})}),errorElement:t.jsx(n,{children:t.jsx(a,{})}),loader:()=>(document.title="Checkout",!0)},{path:"/top-up",element:t.jsx(n,{children:t.jsx(re,{})}),errorElement:t.jsx(n,{children:t.jsx(a,{})}),loader:()=>(document.title="Top Up Balance",!0)},{path:"/charges/:id",element:t.jsx(n,{children:t.jsx(Z,{})}),errorElement:t.jsx(n,{children:t.jsx(a,{})}),loader:()=>(document.title="Charges",!0)},{path:"/orders/:id/:accessToken?",element:t.jsx(n,{children:t.jsx(oe,{})}),errorElement:t.jsx(n,{children:t.jsx(a,{})}),loader:()=>(document.title="Orders",!0)},{path:"/subscriptions/:id/:accessToken?",element:t.jsx(n,{children:t.jsx(te,{})}),errorElement:t.jsx(n,{children:t.jsx(a,{})}),loader:()=>(document.title="Subscriptions",!0)},{path:l?"/account":"/customer-dash",element:t.jsx(n,{children:t.jsxs("div",{className:b.wrapper,children:[t.jsx(ie,{}),t.jsx(B,{}),t.jsx("div",{style:{flex:"1 1 auto"},children:t.jsx(ne,{})}),t.jsx(U,{})]})}),errorElement:t.jsx(n,{children:t.jsx(a,{})}),loader:()=>(document.title=l?"Account":"Customer Dashboard",!0)},{path:"/validation",element:t.jsx(n,{children:t.jsx(J,{})}),errorElement:t.jsx(n,{children:t.jsx(a,{})}),loader:()=>(document.title="Validation",!0)},{path:"/ticket/:id/:accessToken",element:t.jsx(n,{children:t.jsxs("div",{className:b.wrapper,children:[t.jsx(B,{}),t.jsx("div",{style:{flex:1,width:"100%",height:"100%"},children:t.jsx(q,{children:t.jsx(ee,{})})}),t.jsx(U,{})]})}),errorElement:t.jsx(n,{children:t.jsx(a,{})}),loader:()=>(document.title="Ticket",!0)},{path:"*",element:t.jsx(x.DynamicRouteWrapper,{}),errorElement:t.jsx(n,{children:t.jsx(a,{})})}]}]);w(v)},[s]),t.jsx(o.Suspense,{fallback:null,children:S&&t.jsx(i.RouterProvider,{router:S})})};exports.App=ae;
@@ -1,277 +1,325 @@
1
- import { jsx as t, Fragment as _, jsxs as z } from "react/jsx-runtime";
2
- import { M as j, V as W, j as M, c as V, m as N, a as G, K as X, ai as J, aj as K, ak as Q } from "./builder-VKA664PR.js";
3
- import { f as Y, l as Z, j as q, k as $, D as ee } from "./ticket-ZryFt3Gl.js";
1
+ import { jsx as t, Fragment as M, jsxs as E } from "react/jsx-runtime";
2
+ import { N as _, K as j, j as W, c as G, m as V, a as N, M as q, ai as Q, aj as X, ak as J } from "./builder-DcfIyRTw.js";
3
+ import { f as K, l as Z, j as $, k as Y, D as ee } from "./ticket-CQD0ZMj2.js";
4
4
  import r, { Suspense as te } from "react";
5
- import { Y as re, Z as oe, _ as ne } from "./charge-BVSghUTp.js";
6
- import { o as ae } from "./ui-components-CL3XRzDd.js";
7
- import { WarningDiamond as se, Warning as ie, FileCloud as ce, ShieldCheck as le, Shield as de, Question as he, CalendarCheck as ue, Medal as me, CurrencyCircleDollar as pe, House as fe, Calendar as ge, User as ye, Heart as Se, ArrowRight as ke, ArrowLeft as Pe, DotsSixVertical as Ce, ChatsTeardrop as we, PaperPlaneRight as Ee, Wallet as Re, SignOut as De, TelegramLogo as be, DiscordLogo as ze, DownloadSimple as Ae, BookOpen as Te, FileText as Ie, Lightning as Le, Fire as Be, Star as ve, XCircle as Fe, CheckCircle as Oe, CloudArrowUpIcon as Ue, ArrowLineDown as xe, MagnifyingGlass as He, CaretDown as _e, CaretRight as je, ArrowLineUpRight as We, ArrowUp as Me, Crown as Ve, Eye as Ne, Bag as Ge, Handbag as Xe, List as Je, Image as Ke, Sliders as Qe, Trash as Ye, Copy as Ze, Info as qe, Clock as $e, Check as et, Minus as tt, Plus as rt, X as ot } from "@phosphor-icons/react";
8
- const nt = ({
5
+ import { Z as re, _ as oe, $ as ne } from "./charge-CXy5zGzq.js";
6
+ import { o as ae } from "./ui-components-fiCrAhU8.js";
7
+ import { TextUnderline as se, TextStrikethrough as ie, TextItalic as le, AlignBottom as ce, AlignTop as de, AlignRight as he, AlignLeft as ue, TextAlignCenter as me, TextAlignRight as pe, TextAlignLeft as ge, PushPin as fe, Cards as Se, DeviceMobileCamera as ye, DeviceTabletCamera as ke, Desktop as Ce, UserCircleGear as Pe, Ticket as we, ChatCentered as Ae, SealQuestion as Te, SquaresFour as Re, Textbox as De, ArrowSquareIn as Ee, CornersOut as be, TextH as Le, TextB as ze, TextAa as Be, PaintBrushBroad as Ie, Gear as xe, Palette as ve, TreeStructure as Ue, WarningDiamond as Fe, Warning as Oe, Question as He, CalendarCheck as Me, Medal as _e, CurrencyCircleDollar as je, HouseSimple as We, House as Ge, Globe as Ve, Smiley as Ne, Calendar as qe, User as Qe, Heart as Xe, Lock as Je, FileCloud as Ke, ShieldCheck as Ze, Shield as $e, Share as Ye, DotsSixVertical as et, ChatsTeardrop as tt, PaperPlaneRight as rt, Wallet as ot, SignOut as nt, TelegramLogo as at, DiscordLogo as st, DownloadSimple as it, BookOpen as lt, FileText as ct, File as dt, Lightning as ht, Fire as ut, Star as mt, XCircle as pt, CheckCircle as gt, ArrowsVertical as ft, ArrowsHorizontal as St, CloudArrowUpIcon as yt, ArrowLineDown as kt, MagnifyingGlassMinus as Ct, MagnifyingGlass as Pt, CaretLeft as wt, CaretUp as At, CaretDown as Tt, CaretRight as Rt, ArrowUUpRight as Dt, ArrowUUpLeft as Et, ArrowUpRight as bt, ArrowLineUpRight as Lt, ArrowRight as zt, ArrowLeft as Bt, ArrowDown as It, ArrowUp as xt, Crown as vt, Eye as Ut, Bag as Ft, Handbag as Ot, List as Ht, Image as Mt, Sliders as _t, Trash as jt, Copy as Wt, Info as Gt, Clock as Vt, Check as Nt, Minus as qt, Plus as Qt, X as Xt } from "@phosphor-icons/react";
8
+ const Jt = ({
9
9
  children: e,
10
- shopDomain: c,
11
- shopId: l,
10
+ shopDomain: l,
11
+ shopId: c,
12
12
  shopPassword: d,
13
13
  shopLogo: u
14
14
  }) => {
15
15
  const {
16
16
  setShopDomain: m,
17
17
  setShopId: k,
18
- setShopPassword: P,
18
+ setShopPassword: C,
19
19
  setShopTerms: p,
20
20
  setShopPrivacyPolicy: s,
21
- setShopRefundPolicy: f,
22
- setShopLogo: C
23
- } = j();
21
+ setShopRefundPolicy: g,
22
+ setShopLogo: P
23
+ } = _();
24
24
  return r.useLayoutEffect(() => {
25
25
  const n = async () => {
26
26
  const { data: i } = await re();
27
27
  p(i);
28
- }, g = async () => {
28
+ }, f = async () => {
29
29
  const { data: i } = await oe();
30
30
  s(i);
31
31
  }, w = async () => {
32
32
  const { data: i } = await ne();
33
- f(i);
33
+ g(i);
34
34
  };
35
- m(c), k(l), d && P(d), u && C(u), n(), g(), w();
36
- }, [c, l, d]), /* @__PURE__ */ t(_, { children: e });
37
- }, at = "_wrapper_1xuz3_18", A = {
38
- wrapper: at
35
+ m(l), k(c), d && C(d), u && P(u), n(), f(), w();
36
+ }, [l, c, d]), /* @__PURE__ */ t(M, { children: e });
37
+ }, Kt = "_wrapper_1xuz3_18", b = {
38
+ wrapper: Kt
39
39
  };
40
- function st() {
40
+ function Zt() {
41
41
  ae({
42
42
  // Основные UI иконки
43
- X: ot,
44
- Plus: rt,
45
- Minus: tt,
46
- Check: et,
47
- Clock: $e,
48
- Info: qe,
49
- Copy: Ze,
50
- Trash: Ye,
51
- Sliders: Qe,
52
- Image: Ke,
53
- List: Je,
54
- Handbag: Xe,
55
- Bag: Ge,
56
- Eye: Ne,
57
- Crown: Ve,
58
- ArrowUp: Me,
59
- ArrowLineUpRight: We,
60
- CaretRight: je,
61
- CaretDown: _e,
62
- MagnifyingGlass: He,
63
- ArrowLineDown: xe,
64
- CloudArrowUpIcon: Ue,
43
+ X: Xt,
44
+ Plus: Qt,
45
+ Minus: qt,
46
+ Check: Nt,
47
+ Clock: Vt,
48
+ Info: Gt,
49
+ Copy: Wt,
50
+ Trash: jt,
51
+ Sliders: _t,
52
+ Image: Mt,
53
+ List: Ht,
54
+ Handbag: Ot,
55
+ Bag: Ft,
56
+ Eye: Ut,
57
+ Crown: vt,
58
+ ArrowUp: xt,
59
+ ArrowDown: It,
60
+ ArrowLeft: Bt,
61
+ ArrowRight: zt,
62
+ ArrowLineUpRight: Lt,
63
+ ArrowUpRight: bt,
64
+ ArrowUUpLeft: Et,
65
+ ArrowUUpRight: Dt,
66
+ CaretRight: Rt,
67
+ CaretDown: Tt,
68
+ CaretUp: At,
69
+ CaretLeft: wt,
70
+ MagnifyingGlass: Pt,
71
+ MagnifyingGlassMinus: Ct,
72
+ ArrowLineDown: kt,
73
+ CloudArrowUpIcon: yt,
74
+ ArrowsHorizontal: St,
75
+ ArrowsVertical: ft,
65
76
  // Статусы и действия
66
- CheckCircle: Oe,
67
- XCircle: Fe,
68
- Star: ve,
69
- Fire: Be,
70
- Lightning: Le,
77
+ CheckCircle: gt,
78
+ XCircle: pt,
79
+ Star: mt,
80
+ Fire: ut,
81
+ Lightning: ht,
71
82
  // Файлы и документы
72
- FileText: Ie,
73
- BookOpen: Te,
74
- DownloadSimple: Ae,
83
+ File: dt,
84
+ FileText: ct,
85
+ BookOpen: lt,
86
+ DownloadSimple: it,
75
87
  // Социальные сети
76
- DiscordLogo: ze,
77
- TelegramLogo: be,
88
+ DiscordLogo: st,
89
+ TelegramLogo: at,
78
90
  // Навигация и интерфейс
79
- SignOut: De,
80
- Wallet: Re,
81
- PaperPlaneRight: Ee,
82
- ChatsTeardrop: we,
83
- DotsSixVertical: Ce,
84
- ArrowLeft: Pe,
85
- ArrowRight: ke,
91
+ SignOut: nt,
92
+ Wallet: ot,
93
+ PaperPlaneRight: rt,
94
+ ChatsTeardrop: tt,
95
+ DotsSixVertical: et,
96
+ Share: Ye,
97
+ // Безопасность и файлы (для Checkout/Secured)
98
+ Shield: $e,
99
+ ShieldCheck: Ze,
100
+ FileCloud: Ke,
101
+ Lock: Je,
86
102
  // Специальные иконки
87
- Heart: Se,
88
- User: ye,
89
- Calendar: ge,
103
+ Heart: Xe,
104
+ User: Qe,
105
+ Calendar: qe,
106
+ Smiley: Ne,
107
+ Globe: Ve,
90
108
  // Иконки для навигации в сайдбаре
91
- House: fe,
92
- CurrencyCircleDollar: pe,
93
- Medal: me,
94
- CalendarCheck: ue,
95
- Question: he,
96
- // Безопасность и файлы (для Checkout/Secured)
97
- Shield: de,
98
- ShieldCheck: le,
99
- FileCloud: ce,
109
+ House: Ge,
110
+ HouseSimple: We,
111
+ CurrencyCircleDollar: je,
112
+ Medal: _e,
113
+ CalendarCheck: Me,
114
+ Question: He,
100
115
  // Иконки для статусов
101
- Warning: ie,
102
- WarningDiamond: se
116
+ Warning: Oe,
117
+ WarningDiamond: Fe,
118
+ // Иконки для билдера (Builder icons)
119
+ TreeStructure: Ue,
120
+ Palette: ve,
121
+ Gear: xe,
122
+ PaintBrushBroad: Ie,
123
+ TextAa: Be,
124
+ TextB: ze,
125
+ TextH: Le,
126
+ CornersOut: be,
127
+ ArrowSquareIn: Ee,
128
+ Textbox: De,
129
+ SquaresFour: Re,
130
+ SealQuestion: Te,
131
+ ChatCentered: Ae,
132
+ Ticket: we,
133
+ UserCircleGear: Pe,
134
+ Desktop: Ce,
135
+ DeviceTabletCamera: ke,
136
+ DeviceMobileCamera: ye,
137
+ Cards: Se,
138
+ PushPin: fe,
139
+ // Иконки для выравнивания текста и отступов
140
+ TextAlignLeft: ge,
141
+ TextAlignRight: pe,
142
+ TextAlignCenter: me,
143
+ AlignLeft: ue,
144
+ AlignRight: he,
145
+ AlignTop: de,
146
+ AlignBottom: ce,
147
+ // Иконки для форматирования текста
148
+ TextItalic: le,
149
+ TextStrikethrough: ie,
150
+ TextUnderline: se
103
151
  });
104
152
  }
105
- const it = r.lazy(
106
- () => import("./builder-VKA664PR.js").then((e) => e.an).then((e) => ({ default: e.BuilderPage }))
107
- ), ct = r.lazy(
108
- () => import("./index-CJ3NwBR_.js").then((e) => ({ default: e.ErrorPage }))
109
- ), lt = r.lazy(
110
- () => import("./index-Cfuai6uk.js").then((e) => ({ default: e.ActivePage }))
111
- ), dt = r.lazy(
112
- () => import("./validation-8UtoT5cR.js").then((e) => ({ default: e.ValidationPage }))
113
- ), ht = r.lazy(
114
- () => import("./index-BFAsDjg4.js").then((e) => ({ default: e.WrapperPage }))
115
- ), ut = r.lazy(
116
- () => import("./index-D-Y2LPyz.js").then((e) => ({ default: e.RouterErrorPage }))
153
+ const $t = r.lazy(
154
+ () => import("./builder-DcfIyRTw.js").then((e) => e.an).then((e) => ({ default: e.BuilderPage }))
155
+ ), Yt = r.lazy(
156
+ () => import("./index-CgKO4Rfc.js").then((e) => ({ default: e.ErrorPage }))
157
+ ), er = r.lazy(
158
+ () => import("./index-CWMP7EHj.js").then((e) => ({ default: e.ActivePage }))
159
+ ), tr = r.lazy(
160
+ () => import("./validation-Db2Od6AE.js").then((e) => ({ default: e.ValidationPage }))
161
+ ), rr = r.lazy(
162
+ () => import("./index-BPwoye0T.js").then((e) => ({ default: e.WrapperPage }))
163
+ ), or = r.lazy(
164
+ () => import("./index-CVXfHRHS.js").then((e) => ({ default: e.RouterErrorPage }))
117
165
  ), a = r.lazy(
118
- () => import("./index-DlH7nhLu.js").then((e) => ({ default: e.DynamicErrorPage }))
119
- ), mt = r.lazy(
120
- () => import("./checkout-BvZF5GBN.js").then((e) => ({ default: e.Checkout }))
121
- ), pt = r.lazy(
122
- () => import("./charge-BVSghUTp.js").then((e) => e.a3).then((e) => ({ default: e.ChargePage }))
123
- ), ft = r.lazy(
124
- () => import("./ticket-ZryFt3Gl.js").then((e) => e.m).then((e) => ({ default: e.TicketItem }))
125
- ), gt = r.lazy(
126
- () => import("./subscription-BxRKKLjT.js").then((e) => e.i).then((e) => ({ default: e.Subscription }))
127
- ), yt = r.lazy(
128
- () => import("./top-up-CkfL0jBe.js").then((e) => ({ default: e.TopUpBalance }))
129
- ), St = r.lazy(
130
- () => import("./order-Cxub8VWB.js").then((e) => e.i).then((e) => ({ default: e.OrderPage }))
131
- ), kt = r.lazy(
132
- () => import("./charge-BVSghUTp.js").then((e) => e.a2).then((e) => ({ default: e.CustomerDashboard }))
133
- ), T = r.lazy(
134
- () => import("./charge-BVSghUTp.js").then((e) => e.a1).then((e) => ({ default: e.ReCaptchaProvider }))
135
- ), Pt = () => null, o = ({ children: e }) => /* @__PURE__ */ t(te, { fallback: /* @__PURE__ */ t(Pt, {}), children: e }), Ct = r.lazy(
136
- () => import("./builder-components-xx5QFYCm.js").then((e) => e.i).then((e) => ({
166
+ () => import("./index-DWwyC_5W.js").then((e) => ({ default: e.DynamicErrorPage }))
167
+ ), nr = r.lazy(
168
+ () => import("./checkout-C8pOrYnl.js").then((e) => ({ default: e.Checkout }))
169
+ ), ar = r.lazy(
170
+ () => import("./charge-CXy5zGzq.js").then((e) => e.a4).then((e) => ({ default: e.ChargePage }))
171
+ ), sr = r.lazy(
172
+ () => import("./ticket-CQD0ZMj2.js").then((e) => e.m).then((e) => ({ default: e.TicketItem }))
173
+ ), ir = r.lazy(
174
+ () => import("./subscription-LF680WJT.js").then((e) => e.i).then((e) => ({ default: e.Subscription }))
175
+ ), lr = r.lazy(
176
+ () => import("./top-up-zL4MfdVN.js").then((e) => ({ default: e.TopUpBalance }))
177
+ ), cr = r.lazy(
178
+ () => import("./order-BMAFH2EL.js").then((e) => e.i).then((e) => ({ default: e.OrderPage }))
179
+ ), dr = r.lazy(
180
+ () => import("./charge-CXy5zGzq.js").then((e) => e.a3).then((e) => ({ default: e.CustomerDashboard }))
181
+ ), L = r.lazy(
182
+ () => import("./charge-CXy5zGzq.js").then((e) => e.a2).then((e) => ({ default: e.ReCaptchaProvider }))
183
+ ), hr = () => null, o = ({ children: e }) => /* @__PURE__ */ t(te, { fallback: /* @__PURE__ */ t(hr, {}), children: e }), ur = r.lazy(
184
+ () => import("./builder-components-Dm-kWtxj.js").then((e) => e.i).then((e) => ({
137
185
  default: e.RenderAnnouncement
138
186
  }))
139
- ), I = r.lazy(
140
- () => import("./builder-components-xx5QFYCm.js").then((e) => e.i).then((e) => ({
187
+ ), z = r.lazy(
188
+ () => import("./builder-components-Dm-kWtxj.js").then((e) => e.i).then((e) => ({
141
189
  default: e.RenderFooter
142
190
  }))
143
- ), L = r.lazy(
144
- () => import("./builder-components-xx5QFYCm.js").then((e) => e.i).then((e) => ({
191
+ ), B = r.lazy(
192
+ () => import("./builder-components-Dm-kWtxj.js").then((e) => e.i).then((e) => ({
145
193
  default: e.RenderHeader
146
194
  }))
147
- ), Tt = (e) => {
195
+ ), Cr = (e) => {
148
196
  const {
149
- blocks: c,
150
- settings: l,
197
+ blocks: l,
198
+ settings: c,
151
199
  header: d,
152
200
  footer: u,
153
201
  announcement: m,
154
202
  routes: k = [],
155
- shopLogo: P,
203
+ shopLogo: C,
156
204
  apiURLs: p,
157
205
  isAntistock: s = !1
158
- } = e, [f, C] = r.useState(null), { general: n, setIsAntistock: g } = W(), { setApiUrls: w } = M(), {
206
+ } = e, [g, P] = r.useState(null), { general: n, setIsAntistock: f } = j(), { setApiUrls: w } = W(), {
159
207
  setBlocks: i,
160
- setSourceBlocks: B,
161
- setHeader: v,
162
- setFooter: F,
163
- setAnnouncement: O,
164
- setSettings: U
165
- } = V(), { themeSettings: y } = N(), { settings: E, setSettings: x } = G(), S = X ? localStorage.getItem("fakeDomain") || "" : window.location.hostname, H = localStorage.getItem("shopPassword"), D = localStorage.getItem("shopId") || "";
208
+ setSourceBlocks: I,
209
+ setHeader: x,
210
+ setFooter: v,
211
+ setAnnouncement: U,
212
+ setSettings: F
213
+ } = G(), { themeSettings: S } = V(), { settings: A, setSettings: O } = N(), y = q ? localStorage.getItem("fakeDomain") || "" : window.location.hostname, H = localStorage.getItem("shopPassword"), R = localStorage.getItem("shopId") || "";
166
214
  return r.useEffect(() => {
167
- g(s);
168
- }, [s, g]), r.useEffect(() => {
169
- !D && (n != null && n.info.id) && localStorage.setItem("shopId", n == null ? void 0 : n.info.id);
215
+ f(s);
216
+ }, [s, f]), r.useEffect(() => {
217
+ !R && (n != null && n.info.id) && localStorage.setItem("shopId", n == null ? void 0 : n.info.id);
170
218
  }, [n]), r.useEffect(() => {
171
- !S && !s && localStorage.setItem("fakeDomain", "drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"), !S && s && localStorage.setItem("fakeDomain", "eva8.astck.io");
172
- }, [S]), r.useEffect(() => {
173
- if (y && E) {
174
- const h = Y(y, E);
175
- Z(), q(y), $(h);
219
+ !y && !s && localStorage.setItem("fakeDomain", "drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"), !y && s && localStorage.setItem("fakeDomain", "eva8.astck.io");
220
+ }, [y]), r.useEffect(() => {
221
+ if (S && A) {
222
+ const h = K(S, A);
223
+ Z(), $(S), Y(h);
176
224
  }
177
- }, [y, JSON.stringify(E), window.location.hostname]), r.useEffect(() => {
178
- const R = new l().blockSettings;
179
- x(R);
225
+ }, [S, JSON.stringify(A), window.location.hostname]), r.useEffect(() => {
226
+ const T = new c().blockSettings;
227
+ O(T);
180
228
  }, []), r.useEffect(() => {
181
- st();
229
+ Zt();
182
230
  }, []), r.useLayoutEffect(() => {
183
231
  const h = {};
184
- Object.keys(c).map((b) => {
185
- h[b] = c[b];
186
- }), B(h), i(h), v(d), F(u), O(m), U(l), p && w(p);
187
- const R = J([
232
+ Object.keys(l).map((D) => {
233
+ h[D] = l[D];
234
+ }), I(h), i(h), x(d), v(u), U(m), F(c), p && w(p);
235
+ const T = Q([
188
236
  {
189
237
  element: /* @__PURE__ */ t(
190
- nt,
238
+ Jt,
191
239
  {
192
- shopDomain: S,
193
- shopId: D,
240
+ shopDomain: y,
241
+ shopId: R,
194
242
  shopPassword: H || void 0,
195
- shopLogo: P,
196
- children: /* @__PURE__ */ t(T, { children: /* @__PURE__ */ t(ht, { children: /* @__PURE__ */ t(K, {}) }) })
243
+ shopLogo: C,
244
+ children: /* @__PURE__ */ t(L, { children: /* @__PURE__ */ t(rr, { children: /* @__PURE__ */ t(X, {}) }) })
197
245
  }
198
246
  ),
199
- errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(ut, {}) }),
247
+ errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(or, {}) }),
200
248
  children: [
201
249
  {
202
250
  path: "/admin/builder/*",
203
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(lt, { children: /* @__PURE__ */ t(
204
- it,
251
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(er, { children: /* @__PURE__ */ t(
252
+ $t,
205
253
  {
206
- blocks: c,
207
- settings: l,
254
+ blocks: l,
255
+ settings: c,
208
256
  header: d,
209
257
  footer: u,
210
258
  announcement: m
211
259
  }
212
260
  ) }) }),
213
- errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(ct, {}) })
261
+ errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(Yt, {}) })
214
262
  },
215
263
  ...k,
216
264
  {
217
265
  path: "/checkout",
218
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(mt, {}) }),
266
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(nr, {}) }),
219
267
  errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(a, {}) }),
220
268
  loader: () => (document.title = "Checkout", !0)
221
269
  },
222
270
  {
223
271
  path: "/top-up",
224
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(yt, {}) }),
272
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(lr, {}) }),
225
273
  errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(a, {}) }),
226
274
  loader: () => (document.title = "Top Up Balance", !0)
227
275
  },
228
276
  {
229
277
  path: "/charges/:id",
230
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(pt, {}) }),
278
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(ar, {}) }),
231
279
  errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(a, {}) }),
232
280
  loader: () => (document.title = "Charges", !0)
233
281
  },
234
282
  {
235
283
  path: "/orders/:id/:accessToken?",
236
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(St, {}) }),
284
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(cr, {}) }),
237
285
  errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(a, {}) }),
238
286
  loader: () => (document.title = "Orders", !0)
239
287
  },
240
288
  {
241
289
  path: "/subscriptions/:id/:accessToken?",
242
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(gt, {}) }),
290
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(ir, {}) }),
243
291
  errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(a, {}) }),
244
292
  loader: () => (document.title = "Subscriptions", !0)
245
293
  },
246
294
  {
247
295
  path: s ? "/account" : "/customer-dash",
248
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ z("div", { className: A.wrapper, children: [
249
- /* @__PURE__ */ t(Ct, {}),
250
- /* @__PURE__ */ t(L, {}),
296
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ E("div", { className: b.wrapper, children: [
297
+ /* @__PURE__ */ t(ur, {}),
298
+ /* @__PURE__ */ t(B, {}),
251
299
  /* @__PURE__ */ t(
252
300
  "div",
253
301
  {
254
302
  style: {
255
303
  flex: "1 1 auto"
256
304
  },
257
- children: /* @__PURE__ */ t(kt, {})
305
+ children: /* @__PURE__ */ t(dr, {})
258
306
  }
259
307
  ),
260
- /* @__PURE__ */ t(I, {})
308
+ /* @__PURE__ */ t(z, {})
261
309
  ] }) }),
262
310
  errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(a, {}) }),
263
311
  loader: () => (document.title = s ? "Account" : "Customer Dashboard", !0)
264
312
  },
265
313
  {
266
314
  path: "/validation",
267
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(dt, {}) }),
315
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(tr, {}) }),
268
316
  errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(a, {}) }),
269
317
  loader: () => (document.title = "Validation", !0)
270
318
  },
271
319
  {
272
320
  path: "/ticket/:id/:accessToken",
273
- element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ z("div", { className: A.wrapper, children: [
274
- /* @__PURE__ */ t(L, {}),
321
+ element: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ E("div", { className: b.wrapper, children: [
322
+ /* @__PURE__ */ t(B, {}),
275
323
  /* @__PURE__ */ t(
276
324
  "div",
277
325
  {
@@ -280,10 +328,10 @@ const it = r.lazy(
280
328
  width: "100%",
281
329
  height: "100%"
282
330
  },
283
- children: /* @__PURE__ */ t(T, { children: /* @__PURE__ */ t(ft, {}) })
331
+ children: /* @__PURE__ */ t(L, { children: /* @__PURE__ */ t(sr, {}) })
284
332
  }
285
333
  ),
286
- /* @__PURE__ */ t(I, {})
334
+ /* @__PURE__ */ t(z, {})
287
335
  ] }) }),
288
336
  errorElement: /* @__PURE__ */ t(o, { children: /* @__PURE__ */ t(a, {}) }),
289
337
  loader: () => (document.title = "Ticket", !0)
@@ -296,9 +344,9 @@ const it = r.lazy(
296
344
  ]
297
345
  }
298
346
  ]);
299
- C(R);
300
- }, [n]), /* @__PURE__ */ t(r.Suspense, { fallback: null, children: f && /* @__PURE__ */ t(Q, { router: f }) });
347
+ P(T);
348
+ }, [n]), /* @__PURE__ */ t(r.Suspense, { fallback: null, children: g && /* @__PURE__ */ t(J, { router: g }) });
301
349
  };
302
350
  export {
303
- Tt as App
351
+ Cr as App
304
352
  };