@billgangcom/theme-lib 1.121.1 → 1.122.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-BLJW4r2I.js → builder-BDWYOk4o.js} +8 -6
  2. package/dist/{builder-CEuUvIOl.cjs → builder-DOCPzptl.cjs} +10 -10
  3. package/dist/{builder-components-Bxh6HqE7.cjs → builder-components-Bb96v4TW.cjs} +1 -1
  4. package/dist/{builder-components-B5VitaYF.js → builder-components-CvexDBBH.js} +4 -4
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +23 -23
  7. package/dist/{charge-BJBo-Ac6.js → charge-C15xUj35.js} +8671 -8328
  8. package/dist/charge-CJQibcfu.cjs +115 -0
  9. package/dist/{checkout-DJRMAUFt.js → checkout-BrL3RJUF.js} +5 -5
  10. package/dist/{checkout-C0yD2KNO.cjs → checkout-CpzLu5oq.cjs} +1 -1
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +6 -6
  13. package/dist/{index-Cy04C1Ft.cjs → index-BHCz9QsY.cjs} +1 -1
  14. package/dist/{index-DHu9EjiI.js → index-BWWTIm1T.js} +2 -2
  15. package/dist/{index-DOq8Ex8r.cjs → index-Bxaj05Fb.cjs} +1 -1
  16. package/dist/{index-0pbQYR0W.cjs → index-C0e_BhGQ.cjs} +1 -1
  17. package/dist/{index-BVgZHPmL.js → index-CaE8IYfM.js} +1 -1
  18. package/dist/{index-C4RdZsKS.js → index-DNSijKmM.js} +5 -5
  19. package/dist/{index-DznvnZMn.js → index-DOXo55nb.js} +5 -5
  20. package/dist/{index-WUENht00.cjs → index-DYH2kLjz.cjs} +1 -1
  21. package/dist/{index-BYph4R_R.cjs → index-Dcnqy8X3.cjs} +1 -1
  22. package/dist/{index-3ooWNOdm.cjs → index-Duey4obm.cjs} +1 -1
  23. package/dist/{index-DkCtdfUs.js → index-LHU1sHHV.js} +5 -5
  24. package/dist/{index-BwkJb9iY.js → index-foFJrz8D.js} +5 -5
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.es.js +6 -6
  27. package/dist/{order-DjqVEizs.js → order-C-Ur9Jbh.js} +5 -5
  28. package/dist/{order-DImEf9Qd.cjs → order-DNKJ-JsD.cjs} +1 -1
  29. package/dist/src/pages/api/index.d.ts +2 -0
  30. package/dist/src/storefront/api/apiKey.d.ts +2 -0
  31. package/dist/src/storefront/api/index.d.ts +1 -0
  32. package/dist/src/storefront/components/Sidebar/nav-list.d.ts +1 -0
  33. package/dist/src/storefront/constants/routes.d.ts +4 -2
  34. package/dist/src/storefront/store/useCustomerDashboardStore.d.ts +17 -0
  35. package/dist/style.css +1 -1
  36. package/dist/{subscription-DRM99xSt.cjs → subscription-B6uyLDB4.cjs} +1 -1
  37. package/dist/{subscription-Dy4VkIUb.js → subscription-BySRgrl2.js} +5 -5
  38. package/dist/{ticket-DfRwG42e.cjs → ticket-DWQeThhP.cjs} +1 -1
  39. package/dist/{ticket-UF6olQ4f.js → ticket-FYGZ32D-.js} +5 -5
  40. package/dist/{top-up-BrN49_Uk.cjs → top-up-BO5_olGw.cjs} +1 -1
  41. package/dist/{top-up-BifI2B0D.js → top-up-IV8ZjQ3f.js} +5 -5
  42. package/dist/{ui-components-BkVsTiHC.cjs → ui-components-CencTE96.cjs} +1 -1
  43. package/dist/{ui-components-C6LT11Nu.js → ui-components-CiVZSTvC.js} +4 -4
  44. package/dist/ui.cjs.js +1 -1
  45. package/dist/ui.es.js +1 -1
  46. package/dist/{validation-B54ivxep.cjs → validation-2cuCf_Ob.cjs} +1 -1
  47. package/dist/{validation-Cy2VBGwW.js → validation-D7cnZ3qf.js} +5 -5
  48. package/package.json +1 -1
  49. package/dist/charge-C3aekkW0.cjs +0 -109
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),f=require("react"),l=require("./builder-CEuUvIOl.cjs"),k=require("./ui-components-BkVsTiHC.cjs"),ct=require("react-dom");require("./charge-C3aekkW0.cjs");require("./ticket-DfRwG42e.cjs");const Tt=({render:e,block:t})=>e(t),dn=({settings:e,pageContext:t})=>{const{footer:n}=l.useLayersStore(),{settings:s}=l.useSettingsStore(),{pageContext:o}=l.usePagesStore(),{footer:i}=l.useBlocksStore();if(!i||!n)return null;const c=new i;return Object.keys(n).map(a=>{c[a]=n[a]}),c.renderBlock((e==null?void 0:e.blockSettings)||s,t||o)},hn=({settings:e,pageContext:t})=>{const{header:n}=l.useLayersStore(),{settings:s}=l.useSettingsStore(),{pageContext:o}=l.usePagesStore(),{header:i}=l.useBlocksStore();if(!i||!n)return null;const c=new i;return Object.keys(n).map(a=>{c[a]=n[a]}),c.renderBlock((e==null?void 0:e.blockSettings)||s,t||o)},fn=({settings:e,pageContext:t})=>{const{announcement:n}=l.useLayersStore(),{settings:s}=l.useSettingsStore(),{pageContext:o}=l.usePagesStore(),{announcement:i}=l.useBlocksStore();if(!i||!n)return null;const c=new i;return Object.keys(n).map(a=>{c[a]=n[a]}),c.renderBlock(e||s,t||o)},Us=Object.freeze(Object.defineProperty({__proto__:null,RenderAnnouncement:fn,RenderBlock:Tt,RenderFooter:dn,RenderHeader:hn},Symbol.toStringTag,{value:"Module"}));function Vs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.useMemo(()=>s=>{t.forEach(o=>o(s))},t)}const Mt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function qe(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function gn(e){return"nodeType"in e}function J(e){var t,n;return e?qe(e)?e:gn(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function pn(e){const{Document:t}=J(e);return e instanceof t}function ft(e){return qe(e)?!1:e instanceof J(e).HTMLElement}function Qn(e){return e instanceof J(e).SVGElement}function Xe(e){return e?qe(e)?e.document:gn(e)?pn(e)?e:ft(e)||Qn(e)?e.ownerDocument:document:document:document}const be=Mt?f.useLayoutEffect:f.useEffect;function mn(e){const t=f.useRef(e);return be(()=>{t.current=e}),f.useCallback(function(){for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return t.current==null?void 0:t.current(...s)},[])}function Ks(){const e=f.useRef(null),t=f.useCallback((s,o)=>{e.current=setInterval(s,o)},[]),n=f.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function dt(e,t){t===void 0&&(t=[e]);const n=f.useRef(e);return be(()=>{n.current!==e&&(n.current=e)},t),n}function gt(e,t){const n=f.useRef();return f.useMemo(()=>{const s=e(n.current);return n.current=s,s},[...t])}function At(e){const t=mn(e),n=f.useRef(null),s=f.useCallback(o=>{o!==n.current&&(t==null||t(o,n.current)),n.current=o},[]);return[n,s]}function Qt(e){const t=f.useRef();return f.useEffect(()=>{t.current=e},[e]),t.current}let zt={};function pt(e,t){return f.useMemo(()=>{if(t)return t;const n=zt[e]==null?0:zt[e]+1;return zt[e]=n,e+"-"+n},[e,t])}function Zn(e){return function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),o=1;o<n;o++)s[o-1]=arguments[o];return s.reduce((i,c)=>{const a=Object.entries(c);for(const[u,h]of a){const d=i[u];d!=null&&(i[u]=d+e*h)}return i},{...t})}}const Ye=Zn(1),Nt=Zn(-1);function Ys(e){return"clientX"in e&&"clientY"in e}function vn(e){if(!e)return!1;const{KeyboardEvent:t}=J(e.target);return t&&e instanceof t}function Gs(e){if(!e)return!1;const{TouchEvent:t}=J(e.target);return t&&e instanceof t}function Zt(e){if(Gs(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Ys(e)?{x:e.clientX,y:e.clientY}:null}const Ge=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Ge.Translate.toString(e),Ge.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:s}=e;return t+" "+n+"ms "+s}}}),En="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function qs(e){return e.matches(En)?e:e.querySelector(En)}const Xs={display:"none"};function Js(e){let{id:t,value:n}=e;return f.createElement("div",{id:t,style:Xs},n)}function Qs(e){let{id:t,announcement:n,ariaLiveType:s="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return f.createElement("div",{id:t,style:o,role:"status","aria-live":s,"aria-atomic":!0},n)}function Zs(){const[e,t]=f.useState("");return{announce:f.useCallback(s=>{s!=null&&t(s)},[]),announcement:e}}const es=f.createContext(null);function eo(e){const t=f.useContext(es);f.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function to(){const[e]=f.useState(()=>new Set),t=f.useCallback(s=>(e.add(s),()=>e.delete(s)),[e]);return[f.useCallback(s=>{let{type:o,event:i}=s;e.forEach(c=>{var a;return(a=c[o])==null?void 0:a.call(c,i)})},[e]),t]}const no={draggable:`
1
+ "use strict";const r=require("react/jsx-runtime"),f=require("react"),l=require("./builder-DOCPzptl.cjs"),k=require("./ui-components-CencTE96.cjs"),ct=require("react-dom");require("./charge-CJQibcfu.cjs");require("./ticket-DWQeThhP.cjs");const Tt=({render:e,block:t})=>e(t),dn=({settings:e,pageContext:t})=>{const{footer:n}=l.useLayersStore(),{settings:s}=l.useSettingsStore(),{pageContext:o}=l.usePagesStore(),{footer:i}=l.useBlocksStore();if(!i||!n)return null;const c=new i;return Object.keys(n).map(a=>{c[a]=n[a]}),c.renderBlock((e==null?void 0:e.blockSettings)||s,t||o)},hn=({settings:e,pageContext:t})=>{const{header:n}=l.useLayersStore(),{settings:s}=l.useSettingsStore(),{pageContext:o}=l.usePagesStore(),{header:i}=l.useBlocksStore();if(!i||!n)return null;const c=new i;return Object.keys(n).map(a=>{c[a]=n[a]}),c.renderBlock((e==null?void 0:e.blockSettings)||s,t||o)},fn=({settings:e,pageContext:t})=>{const{announcement:n}=l.useLayersStore(),{settings:s}=l.useSettingsStore(),{pageContext:o}=l.usePagesStore(),{announcement:i}=l.useBlocksStore();if(!i||!n)return null;const c=new i;return Object.keys(n).map(a=>{c[a]=n[a]}),c.renderBlock(e||s,t||o)},Us=Object.freeze(Object.defineProperty({__proto__:null,RenderAnnouncement:fn,RenderBlock:Tt,RenderFooter:dn,RenderHeader:hn},Symbol.toStringTag,{value:"Module"}));function Vs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.useMemo(()=>s=>{t.forEach(o=>o(s))},t)}const Mt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function qe(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function gn(e){return"nodeType"in e}function J(e){var t,n;return e?qe(e)?e:gn(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function pn(e){const{Document:t}=J(e);return e instanceof t}function ft(e){return qe(e)?!1:e instanceof J(e).HTMLElement}function Qn(e){return e instanceof J(e).SVGElement}function Xe(e){return e?qe(e)?e.document:gn(e)?pn(e)?e:ft(e)||Qn(e)?e.ownerDocument:document:document:document}const be=Mt?f.useLayoutEffect:f.useEffect;function mn(e){const t=f.useRef(e);return be(()=>{t.current=e}),f.useCallback(function(){for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return t.current==null?void 0:t.current(...s)},[])}function Ks(){const e=f.useRef(null),t=f.useCallback((s,o)=>{e.current=setInterval(s,o)},[]),n=f.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function dt(e,t){t===void 0&&(t=[e]);const n=f.useRef(e);return be(()=>{n.current!==e&&(n.current=e)},t),n}function gt(e,t){const n=f.useRef();return f.useMemo(()=>{const s=e(n.current);return n.current=s,s},[...t])}function At(e){const t=mn(e),n=f.useRef(null),s=f.useCallback(o=>{o!==n.current&&(t==null||t(o,n.current)),n.current=o},[]);return[n,s]}function Qt(e){const t=f.useRef();return f.useEffect(()=>{t.current=e},[e]),t.current}let zt={};function pt(e,t){return f.useMemo(()=>{if(t)return t;const n=zt[e]==null?0:zt[e]+1;return zt[e]=n,e+"-"+n},[e,t])}function Zn(e){return function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),o=1;o<n;o++)s[o-1]=arguments[o];return s.reduce((i,c)=>{const a=Object.entries(c);for(const[u,h]of a){const d=i[u];d!=null&&(i[u]=d+e*h)}return i},{...t})}}const Ye=Zn(1),Nt=Zn(-1);function Ys(e){return"clientX"in e&&"clientY"in e}function vn(e){if(!e)return!1;const{KeyboardEvent:t}=J(e.target);return t&&e instanceof t}function Gs(e){if(!e)return!1;const{TouchEvent:t}=J(e.target);return t&&e instanceof t}function Zt(e){if(Gs(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Ys(e)?{x:e.clientX,y:e.clientY}:null}const Ge=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Ge.Translate.toString(e),Ge.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:s}=e;return t+" "+n+"ms "+s}}}),En="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function qs(e){return e.matches(En)?e:e.querySelector(En)}const Xs={display:"none"};function Js(e){let{id:t,value:n}=e;return f.createElement("div",{id:t,style:Xs},n)}function Qs(e){let{id:t,announcement:n,ariaLiveType:s="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return f.createElement("div",{id:t,style:o,role:"status","aria-live":s,"aria-atomic":!0},n)}function Zs(){const[e,t]=f.useState("");return{announce:f.useCallback(s=>{s!=null&&t(s)},[]),announcement:e}}const es=f.createContext(null);function eo(e){const t=f.useContext(es);f.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function to(){const[e]=f.useState(()=>new Set),t=f.useCallback(s=>(e.add(s),()=>e.delete(s)),[e]);return[f.useCallback(s=>{let{type:o,event:i}=s;e.forEach(c=>{var a;return(a=c[o])==null?void 0:a.call(c,i)})},[e]),t]}const no={draggable:`
2
2
  To pick up a draggable item, press the space bar.
3
3
  While dragging, use the arrow keys to move the item.
4
4
  Press space again to drop the item in its new position, or press escape to cancel.
@@ -1,10 +1,10 @@
1
1
  import { jsxs as y, jsx as c, Fragment as Pe } from "react/jsx-runtime";
2
2
  import A, { useLayoutEffect as Tr, useEffect as U, useRef as V, useMemo as H, useCallback as te, useState as he, memo as Mr, useReducer as Rr, createContext as Lt, useContext as nt } from "react";
3
- import { u as ne, a as qe, b as J, c as se, d as Po, e as Vn, f as B, v as tn, T as mt, g as Or, h as Kn, i as Fe, j as Lo, r as Fo, k as dn, l as Bt, m as X, n as jo, L as ot, o as Gn, p as rt, q as $r, s as Yn, t as tt, w as hn, x as Rt, y as zo, A as Pr, S as Lr, C as Fr, z as ft, B as jr, D as Be, E as Ft, R as _n, F as wn, G as Ho, H as nn, I as ye, P as go, J as zr, K as Hr } from "./builder-BLJW4r2I.js";
4
- import { I as R, u as Wr, B as Xe, E as on, c as ue, S as Ce, d as Tn, T as Ur } from "./ui-components-C6LT11Nu.js";
3
+ import { u as ne, a as qe, b as J, c as se, d as Po, e as Vn, f as B, v as tn, T as mt, g as Or, h as Kn, i as Fe, j as Lo, r as Fo, k as dn, l as Bt, m as X, n as jo, L as ot, o as Gn, p as rt, q as $r, s as Yn, t as tt, w as hn, x as Rt, y as zo, A as Pr, S as Lr, C as Fr, z as ft, B as jr, D as Be, E as Ft, R as _n, F as wn, G as Ho, H as nn, I as ye, P as go, J as zr, K as Hr } from "./builder-BDWYOk4o.js";
4
+ import { I as R, u as Wr, B as Xe, E as on, c as ue, S as Ce, d as Tn, T as Ur } from "./ui-components-CiVZSTvC.js";
5
5
  import { unstable_batchedUpdates as Kt, createPortal as Vr } from "react-dom";
6
- import "./charge-BJBo-Ac6.js";
7
- import "./ticket-UF6olQ4f.js";
6
+ import "./charge-C15xUj35.js";
7
+ import "./ticket-FYGZ32D-.js";
8
8
  const Xn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext: t }) => {
9
9
  const { footer: n } = ne(), { settings: o } = qe(), { pageContext: r } = J(), { footer: s } = se();
10
10
  if (!s || !n) return null;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("./builder-CEuUvIOl.cjs"),m=require("./ticket-DfRwG42e.cjs"),n=require("react"),v=require("./charge-C3aekkW0.cjs"),_=require("./ui-components-BkVsTiHC.cjs"),e=require("@phosphor-icons/react"),Q=({children:r,shopDomain:u,shopId:d,shopPassword:h,shopLogo:g})=>{const{setShopDomain:x,setShopId:P,setShopPassword:y,setShopTerms:p,setShopPrivacyPolicy:a,setShopRefundPolicy:f,setShopLogo:A}=i.useStorefrontStore();return n.useLayoutEffect(()=>{const s=async()=>{const{data:l}=await v.fetchTerms();p(l)},S=async()=>{const{data:l}=await v.fetchPrivacyPolicy();a(l)},T=async()=>{const{data:l}=await v.fetchRefundPolicy();f(l)};x(u),P(d),h&&y(h),g&&A(g),s(),S(),T()},[u,d,h]),t.jsx(t.Fragment,{children:r})},X="_wrapper_1xuz3_18",D={wrapper:X};function J(){_.registerIcons({X:e.XIcon,Plus:e.PlusIcon,Minus:e.MinusIcon,Check:e.CheckIcon,Clock:e.ClockIcon,Info:e.InfoIcon,Copy:e.CopyIcon,Trash:e.TrashIcon,Sliders:e.SlidersIcon,Image:e.ImageIcon,List:e.ListIcon,Handbag:e.HandbagIcon,Bag:e.BagIcon,Eye:e.EyeIcon,Crown:e.CrownIcon,ArrowUp:e.ArrowUpIcon,ArrowDown:e.ArrowDownIcon,Confetti:e.ConfettiIcon,ArrowLeft:e.ArrowLeftIcon,ArrowRight:e.ArrowRightIcon,ArrowLineUpRight:e.ArrowLineUpRightIcon,ArrowUpRight:e.ArrowUpRightIcon,ArrowUUpLeft:e.ArrowUUpLeftIcon,ArrowUUpRight:e.ArrowUUpRightIcon,CaretRight:e.CaretRightIcon,CaretDown:e.CaretDownIcon,CaretUp:e.CaretUpIcon,CaretLeft:e.CaretLeftIcon,MagnifyingGlass:e.MagnifyingGlassIcon,MagnifyingGlassMinus:e.MagnifyingGlassMinusIcon,ArrowLineDown:e.ArrowLineDownIcon,Selection:e.SelectionIcon,CloudArrowUpIcon:e.CloudArrowUpIcon,ArrowsHorizontal:e.ArrowsHorizontalIcon,ArrowsVertical:e.ArrowsVerticalIcon,CheckCircle:e.CheckCircleIcon,XCircle:e.XCircleIcon,Star:e.StarIcon,Fire:e.FireIcon,Lightning:e.LightningIcon,AlignCenterHorizontal:e.AlignCenterHorizontalIcon,File:e.FileIcon,FileText:e.FileTextIcon,BookOpen:e.BookOpenIcon,DownloadSimple:e.DownloadSimpleIcon,DiscordLogo:e.DiscordLogoIcon,TelegramLogo:e.TelegramLogoIcon,SignOut:e.SignOutIcon,Wallet:e.WalletIcon,PaperPlaneRight:e.PaperPlaneRightIcon,ChatsTeardrop:e.ChatsTeardropIcon,DotsSixVertical:e.DotsSixVerticalIcon,Share:e.ShareIcon,Shield:e.ShieldIcon,ShieldCheck:e.ShieldCheckIcon,FileCloud:e.FileCloudIcon,Lock:e.LockIcon,Heart:e.HeartIcon,User:e.UserIcon,Calendar:e.CalendarIcon,Smiley:e.SmileyIcon,Globe:e.GlobeIcon,House:e.HouseIcon,HouseSimple:e.HouseSimpleIcon,CurrencyCircleDollar:e.CurrencyCircleDollarIcon,Medal:e.MedalIcon,CalendarCheck:e.CalendarCheckIcon,Question:e.QuestionIcon,Warning:e.WarningIcon,WarningDiamond:e.WarningDiamondIcon,TreeStructure:e.TreeStructureIcon,Palette:e.PaletteIcon,Gear:e.GearIcon,PaintBrushBroad:e.PaintBrushBroadIcon,TextAa:e.TextAaIcon,TextB:e.TextBIcon,TextH:e.TextHIcon,CornersOut:e.CornersOutIcon,ArrowSquareIn:e.ArrowSquareInIcon,Textbox:e.TextboxIcon,SquaresFour:e.SquaresFourIcon,SealQuestion:e.SealQuestionIcon,ChatCentered:e.ChatCenteredIcon,Ticket:e.TicketIcon,UserCircleGear:e.UserCircleGearIcon,Desktop:e.DesktopIcon,DeviceTabletCamera:e.DeviceTabletCameraIcon,DeviceMobileCamera:e.DeviceMobileCameraIcon,Cards:e.CardsIcon,PushPin:e.PushPinIcon,TextAlignLeft:e.TextAlignLeftIcon,TextAlignRight:e.TextAlignRightIcon,TextAlignCenter:e.TextAlignCenterIcon,AlignLeft:e.AlignLeftIcon,AlignRight:e.AlignRightIcon,AlignTop:e.AlignTopIcon,AlignBottom:e.AlignBottomIcon,TextItalic:e.TextItalicIcon,TextStrikethrough:e.TextStrikethroughIcon,TextUnderline:e.TextUnderlineIcon})}const $=n.lazy(()=>Promise.resolve().then(()=>require("./builder-CEuUvIOl.cjs")).then(r=>r.index).then(r=>({default:r.BuilderPage}))),K=n.lazy(()=>Promise.resolve().then(()=>require("./index-WUENht00.cjs")).then(r=>({default:r.ErrorPage}))),Y=n.lazy(()=>Promise.resolve().then(()=>require("./index-Cy04C1Ft.cjs")).then(r=>({default:r.ActivePage}))),Z=n.lazy(()=>Promise.resolve().then(()=>require("./validation-B54ivxep.cjs")).then(r=>({default:r.ValidationPage}))),ee=n.lazy(()=>Promise.resolve().then(()=>require("./index-0pbQYR0W.cjs")).then(r=>({default:r.WrapperPage}))),te=n.lazy(()=>Promise.resolve().then(()=>require("./index-DOq8Ex8r.cjs")).then(r=>({default:r.RouterErrorPage}))),c=n.lazy(()=>Promise.resolve().then(()=>require("./index-3ooWNOdm.cjs")).then(r=>({default:r.DynamicErrorPage}))),re=n.lazy(()=>Promise.resolve().then(()=>require("./checkout-C0yD2KNO.cjs")).then(r=>({default:r.Checkout}))),ne=n.lazy(()=>Promise.resolve().then(()=>require("./charge-C3aekkW0.cjs")).then(r=>r.index$1).then(r=>({default:r.ChargePage}))),oe=n.lazy(()=>Promise.resolve().then(()=>require("./ticket-DfRwG42e.cjs")).then(r=>r.index).then(r=>({default:r.TicketItem}))),se=n.lazy(()=>Promise.resolve().then(()=>require("./subscription-DRM99xSt.cjs")).then(r=>r.index).then(r=>({default:r.Subscription}))),ce=n.lazy(()=>Promise.resolve().then(()=>require("./top-up-BrN49_Uk.cjs")).then(r=>({default:r.TopUpBalance}))),ie=n.lazy(()=>Promise.resolve().then(()=>require("./order-DImEf9Qd.cjs")).then(r=>r.index).then(r=>({default:r.OrderPage}))),ae=n.lazy(()=>Promise.resolve().then(()=>require("./index-BYph4R_R.cjs")).then(r=>({default:r.TermsPage}))),le=n.lazy(()=>Promise.resolve().then(()=>require("./charge-C3aekkW0.cjs")).then(r=>r.index).then(r=>({default:r.CustomerDashboard}))),U=n.lazy(()=>Promise.resolve().then(()=>require("./charge-C3aekkW0.cjs")).then(r=>r.recapcha).then(r=>({default:r.ReCaptchaProvider}))),ue=()=>null,o=({children:r})=>t.jsx(n.Suspense,{fallback:t.jsx(ue,{}),children:r}),B=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-Bxh6HqE7.cjs")).then(r=>r.index).then(r=>({default:r.RenderAnnouncement}))),L=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-Bxh6HqE7.cjs")).then(r=>r.index).then(r=>({default:r.RenderFooter}))),R=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-Bxh6HqE7.cjs")).then(r=>r.index).then(r=>({default:r.RenderHeader}))),de=r=>{var q;const{blocks:u,settings:d,header:h,footer:g,announcement:x,routes:P=[],shopLogo:y,apiURLs:p,isAntistock:a=!1}=r,[f,A]=n.useState(null),{general:s,setIsAntistock:S}=i.useGeneralStore(),{setApiUrls:T}=i.useApiStore(),l=((q=s==null?void 0:s.info)==null?void 0:q.customerAccountSettings)??"OPTIONAL",z=l==="DISABLED",{setBlocks:H,setSourceBlocks:F,setHeader:O,setFooter:M,setAnnouncement:G,setSettings:W}=i.useBlocksStore(),{themeSettings:C}=i.useThemeSettingsStore(),{settings:w,setSettings:V}=i.useSettingsStore(),j=i.IS_LOCAL_HOST?localStorage.getItem("fakeDomain")||"":window.location.hostname,N=localStorage.getItem("shopPassword"),b=localStorage.getItem("shopId")||"";return n.useEffect(()=>{S(a)},[a,S]),n.useEffect(()=>{!b&&(s!=null&&s.info.id)&&localStorage.setItem("shopId",s==null?void 0:s.info.id)},[s]),n.useEffect(()=>{!j&&!a&&localStorage.setItem("fakeDomain","drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"),!j&&a&&localStorage.setItem("fakeDomain","eva8.astck.io")},[j]),n.useEffect(()=>{if(C&&w){const I=m.generateDynamicStyles(C,w);m.loadCustomFonts(),m.setupDynamicFonts(C),m.injectStylesToDOM(I)}},[C,JSON.stringify(w),window.location.hostname]),n.useEffect(()=>{const k=new d().blockSettings;V(k)},[]),n.useEffect(()=>{J()},[]),n.useLayoutEffect(()=>{const I={};Object.keys(u).map(E=>{I[E]=u[E]}),F(I),H(I),O(h),M(g),G(x),W(d),p&&T(p);const k=i.createBrowserRouter([{element:t.jsx(Q,{shopDomain:j,shopId:b,shopPassword:N||void 0,shopLogo:y,children:t.jsx(U,{children:t.jsx(ee,{children:t.jsx(i.Outlet,{})})})}),errorElement:t.jsx(o,{children:t.jsx(te,{})}),children:[{path:"/admin/builder/*",element:t.jsx(o,{children:t.jsx(Y,{children:t.jsx($,{blocks:u,settings:d,header:h,footer:g,announcement:x})})}),errorElement:t.jsx(o,{children:t.jsx(K,{})})},...P,{path:"/checkout",element:t.jsx(o,{children:t.jsx(re,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Checkout",!0)},{path:"/top-up",element:t.jsx(o,{children:t.jsx(ce,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Top Up Balance",!0)},{path:"/charges/:id",element:t.jsx(o,{children:t.jsx(ne,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Charges",!0)},{path:"/orders/:id/:accessToken?",element:t.jsx(o,{children:t.jsx(ie,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Orders",!0)},{path:"/subscriptions/:id/:accessToken?",element:t.jsx(o,{children:t.jsx(se,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Subscriptions",!0)},...z?[]:[{path:a?"/account":"/customer-dash",element:t.jsx(o,{children:t.jsxs("div",{className:D.wrapper,children:[t.jsx(B,{}),t.jsx(R,{}),t.jsx("div",{style:{flex:"1 1 auto"},children:t.jsx(le,{})}),t.jsx(L,{})]})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title=a?"Account":"Customer Dashboard",!0)}],{path:"/validation",element:t.jsx(o,{children:t.jsx(Z,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Validation",!0)},{path:"/ticket/:id/:accessToken",element:t.jsx(o,{children:t.jsxs("div",{className:D.wrapper,children:[t.jsx(R,{}),t.jsx("div",{style:{flex:1,width:"100%",height:"100%"},children:t.jsx(U,{children:t.jsx(oe,{})})}),t.jsx(L,{})]})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Ticket",!0)},{path:"/terms",element:t.jsx(o,{children:t.jsxs("div",{className:D.wrapper,children:[t.jsx(B,{}),t.jsx(R,{}),t.jsx("div",{style:{flex:1,width:"100%"},children:t.jsx(ae,{})}),t.jsx(L,{})]})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Terms of Service",!0)},{path:"*",element:t.jsx(m.DynamicRouteWrapper,{}),errorElement:t.jsx(o,{children:t.jsx(c,{})})}]}]);A(k)},[s,l]),t.jsx(n.Suspense,{fallback:null,children:f&&t.jsx(i.RouterProvider,{router:f})})};exports.App=de;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("./builder-DOCPzptl.cjs"),m=require("./ticket-DWQeThhP.cjs"),n=require("react"),v=require("./charge-CJQibcfu.cjs"),_=require("./ui-components-CencTE96.cjs"),e=require("@phosphor-icons/react"),Q=({children:r,shopDomain:u,shopId:d,shopPassword:h,shopLogo:g})=>{const{setShopDomain:x,setShopId:P,setShopPassword:y,setShopTerms:p,setShopPrivacyPolicy:a,setShopRefundPolicy:f,setShopLogo:A}=i.useStorefrontStore();return n.useLayoutEffect(()=>{const s=async()=>{const{data:l}=await v.fetchTerms();p(l)},S=async()=>{const{data:l}=await v.fetchPrivacyPolicy();a(l)},T=async()=>{const{data:l}=await v.fetchRefundPolicy();f(l)};x(u),P(d),h&&y(h),g&&A(g),s(),S(),T()},[u,d,h]),t.jsx(t.Fragment,{children:r})},X="_wrapper_1xuz3_18",D={wrapper:X};function J(){_.registerIcons({X:e.XIcon,Plus:e.PlusIcon,Minus:e.MinusIcon,Check:e.CheckIcon,Clock:e.ClockIcon,Info:e.InfoIcon,Copy:e.CopyIcon,Trash:e.TrashIcon,Sliders:e.SlidersIcon,Image:e.ImageIcon,List:e.ListIcon,Handbag:e.HandbagIcon,Bag:e.BagIcon,Eye:e.EyeIcon,Crown:e.CrownIcon,ArrowUp:e.ArrowUpIcon,ArrowDown:e.ArrowDownIcon,Confetti:e.ConfettiIcon,ArrowLeft:e.ArrowLeftIcon,ArrowRight:e.ArrowRightIcon,ArrowLineUpRight:e.ArrowLineUpRightIcon,ArrowUpRight:e.ArrowUpRightIcon,ArrowUUpLeft:e.ArrowUUpLeftIcon,ArrowUUpRight:e.ArrowUUpRightIcon,CaretRight:e.CaretRightIcon,CaretDown:e.CaretDownIcon,CaretUp:e.CaretUpIcon,CaretLeft:e.CaretLeftIcon,MagnifyingGlass:e.MagnifyingGlassIcon,MagnifyingGlassMinus:e.MagnifyingGlassMinusIcon,ArrowLineDown:e.ArrowLineDownIcon,Selection:e.SelectionIcon,CloudArrowUpIcon:e.CloudArrowUpIcon,ArrowsHorizontal:e.ArrowsHorizontalIcon,ArrowsVertical:e.ArrowsVerticalIcon,CheckCircle:e.CheckCircleIcon,XCircle:e.XCircleIcon,Star:e.StarIcon,Fire:e.FireIcon,Lightning:e.LightningIcon,AlignCenterHorizontal:e.AlignCenterHorizontalIcon,File:e.FileIcon,FileText:e.FileTextIcon,BookOpen:e.BookOpenIcon,DownloadSimple:e.DownloadSimpleIcon,DiscordLogo:e.DiscordLogoIcon,TelegramLogo:e.TelegramLogoIcon,SignOut:e.SignOutIcon,Wallet:e.WalletIcon,PaperPlaneRight:e.PaperPlaneRightIcon,ChatsTeardrop:e.ChatsTeardropIcon,DotsSixVertical:e.DotsSixVerticalIcon,Share:e.ShareIcon,Shield:e.ShieldIcon,ShieldCheck:e.ShieldCheckIcon,FileCloud:e.FileCloudIcon,Lock:e.LockIcon,Heart:e.HeartIcon,User:e.UserIcon,Calendar:e.CalendarIcon,Smiley:e.SmileyIcon,Globe:e.GlobeIcon,House:e.HouseIcon,HouseSimple:e.HouseSimpleIcon,CurrencyCircleDollar:e.CurrencyCircleDollarIcon,Medal:e.MedalIcon,CalendarCheck:e.CalendarCheckIcon,Question:e.QuestionIcon,Warning:e.WarningIcon,WarningDiamond:e.WarningDiamondIcon,TreeStructure:e.TreeStructureIcon,Palette:e.PaletteIcon,Gear:e.GearIcon,PaintBrushBroad:e.PaintBrushBroadIcon,TextAa:e.TextAaIcon,TextB:e.TextBIcon,TextH:e.TextHIcon,CornersOut:e.CornersOutIcon,ArrowSquareIn:e.ArrowSquareInIcon,Textbox:e.TextboxIcon,SquaresFour:e.SquaresFourIcon,SealQuestion:e.SealQuestionIcon,ChatCentered:e.ChatCenteredIcon,Ticket:e.TicketIcon,UserCircleGear:e.UserCircleGearIcon,Desktop:e.DesktopIcon,DeviceTabletCamera:e.DeviceTabletCameraIcon,DeviceMobileCamera:e.DeviceMobileCameraIcon,Cards:e.CardsIcon,PushPin:e.PushPinIcon,TextAlignLeft:e.TextAlignLeftIcon,TextAlignRight:e.TextAlignRightIcon,TextAlignCenter:e.TextAlignCenterIcon,AlignLeft:e.AlignLeftIcon,AlignRight:e.AlignRightIcon,AlignTop:e.AlignTopIcon,AlignBottom:e.AlignBottomIcon,TextItalic:e.TextItalicIcon,TextStrikethrough:e.TextStrikethroughIcon,TextUnderline:e.TextUnderlineIcon})}const $=n.lazy(()=>Promise.resolve().then(()=>require("./builder-DOCPzptl.cjs")).then(r=>r.index).then(r=>({default:r.BuilderPage}))),K=n.lazy(()=>Promise.resolve().then(()=>require("./index-DYH2kLjz.cjs")).then(r=>({default:r.ErrorPage}))),Y=n.lazy(()=>Promise.resolve().then(()=>require("./index-BHCz9QsY.cjs")).then(r=>({default:r.ActivePage}))),Z=n.lazy(()=>Promise.resolve().then(()=>require("./validation-2cuCf_Ob.cjs")).then(r=>({default:r.ValidationPage}))),ee=n.lazy(()=>Promise.resolve().then(()=>require("./index-C0e_BhGQ.cjs")).then(r=>({default:r.WrapperPage}))),te=n.lazy(()=>Promise.resolve().then(()=>require("./index-Bxaj05Fb.cjs")).then(r=>({default:r.RouterErrorPage}))),c=n.lazy(()=>Promise.resolve().then(()=>require("./index-Duey4obm.cjs")).then(r=>({default:r.DynamicErrorPage}))),re=n.lazy(()=>Promise.resolve().then(()=>require("./checkout-CpzLu5oq.cjs")).then(r=>({default:r.Checkout}))),ne=n.lazy(()=>Promise.resolve().then(()=>require("./charge-CJQibcfu.cjs")).then(r=>r.index$1).then(r=>({default:r.ChargePage}))),oe=n.lazy(()=>Promise.resolve().then(()=>require("./ticket-DWQeThhP.cjs")).then(r=>r.index).then(r=>({default:r.TicketItem}))),se=n.lazy(()=>Promise.resolve().then(()=>require("./subscription-B6uyLDB4.cjs")).then(r=>r.index).then(r=>({default:r.Subscription}))),ce=n.lazy(()=>Promise.resolve().then(()=>require("./top-up-BO5_olGw.cjs")).then(r=>({default:r.TopUpBalance}))),ie=n.lazy(()=>Promise.resolve().then(()=>require("./order-DNKJ-JsD.cjs")).then(r=>r.index).then(r=>({default:r.OrderPage}))),ae=n.lazy(()=>Promise.resolve().then(()=>require("./index-Dcnqy8X3.cjs")).then(r=>({default:r.TermsPage}))),le=n.lazy(()=>Promise.resolve().then(()=>require("./charge-CJQibcfu.cjs")).then(r=>r.index).then(r=>({default:r.CustomerDashboard}))),U=n.lazy(()=>Promise.resolve().then(()=>require("./charge-CJQibcfu.cjs")).then(r=>r.recapcha).then(r=>({default:r.ReCaptchaProvider}))),ue=()=>null,o=({children:r})=>t.jsx(n.Suspense,{fallback:t.jsx(ue,{}),children:r}),B=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-Bb96v4TW.cjs")).then(r=>r.index).then(r=>({default:r.RenderAnnouncement}))),L=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-Bb96v4TW.cjs")).then(r=>r.index).then(r=>({default:r.RenderFooter}))),R=n.lazy(()=>Promise.resolve().then(()=>require("./builder-components-Bb96v4TW.cjs")).then(r=>r.index).then(r=>({default:r.RenderHeader}))),de=r=>{var q;const{blocks:u,settings:d,header:h,footer:g,announcement:x,routes:P=[],shopLogo:y,apiURLs:p,isAntistock:a=!1}=r,[f,A]=n.useState(null),{general:s,setIsAntistock:S}=i.useGeneralStore(),{setApiUrls:T}=i.useApiStore(),l=((q=s==null?void 0:s.info)==null?void 0:q.customerAccountSettings)??"OPTIONAL",z=l==="DISABLED",{setBlocks:H,setSourceBlocks:F,setHeader:O,setFooter:M,setAnnouncement:G,setSettings:W}=i.useBlocksStore(),{themeSettings:C}=i.useThemeSettingsStore(),{settings:w,setSettings:V}=i.useSettingsStore(),j=i.IS_LOCAL_HOST?localStorage.getItem("fakeDomain")||"":window.location.hostname,N=localStorage.getItem("shopPassword"),b=localStorage.getItem("shopId")||"";return n.useEffect(()=>{S(a)},[a,S]),n.useEffect(()=>{!b&&(s!=null&&s.info.id)&&localStorage.setItem("shopId",s==null?void 0:s.info.id)},[s]),n.useEffect(()=>{!j&&!a&&localStorage.setItem("fakeDomain","drafts-ca18cf24-6659-4015-b1ab-9ebe9fa64e74.bgng.io"),!j&&a&&localStorage.setItem("fakeDomain","eva8.astck.io")},[j]),n.useEffect(()=>{if(C&&w){const I=m.generateDynamicStyles(C,w);m.loadCustomFonts(),m.setupDynamicFonts(C),m.injectStylesToDOM(I)}},[C,JSON.stringify(w),window.location.hostname]),n.useEffect(()=>{const k=new d().blockSettings;V(k)},[]),n.useEffect(()=>{J()},[]),n.useLayoutEffect(()=>{const I={};Object.keys(u).map(E=>{I[E]=u[E]}),F(I),H(I),O(h),M(g),G(x),W(d),p&&T(p);const k=i.createBrowserRouter([{element:t.jsx(Q,{shopDomain:j,shopId:b,shopPassword:N||void 0,shopLogo:y,children:t.jsx(U,{children:t.jsx(ee,{children:t.jsx(i.Outlet,{})})})}),errorElement:t.jsx(o,{children:t.jsx(te,{})}),children:[{path:"/admin/builder/*",element:t.jsx(o,{children:t.jsx(Y,{children:t.jsx($,{blocks:u,settings:d,header:h,footer:g,announcement:x})})}),errorElement:t.jsx(o,{children:t.jsx(K,{})})},...P,{path:"/checkout",element:t.jsx(o,{children:t.jsx(re,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Checkout",!0)},{path:"/top-up",element:t.jsx(o,{children:t.jsx(ce,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Top Up Balance",!0)},{path:"/charges/:id",element:t.jsx(o,{children:t.jsx(ne,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Charges",!0)},{path:"/orders/:id/:accessToken?",element:t.jsx(o,{children:t.jsx(ie,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Orders",!0)},{path:"/subscriptions/:id/:accessToken?",element:t.jsx(o,{children:t.jsx(se,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Subscriptions",!0)},...z?[]:[{path:a?"/account":"/customer-dash",element:t.jsx(o,{children:t.jsxs("div",{className:D.wrapper,children:[t.jsx(B,{}),t.jsx(R,{}),t.jsx("div",{style:{flex:"1 1 auto"},children:t.jsx(le,{})}),t.jsx(L,{})]})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title=a?"Account":"Customer Dashboard",!0)}],{path:"/validation",element:t.jsx(o,{children:t.jsx(Z,{})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Validation",!0)},{path:"/ticket/:id/:accessToken",element:t.jsx(o,{children:t.jsxs("div",{className:D.wrapper,children:[t.jsx(R,{}),t.jsx("div",{style:{flex:1,width:"100%",height:"100%"},children:t.jsx(U,{children:t.jsx(oe,{})})}),t.jsx(L,{})]})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Ticket",!0)},{path:"/terms",element:t.jsx(o,{children:t.jsxs("div",{className:D.wrapper,children:[t.jsx(B,{}),t.jsx(R,{}),t.jsx("div",{style:{flex:1,width:"100%"},children:t.jsx(ae,{})}),t.jsx(L,{})]})}),errorElement:t.jsx(o,{children:t.jsx(c,{})}),loader:()=>(document.title="Terms of Service",!0)},{path:"*",element:t.jsx(m.DynamicRouteWrapper,{}),errorElement:t.jsx(o,{children:t.jsx(c,{})})}]}]);A(k)},[s,l]),t.jsx(n.Suspense,{fallback:null,children:f&&t.jsx(i.RouterProvider,{router:f})})};exports.App=de;
@@ -1,9 +1,9 @@
1
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-BLJW4r2I.js";
3
- import { f as ee, l as te, j as oe, k as ne, D as re } from "./ticket-UF6olQ4f.js";
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-BDWYOk4o.js";
3
+ import { f as ee, l as te, j as oe, k as ne, D as re } from "./ticket-FYGZ32D-.js";
4
4
  import o, { Suspense as ce } from "react";
5
- import { _ as ae, $ as ie, a0 as se } from "./charge-BJBo-Ac6.js";
6
- import { w as le } from "./ui-components-C6LT11Nu.js";
5
+ import { _ as ae, $ as ie, a0 as se } from "./charge-C15xUj35.js";
6
+ import { w as le } from "./ui-components-CiVZSTvC.js";
7
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
8
  const oo = ({
9
9
  children: t,
@@ -154,47 +154,47 @@ function ro() {
154
154
  });
155
155
  }
156
156
  const co = o.lazy(
157
- () => import("./builder-BLJW4r2I.js").then((t) => t.ao).then((t) => ({ default: t.BuilderPage }))
157
+ () => import("./builder-BDWYOk4o.js").then((t) => t.ao).then((t) => ({ default: t.BuilderPage }))
158
158
  ), ao = o.lazy(
159
- () => import("./index-DznvnZMn.js").then((t) => ({ default: t.ErrorPage }))
159
+ () => import("./index-DOXo55nb.js").then((t) => ({ default: t.ErrorPage }))
160
160
  ), io = o.lazy(
161
- () => import("./index-BVgZHPmL.js").then((t) => ({ default: t.ActivePage }))
161
+ () => import("./index-CaE8IYfM.js").then((t) => ({ default: t.ActivePage }))
162
162
  ), so = o.lazy(
163
- () => import("./validation-Cy2VBGwW.js").then((t) => ({ default: t.ValidationPage }))
163
+ () => import("./validation-D7cnZ3qf.js").then((t) => ({ default: t.ValidationPage }))
164
164
  ), lo = o.lazy(
165
- () => import("./index-C4RdZsKS.js").then((t) => ({ default: t.WrapperPage }))
165
+ () => import("./index-DNSijKmM.js").then((t) => ({ default: t.WrapperPage }))
166
166
  ), ho = o.lazy(
167
- () => import("./index-DkCtdfUs.js").then((t) => ({ default: t.RouterErrorPage }))
167
+ () => import("./index-LHU1sHHV.js").then((t) => ({ default: t.RouterErrorPage }))
168
168
  ), c = o.lazy(
169
- () => import("./index-BwkJb9iY.js").then((t) => ({ default: t.DynamicErrorPage }))
169
+ () => import("./index-foFJrz8D.js").then((t) => ({ default: t.DynamicErrorPage }))
170
170
  ), uo = o.lazy(
171
- () => import("./checkout-DJRMAUFt.js").then((t) => ({ default: t.Checkout }))
171
+ () => import("./checkout-BrL3RJUF.js").then((t) => ({ default: t.Checkout }))
172
172
  ), mo = o.lazy(
173
- () => import("./charge-BJBo-Ac6.js").then((t) => t.a8).then((t) => ({ default: t.ChargePage }))
173
+ () => import("./charge-C15xUj35.js").then((t) => t.a8).then((t) => ({ default: t.ChargePage }))
174
174
  ), Io = o.lazy(
175
- () => import("./ticket-UF6olQ4f.js").then((t) => t.m).then((t) => ({ default: t.TicketItem }))
175
+ () => import("./ticket-FYGZ32D-.js").then((t) => t.m).then((t) => ({ default: t.TicketItem }))
176
176
  ), po = o.lazy(
177
- () => import("./subscription-Dy4VkIUb.js").then((t) => t.i).then((t) => ({ default: t.Subscription }))
177
+ () => import("./subscription-BySRgrl2.js").then((t) => t.i).then((t) => ({ default: t.Subscription }))
178
178
  ), go = o.lazy(
179
- () => import("./top-up-BifI2B0D.js").then((t) => ({ default: t.TopUpBalance }))
179
+ () => import("./top-up-IV8ZjQ3f.js").then((t) => ({ default: t.TopUpBalance }))
180
180
  ), fo = o.lazy(
181
- () => import("./order-DjqVEizs.js").then((t) => t.i).then((t) => ({ default: t.OrderPage }))
181
+ () => import("./order-C-Ur9Jbh.js").then((t) => t.i).then((t) => ({ default: t.OrderPage }))
182
182
  ), So = o.lazy(
183
- () => import("./index-DHu9EjiI.js").then((t) => ({ default: t.TermsPage }))
183
+ () => import("./index-BWWTIm1T.js").then((t) => ({ default: t.TermsPage }))
184
184
  ), Co = o.lazy(
185
- () => import("./charge-BJBo-Ac6.js").then((t) => t.a7).then((t) => ({ default: t.CustomerDashboard }))
185
+ () => import("./charge-C15xUj35.js").then((t) => t.a7).then((t) => ({ default: t.CustomerDashboard }))
186
186
  ), B = o.lazy(
187
- () => import("./charge-BJBo-Ac6.js").then((t) => t.a6).then((t) => ({ default: t.ReCaptchaProvider }))
187
+ () => import("./charge-C15xUj35.js").then((t) => t.a6).then((t) => ({ default: t.ReCaptchaProvider }))
188
188
  ), yo = () => null, n = ({ children: t }) => /* @__PURE__ */ e(ce, { fallback: /* @__PURE__ */ e(yo, {}), children: t }), U = o.lazy(
189
- () => import("./builder-components-B5VitaYF.js").then((t) => t.i).then((t) => ({
189
+ () => import("./builder-components-CvexDBBH.js").then((t) => t.i).then((t) => ({
190
190
  default: t.RenderAnnouncement
191
191
  }))
192
192
  ), L = o.lazy(
193
- () => import("./builder-components-B5VitaYF.js").then((t) => t.i).then((t) => ({
193
+ () => import("./builder-components-CvexDBBH.js").then((t) => t.i).then((t) => ({
194
194
  default: t.RenderFooter
195
195
  }))
196
196
  ), R = o.lazy(
197
- () => import("./builder-components-B5VitaYF.js").then((t) => t.i).then((t) => ({
197
+ () => import("./builder-components-CvexDBBH.js").then((t) => t.i).then((t) => ({
198
198
  default: t.RenderHeader
199
199
  }))
200
200
  ), Ro = (t) => {