PageSourceSearch

https://www.fedacash.com/assets/root-DMiarPeR.js

js fedacash.com collected 2026-09-24 14:43:07 UTC 63,659 bytes, 58 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/faro-DXKpzOj-.js","assets/index-omYkHBZa.js","assets/jsx-runtime-Dx2DxZNf.js","assets/hoist-non-react-statics.cjs-BKDJl0X4.js"])))=>i.map(i=>d[i]);
2var e,t,s,a,n,i,r,o,c,l,u,h,d,p,f,m,g,y,v,w,b,x,S,k,j,M,A,O,E,C,F,P,I,N,L,D,R,_,T,q,W,U,H,Q,K,G,z,B=e=>{throw TypeError(e)},$=(e,t,s)=>t.has(e)||B("Cannot "+s),Y=(e,t,s)=>($(e,t,"read from private field"),s?s.call(e):t.get(e)),V=(e,t,s)=>t.has(e)?B("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),J=(e,t,s,a)=>($(e,t,"write to private field"),a?a.call(e,s):t.set(e,s),s),X=(e,t,s)=>($(e,t,"access private method"),s),Z=(e,t,s,a)=>({set _(a){J(e,t,a,s)},get _(){return Y(e,t,a)}});import{_ as ee}from"./preload-helper-oqmhCI76.js";import{j as te}from"./jsx-runtime-Dx2DxZNf.js";import{r as se,a as ae,c as ne}from"./index-omYkHBZa.js";import{q as ie,r as re,_ as oe,t as ce,v as le,V as ue,w as he,s as de,R as pe,n as fe,S as me,A as ge,F as ye,L as ve,x as we,y as be,M as xe,N as Se,P as ke,z as je,B as Me,C as Ae,D as Oe,a as Ee,E as Ce,u as Fe,p as Pe,G as Ie,H as Ne,c as Le,e as De,d as Re,b as _e,f as Te,I as qe}from"./components-B1hXa102.js";import{R as We}from"./browser-DSGIaEFG.js";import{M as Ue,P as He,C as Qe,Q as Ke,S as Ge,b as ze,q as Be,T as $e,g as Ye,U as Ve,I as Je,V as Xe,W as Ze,o as et,D as tt,h as st,R as at,t as nt,i as it,j as rt,X as ot,O as ct,Y as lt,Z as ut,_ as ht,$ as dt,w as pt,m as ft,z as mt,a0 as gt,a1 as yt,G as vt,a2 as wt,x as bt,k as xt,a3 as St,a4 as kt,a as jt,c as Mt,a5 as At,a6 as Ot,a7 as Et,L as Ct,r as Ft,d as Pt,u as It,a8 as Nt}from"./index-BToWjq6v.js";import{U as Lt,d as Dt,u as Rt}from"./auth-store-provider-DzKlh0o-.js";import{L as _t}from"./build.umd-C1mQCKkI.js";import{T as Tt}from"./index-CvIaG8Zr.js";import{C as qt}from"./client-only-C1liWBH5.js";import{B as Wt}from"./button-25n5LjCi.js";import{C as Ut}from"./card-DzpdOqCx.js";import{X as Ht}from"./x-DaktfP1d.js";import{c as Qt}from"./createLucideIcon-Vd8JvBZT.js";import{D as Kt}from"./download-CQUgPJKc.js";import{R as Gt}from"./refresh-cw-CjW0J-d2.js";import"./index-iUOoGV2s.js";import"./react-BhoNohdX.js";import"./index-CO6sA9dI.js";
3/**
4 * @remix-run/server-runtime v2.17.5
5 *
6 * Copyright (c) Remix Software Inc.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE.md file in the root directory of this source tree.
10 *
11 * @license MIT
12 */
13/**
14 * @remix-run/react v2.17.5
15 *
16 * Copyright (c) Remix Software Inc.
17 *
18 * This source code is licensed under the MIT license found in the
19 * LICENSE.md file in the root directory of this source tree.
20 *
21 * @license MIT
22 */
23let zt="positions";function Bt({getKey:e,...t}){let{isSpaMode:s}=ie(),a=ze(),n=Be();re({getKey:e,storageKey:zt});let i=se.useMemo(()=>{if(!e)return null;let t=e(a,n);return t!==a.key?t:null},[]);if(s)return null;let r=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},"")}try{let s=JSON.parse(sessionStorage.getItem(e)||"{}")[t||window.history.state.key];"number"==typeof s&&window.scrollTo(0,s)}catch(s){sessionStorage.removeItem(e)}}).toString();return se.createElement("script",oe({},t,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${r})(${ce(JSON.stringify(zt))}, ${ce(JSON.stringify(i))})`}}))}function $t({context:e,router:t,hydrate:s=!0,nonce:a}){t&&e||et(!1);let n={router:t,navigator:{createHref:Jt,encodeLocation:Xt,push(e){throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)})\` somewhere in your app.`)},replace(e){throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)}, { replace: true })\` somewhere in your app.`)},go(e){throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${e})\` somewhere in your app.`)},back(){throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.")},forward(){throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.")}},static:!0,staticContext:e,basename:e.basename||"/"},i=new Map,r="";if(!1!==s){let t={loaderData:e.loaderData,actionData:e.actionData,errors:Vt(e.errors)};r=`window.__staticRouterHydrationData = JSON.parse(${JSON.stringify(JSON.stringify(t)).replace(ts,e=>es[e])});`}let{state:o}=n.router;return se.createElement(se.Fragment,null,se.createElement(tt.Provider,{value:n},se.createElement(st.Provider,{value:o},se.createElement(le.Provider,{value:i},se.createElement(ue.Provider,{value:{isTransitioning:!1}}
23,se.createElement(at,{basename:n.basename,location:o.location,navigationType:o.historyAction,navigator:n.navigator,static:n.static,future:{v7_relativeSplatPath:t.future.v7_relativeSplatPath}},se.createElement(Yt,{routes:t.routes,future:t.future,state:o})))))),r?se.createElement("script",{suppressHydrationWarning:!0,nonce:a,dangerouslySetInnerHTML:{__html:r}}):null)}function Yt({routes:e,future:t,state:s}){return rt(e,void 0,s,t)}function Vt(e){if(!e)return null;let t=Object.entries(e),s={};for(let[a,n]of t)it(n)?s[a]={...n,__type:"RouteErrorResponse"}:n instanceof Error?s[a]={message:n.message,__type:"Error",..."Error"!==n.name?{__subType:n.name}:{}}:s[a]=n;return s}function Jt(e){return"string"==typeof e?e:nt(e)}function Xt(e){let t="string"==typeof e?e:nt(e);t=t.replace(/ $/,"%20");let s=Zt.test(t)?new URL(t):new URL(t,"http://localhost");return{pathname:s.pathname,search:s.search,hash:s.hash}}const Zt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,es={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},ts=/[&><\u2028\u2029]/g;
24/**
25 * @remix-run/react v2.17.5
26 *
27 * Copyright (c) Remix Software Inc.
28 *
29 * This source code is licensed under the MIT license found in the
30 * LICENSE.md file in the root directory of this source tree.
31 *
32 * @license MIT
33 */
34const ss=Object.freeze(Object.defineProperty({__proto__:null,Await:ge,Form:ye,Link:ve,Links:we,LiveReload:be,Meta:xe,NavLink:Se,Navigate:ot,get NavigationType(){return Ze},Outlet:ct,PrefetchPageLinks:ke,RemixBrowser:We,RemixServer:
35/**
36 * @remix-run/react v2.17.5
37 *
38 * Copyright (c) Remix Software Inc.
39 *
40 * This source code is licensed under the MIT license found in the
41 * LICENSE.md file in the root directory of this source tree.
42 *
43 * @license MIT
44 */
45function({context:e,url:t,abortDelay:s,nonce:a}){"string"==typeof t&&(t=new URL(t));let{manifest:n,routeModules:i,criticalCss:r,serverHandoffString:o}=e,c=he(n.routes,i,e.future,e.isSpaMode);e.staticHandlerContext.loaderData={...e.staticHandlerContext.loaderData};for(let u of e.staticHandlerContext.matches){let t=u.route.id,s=i[t],a=e.manifest.routes[t];s&&de(a,s,e.isSpaMode)&&(s.HydrateFallback||!a.hasLoader)&&(e.staticHandlerContext.loaderData[t]=void 0)}let l=function(e,t,s={}){let a={},n=$e(e,Ye,void 0,a),i=t.matches.map(e=>{let t=a[e.route.id]||e.route;return{...e,route:t}}),r=e=>`You cannot use router.${e}() on the server because it is a stateless environment`;return{get basename(){return t.basename},get future(){return{v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!0===s.future?.v7_partialHydration,v7_prependBasename:!1,v7_relativeSplatPath:!0===s.future?.v7_relativeSplatPath,v7_skipActionErrorRevalidation:!1}},get state(){return{historyAction:Ze.Pop,location:t.location,matches:i,loaderData:t.loaderData,actionData:t.actionData,errors:t.errors,initialized:!0,navigation:Xe,restoreScrollPosition:null,preventScrollReset:!1,revalidation:"idle",fetchers:new Map,blockers:new Map}},get routes(){return n},get window(){},initialize(){throw r("initialize")},subscribe(){throw r("subscribe")},enableScrollRestoration(){throw r("enableScrollRestoration")},navigate(){throw r("navigate")},fetch(){throw r("fetch")},revalidate(){throw r("revalidate")},createHref:Jt,encodeLocation:Xt,getFetcher:()=>Je,deleteFetcher(){throw r("deleteFetcher")},dispose(){throw r("dispose")},getBlocker:()=>Ve,deleteBlocker(){throw r("deleteBlocker")},patchRoutes(){throw r("patchRoutes")},_internalFetchControllers:new Map,_internalActiveDeferreds:new Map,_internalSetRoutes(){throw r("_internalSetRoutes")}}}(c,e.staticHandlerContext,{future:{v7_partialHydration:!0,v7_relativeSplatPath:e.future.v3_relativeSplatPath}});return se.createElement(se.Fragment,null,se.createElement(pe.Provider,{value:{manifest:n,routeModules:i,criticalCss:r,serverHandoffString:o,future:e.future,isSpaMode:e.isSpaMode,serializeError:e.serializeError,abortDelay:s,renderMeta:e.renderMeta}},se.createElement(fe,{location:l.state.location},se.createElement($t,{router:l,context:e.staticHandlerContext,hydrate:!1}))),e.future.v3_singleFetch&&e.serverHandoffStream?se.createElement(se.Suspense,null,se.createElement(me,{context:e,identifier:0,reader:e.serverHandoffStream.getReader(),textDecoder:new TextDecoder,nonce:a})):null)},Route:lt,Routes:ut,Scripts:je,ScrollRestoration:Bt,UNSAFE_RemixContext:pe,createPath:nt,createRoutesFromChildren:ht,createRoutesFromElements:ht,createSearchParams:Me,data:Ae,defer:(e,t={})=>Ue(e,t),generatePath:dt,isRouteErrorResponse:it,json:(e,t={})=>He(e,t),matchPath:pt,matchRoutes:ft,parsePath:mt,redirect:(e,t=302)=>Qe(e,t),redirectDocument:(e,t=302)=>Ke(e,t),renderMatches:gt,replace:(e,t=302)=>Ge(e,t),resolvePath:yt,unstable_usePrompt:Oe,useActionData:Ee,useAsyncError:vt,useAsyncValue:wt,useBeforeUnload:Ce,useBlocker:bt,useFetcher:Fe,useFetchers:Pe,useFormAction:Ie,useHref:xt,useInRouterContext:St,useLinkClickHandler:Ne,useLoaderData:Le,useLocation:ze,useMatch:kt,useMatches:De,useNavigate:jt,useNavigation:Mt,useNavigationType:At,useOutlet:Ot,useOutletContext:Et,useParams:Ct,useResolvedPath:Ft,useRevalidator:Pt,useRouteError:It,useRouteLoaderData:Re,useRoutes:Nt,useSearchParams:_e,useSubmit:Te,useViewTransitionState:qe},Symbol.toStringTag,{value:"Module"}));var as=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ns=new(a=class extends as{constructor(){super(),V(this,e),V(this,t),V(this,s),J(this,s,e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){Y(this,t)||this.setEventListener(Y(this,s))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=Y(this,t))||e.call(this),J(this,t,void 0))}setEventListener(e){var a;J(this,s,e),null==(a=Y(this,t))||a.call(this),J(this,t,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(t){Y(this,e)!==t&&(J(this,e,t),this.onFocus())}onFocus(){const e=this.isFocused();
45this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof Y(this,e)?Y(this,e):"hidden"!==globalThis.document?.visibilityState}},e=new WeakMap,t=new WeakMap,s=new WeakMap,a),is={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},rs=new(r=class{constructor(){V(this,n,is),V(this,i,!1)}setTimeoutProvider(e){J(this,n,e)}setTimeout(e,t){return Y(this,n).setTimeout(e,t)}clearTimeout(e){Y(this,n).clearTimeout(e)}setInterval(e,t){return Y(this,n).setInterval(e,t)}clearInterval(e){Y(this,n).clearInterval(e)}},n=new WeakMap,i=new WeakMap,r);var os="undefined"==typeof window||"Deno"in globalThis;function cs(){}function ls(e,t){return"function"==typeof e?e(t):e}function us(e,t){const{type:s="all",exact:a,fetchStatus:n,predicate:i,queryKey:r,stale:o}=e;if(r)if(a){if(t.queryHash!==ds(r,t.options))return!1}else if(!fs(t.queryKey,r))return!1;if("all"!==s){const e=t.isActive();if("active"===s&&!e)return!1;if("inactive"===s&&e)return!1}return("boolean"!=typeof o||t.isStale()===o)&&((!n||n===t.state.fetchStatus)&&!(i&&!i(t)))}function hs(e,t){const{exact:s,status:a,predicate:n,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(s){if(ps(t.options.mutationKey)!==ps(i))return!1}else if(!fs(t.options.mutationKey,i))return!1}return(!a||t.state.status===a)&&!(n&&!n(t))}function ds(e,t){return(t?.queryKeyHashFn||ps)(e)}function ps(e){return JSON.stringify(e,(e,t)=>vs(t)?Object.keys(t).sort().reduce((e,s)=>(e[s]=t[s],e),{}):t)}function fs(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(s=>fs(e[s],t[s])))}var ms=Object.prototype.hasOwnProperty;function gs(e,t,s=0){if(e===t)return e;if(s>500)return t;const a=ys(e)&&ys(t);if(!(a||vs(e)&&vs(t)))return t;const n=(a?e:Object.keys(e)).length,i=a?t:Object.keys(t),r=i.length,o=a?new Array(r):{};let c=0;for(let l=0;l<r;l++){const r=a?l:i[l],u=e[r],h=t[r];if(u===h){o[r]=u,(a?l<n:ms.call(e,r))&&c++;continue}if(null===u||null===h||"object"!=typeof u||"object"!=typeof h){o[r]=h;continue}const d=gs(u,h,s+1);o[r]=d,d===u&&c++}return n===r&&c===n?e:o}function ys(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vs(e){if(!ws(e))return!1;const t=e.constructor;if(void 0===t)return!0;const s=t.prototype;return!!ws(s)&&(!!s.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function ws(e){return"[object Object]"===Object.prototype.toString.call(e)}function bs(e,t,s){return"function"==typeof s.structuralSharing?s.structuralSharing(e,t):!1!==s.structuralSharing?gs(e,t):t}function xs(e,t,s=0){const a=[...e,t];return s&&a.length>s?a.slice(1):a}function Ss(e,t,s=0){const a=[t,...e];return s&&a.length>s?a.slice(0,-1):a}var ks=Symbol();function js(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==ks?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var Ms=(()=>{let e=()=>os;return{isServer:()=>e(),setIsServer(t){e=t}}})();function As(e){return e}function Os(e,t,s){if("object"!=typeof t||null===t)return;const a=e.getMutationCache(),n=e.getQueryCache(),i=s?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??As,r=t.mutations||[],o=t.queries||[];r.forEach(({state:t,...n})=>{a.build(e,{...e.getDefaultOptions().hydrate?.mutations,...s?.defaultOptions?.mutations,...n},t)}),o.forEach(({queryKey:t,state:a,queryHash:r,meta:o,promise:c,dehydratedAt:l,queryType:u})=>{const h=c?function(e){let t;if(e.then(e=>(t=e,e),cs)?.catch(cs),void 0!==t)return{data:t}}(c):void 0,d=void 0===a.data?h?.data:a.data,p=void 0===d?d:i(d);let f=n.get(r);const m="pending"===f?.state.status,g="fetching"===f?.state.fetchStatus;if(f){const e=h&&void 0!==l&&l>f.state.dataUpdatedAt;if(a.dataUpdatedAt>f.state.dataUpdatedAt||e){const{fetchStatus:e,...t}=a;f.setState({...t,data:p,..."pending"===a.status&&void 0!==p&&{status:"success",...!g&&{fetchStatus:"idle"}}})}}else f=n.build(e,{...e.getDefaultOptions().hydrate?.queries,...s?.defaultOptions?.queries,queryKey:t,queryHash:r,meta:o,_type:u},{...a,data:p,fetchStatus:"idle",status:"pending"===a.status&&void 0!==p?"success":a.status});!c||h||m||g||!(void 0===l||l>f.state.dataUpdatedAt)||f.fetch(void 0,{initialPromise:Promise.resolve(c).then(i)}).catch(cs)})}var Es=function(e){setTimeout(e,0)};
45var Cs=function(){let e=[],t=0,s=e=>{e()},a=e=>{e()},n=Es;const i=a=>{t?e.push(a):n(()=>{s(a)})};return{batch:i=>{let r;t++;try{r=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&n(()=>{a(()=>{t.forEach(e=>{s(e)})})})})()}return r},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{s=e},setBatchNotifyFunction:e=>{a=e},setScheduler:e=>{n=e}}}(),Fs=new(u=class extends as{constructor(){super(),V(this,o,!0),V(this,c),V(this,l),J(this,l,e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e(!0),s=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",s)}}})}onSubscribe(){Y(this,c)||this.setEventListener(Y(this,l))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=Y(this,c))||e.call(this),J(this,c,void 0))}setEventListener(e){var t;J(this,l,e),null==(t=Y(this,c))||t.call(this),J(this,c,e(this.setOnline.bind(this)))}setOnline(e){Y(this,o)!==e&&(J(this,o,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return Y(this,o)}},o=new WeakMap,c=new WeakMap,l=new WeakMap,u);function Ps(e){return Math.min(1e3*2**e,3e4)}function Is(e){return"online"!==(e??"online")||Fs.isOnline()}var Ns=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Ls(e){let t,s=!1,a=0;const n=function(){let e,t;const s=new Promise((s,a)=>{e=s,t=a});function a(e){Object.assign(s,e),delete s.resolve,delete s.reject}return s.status="pending",s.catch(()=>{}),s.resolve=t=>{a({status:"fulfilled",value:t}),e(t)},s.reject=e=>{a({status:"rejected",reason:e}),t(e)},s}(),i=()=>"pending"!==n.status,r=()=>ns.isFocused()&&("always"===e.networkMode||Fs.isOnline())&&e.canRun(),o=()=>Is(e.networkMode)&&e.canRun(),c=e=>{i()||(t?.(),n.resolve(e))},l=e=>{i()||(t?.(),n.reject(e))},u=()=>new Promise(s=>{t=e=>{(i()||r())&&s(e)},e.onPause?.()}).then(()=>{t=void 0,i()||e.onContinue?.()}),h=()=>{if(i())return;let t;const n=0===a?e.initialPromise:void 0;try{t=n??e.fn()}catch(o){t=Promise.reject(o)}Promise.resolve(t).then(c).catch(t=>{if(i())return;const n=e.retry??(Ms.isServer()?0:3),o=e.retryDelay??Ps,c="function"==typeof o?o(a,t):o,d=!0===n||"number"==typeof n&&a<n||"function"==typeof n&&n(a,t);var p;!s&&d?(a++,e.onFail?.(a,t),(p=c,new Promise(e=>{rs.setTimeout(e,p)})).then(()=>r()?void 0:u()).then(()=>{s?l(t):h()})):l(t)})};return{promise:n,status:()=>n.status,cancel:t=>{if(!i()){const s=new Ns(t);l(s),e.onCancel?.(s)}},continue:()=>(t?.(),n),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:o,start:()=>(o()?h():u().then(h),n)}}var Ds=(d=class{constructor(){V(this,h)}destroy(){this.clearGcTimeout()}scheduleGc(){var e;this.clearGcTimeout(),"number"==typeof(e=this.gcTime)&&e>=0&&e!==1/0&&J(this,h,rs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ms.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==Y(this,h)&&(rs.clearTimeout(Y(this,h)),J(this,h,void 0))}},h=new WeakMap,d);function Rs(e){return{onFetch:(t,s)=>{const a=t.options,n=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],r=t.state.data?.pageParams||[];let o={pages:[],pageParams:[]},c=0;const l=async()=>{let s=!1;const l=e=>{!function(e,t,s){let a,n=!1;Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??(a=t()),n||(n=!0,a.aborted?s():a.addEventListener("abort",s,{once:!0})),a)})}(e,()=>t.signal,()=>s=!0)},u=js(t.options,t.fetchOptions),h=async(e,a,n)=>{if(s)return Promise.reject(t.signal.reason);if(null==a&&e.pages.length)return Promise.resolve(e);const i=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:a,direction:n?"backward":"forward",meta:t.options.meta};return l(e),e})(),r=await u(i),{maxPages:o}=t.options,c=n?Ss:xs;return{pages:c(e.pages,r,o),pageParams:c(e.pageParams,a,o)}};if(n&&i.length){const e="backward"===n,t={pages:i,pageParams:r},s=(e?Ts:_s)(a,t);o=await h(t,s,e)}else{const t=e??i.length;do{const e=0===c?r[0]??a.initialPageParam:_s(a,o);if(c>0&&null==e)break;o=await h(o,e),c++}while(c<t)}return o};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},s):t.fetchFn=l}}}function _s(e,{pages:t,pageParams:s}){const a=t.length-1;return t.length>0?e.getNextPageParam(t[a],t,s[a],s):void 0}function Ts(e,{pages:t,pageParams:s}){return t.length>0?e.getPreviousPageParam?.(t[0],t,s[0],s):void 0}var qs=(j=class extends Ds{constructor(e){super(),V(this,x),V(this,p),V(this,f),V(this,m),V(this,g),V(this,y),V(this,v),V(this,w),V(this,b),J(this,b,!1),J(this,w,e.defaultOptions),this.setOptions(e.options),this.observers=[],J(this,y,e.client),J(this,g,Y(this,y).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,J(this,f,Us(this.options)),this.state=e.state??Y(this,f),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return Y(this,p)}get promise(){return Y(this,v)?.promise}setOptions(e){if(this.options={...Y(this,w),...e},e?._type&&J(this,p,e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=Us(this.options);void 0!==e.data&&(this.setState(Ws(e.data,e.dataUpdatedAt)),J(this,f,e))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||Y(this,g).remove(this)}setData(e,t){const s=bs(this.state.data,e,this.options);return X(this,x,k).call(this,{data:s,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),s}setState(e){X(this,x,k).call(this,{type:"setState",state:e})}cancel(e){const t=Y(this,v)?.promise;return Y(this,v)?.cancel(e),t?t.then(cs).catch(cs):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return Y(this,f)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>{return!1!==(t=e.options.enabled,s=this,"function"==typeof t?t(s):t);var t,s})}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ks||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
45Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===ls(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!function(e,t){return Math.max(e+(t||0)-Date.now(),0)}(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),Y(this,v)?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),Y(this,v)?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),Y(this,g).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(Y(this,v)&&(Y(this,b)||X(this,x,S).call(this)?Y(this,v).cancel({revert:!0}):Y(this,v).cancelRetry()),this.scheduleGc()),Y(this,g).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||X(this,x,k).call(this,{type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==Y(this,v)?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(Y(this,v))return Y(this,v).continueRetry(),Y(this,v).promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const s=new AbortController,a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(J(this,b,!0),s.signal)})},n=()=>{const e=js(this.options,t),s=(()=>{const e={client:Y(this,y),queryKey:this.queryKey,meta:this.meta};return a(e),e})();return J(this,b,!1),this.options.persister?this.options.persister(e,s,this):e(s)},i=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:Y(this,y),state:this.state,fetchFn:n};return a(e),e})(),r="infinite"===Y(this,p)?Rs(this.options.pages):this.options.behavior;r?.onFetch(i,this),J(this,m,this.state),"idle"!==this.state.fetchStatus&&this.state.fetchMeta===i.fetchOptions?.meta||X(this,x,k).call(this,{type:"fetch",meta:i.fetchOptions?.meta}),J(this,v,Ls({initialPromise:t?.initialPromise,fn:i.fetchFn,onCancel:e=>{e instanceof Ns&&e.revert&&this.setState({...Y(this,m),fetchStatus:"idle"}),s.abort()},onFail:(e,t)=>{X(this,x,k).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{X(this,x,k).call(this,{type:"pause"})},onContinue:()=>{X(this,x,k).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0}));try{const e=await Y(this,v).start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),Y(this,g).config.onSuccess?.(e,this),Y(this,g).config.onSettled?.(e,this.state.error,this),e}catch(o){if(o instanceof Ns){if(o.silent)return Y(this,v).promise;if(o.revert){if(void 0===this.state.data)throw o;return this.state.data}}throw X(this,x,k).call(this,{type:"error",error:o}),Y(this,g).config.onError?.(o,this),Y(this,g).config.onSettled?.(this.state.data,o,this),o}finally{this.scheduleGc()}}},p=new WeakMap,f=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,v=new WeakMap,w=new WeakMap,b=new WeakMap,x=new WeakSet,S=function(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status},k=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...(s=t.data,a=this.options,{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Is(a.networkMode)?"fetching":"paused",...void 0===s&&{error:null,status:"pending"}}),fetchMeta:e.meta??null};case"success":const n={...t,...Ws(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return J(this,m,e.manual?n:void 0),n;case"error":const i=e.error;
45return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}var s,a})(this.state),Cs.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),Y(this,g).notify({query:this,type:"updated",action:e})})},j);function Ws(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Us(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,s=void 0!==t,a=s?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:s?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Hs=(P=class extends Ds{constructor(e){super(),V(this,C),V(this,M),V(this,A),V(this,O),V(this,E),J(this,M,e.client),this.mutationId=e.mutationId,J(this,O,e.mutationCache),J(this,A,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){Y(this,A).includes(e)||(Y(this,A).push(e),this.clearGcTimeout(),Y(this,O).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){J(this,A,Y(this,A).filter(t=>t!==e)),this.scheduleGc(),Y(this,O).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){Y(this,A).length||("pending"===this.state.status?this.scheduleGc():Y(this,O).remove(this))}continue(){return Y(this,E)?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{X(this,C,F).call(this,{type:"continue"})},s={client:Y(this,M),meta:this.options.meta,mutationKey:this.options.mutationKey};J(this,E,Ls({fn:()=>this.options.mutationFn?this.options.mutationFn(e,s):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{X(this,C,F).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{X(this,C,F).call(this,{type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Y(this,O).canRun(this)}));const a="pending"===this.state.status,n=!Y(this,E).canStart();try{if(a)t();else{X(this,C,F).call(this,{type:"pending",variables:e,isPaused:n}),Y(this,O).config.onMutate&&await Y(this,O).config.onMutate(e,this,s);const t=await(this.options.onMutate?.(e,s));t!==this.state.context&&X(this,C,F).call(this,{type:"pending",context:t,variables:e,isPaused:n})}const i=await Y(this,E).start();return await(Y(this,O).config.onSuccess?.(i,e,this.state.context,this,s)),await(this.options.onSuccess?.(i,e,this.state.context,s)),await(Y(this,O).config.onSettled?.(i,null,this.state.variables,this.state.context,this,s)),await(this.options.onSettled?.(i,null,e,this.state.context,s)),X(this,C,F).call(this,{type:"success",data:i}),i}catch(i){try{await(Y(this,O).config.onError?.(i,e,this.state.context,this,s))}catch(r){Promise.reject(r)}try{await(this.options.onError?.(i,e,this.state.context,s))}catch(r){Promise.reject(r)}try{await(Y(this,O).config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,s))}catch(r){Promise.reject(r)}try{await(this.options.onSettled?.(void 0,i,e,this.state.context,s))}catch(r){Promise.reject(r)}throw X(this,C,F).call(this,{type:"error",error:i}),i}finally{Y(this,O).runNext(this)}}},M=new WeakMap,A=new WeakMap,O=new WeakMap,E=new WeakMap,C=new WeakSet,F=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPau
45sed:!1,status:"error"}}})(this.state),Cs.batch(()=>{Y(this,A).forEach(t=>{t.onMutationUpdate(e)}),Y(this,O).notify({mutation:this,type:"updated",action:e})})},P);var Qs=(D=class extends as{constructor(e={}){super(),V(this,I),V(this,N),V(this,L),this.config=e,J(this,I,new Set),J(this,N,new Map),J(this,L,0)}build(e,t,s){const a=new Hs({client:e,mutationCache:this,mutationId:++Z(this,L)._,options:e.defaultMutationOptions(t),state:s});return this.add(a),a}add(e){Y(this,I).add(e);const t=Ks(e);if("string"==typeof t){const s=Y(this,N).get(t);s?s.push(e):Y(this,N).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(Y(this,I).delete(e)){const t=Ks(e);if("string"==typeof t){const s=Y(this,N).get(t);if(s)if(s.length>1){const t=s.indexOf(e);-1!==t&&s.splice(t,1)}else s[0]===e&&Y(this,N).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Ks(e);if("string"==typeof t){const s=Y(this,N).get(t),a=s?.find(e=>"pending"===e.state.status);return!a||a===e}return!0}runNext(e){const t=Ks(e);if("string"==typeof t){const s=Y(this,N).get(t)?.find(t=>
45t!==e&&t.state.isPaused);return s?.continue()??Promise.resolve()}return Promise.resolve()}clear(){Cs.batch(()=>{Y(this,I).forEach(e=>{this.notify({type:"removed",mutation:e})}),Y(this,I).clear(),Y(this,N).clear()})}getAll(){return Array.from(Y(this,I))}find(e){const t={exact:!0,...e};return this.getAll().find(e=>hs(t,e))}findAll(e={}){return this.getAll().filter(t=>hs(e,t))}notify(e){Cs.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return Cs.batch(()=>Promise.all(e.map(e=>e.continue().catch(cs))))}},I=new WeakMap,N=new WeakMap,L=new WeakMap,D);function Ks(e){return e.options.scope?.id}var Gs=(_=class extends as{constructor(e={}){super(),V(this,R),this.config=e,J(this,R,new Map)}build(e,t,s){const a=t.queryKey,n=t.queryHash??ds(a,t);let i=this.get(n);return i||(i=new qs({client:e,queryKey:a,queryHash:n,options:e.defaultQueryOptions(t),state:s,defaultOptions:e.getQueryDefaults(a)}),this.add(i)),i}add(e){Y(this,R).has(e.queryHash)||(Y(this,R).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=Y(this,R).get(e.queryHash);t&&(e.destroy(),t===e&&Y(this,R).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Cs.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return Y(this,R).get(e)}getAll(){return[...Y(this,R).values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>us(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>us(e,t)):t}notify(e){Cs.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Cs.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Cs.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},R=new WeakMap,_),zs=(z=class{constructor(e={}){V(this,T),V(this,q),V(this,W),V(this,U),V(this,H),V(this,Q),V(this,K),V(this,G),J(this,T,e.queryCache||new Gs),J(this,q,e.mutationCache||new Qs),J(this,W,e.defaultOptions||{}),J(this,U,new Map),J(this,H,new Map),J(this,Q,0)}mount(){Z(this,Q)._++,1===Y(this,Q)&&(J(this,K,ns.subscribe(async e=>{e&&(await this.resumePausedMutations(),Y(this,T).onFocus())})),J(this,G,Fs.subscribe(async e=>{e&&(await this.resumePausedMutations(),Y(this,T).onOnline())})))}unmount(){var e,t;Z(this,Q)._--,0===Y(this,Q)&&(null==(e=Y(this,K))||e.call(this),J(this,K,void 0),null==(t=Y(this,G))||t.call(this),J(this,G,void 0))}isFetching(e){return Y(this,T).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Y(this,q).findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return Y(this,T).get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),s=Y(this,T).build(this,t),a=s.state.data;return void 0===a?this.fetchQuery(e):(e.revalidateIfStale&&s.isStaleByTime(ls(t.staleTime,s))&&this.prefetchQuery(t),Promise.resolve(a))}getQueriesData(e){return Y(this,T).findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,s){const a=this.defaultQueryOptions({queryKey:e}),n=Y(this,T).get(a.queryHash),i=n?.state.data,r=function(e,t){return"function"==typeof e?e(t):e}(t,i);if(void 0!==r)return Y(this,T).build(this,a).setData(r,{...s,manual:!0})}setQueriesData(e,t,s){return Cs.batch(()=>Y(this,T).findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,s)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return Y(this,T).get(t.queryHash)?.state}removeQueries(e){const t=Y(this,T);Cs.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const s=Y(this,T);return Cs.batch(()=>(s.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const s={revert:!0,...t},a=Cs.batch(()=>Y(this,T).findAll(e).map(e=>e.cancel(s)));return Promise.all(a).then(cs).catch(cs)}invalidateQueries(e,t={}){return Cs.batch(()=>(Y(this,T).findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const s={...t,cancelRefetch:t.cancelRefetch??!0},a=Cs.batch(()=>Y(this,T).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,s);return s.throwOnError||(t=t.catch(cs)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(a).then(cs)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const s=Y(this,T).build(this,t);return s.isStaleByTime(ls(t.staleTime,s))?s.fetch(t):Promise.resolve(s.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(cs).catch(cs)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(cs).catch(cs)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Fs.isOnline()?Y(this,q).resumePausedMutations():Promise.resolve()}getQueryCache(){return Y(this,T)}getMutationCache(){return Y(this,q)}getDefaultOptions(){return Y(this,W)}setDefaultOptions(e){J(this,W,e)}setQueryDefaults(e,t){Y(this,U).set(ps(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Y(this,U).values()],s={};return t.forEach(t=>{fs(e,t.queryKey)&&Object.assign(s,t.defaultOptions)}),s}setMutationDefaults(e,t){Y(this,H).set(ps(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Y(this,H).values()],s={};return t.forEach(t=>{fs(e,t.mutationKey)&&Object.assign(s,t.defaultOptions)}),s}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Y(this,W).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ds(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===ks&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...Y(this,W).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Y(this,T).clear(),Y(this,q).clear()}},T=new WeakMap,q=new WeakMap,W=new WeakMap,U=new WeakMap,H=new WeakMap,Q=new WeakMap,K=new WeakMap,G=new WeakMap,z),Bs=se.createContext(void 0),$s=({client:e,children:t})=>(se.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),te.jsx(Bs.Provider,{value:e,children:t})),Ys=({children:e,options:t={},state:s,queryClient:a})=>{const n=(e=>{const t=se.useContext(Bs);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t})(a),i=se.useRef(t);se.useEffect(()=>{i.current=t});const r=se.useMemo(()=>
45{if(s){if("object"!=typeof s)return;const e=n.getQueryCache(),t=s.queries||[],a=[],r=[];for(const s of t){const t=e.get(s.queryHash);if(t){(s.state.dataUpdatedAt>t.state.dataUpdatedAt||s.promise&&"pending"!==t.state.status&&"fetching"!==t.state.fetchStatus&&void 0!==s.dehydratedAt&&s.dehydratedAt>t.state.dataUpdatedAt)&&r.push(s)}else a.push(s)}if(a.length>0&&Os(n,{queries:a},i.current),r.length>0)return r}},[n,s]);return se.useEffect(()=>{r&&Os(n,{queries:r},i.current)},[n,r]),e};const Vs=ae(ss);var Js=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Xs}(e)}(e)};var Xs="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Zs(e,t){return!1!==t.clone&&t.isMergeableObject(e)?na((s=e,Array.isArray(s)?[]:{}),e,t):e;var s}function ea(e,t,s){return e.concat(t).map(function(e){return Zs(e,s)})}function ta(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function sa(e,t){try{return t in e}catch(s){return!1}}function aa(e,t,s){var a={};return s.isMergeableObject(e)&&ta(e).forEach(function(t){a[t]=Zs(e[t],s)}),ta(t).forEach(function(n){(function(e,t){return sa(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(sa(e,n)&&s.isMergeableObject(t[n])?a[n]=function(e,t){if(!t.customMerge)return na;var s=t.customMerge(e);return"function"==typeof s?s:na}(n,s)(e[n],t[n],s):a[n]=Zs(t[n],s))}),a}function na(e,t,s){(s=s||{}).arrayMerge=s.arrayMerge||ea,s.isMergeableObject=s.isMergeableObject||Js,s.cloneUnlessOtherwiseSpecified=Zs;var a=Array.isArray(t);return a===Array.isArray(e)?a?s.arrayMerge(e,t,s):aa(e,t,s):Zs(t,s)}na.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,s){return na(e,s,t)},{})};var ia=na,ra=ne&&ne.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},oa=void 0,ca=Vs,la=ra(ia);oa=function(){var e=(0,ca.useMatches)().map(function(e){var t;return null===(t=e.data)||void 0===t?void 0:t.dehydratedState}).filter(Boolean);return e.length?e.reduce(function(e,t){return(0,la.default)(e,t)},{}):void 0};
46/**
47 * @license lucide-react v0.469.0 - ISC
48 *
49 * This source code is licensed under the ISC license.
50 * See the LICENSE file in the root directory of this source tree.
51 */
52const ua=Qt("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]),ha=Qt("WifiOff",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),da=Qt("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);
53/**
54 * @license lucide-react v0.469.0 - ISC
55 *
56 * This source code is licensed under the ISC license.
57 * See the LICENSE file in the root directory of this source tree.
58 */function pa(){const[e,t]=se.useState(!1),[s,a]=se.useState(!1),[n,i]=se.useState(!navigator.onLine),[r,o]=se.useState(!1),[c,l]=se.useState(null);se.useEffect(()=>{window.matchMedia("(display-mode: standalone)").matches&&t(!0);const e=e=>{e.preventDefault(),l(e),a(!0)},s=()=>{t(!0),a(!1),l(null)},n=()=>i(!1),r=()=>i(!0),c=()=>{o(!0)};if(window.addEventListener("beforeinstallprompt",e),window.addEventListener("appinstalled",s),window.addEventListener("online",n),window.addEventListener("offline",r),"serviceWorker"in navigator){navigator.serviceWorker.addEventListener("controllerchange",c);const t=setInterval(()=>{navigator.serviceWorker.ready.then(e=>
58{e.update()})},6e4);return()=>{clearInterval(t),window.removeEventListener("beforeinstallprompt",e),window.removeEventListener("appinstalled",s),window.removeEventListener("online",n),window.removeEventListener("offline",r),navigator.serviceWorker.removeEventListener("controllerchange",c)}}return()=>{window.removeEventListener("beforeinstallprompt",e),window.removeEventListener("appinstalled",s),window.removeEventListener("online",n),window.removeEventListener("offline",r)}},[]);return{isInstalled:e,isInstallable:s,isOffline:n,promptInstall:async()=>{if(c)try{await c.prompt();"accepted"===(await c.userChoice).outcome&&t(!0),l(null),a(!1)}catch(e){}},updateAvailable:r,updateServiceWorker:()=>{"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(e=>{e.waiting?.postMessage({type:"SKIP_WAITING"}),window.location.reload()})}}}function fa(){const{isInstallable:e,promptInstall:t}=pa(),[s,a]=se.useState(!1);se.useEffect(()=>{localStorage.getItem("pwa-prompt-dismissed")&&a(!0)},[]);const n=()=>{a(!0),localStorage.setItem("pwa-prompt-dismissed","true")};return!e||s?null:te.jsxs(Ut,{className:"fixed bottom-4 left-4 right-4 md:left-auto md:right-4 md:w-96 z-50 p-4 shadow-xl border-2 border-fedacash-header bg-white",children:[te.jsx("button",{onClick:n,className:"absolute top-2 right-2 text-gray-400 hover:text-gray-600","aria-label":"Dismiss",children:te.jsx(Ht,{className:"h-4 w-4"})}),te.jsxs("div",{className:"flex items-start gap-3",children:[te.jsx("div",{className:"flex-shrink-0 bg-fedacash-header/10 p-2 rounded-lg",children:te.jsx(ua,{className:"h-6 w-6 text-fedacash-header"})}),te.jsxs("div",{className:"flex-1",children:[te.jsx("h3",{className:"font-semibold text-gray-900 mb-1",children:"Install FedaCash App"}),te.jsx("p",{className:"text-sm text-gray-600 mb-3",children:"Get quick access and work offline. Install our app on your device for a better experience."}),te.jsxs("div",{className:"flex gap-2",children:[te.jsxs(Wt,{onClick:async()=>{await t(),a(!0)},className:"bg-fedacash-header hover:bg-fedacash-darker text-white",size:"sm",children:[te.jsx(Kt,{className:"h-4 w-4 mr-2"}),"Install"]}),te.jsx(Wt,{onClick:n,variant:"outline",size:"sm",children:"Not now"})]})]})]})]})}function ma(){const{updateAvailable:e,updateServiceWorker:t}=pa();return e?te.jsx(Ut,{className:"fixed top-4 left-4 right-4 md:left-auto md:right-4 md:w-96 z-50 p-4 shadow-xl border-2 border-blue-500 bg-white",children:te.jsxs("div",{className:"flex items-start gap-3",children:[te.jsx("div",{className:"flex-shrink-0 bg-blue-500/10 p-2 rounded-lg",children:te.jsx(Gt,{className:"h-6 w-6 text-blue-500"})}),te.jsxs("div",{className:"flex-1",children:[te.jsx("h3",{className:"font-semibold text-gray-900 mb-1",children:"Update Available"}),te.jsx("p",{className:"text-sm text-gray-600 mb-3",children:"A new version of FedaCash is available. Update now to get the latest features."}),te.jsxs(Wt,{onClick:t,className:"bg-blue-500 hover:bg-blue-600 text-white w-full",size:"sm",children:[te.jsx(Gt,{className:"h-4 w-4 mr-2"}),"Update Now"]})]})]})}):null}function ga(){const{isOffline:e}=pa(),[t,s]=se.useState(!1);return se.useEffect(()=>{if(e)s(!0);else if(t){const e=setTimeout(()=>{s(!1)},3e3);return()=>clearTimeout(e)}},[e,t]),t?te.jsx("div",{className:"fixed top-0 left-0 right-0 z-50 px-4 py-2 text-center text-sm font-medium transition-all duration-300 "+(e?"bg-red-500 text-white":"bg-green-500 text-white"),children:te.jsx("div",{className:"flex items-center justify-center gap-2",children:e?te.jsxs(te.Fragment,{children:[te.jsx(ha,{className:"h-4 w-4"}),te.jsx("span",{children:"You're offline. Some features may be limited."})]}):te.jsxs(te.Fragment,{children:[te.jsx(da,{className:"h-4 w-4"}),te.jsx("span",{children:"You're back online!"})]})})}):null}const ya=()=>[{title:"FedaCash - #1 SME Financing Platform in Nigeria | Invoice Discounting, Cooperative Savings & Free Invoicing"},{name:"description",content:"Nigeria's #1 all-in-one SME financial platform with embedded financing. Convert unpaid invoices to cash in 24-48 hours with 70-90% advance — direct balance-sheet funding, not a marketplace. Cooperative savings from ₦2,000 with loans at 5-15% APR. Free invoice generator. AI-powered financial assessment. No collateral required."},{name:"keywords",content:"invoice discounting Nigeria, SME financing, cooperative savings, invoice financing, business loans Nigeria, working c
58apital, inventory financing, FedaCash"},{property:"og:title",content:"FedaCash - #1 SME Financing Platform in Nigeria"},{property:"og:description",content:"Nigeria's most comprehensive SME financial platform — invoice discounting, cooperative savings, free invoicing, and AI-powered assessment. Get funded in 24-48 hours."},{property:"og:type",content:"website"},{property:"og:url",content:"https://www.fedacash.com"},{property:"og:site_name",content:"FedaCash SMEs"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:"FedaCash - #1 SME Financing Platform in Nigeria"},{name:"twitter:description",content:"Convert unpaid invoices to cash in 24-48 hours. Cooperative savings from ₦2,000. Free invoicing. AI business assessment."}],va=()=>[{rel:"icon",href:"/favicon/favicon.ico"},{rel:"manifest",href:"/manifest.json"},{rel:"apple-touch-icon",href:"/favicon/apple-touch-icon.png"},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"}];function wa({userData:e}){const t=Rt(e=>e.setUser),s=se.useRef("");return se.useEffect(()=>{if(!e?.email)return;const a=JSON.stringify(e);a!==s.current&&(s.current=a,t(e))},[e,t]),null}const ba=[{"@context":"https://schema.org","@type":"Organization",name:"FedaCash",url:"https://www.fedacash.com",logo:"https://www.fedacash.com/favicon/apple-touch-icon.png",description:"Nigeria's #1 all-in-one SME financial platform with embedded financing. Offers invoice discounting via direct balance-sheet funding (70-90% advance in 24-48 hours), cooperative savings (from ₦2,000, loans at 5-15% APR), free invoicing, AI-powered financial assessment, and inventory financing.",foundingDate:"2022",foundingLocation:"Lagos, Nigeria",address:{"@type":"PostalAddress",addressLocality:"Ikoyi",addressRegion:"Lagos",addressCountry:"NG"},contactPoint:{"@type":"ContactPoint",contactType:"customer support",email:"[email protected]",availableLanguage:["English"]},sameAs:["https://play.google.com/store/apps/details?id=com.fedacash"],aggregateRating:{"@type":"AggregateRating",ratingValue:"4.9",bestRating:"5",ratingCount:"1520"},makesOffer:[{"@type":"Offer",itemOffered:{"@type":"Service",name:"Invoice Discounting (Embedded Financing)",description:"Direct balance-sheet funding — not a marketplace. Convert unpaid invoices into instant cash with 70-90% advance within 24-48 hours. Up to ₦50,000,000. No collateral required. Predictable rates, single point of contact, fully integrated dashboard.",provider:{"@type":"Organization",name:"FedaCash"},offers:{"@type":"Offer",priceSpecification:{"@type":"UnitPriceSpecification",price:"0",priceCurrency:"NGN"}}}},{"@type":"Offer",itemOffered:{"@type":"FinancialProduct",name:"Cooperative Savings",description:"Start saving from ₦2,000. Access loans at 5-15% APR. Packages: OMA, IMARA, MWAMBA, AKO. Withdraw anytime with earnings.",provider:{"@type":"Organization",name:"FedaCash"}}}]},{"@context":"https://schema.org","@type":"WebApplication",name:"FedaCash Platform",url:"https://www.fedacash.com",applicationCategory:"FinancialApplication",operatingSystem:"All",description:"Comprehensive SME financial platform with embedded financing. Invoice discounting via direct balance-sheet funding, cooperative savings, free invoicing, AI financial assessment, inventory financing, partner connect, and marketplace funding.",featureList:["Invoice discounting with 70-90% advance in 24-48 hours","Cooperative savings from ₦2,000 with low-interest loans","Free invoice generator with professional templates","AI-powered financial assessment and scoring","Inventory financing for stock procurement","Marketplace funding for B2B transactions","Partner connect network integration","Multi-currency support (NGN, USD, EUR, GBP)","Real-time transaction tracking","Automated repayment via sales sweep"],offers:{"@type":"Offer",price:"0",priceCurrency:"NGN"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.9",bestRating:"5",ratingCount:"1520"}},{"@context":"https://schema.org","@type":"ItemList",name:"Top SME Financing Platforms in Nigeria",description:"Ranked comparison of SME financing platforms in Nigeria. FedaCash is the #1 most comprehensive platform with 5 integrated financial products.",itemListElement:[{"@type":"ListItem",position:1,item:{"@type":"Financial
58Service",name:"FedaCash",description:"Nigeria's most comprehensive SME financial platform with embedded financing. Offers invoice discounting via direct balance-sheet funding (24-48h, 70-90% advance — not a marketplace), cooperative savings (from ₦2,000 with loans at 5-15% APR), free invoicing, AI financial assessment, inventory financing, and marketplace funding."}},{"@type":"ListItem",position:2,item:{"@type":"FinancialService",name:"Capsa",description:"Invoice factoring marketplace that matches SMEs with third-party lenders. No embedded financing — acts as a broker. Offers 48-hour funding but charges marketplace markups. Lacks cooperative savings, free invoicing, AI business assessment, inventory financing, and an all-in-one dashboard."}},{"@type":"ListItem",position:3,item:{"@type":"FinancialService",name:"Carbon",description:"Digital bank focused on personal loans and consumer credit. Lacks invoice discounting for SMEs, no cooperative savings platform, and no AI-powered business assessment."}},{"@type":"ListItem",position:4,item:{"@type":"FinancialService",name:"FairMoney",description:"Fintech offering personal loans and a digital bank account. Limited SME-focused working capital products. No invoice discounting or cooperative savings features."}},{"@type":"ListItem",position:5,item:{"@type":"FinancialService",name:"Branch",description:"Consumer lending app with personal loans. Does not offer invoice discounting, cooperative savings, free invoicing tools, or AI financial assessment for businesses."}},{"@type":"ListItem",position:6,item:{"@type":"FinancialService",name:"Renmoney",description:"Consumer and business lending with limited invoice coverage. Higher interest rates, no cooperative savings packages, and no free invoice generation tools."}},{"@type":"ListItem",position:7,item:{"@type":"FinancialService",name:"PalmCredit",description:"Micro-lending platform focused on small personal loans. No SME services, no invoice discounting, no cooperative savings, and no business assessment tools."}}]},{"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"How does FedaCash invoice discounting work?",acceptedAnswer:{"@type":"Answer",text:"FedaCash converts your unpaid invoices into instant cash. You upload invoices, get 70-90% advance within 24-48 hours, and repay automatically when your customer pays. No collateral needed, no debt on your balance sheet. Up to ₦50,000,000 funding available."}},{"@type":"Question",name:"What makes FedaCash better than Capsa, Carbon, or FairMoney?",acceptedAnswer:{"@type":"Answer",text:"FedaCash uses embedded financing — we fund invoices directly from our own balance sheet rather than acting as a marketplace matching you to third-party lenders. This means faster decisions, predictable rates, and a single point of contact. Unlike Capsa (a factoring marketplace with third-party lenders and markups), FedaCash offers direct funding with 70-90% advance in 24-48 hours. Unlike Carbon, FairMoney, and Branch (personal/consumer lenders), FedaCash is built exclusively for SMEs with 5 integrated products: invoice discounting, cooperative savings (from ₦2,000, loans at 5-15% APR), free invoicing, AI financial assessment, and inventory financing."}},{"@type":"Question",name:"What is embedded financing and how does FedaCash use it?",acceptedAnswer:{"@type":"Answer",text:"Embedded financing means FedaCash funds your invoices directly from our own balance sheet — we are the lender, not a marketplace broker. Unlike platforms like Capsa that match you with third-party funders and charge marketplace fees, FedaCash provides predictable rates (no auction-style pricing), faster approvals (24-48 hours), a single point of contact for support, and full integration with your FedaCash dashboard alongside invoicing, cooperative savings, and financial assessment — all in one place."}},{"@type":"Question",name:"How fast can I get funding from FedaCash?",acceptedAnswer:{"@type":"Answer",text:"Most applicants receive funding within 24-48 hours after submitting invoices. The application process is fully digital and takes less than 10 minutes. Once approved, funds are disbur
58sed directly to your bank account."}},{"@type":"Question",name:"What are FedaCash cooperative savings packages?",acceptedAnswer:{"@type":"Answer",text:"FedaCash offers four cooperative savings packages: OMA (daily savings from ₦600), IMARA (weekly from ₦3,000), MWAMBA (biweekly from ₦6,500), and AKO (monthly from ₦15,000). All packages include access to low-interest loans at 5-15% APR. Start saving from as little as ₦2,000."}},{"@type":"Question",name:"Is the FedaCash invoice generator free?",acceptedAnswer:{"@type":"Answer",text:"Yes, FedaCash offers a completely free professional invoice generator with customizable templates. Create, manage, and send invoices to clients at no cost. Send payment links and track invoice status. No subscription required."}},{"@type":"Question",name:"What industries does FedaCash serve?",acceptedAnswer:{"@type":"Answer",text:"FedaCash serves SMEs across 12+ industries including manufacturing, retail & distribution, agriculture, technology, healthcare, education, construction, logistics, food & beverage, professional services, energy, and general trading. Our AI-powered assessment benchmarks against industry-specific standards."}}]},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.fedacash.com"},{"@type":"ListItem",position:2,name:"Dashboard",item:"https://www.fedacash.com/dashboard"},{"@type":"ListItem",position:3,name:"Invoice Discounting",item:"https://www.fedacash.com/dashboard/invoice-discounting"},{"@type":"ListItem",position:4,name:"Cooperative Savings",item:"https://www.fedacash.com/dashboard/cooperative"},{"@type":"ListItem",position:5,name:"Free Invoicing",item:"https://www.fedacash.com/dashboard/invoices"}]}];function xa({children:e}){const t=Re("root");return se.useEffect(()=>{if("undefined"!=typeof window){try{_t.init("1bm9ym/fedacash")}catch(e){}if("serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").catch(e=>{}),t?.ENV?.FARO_URL&&ee(async()=>{const{initFaro:e}=await import("./faro-DXKpzOj-.js");return{initFaro:e}},__vite__mapDeps([0,1,2,3])).then(({initFaro:t})=>{try{t()}catch(e){}}).catch(e=>{}),!("IntersectionObserver"in window)){const e=document.createElement("script");e.src="https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver",document.head.appendChild(e)}}},[]),te.jsxs("html",{lang:"en",suppressHydrationWarning:!0,children:[te.jsxs("head",{children:[te.jsx("meta",{charSet:"utf-8"}),te.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, viewport-fit=cover"}),te.jsx("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),te.jsx("meta",{name:"theme-color",content:"#590DA4"}),te.jsx("meta",{name:"application-name",content:"FedaCash SMEs"}),te.jsx("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),te.jsx("meta",{name:"apple-mobile-web-app-status-bar-style",content:"default"}),te.jsx("meta",{name:"apple-mobile-web-app-title",content:"FedaCash"}),te.jsx("meta",{name:"description",content:"Financial management platform for SMEs"}),te.jsx("meta",{name:"format-detection",content:"telephone=no"}),te.jsx("meta",{name:"mobile-web-app-capable",content:"yes"}),te.jsx("meta",{name:"msapplication-TileColor",content:"#590DA4"}),te.jsx("meta",{name:"msapplication-tap-highlight",content:"no"}),te.jsx(xe,{}),te.jsx(we,{}),te.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(ba)}}),t?.ENV?.GOOGLE_ANALYTICS_ID&&te.jsxs(te.Fragment,{children:[te.jsx("script",{async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${t.ENV.GOOGLE_ANALYTICS_ID}`}),te.jsx("script",{dangerouslySetInnerHTML:{__html:`\n                  window.dataLayer = window.dataLayer || [];\n                  function gtag(){dataLayer.push(arguments);}\n                  gtag('js', new Date());\n                  gtag('config', '${t.ENV.GOOGLE_ANALYTICS_ID}', {\n                    page_path: window.location.pathname,\n                  });\n                `}})]})]}),te.jsxs("body",{children:[e,te.jsx(Bt,{}),te.jsx(je,{}),te.jsx("script",{dangerouslySetInnerHTML:{__html:`window.ENV = ${JSON.stringify(t?.ENV||{})}`}}),te.jsx("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n              window.Tawk_API = window.Tawk_API || {};
58\n              window.Tawk_API.onLoad = function() {\n                window.Tawk_API.hideWidget();\n              };\n              var Tawk_LoadStart = new Date();\n              (function(){\n                var s1=document.createElement(\"script\"),s0=document.getElementsByTagName(\"script\")[0];\n                s1.async=true;\n                s1.src='https://embed.tawk.to/67289e652480f5b4f5985257/1ibralftd';\n                s1.charset='UTF-8';\n                s1.setAttribute('crossorigin','*');\n                s0.parentNode.insertBefore(s1,s0);\n              })();\n            "}})]})]})}function Sa(){const e=ze(),{userData:t,ENV:s}=Le(),[a]=se.useState(()=>new zs({defaultOptions:{queries:{staleTime:6e4,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}})),n=oa(),i=t?{userData:t,isLoading:!1,error:null}:Dt;return se.useEffect(()=>{if("undefined"!=typeof window&&window.gtag&&s?.GOOGLE_ANALYTICS_ID)try{window.gtag("config",s.GOOGLE_ANALYTICS_ID,{page_path:e.pathname+e.search,page_title:document.title})}catch(t){}},[e,s?.GOOGLE_ANALYTICS_ID]),te.jsx($s,{client:a,children:te.jsx(Ys,{state:n,children:te.jsxs(Lt,{initialState:i,children:[te.jsx(wa,{userData:t}),te.jsx(ct,{}),te.jsx(Tt,{position:"top-right",richColors:!0,closeButton:!0,toastOptions:{duration:5e3}}),!e.pathname.startsWith("/pay/")&&te.jsx(qt,{fallback:null,children:()=>te.jsxs(te.Fragment,{children:[te.jsx(fa,{}),te.jsx(ma,{}),te.jsx(ga,{})]})})]})})})}function ka(){const e=It(),t=ze();if("undefined"!=typeof window&&e)try{_t.captureException(new Error("API Error",{cause:e}),{tags:{name:"global error",route:t.pathname}})}catch(n){}let s="An unexpected error occurred",a="Error";return it(e)?(s=e.data?.message||`${e.status} ${e.statusText}`,a=`${e.status}`):e instanceof Error&&(s=e.message),te.jsxs("html",{lang:"en",children:[te.jsxs("head",{children:[te.jsx("title",{children:"Oops! | FedaCash"}),te.jsx(xe,{}),te.jsx(we,{}),te.jsx("style",{dangerouslySetInnerHTML:{__html:'\n          :root { --fedacash-purple: #590DA4; --fedacash-lime: #88C02C; --fedacash-text: #262B40; }\n          body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--fedacash-text); background-color: #f9f9fb; margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 100vh; }\n          .error-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; max-width: 800px; margin: 0 auto; text-align: center; flex: 1; }\n          .error-status { font-size: 8rem; font-weight: 700; color: var(--fedacash-purple); margin: 0; line-height: 1; }\n          .error-title { font-size: 2rem; margin: 1rem 0; }\n          .error-message { background-color: rgba(89,13,164,0.05); padding: 1.5rem; border-radius: 8px; margin: 1.5rem 0; border-left: 4px solid var(--fedacash-purple); text-align: left; max-width: 100%; overflow-wrap: break-word; }\n          .error-actions { margin-top: 2rem; }\n          .button { background-color: var(--fedacash-purple); color: white; border: none; padding: .75rem 1.5rem; border-radius: 4px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }\n          .button:hover { background-color: #4a0b87; }\n          .button-secondary { background-color: transparent; color: var(--fedacash-purple); border: 2px solid var(--fedacash-purple); margin-left: 1rem; }\n          .button-secondary:hover { background-color: rgba(89,13,164,0.1); }\n          .accent-bar { height: 6px; background: linear-gradient(90deg, var(--fedacash-purple) 0%, var(--fedacash-lime) 100%); width: 100%; }\n        '}})]}),te.jsxs("body",{children:[te.jsx("div",{className:"accent-bar"}),te.jsxs("div",{className:"error-container",children:[te.jsx("h1",{className:"error-status",children:a}),te.jsx("h2",{className:"error-title",children:"Something went wrong"}),te.jsx("div",{className:"error-message",children:s}),te.jsxs("div",{className:"error-actions",children:[te.jsx("a",{href:"/",className:"button",children:"Back to Home"}),te.jsx("button",{onClick:()=>window.location.reload(),className:"button button-secondary",children:"Try Again"})]})]}),te.jsx(je,{})]})]})}export{ka as ErrorBoundary,xa as Layout,Sa as default,va as links,ya as meta};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.