mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-08 18:56:14 +00:00
2 lines
31 KiB
JavaScript
2 lines
31 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/install--ml7T_af.js","assets/messages-CIE1P6Ia.js","assets/form-B9Poq24q.js","assets/button-DPKsOYfN.js","assets/label-Cgr1NfbY.js","assets/dist-BI6lFb8A.js","assets/zod-C229OmQR.js","assets/popover-eIhQy9__.js","assets/dist-CZ7rtMKA.js","assets/dist-zZsAOs5t.js","assets/dist-B9YK1cRx.js","assets/dist-DK8eACcB.js","assets/dist-BH4FUpAP.js","assets/es2015-BDFx2a2p.js","assets/dist-C-qJ9rUm.js","assets/auth-store-BeA1erEm.js","assets/dist-B1rrci-H.js","assets/with-selector-BK6E76Je.js","assets/cookies-C6BqVyqT.js","assets/link-Do_O4b4J.js","assets/ClientOnly-CEDaVo0i.js","assets/useStore-ai9dzYBp.js","assets/useRouter-CL3quaq7.js","assets/command-DI0ZDeCT.js","assets/dist-CUwdI9Tv.js","assets/createLucideIcon-BXOf0WMH.js","assets/x-tS4qX1rL.js","assets/copy-to-clipboard-CvHNuxB8.js","assets/check-DEsrGU9-.js","assets/chevron-down-DI7bcriW.js","assets/eye-off-hWc6Axlo.js","assets/eye-BgoVlOgl.js","assets/theme-switch-B7fw7FPo.js","assets/dropdown-menu-FG6X2wl2.js","assets/dist-DPTyN5ZI.js","assets/dist-Cxq3h89h.js","assets/useNavigate-C5YEhTcX.js","assets/sun-Fu6_fO-I.js","assets/theme-provider-DnDcqfvA.js","assets/loader-circle-CAWAMWy3.js","assets/shield-check-BugnmKO8.js","assets/triangle-alert-egU1X4up.js","assets/logo-BRWnCy_j.js","assets/badge-D9XQKFh1.js","assets/card-CU1PEkHT.js","assets/input-nQtdqwWU.js","assets/route-DyCmdnK-.js","assets/Match-BiUjabdf.js","assets/matchContext-SBet5blV.js","assets/redirect-dE0wk0WH.js","assets/checkout-model-CxAw66kk.js","assets/route-DRT5hoqP.js","assets/search-provider-DchV6D_p.js","assets/dist-BOyWZkOA.js","assets/confirm-dialog-DPWBpav5.js","assets/dist-DjrTvOz8.js","assets/dist-_6-FE520.js","assets/separator-Bz_yZHgG.js","assets/tooltip-BNFXRYy7.js","assets/dist-D6-bRo--.js","assets/skeleton-C-PibTxy.js","assets/wallet-vbRRIceN.js","assets/font-provider-TnXqBJPc.js","assets/Matches-b4CK_Hib.js","assets/atom-DI1Bn-1s.js","assets/chevrons-up-down-gFxHzjhz.js","assets/route-TX-sbZFJ.js","assets/auth-animation-context-CclR-rb-.js","assets/dashboard-ENNGVPJm.js","assets/data-table-C0LADkf1.js","assets/select-enFb_iQj.js","assets/empty-state-QKVYvBvL.js","assets/clock-3-CG7nK5sv.js","assets/main-D8OPooIo.js","assets/header-DVwumvGY.js","assets/page-header-B0EfQUvW.js","assets/503-BOfcSfVR.js","assets/maintenance-error-CV0HxTkm.js","assets/500-By6ceH65.js","assets/general-error-_bJc_DOu.js","assets/404-DmWQ1ykX.js","assets/not-found-error-AwhoAjmy.js","assets/403-BVpBgFtB.js","assets/forbidden-BTlzw0ab.js","assets/401-B1y7LwVO.js","assets/unauthorized-error-NzfN6z7p.js","assets/sign-in-BN_8-7HN.js","assets/useSearch-hUhhQrpr.js","assets/password-input-dzYFDIJy.js","assets/route-ClZJKPdM.js","assets/sidebar-nav-ukcfL1Ta.js","assets/useRouterState-DmgQ9rA_.js","assets/route-CLxBxAvE.js","assets/route-DeAekczD.js","assets/settings-CK1Oetj4.js","assets/lib-BLhsjQzA.js","assets/rpc-C-4mMcNG.js","assets/checkbox-cAKSRi7j.js","assets/switch-CvnIRuiD.js","assets/route-C4XEM2Zs.js","assets/arrow-left-D3A52CCl.js","assets/ellipsis-CF_K8VFn.js","assets/chains-store-Cd0uXBXz.js","assets/trash-2-Bi_MhB44.js","assets/coming-soon-dialog-0ZlUbG5T.js","assets/telescope-D92hDIzM.js","assets/long-text-pZwWsH6w.js","assets/use-table-url-state-BGiHMi-Q.js","assets/payment-setup-Btx3fhVH.js","assets/orders-CLD_ReRH.js","assets/download-TmjIFd4d.js","assets/keys-DzbEQL2S.js","assets/textarea--zLcz5On.js","assets/help-DpxzNjLm.js","assets/chains-CediDuAP.js","assets/addresses-CJgmgI49.js","assets/telegram-BMNHg_Po.js","assets/pay-CHGr19NQ.js","assets/okpay-DO-JyY-D.js","assets/notifications-DZP0gf44.js","assets/radio-group-mxeTRMb0.js","assets/show-submitted-data-BPLY5RKA.js","assets/epay-DOouuKG8.js","assets/display-DRl4nw6w.js","assets/appearance-DALMpZ0N.js","assets/integrations-CCzl-ro9.js","assets/password-D-8Ldzwe.js"])))=>i.map(i=>d[i]);
|
|
import{at as e,ct as t,dt as n,it as r,lt as i,nf as a,of as o,ot as s,rf as c,rt as l,st as u,ut as d}from"./messages-CIE1P6Ia.js";import{C as f,D as p,E as m,O as h,S as g,T as _,_ as v,b as y,g as b,h as x,k as S,m as C,t as w,v as T,w as E,x as D,y as O}from"./auth-store-BeA1erEm.js";import{n as k}from"./redirect-dE0wk0WH.js";import{n as ee,o as te}from"./Match-BiUjabdf.js";import{t as ne}from"./route-C4XEM2Zs.js";import{n as A,t as re}from"./atom-DI1Bn-1s.js";import{n as j,r as M,t as N}from"./preload-helper-qVCMknma.js";import{t as ie}from"./useRouterState-DmgQ9rA_.js";import{n as P,t as ae}from"./wallet-vbRRIceN.js";import{t as F}from"./createLucideIcon-BXOf0WMH.js";import{t as oe}from"./clock-3-CG7nK5sv.js";import{t as se}from"./loader-circle-CAWAMWy3.js";import{t as ce}from"./triangle-alert-egU1X4up.js";import{t as le}from"./dist-B1rrci-H.js";import{t as ue}from"./general-error-_bJc_DOu.js";import{t as de}from"./not-found-error-AwhoAjmy.js";import{c as fe,s as pe,t as I}from"./zod-C229OmQR.js";import{t as me}from"./_trade_id-9GXKGlUa.js";import{t as he}from"./_error-DAY2QxwE.js";var ge=class extends S{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new C({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=L(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=L(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=L(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=L(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){T.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>g(t,e))}findAll(e={}){return this.getAll().filter(t=>g(e,t))}notify(e){T.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return T.batch(()=>Promise.all(e.map(e=>e.continue().catch(E))))}};function L(e){return e.options.scope?.id}var _e=class extends S{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??D(r,t),a=this.get(i);return a||(a=new b({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){T.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>f(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>f(e,t)):t}notify(e){T.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){T.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){T.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ve=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new _e,this.#t=e.mutationCache||new ge,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=h.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=v.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(m(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=O(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return T.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;T.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return T.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=T.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(E).catch(E)}invalidateQueries(e,t={}){return T.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=T.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(E)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(E)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(m(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(E).catch(E)}fetchInfiniteQuery(e){return e.behavior=x(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(E).catch(E)}ensureInfiniteQueryData(e){return e.behavior=x(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return v.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(y(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{_(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(y(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{_(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=D(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===p&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},ye=e=>({createMutableStore:A,createReadonlyStore:A,batch:re}),be=e=>new xe(e),xe=class extends te{constructor(e){super(e,ye)}},R=o(c(),1),Se=()=>{};function Ce(e,t,n){let r=(0,R.useRef)(Se);(0,R.useEffect)(()=>{r.current=e}),(0,R.useEffect)(()=>{},[n]),(0,R.useEffect)(()=>{if(t===null||t===!1)return;let e=setInterval(()=>r.current(),t);return()=>clearInterval(e)},[t])}function z(e,t){return Math.random()*(t-e+1)+e}function B(e,t){return Math.floor(z(e,t))}var we=(0,R.forwardRef)(({progress:e,height:t=2,className:n=``,color:r=`red`,background:i=`transparent`,onLoaderFinished:a,transitionTime:o=300,loaderSpeed:s=500,waitingTime:c=1e3,shadow:l=!0,containerStyle:u={},style:d={},shadowStyle:f={},containerClassName:p=``},m)=>{let h=(0,R.useRef)(!1),[g,_]=(0,R.useState)(0),v=(0,R.useRef)({active:!1,refreshRate:1e3}),[y,b]=(0,R.useState)({active:!1,value:60}),x={height:`100%`,background:r,transition:`all ${s}ms ease`,width:`0%`},S={position:`fixed`,top:0,left:0,height:t,background:i,zIndex:99999999999,width:`100%`},C={boxShadow:`0 0 10px ${r}, 0 0 10px ${r}`,width:`5%`,opacity:1,position:`absolute`,height:`100%`,transition:`all ${s}ms ease`,transform:`rotate(2deg) translate(0px, -2px)`,left:`-10rem`},[w,T]=(0,R.useState)(x),[E,D]=(0,R.useState)(C);(0,R.useEffect)(()=>(h.current=!0,()=>{h.current=!1}),[]),(0,R.useImperativeHandle)(m,()=>({continuousStart(t,n=1e3){if(y.active)return;if(e!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!`);return}let r=t||B(10,20);v.current={active:!0,refreshRate:n},_(r),O(r)},staticStart(t){if(v.current.active)return;if(e!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!`);return}let n=t||B(30,60);b({active:!0,value:n}),_(n),O(n)},start(t=`continuous`,n,r){if(e!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!`);return}t===`continuous`?v.current={active:!0,refreshRate:r||1e3}:b({active:!0,value:n||20});let i=B(10,20),a=B(30,70),o=n||(t===`continuous`?i:a);_(o),O(o)},complete(){if(e!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!`);return}_(100),O(100)},increase(t){if(e!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!`);return}_(e=>{let n=e+t;return O(n),n})},decrease(t){if(e!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!`);return}_(e=>{let n=e-t;return O(n),n})},getProgress(){return g}})),(0,R.useEffect)(()=>{T({...w,background:r}),D({...E,boxShadow:`0 0 10px ${r}, 0 0 5px ${r}`})},[r]),(0,R.useEffect)(()=>{if(m){if(m&&e!==void 0){console.warn(`react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar! Please use only props or only ref methods! Ref methods will override props if "ref" property is available.`);return}O(g)}else e&&O(e)},[e]);let O=e=>{e>=100?(T({...w,width:`100%`}),l&&D({...E,left:e-10+`%`}),setTimeout(()=>{h.current&&(T({...w,opacity:0,width:`100%`,transition:`all ${o}ms ease-out`,color:r}),setTimeout(()=>{h.current&&(v.current.active&&(v.current={...v.current,active:!1},_(0),O(0)),y.active&&(b({...y,active:!1}),_(0),O(0)),a&&a(),_(0),O(0))},o))},c)):(T(t=>({...t,width:e+`%`,opacity:1,transition:e>0?`all ${s}ms ease`:``})),l&&D({...E,left:e-5.5+`%`,transition:e>0?`all ${s}ms ease`:``}))};return Ce(()=>{let e=z(Math.min(10,(100-g)/5),Math.min(20,(100-g)/3));g+e<95&&(_(g+e),O(g+e))},v.current.active?v.current.refreshRate:null),R.createElement(`div`,{className:p,style:{...S,...u}},R.createElement(`div`,{className:n,style:{...w,...d}},l?R.createElement(`div`,{style:{...E,...f}}):null))});R.createContext(void 0);var V=a();function Te(){let e=(0,R.useRef)(null),t=ie();return(0,R.useEffect)(()=>{t.status===`pending`?e.current?.continuousStart():e.current?.complete()},[t.status]),(0,V.jsx)(we,{color:`var(--primary)`,height:2,ref:e,shadow:!0})}var H=F(`circle-pause`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`,key:`c1nkhi`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`,key:`h65svq`}]]),Ee=F(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),De=F(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),Oe=F(`octagon-x`,[[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`,key:`2d38gg`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),ke=(e,t,n,r,i,a,o,s)=>{let c=document.documentElement,l=[`light`,`dark`];function u(t){(Array.isArray(e)?e:[e]).forEach(e=>{let n=e===`class`,r=n&&a?i.map(e=>a[e]||e):i;n?(c.classList.remove(...r),c.classList.add(a&&a[t]?a[t]:t)):c.setAttribute(e,t)}),d(t)}function d(e){s&&l.includes(e)&&(c.style.colorScheme=e)}function f(){return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}if(r)u(r);else try{let e=localStorage.getItem(t)||n;u(o&&e===`system`?f():e)}catch{}},Ae=R.createContext(void 0),je={setTheme:e=>{},themes:[]},Me=()=>R.useContext(Ae)??je;R.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:o,themes:s,nonce:c,scriptProps:l})=>{let u=JSON.stringify([n,t,a,e,s,o,r,i]).slice(1,-1);return R.createElement(`script`,{...l,suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(${ke.toString()})(${u})`}})});var Ne=({...e})=>{let{theme:t=`system`}=Me();return(0,V.jsx)(le,{richColors:!0,className:`toaster group`,icons:{success:(0,V.jsx)(P,{className:`size-4`}),info:(0,V.jsx)(Ee,{className:`size-4`}),warning:(0,V.jsx)(ce,{className:`size-4`}),error:(0,V.jsx)(Oe,{className:`size-4`}),loading:(0,V.jsx)(se,{className:`size-4 animate-spin`})},style:{"--normal-bg":`var(--popover)`,"--normal-text":`var(--popover-foreground)`,"--normal-border":`var(--border)`,"--border-radius":`var(--radius)`},theme:t,...e})};function Pe(){return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Te,{}),(0,V.jsx)(ee,{}),(0,V.jsx)(Ne,{duration:5e3,position:`top-right`})]})}var U=ne()({component:Pe,notFoundComponent:de,errorComponent:ue}),Fe=M(`/install`)({component:j(()=>N(()=>import(`./install--ml7T_af.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])),`component`)}),Ie=M(`/cashier`)({component:j(()=>N(()=>import(`./route-DyCmdnK-.js`),__vite__mapDeps([46,1,3,47,20,21,17,48,22,49,15,16,5,18,25,32,33,8,9,10,11,34,35,12,13,14,28,36,37,38,50])),`component`)}),Le=M(`/_authenticated`)({beforeLoad:({location:e})=>{if(!w.state.accessToken)throw k({to:`/sign-in`,search:{redirect:e.href},replace:!0})},component:j(()=>N(()=>import(`./route-DRT5hoqP.js`),__vite__mapDeps([51,1,9,52,53,54,3,24,12,10,5,13,14,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,33,28,47,20,48,49,63,64,19,65,43])),`component`)}),Re=M(`/(auth)`)({component:j(()=>N(()=>import(`./route-TX-sbZFJ.js`),__vite__mapDeps([66,1,3,47,20,21,17,48,22,49,32,33,8,9,10,5,11,34,35,12,13,14,28,25,36,37,38,18,42,67])),`component`)}),ze=M(`/`)({beforeLoad:()=>{throw k({to:w.state.accessToken?`/dashboard`:`/sign-in`,replace:!0})},component:j(()=>N(()=>import(`./routes-B9wPbPCy.js`),[]),`component`)}),Be=M(`/_authenticated/dashboard`)({component:j(()=>N(()=>import(`./dashboard-ENNGVPJm.js`),__vite__mapDeps([68,1,9,52,53,54,3,24,12,10,5,13,14,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,7,69,33,28,70,29,65,30,71,43,72,73,19,20,32,74,75,44])),`component`)}),Ve=M(`/(errors)/503`)({component:j(()=>N(()=>import(`./503-BOfcSfVR.js`),__vite__mapDeps([76,77,1,3])),`component`)}),He=M(`/(errors)/500`)({component:j(()=>N(()=>import(`./500-By6ceH65.js`),__vite__mapDeps([78,79,1,3,22,36])),`component`)}),Ue=M(`/(errors)/404`)({component:j(()=>N(()=>import(`./404-DmWQ1ykX.js`),__vite__mapDeps([80,81,1,3,22,36])),`component`)}),We=M(`/(errors)/403`)({component:j(()=>N(()=>import(`./403-BVpBgFtB.js`),__vite__mapDeps([82,83,1,3,22,36])),`component`)}),Ge=M(`/(errors)/401`)({component:j(()=>N(()=>import(`./401-B1y7LwVO.js`),__vite__mapDeps([84,85,1,3,22,36])),`component`)}),Ke=()=>N(()=>import(`./sign-in-BN_8-7HN.js`),__vite__mapDeps([86,1,2,3,4,5,6,54,9,24,12,10,13,14,15,16,17,18,87,48,22,21,36,25,39,88,30,31,45,67])),qe=pe({redirect:fe().optional()}),Je=M(`/(auth)/sign-in`)({component:j(Ke,`component`),validateSearch:qe}),Ye=M(`/_authenticated/settings`)({component:j(()=>N(()=>import(`./route-ClZJKPdM.js`),__vite__mapDeps([89,1,52,53,9,54,3,24,12,10,5,13,14,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,47,20,48,49,73,33,28,19,32,74,75,90,70,29,91])),`component`)}),Xe=M(`/_authenticated/payment-setup`)({component:j(()=>N(()=>import(`./route-CLxBxAvE.js`),__vite__mapDeps([92,1,52,53,9,54,3,24,12,10,5,13,14,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,47,20,48,49,73,33,28,19,32,74,75,90,70,29,91])),`component`)}),Ze=M(`/_authenticated/account`)({component:j(()=>N(()=>import(`./route-DeAekczD.js`),__vite__mapDeps([93,1,52,53,9,54,3,24,12,10,5,13,14,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,47,20,48,49,73,33,28,19,32,74,75,90,70,29,91])),`component`)}),Qe=M(`/_authenticated/settings/`)({component:j(()=>N(()=>import(`./settings-CK1Oetj4.js`),__vite__mapDeps([94,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,75,57,45,95,15,17,18])),`component`)}),W=[{label:n(),value:`pending`,icon:oe},{label:d(),value:`paid`,icon:P},{label:i(),value:`expired`,icon:De},{label:t(),value:`closed`,icon:H}],G=[{label:u(),value:`enabled`,icon:ae},{label:s(),value:`disabled`,icon:H},{label:e(),value:`monitoring`,icon:P}];r(),l();var K=[{label:r(),value:`true`},{label:l(),value:`false`}],$e=()=>N(()=>import(`./rpc-C-4mMcNG.js`),__vite__mapDeps([96,1,2,3,4,5,6,52,53,9,54,24,12,10,13,14,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,97,28,33,70,29,98,99,20,19,87,48,49,69,7,65,30,71,43,100,101,73,32,74,102,103,104,105,106,75,107])),et=I.object({page:I.number().optional().catch(1),pageSize:I.number().optional().catch(10),enabled:I.array(I.enum(K.map(e=>e.value))).optional().catch([]),type:I.array(I.string()).optional().catch([]),status:I.array(I.enum([`ok`,`down`,`unknown`])).optional().catch([]),keyword:I.string().optional().catch(``)}),tt=M(`/_authenticated/rpc/`)({validateSearch:et,component:j($e,`component`)}),nt=()=>N(()=>import(`./payment-setup-Btx3fhVH.js`),__vite__mapDeps([108,1,3,15,16,5,17,18,99,20,21,19,22,87,48,36,49,69,33,8,9,10,11,34,35,12,13,14,28,25,7,70,53,56,59,29,57,58,23,24,26,60,65,30,71,43,45,107])),rt=I.object({page:I.number().optional().catch(1),pageSize:I.number().optional().catch(10),status:I.enum([`enabled`,`disabled`]).array().optional().catch([]),chain:I.array(I.string()).optional().catch([]),keyword:I.string().optional().catch(``)}),it=M(`/_authenticated/payment-setup/`)({validateSearch:rt,component:j(nt,`component`)}),at=()=>N(()=>import(`./orders-CLD_ReRH.js`),__vite__mapDeps([109,1,54,9,3,24,12,10,5,13,14,52,53,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,33,28,4,99,20,19,87,48,49,69,7,70,29,65,30,71,43,110,101,31,73,32,74,104,105,106,75,107])),ot=I.object({page:I.number().optional().catch(1),pageSize:I.number().optional().catch(10),status:I.array(I.enum(W.map(e=>e.value))).optional().catch([]),chain:I.array(I.string()).optional().catch([]),orderNo:I.string().optional().catch(``)}),st=M(`/_authenticated/orders/`)({validateSearch:ot,component:j(at,`component`)}),ct=()=>N(()=>import(`./keys-DzbEQL2S.js`),__vite__mapDeps([111,1,2,3,4,5,6,54,9,24,12,10,13,14,52,53,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,70,28,29,98,99,20,19,87,48,49,27,30,31,71,73,33,32,74,103,75,43,112])),lt=I.object({type:I.enum([`all`,`enabled`,`disabled`]).optional().catch(void 0),filter:I.string().optional().catch(``),sort:I.enum([`asc`,`desc`]).optional().catch(void 0)}),ut=M(`/_authenticated/keys/`)({validateSearch:lt,component:j(ct,`component`)}),dt=M(`/_authenticated/help/`)({component:j(()=>N(()=>import(`./help-DpxzNjLm.js`),__vite__mapDeps([113,1,105,25])),`component`)}),ft=()=>N(()=>import(`./chains-CediDuAP.js`),__vite__mapDeps([114,1,2,3,4,5,6,52,53,9,54,24,12,10,13,14,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,97,28,33,70,29,98,69,7,65,30,71,43,100,101,73,19,20,32,74,102,103,104,105,75])),pt=I.object({page:I.number().optional().catch(1),pageSize:I.number().optional().catch(10),status:I.array(I.enum(K.map(e=>e.value))).optional().catch([]),keyword:I.string().optional().catch(``)}),mt=M(`/_authenticated/chains/`)({validateSearch:pt,component:j(ft,`component`)}),ht=()=>N(()=>import(`./addresses-CJgmgI49.js`),__vite__mapDeps([115,1,2,3,4,5,6,54,9,24,12,10,13,14,52,53,35,55,34,56,11,57,58,8,59,15,16,17,18,22,36,21,23,25,26,60,61,37,40,42,45,62,38,33,28,70,29,98,99,20,19,87,48,49,69,7,65,30,71,43,110,101,31,73,32,74,102,103,106,75,112,107])),gt=I.object({page:I.number().optional().catch(1),pageSize:I.number().optional().catch(10),status:I.array(I.enum(G.map(e=>e.value))).optional().catch([]),chain:I.array(I.string()).optional().catch([]),address:I.string().optional().catch(``)}),_t=M(`/_authenticated/addresses/`)({validateSearch:gt,component:j(ht,`component`)}),vt=M(`/_authenticated/account/`)({beforeLoad:()=>{throw k({to:`/account/password`,replace:!0})}}),yt=M(`/_authenticated/settings/telegram`)({component:j(()=>N(()=>import(`./telegram-BMNHg_Po.js`),__vite__mapDeps([116,1,2,3,4,5,6,98,9,56,11,75,57,45,95,15,16,17,18])),`component`)}),bt=M(`/_authenticated/settings/pay`)({component:j(()=>N(()=>import(`./pay-CHGr19NQ.js`),__vite__mapDeps([117,1,2,3,4,5,6,16,75,57,45,95,15,17,18])),`component`)}),xt=M(`/_authenticated/settings/okpay`)({component:j(()=>N(()=>import(`./okpay-DO-JyY-D.js`),__vite__mapDeps([118,1,2,3,4,5,6,98,9,56,11,88,30,25,31,45,75,57,95,15,16,17,18])),`component`)}),St=M(`/_authenticated/settings/notifications`)({component:j(()=>N(()=>import(`./notifications-DZP0gf44.js`),__vite__mapDeps([119,1,2,3,4,5,6,97,9,14,56,11,28,25,98,19,20,21,17,22,120,55,34,35,10,75,57,121,16])),`component`)}),Ct=M(`/_authenticated/settings/epay`)({component:j(()=>N(()=>import(`./epay-DOouuKG8.js`),__vite__mapDeps([122,1,2,3,4,5,6,75,57,45,95,15,16,17,18])),`component`)}),wt=M(`/_authenticated/settings/display`)({component:j(()=>N(()=>import(`./display-DRl4nw6w.js`),__vite__mapDeps([123,1,2,3,4,5,6,97,9,14,56,11,28,25,75,57,121,16])),`component`)}),Tt=M(`/_authenticated/settings/appearance`)({component:j(()=>N(()=>import(`./appearance-DALMpZ0N.js`),__vite__mapDeps([124,1,2,3,4,5,6,29,25,120,55,9,34,35,10,14,56,11,75,57,62,18,38,121,16])),`component`)}),Et=()=>N(()=>import(`./integrations-CCzl-ro9.js`),__vite__mapDeps([125,1,99,20,21,17,19,5,3,22,87,48,36,49,69,33,8,9,10,11,34,35,12,13,14,28,25,7,70,53,56,59,29,57,58,23,24,26,60,65,30,71,43,45,107])),Dt=I.object({page:I.number().optional().catch(1),pageSize:I.number().optional().catch(10)}),Ot=M(`/_authenticated/payment-setup/integrations`)({validateSearch:Dt,component:j(Et,`component`)}),kt=M(`/_authenticated/account/password`)({component:j(()=>N(()=>import(`./password-D-8Ldzwe.js`),__vite__mapDeps([126,1,2,3,4,5,6,15,16,17,18,88,30,25,31,45,75,57])),`component`)}),At=Fe.update({id:`/install`,path:`/install`,getParentRoute:()=>U}),q=Ie.update({id:`/cashier`,path:`/cashier`,getParentRoute:()=>U}),J=Le.update({id:`/_authenticated`,getParentRoute:()=>U}),Y=Re.update({id:`/(auth)`,getParentRoute:()=>U}),jt=ze.update({id:`/`,path:`/`,getParentRoute:()=>U}),Mt=Be.update({id:`/dashboard`,path:`/dashboard`,getParentRoute:()=>J}),Nt=Ve.update({id:`/(errors)/503`,path:`/503`,getParentRoute:()=>U}),Pt=He.update({id:`/(errors)/500`,path:`/500`,getParentRoute:()=>U}),Ft=Ue.update({id:`/(errors)/404`,path:`/404`,getParentRoute:()=>U}),It=We.update({id:`/(errors)/403`,path:`/403`,getParentRoute:()=>U}),Lt=Ge.update({id:`/(errors)/401`,path:`/401`,getParentRoute:()=>U}),Rt=Je.update({id:`/sign-in`,path:`/sign-in`,getParentRoute:()=>Y}),X=Ye.update({id:`/settings`,path:`/settings`,getParentRoute:()=>J}),Z=Xe.update({id:`/payment-setup`,path:`/payment-setup`,getParentRoute:()=>J}),Q=Ze.update({id:`/account`,path:`/account`,getParentRoute:()=>J}),zt=me.update({id:`/$trade_id/`,path:`/$trade_id/`,getParentRoute:()=>q}),Bt=Qe.update({id:`/`,path:`/`,getParentRoute:()=>X}),Vt=tt.update({id:`/rpc/`,path:`/rpc/`,getParentRoute:()=>J}),Ht=it.update({id:`/`,path:`/`,getParentRoute:()=>Z}),Ut=st.update({id:`/orders/`,path:`/orders/`,getParentRoute:()=>J}),Wt=ut.update({id:`/keys/`,path:`/keys/`,getParentRoute:()=>J}),Gt=dt.update({id:`/help/`,path:`/help/`,getParentRoute:()=>J}),Kt=mt.update({id:`/chains/`,path:`/chains/`,getParentRoute:()=>J}),qt=_t.update({id:`/addresses/`,path:`/addresses/`,getParentRoute:()=>J}),Jt=vt.update({id:`/`,path:`/`,getParentRoute:()=>Q}),Yt=yt.update({id:`/telegram`,path:`/telegram`,getParentRoute:()=>X}),Xt=bt.update({id:`/pay`,path:`/pay`,getParentRoute:()=>X}),Zt=xt.update({id:`/okpay`,path:`/okpay`,getParentRoute:()=>X}),Qt=St.update({id:`/notifications`,path:`/notifications`,getParentRoute:()=>X}),$t=Ct.update({id:`/epay`,path:`/epay`,getParentRoute:()=>X}),en=wt.update({id:`/display`,path:`/display`,getParentRoute:()=>X}),tn=Tt.update({id:`/appearance`,path:`/appearance`,getParentRoute:()=>X}),nn=Ot.update({id:`/integrations`,path:`/integrations`,getParentRoute:()=>Z}),rn=he.update({id:`/errors/$error`,path:`/errors/$error`,getParentRoute:()=>J}),an=kt.update({id:`/password`,path:`/password`,getParentRoute:()=>Q}),on={authSignInRoute:Rt},sn=Y._addFileChildren(on),cn={AuthenticatedAccountPasswordRoute:an,AuthenticatedAccountIndexRoute:Jt},ln=Q._addFileChildren(cn),un={AuthenticatedPaymentSetupIntegrationsRoute:nn,AuthenticatedPaymentSetupIndexRoute:Ht},dn=Z._addFileChildren(un),fn={AuthenticatedSettingsAppearanceRoute:tn,AuthenticatedSettingsDisplayRoute:en,AuthenticatedSettingsEpayRoute:$t,AuthenticatedSettingsNotificationsRoute:Qt,AuthenticatedSettingsOkpayRoute:Zt,AuthenticatedSettingsPayRoute:Xt,AuthenticatedSettingsTelegramRoute:Yt,AuthenticatedSettingsIndexRoute:Bt},pn={AuthenticatedAccountRouteRoute:ln,AuthenticatedPaymentSetupRouteRoute:dn,AuthenticatedSettingsRouteRoute:X._addFileChildren(fn),AuthenticatedDashboardRoute:Mt,AuthenticatedErrorsErrorRoute:rn,AuthenticatedAddressesIndexRoute:qt,AuthenticatedChainsIndexRoute:Kt,AuthenticatedHelpIndexRoute:Gt,AuthenticatedKeysIndexRoute:Wt,AuthenticatedOrdersIndexRoute:Ut,AuthenticatedRpcIndexRoute:Vt},mn=J._addFileChildren(pn),hn={CashierTrade_idIndexRoute:zt},gn={IndexRoute:jt,authRouteRoute:sn,AuthenticatedRouteRoute:mn,CashierRouteRoute:q._addFileChildren(hn),InstallRoute:At,errors401Route:Lt,errors403Route:It,errors404Route:Ft,errors500Route:Pt,errors503Route:Nt},_n=U._addFileChildren(gn)._addFileTypes(),$=new ve({defaultOptions:{queries:{retry:(e,t)=>{if(e>3)return!1;if(typeof t==`object`&&t&&`status`in t){let e=t.status;if(e===401||e===403)return!1}return!0},refetchOnWindowFocus:!0,staleTime:10*1e3}}}),vn=be({routeTree:_n,context:{queryClient:$},scrollRestoration:!0,defaultPreload:`intent`,defaultPreloadStaleTime:0});export{W as i,vn as n,G as r,$ as t}; |