1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2454],{22454:(t,e,s)=>{s.d(e,{I:()=>R});var r=s(56195),i=s(74268),n=s(31668),a=s(38445),u=s(83515),o=s(34049),h=class extends a.Q{constructor(t,e){super(),this.options=e,this.#t=t,this.#e=null,this.#s=(0,u.T)(),this.options.experimental_prefetchInRender||this.#s.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(e)}#t;#r=void 0;#i=void 0;#n=void 0;#a;#u;#s;#e;#o;#h;#c;#l;#d;#f;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#r.addObserver(this),c(this.#r,this.options)?this.#y():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return l(this.#r,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return l(this.#r,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#m(),this.#r.removeObserver(this)}setOptions(t){let e=this.options,s=this.#r;if(this.options=this.#t.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,o.Eh)(this.options.enabled,this.#r))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#r.setOptions(this.options),e._defaulted&&!(0,o.f8)(this.options,e)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#r,observer:this});let r=this.hasListeners();r&&d(this.#r,s,this.options,e)&&this.#y(),this.updateResult(),r&&(this.#r!==s||(0,o.Eh)(this.options.enabled,this.#r)!==(0,o.Eh)(e.enabled,this.#r)||(0,o.d2)(this.options.staleTime,this.#r)!==(0,o.d2)(e.staleTime,this.#r))&&this.#g();let i=this.#S();r&&(this.#r!==s||(0,o.Eh)(this.options.enabled,this.#r)!==(0,o.Eh)(e.enabled,this.#r)||i!==this.#f)&&this.#O(i)}getOptimisticResult(t){var e,s;let r=this.#t.getQueryCache().build(this.#t,t),i=this.createResult(r,t);return e=this,s=i,(0,o.f8)(e.getCurrentResult(),s)||(this.#n=i,this.#u=this.options,this.#a=this.#r.state),i}getCurrentResult(){return this.#n}trackResult(t,e){return new Proxy(t,{get:(t,s)=>(this.trackProp(s),e?.(s),Reflect.get(t,s))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#r}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e=this.#t.defaultQueryOptions(t),s=this.#t.getQueryCache().build(this.#t,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#y({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#y(t){this.#R();let e=this.#r.fetch(this.options,t);return t?.throwOnError||(e=e.catch(o.lQ)),e}#g(){this.#b();let t=(0,o.d2)(this.options.staleTime,this.#r);if(o.S$||this.#n.isStale||!(0,o.gn)(t))return;let e=(0,o.j3)(this.#n.dataUpdatedAt,t);this.#l=setTimeout(()=>{this.#n.isStale||this.updateResult()},e+1)}#S(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#r):this.options.refetchInterval)??!1}#O(t){this.#m(),this.#f=t,!o.S$&&!1!==(0,o.Eh)(this.options.enabled,this.#r)&&(0,o.gn)(this.#f)&&0!==this.#f&&(this.#d=setInterval(()=>{(this.options.refetchIntervalInBackground||r.m.isFocused())&&this.#y()},this.#f))}#v(){this.#g(),this.#O(this.#S())}#b(){this.#l&&(clearTimeout(this.#l),this.#l=void 0)}#m(){this.#d&&(clearInterval(this.#d),this.#d=void 0)}createResult(t,e){let s,r=this.#r,i=this.options,a=this.#n,h=this.#a,l=this.#u,p=t!==r?t.state:this.#i,{state:y}=t,v={...y},b=!1;if(e._optimisticResults){let s=this.hasListeners(),a=!s&&c(t,e),u=s&&d(t,r,e,i);(a||u)&&(v={...v,...(0,n.k)(y.data,t.options)}),"isRestoring"===e._optimisticResults&&(v.fetchStatus="idle")}let{error:m,errorUpdatedAt:R,status:g}=v;s=v.data;let S=!1;if(void 0!==e.placeholderData&&void 0===s&&"pending"===g){let t;a?.isPlaceholderData&&e.placeholderData===l?.placeholderData?(t=a.data,S=!0):t="function"==typeof e.placeholderData?e.placeholderData(this.#c?.state.data,this.#c):e.placeholderData,void 0!==t&&(g="success",s=(0,o.pl)(a?.data,t,e),b=!0)}if(e.select&&void 0!==s&&!S)if(a&&s===h?.data&&e.select===this.#o)s=this.#h;else try{this.#o=e.select,s=e.select(s),s=(0,o.pl)(a?.data,s,e),this.#h=s,this.#e=null}catch(t){this.#e=t}this.#e&&(m=this.#e,s=this.#h,R=Date.now(),g="error");let O="fetching"===v.fetchStatus,Q="pending"===g,C="error"===g,w=Q&&O,E=void 0!==s,T={status:g,fetchStatus:v.fetchStatus,isPending:Q,isSuccess:"success"===g,isError:C,isInitialLoading:w,isLoading:w,data:s,dataUpdatedAt:v.dataUpdatedAt,error:m,errorUpdatedAt:R,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdate
1Count:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>p.dataUpdateCount||v.errorUpdateCount>p.errorUpdateCount,isFetching:O,isRefetching:O&&!Q,isLoadingError:C&&!E,isPaused:"paused"===v.fetchStatus,isPlaceholderData:b,isRefetchError:C&&E,isStale:f(t,e),refetch:this.refetch,promise:this.#s};if(this.options.experimental_prefetchInRender){let e=t=>{"error"===T.status?t.reject(T.error):void 0!==T.data&&t.resolve(T.data)},s=()=>{e(this.#s=T.promise=(0,u.T)())},i=this.#s;switch(i.status){case"pending":t.queryHash===r.queryHash&&e(i);break;case"fulfilled":("error"===T.status||T.data!==i.value)&&s();break;case"rejected":("error"!==T.status||T.error!==i.reason)&&s()}}return T}updateResult(){let t=this.#n,e=this.createResult(this.#r,this.options);if(this.#a=this.#r.state,this.#u=this.options,void 0!==this.#a.data&&(this.#c=this.#r),(0,o.f8)(e,t))return;this.#n=e;let s=()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,s="function"==typeof e?e():e;if("all"===s||!s&&!this.#p.size)return!0;let r=new Set(s??this.#p);return this.options.throwOnError&&r.add("error"),Object.keys(this.#n).some(e=>this.#n[e]!==t[e]&&r.has(e))};this.#Q({listeners:s()})}#R(){let t=this.#t.getQueryCache().build(this.#t,this.options);if(t===this.#r)return;let e=this.#r;this.#r=t,this.#i=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#Q(t){i.jG.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#n)}),this.#t.getQueryCache().notify({query:this.#r,type:"observerResultsUpdated"})})}};function c(t,e){return!1!==(0,o.Eh)(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==e.retryOnMount)||void 0!==t.state.data&&l(t,e,e.refetchOnMount)}function l(t,e,s){if(!1!==(0,o.Eh)(e.enabled,t)){let r="function"==typeof s?s(t):s;return"always"===r||!1!==r&&f(t,e)}return!1}function d(t,e,s,r){return(t!==e||!1===(0,o.Eh)(r.enabled,t))&&(!s.suspense||"error"!==t.state.status)&&f(t,s)}function f(t,e){return!1!==(0,o.Eh)(e.enabled,t)&&t.isStaleByTime((0,o.d2)(e.staleTime,t))}var p=s(12115),y=s(99776);s(95155);var v=p.createContext(function(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}()),b=p.createContext(!1);b.Provider;var m=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function R(t,e){return function(t,e,s){var r,n,a,u,h;let c=(0,y.jE)(s),l=p.useContext(b),d=p.useContext(v),f=c.defaultQueryOptions(t);null==(n=c.getDefaultOptions().queries)||null==(r=n._experimental_beforeQuery)||r.call(n,f),f._optimisticResults=l?"isRestoring":"optimistic";let R=f.staleTime;f.suspense&&(f.staleTime="function"==typeof R?(...t)=>Math.max(R(...t),1e3):Math.max(R??1e3,1e3),"number"==typeof f.gcTime&&(f.gcTime=Math.max(f.gcTime,1e3))),(f.suspense||f.throwOnError||f.experimental_prefetchInRender)&&!d.isReset()&&(f.retryOnMount=!1),p.useEffect(()=>{d.clearReset()},[d]);let g=!c.getQueryCache().get(f.queryHash),[S]=p.useState(()=>new e(c,f)),O=S.getOptimisticResult(f),Q=!l&&!1!==t.subscribed;if(p.useSyncExternalStore(p.useCallback(t=>{let e=Q?S.subscribe(i.jG.batchCalls(t)):o.lQ;return S.updateResult(),e},[S,Q]),()=>S.getCurrentResult(),()=>S.getCurrentResult()),p.useEffect(()=>{S.setOptions(f)},[f,S]),f?.suspense&&O.isPending)throw m(f,S,d);if((t=>{let{result:e,errorResetBoundary:s,throwOnError:r,query:i,suspense:n}=t;return e.isError&&!s.isReset()&&!e.isFetching&&i&&(n&&void 0===e.data||(0,o.GU)(r,[e.error,i]))})({result:O,errorResetBoundary:d,throwOnError:f.throwOnError,query:c.getQueryCache().get(f.queryHash),suspense:f.suspense}))throw O.error;if(null==(u=c.getDefaultOptions().queries)||null==(a=u._experimental_afterQuery)||a.call(u,f,O),f.experimental_prefetchInRender&&!o.S$&&O.isLoading&&O.isFetching&&!l){let t=g?m(f,S,d):null==(h=c.getQueryCache().get(f.queryHash))?void 0:h.promise;null==t||t.catch(o.lQ).finally(()=>{S.updateResult()})}return f.notifyOnChangeProps?O:S.trackResult(O)}(t,h,e)}},31668:(t,e,s)=>{s.d(e,{X:()=>u,k:()=>o});var r=s(34049),i=s(74268),n=s(93049),a=s(69781),u=class extends a.k{#C;#w;#E;#t;#T;#F;#I;constructor(t){super(),this.#I=!1,this.#F=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#t=t.client,this.#
1E=this.#t.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#C=function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,r=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??this.#C,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#T?.promise}setOptions(t){this.options={...this.#F,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#E.remove(this)}setData(t,e){let s=(0,r.pl)(this.state.data,t,this.options);return this.#U({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t,e){this.#U({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#T?.promise;return this.#T?.cancel(t),e?e.then(r.lQ).catch(r.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#C)}isActive(){return this.observers.some(t=>!1!==(0,r.Eh)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.hT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!(0,r.j3)(this.state.dataUpdatedAt,t)}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#T?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#T?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#E.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#T&&(this.#I?this.#T.cancel({revert:!0}):this.#T.cancelRetry()),this.scheduleGc()),this.#E.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#U({type:"invalidate"})}fetch(t,e){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#T)return this.#T.continueRetry(),this.#T.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let s=new AbortController,i=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#I=!0,s.signal)})},a=()=>{let t=(0,r.ZM)(this.options,e),s={client:this.#t,queryKey:this.queryKey,meta:this.meta};return(i(s),this.#I=!1,this.options.persister)?this.options.persister(t,s,this):t(s)},u={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#t,state:this.state,fetchFn:a};i(u),this.options.behavior?.onFetch(u,this),this.#w=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#U({type:"fetch",meta:u.fetchOptions?.meta});let o=t=>{(0,n.wm)(t)&&t.silent||this.#U({type:"error",error:t}),(0,n.wm)(t)||(this.#E.config.onError?.(t,this),this.#E.config.onSettled?.(this.state.data,t,this)),this.scheduleGc()};return this.#T=(0,n.II)({initialPromise:e?.initialPromise,fn:u.fetchFn,abort:s.abort.bind(s),onSuccess:t=>{if(void 0===t)return void o(Error(`${this.queryHash} data is undefined`));try{this.setData(t)}catch(t){o(t);return}this.#E.config.onSuccess?.(t,this),this.#E.config.onSettled?.(t,this.state.error,this),this.scheduleGc()},onError:o,onFail:(t,e)=>{this.#U({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#U({type:"pause"})},onContinue:()=>{this.#U({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0}),this.#T.start()}#U(t){let e=e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...o(e.data,this.options),fetchMeta:t.meta??null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let s=t.error;if((0,n.wm)(s)&&s.revert&&this.#w)return{...this.#w,fetchStatus:"idle"};
1return{...e,error:s,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),i.jG.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#E.notify({query:this,type:"updated",action:t})})}};function o(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,n.v_)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}},34049:(t,e,s)=>{s.d(e,{Cp:()=>p,EN:()=>f,Eh:()=>h,F$:()=>d,GU:()=>E,MK:()=>c,S$:()=>r,ZM:()=>w,ZZ:()=>Q,Zw:()=>n,d2:()=>o,f8:()=>y,gn:()=>a,hT:()=>C,j3:()=>u,lQ:()=>i,nJ:()=>l,pl:()=>g,rX:()=>S,y9:()=>O,yy:()=>R});var r="undefined"==typeof window||"Deno"in globalThis;function i(){}function n(t,e){return"function"==typeof t?t(e):t}function a(t){return"number"==typeof t&&t>=0&&t!==1/0}function u(t,e){return Math.max(t+(e||0)-Date.now(),0)}function o(t,e){return"function"==typeof t?t(e):t}function h(t,e){return"function"==typeof t?t(e):t}function c(t,e){let{type:s="all",exact:r,fetchStatus:i,predicate:n,queryKey:a,stale:u}=t;if(a){if(r){if(e.queryHash!==d(a,e.options))return!1}else if(!p(e.queryKey,a))return!1}if("all"!==s){let t=e.isActive();if("active"===s&&!t||"inactive"===s&&t)return!1}return("boolean"!=typeof u||e.isStale()===u)&&(!i||i===e.state.fetchStatus)&&(!n||!!n(e))}function l(t,e){let{exact:s,status:r,predicate:i,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(s){if(f(e.options.mutationKey)!==f(n))return!1}else if(!p(e.options.mutationKey,n))return!1}return(!r||e.state.status===r)&&(!i||!!i(e))}function d(t,e){return(e?.queryKeyHashFn||f)(t)}function f(t){return JSON.stringify(t,(t,e)=>b(e)?Object.keys(e).sort().reduce((t,s)=>(t[s]=e[s],t),{}):e)}function p(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).every(s=>p(t[s],e[s]))}function y(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let s in t)if(t[s]!==e[s])return!1;return!0}function v(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function b(t){if(!m(t))return!1;let e=t.constructor;if(void 0===e)return!0;let s=e.prototype;return!!m(s)&&!!s.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function m(t){return"[object Object]"===Object.prototype.toString.call(t)}function R(t){return new Promise(e=>{setTimeout(e,t)})}function g(t,e,s){return"function"==typeof s.structuralSharing?s.structuralSharing(t,e):!1!==s.structuralSharing?function t(e,s){if(e===s)return e;let r=v(e)&&v(s);if(r||b(e)&&b(s)){let i=r?e:Object.keys(e),n=i.length,a=r?s:Object.keys(s),u=a.length,o=r?[]:{},h=0;for(let n=0;n<u;n++){let u=r?n:a[n];(!r&&i.includes(u)||r)&&void 0===e[u]&&void 0===s[u]?(o[u]=void 0,h++):(o[u]=t(e[u],s[u]),o[u]===e[u]&&void 0!==e[u]&&h++)}return n===u&&h===n?e:o}return s}(t,e):e}function S(t){return t}function O(t,e,s=0){let r=[...t,e];return s&&r.length>s?r.slice(1):r}function Q(t,e,s=0){let r=[e,...t];return s&&r.length>s?r.slice(0,-1):r}var C=Symbol();function w(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==C?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}function E(t,e){return"function"==typeof t?t(...e):!!t}},38445:(t,e,s)=>{s.d(e,{Q:()=>r});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},56195:(t,e,s)=>{s.d(e,{m:()=>n});var r=s(38445),i=s(34049),n=new class extends r.Q{#j;#D;#k;constructor(){super(),this.#k=t=>{if(!i.S$&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#D||this.setEventListener(this.#k)}onUnsubscribe(){this.hasListeners()||(this.#D?.(),this.#D=void 0)}setEventListener(t){this.#k=t,this.#D?.(),this.#D=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#j!==t&&(this.#j=t,this.onFocus())}onFocus(){let t=this.isFocused();
1this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#j?this.#j:globalThis.document?.visibilityState!=="hidden"}}},63122:(t,e,s)=>{s.d(e,{t:()=>n});var r=s(38445),i=s(34049),n=new class extends r.Q{#q=!0;#D;#k;constructor(){super(),this.#k=t=>{if(!i.S$&&window.addEventListener){let e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#D||this.setEventListener(this.#k)}onUnsubscribe(){this.hasListeners()||(this.#D?.(),this.#D=void 0)}setEventListener(t){this.#k=t,this.#D?.(),this.#D=t(this.setOnline.bind(this))}setOnline(t){this.#q!==t&&(this.#q=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#q}}},69781:(t,e,s)=>{s.d(e,{k:()=>i});var r=s(34049),i=class{#x;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.gn)(this.gcTime)&&(this.#x=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(r.S$?1/0:3e5))}clearGcTimeout(){this.#x&&(clearTimeout(this.#x),this.#x=void 0)}}},74268:(t,e,s)=>{s.d(e,{jG:()=>i});var r=t=>setTimeout(t,0),i=function(){let t=[],e=0,s=t=>{t()},i=t=>{t()},n=r,a=r=>{e?t.push(r):n(()=>{s(r)})};return{batch:r=>{let a;e++;try{a=r()}finally{--e||(()=>{let e=t;t=[],e.length&&n(()=>{i(()=>{e.forEach(t=>{s(t)})})})})()}return a},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a,setNotifyFunction:t=>{s=t},setBatchNotifyFunction:t=>{i=t},setScheduler:t=>{n=t}}}()},83515:(t,e,s)=>{s.d(e,{T:()=>r});function r(){let t,e,s=new Promise((s,r)=>{t=s,e=r});function r(t){Object.assign(s,t),delete s.resolve,delete s.reject}return s.status="pending",s.catch(()=>{}),s.resolve=e=>{r({status:"fulfilled",value:e}),t(e)},s.reject=t=>{r({status:"rejected",reason:t}),e(t)},s}},93049:(t,e,s)=>{s.d(e,{II:()=>l,v_:()=>o,wm:()=>c});var r=s(56195),i=s(63122),n=s(83515),a=s(34049);function u(t){return Math.min(1e3*2**t,3e4)}function o(t){return(t??"online")!=="online"||i.t.isOnline()}var h=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function c(t){return t instanceof h}function l(t){let e,s=!1,c=0,l=!1,d=(0,n.T)(),f=()=>r.m.isFocused()&&("always"===t.networkMode||i.t.isOnline())&&t.canRun(),p=()=>o(t.networkMode)&&t.canRun(),y=s=>{l||(l=!0,t.onSuccess?.(s),e?.(),d.resolve(s))},v=s=>{l||(l=!0,t.onError?.(s),e?.(),d.reject(s))},b=()=>new Promise(s=>{e=t=>{(l||f())&&s(t)},t.onPause?.()}).then(()=>{e=void 0,l||t.onContinue?.()}),m=()=>{let e;if(l)return;let r=0===c?t.initialPromise:void 0;try{e=r??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(y).catch(e=>{if(l)return;let r=t.retry??3*!a.S$,i=t.retryDelay??u,n="function"==typeof i?i(c,e):i,o=!0===r||"number"==typeof r&&c<r||"function"==typeof r&&r(c,e);if(s||!o)return void v(e);c++,t.onFail?.(c,e),(0,a.yy)(n).then(()=>f()?void 0:b()).then(()=>{s?v(e):m()})})};return{promise:d,cancel:e=>{l||(v(new h(e)),t.abort?.())},continue:()=>(e?.(),d),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:p,start:()=>(p()?m():b().then(m),d)}}},99776:(t,e,s)=>{s.d(e,{Ht:()=>u,jE:()=>a});var r=s(12115),i=s(95155),n=r.createContext(void 0),a=t=>{let e=r.useContext(n);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},u=t=>{let{client:e,children:s}=t;return r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(n.Provider,{value:e,children:s})}}}]);
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.