1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,377636,397326,897786,189917,747195,923092,700519,651498,838181,t=>{"use strict";function e(t,e,i){if(!e.has(t))throw TypeError("attempted to "+i+" private field on non-instance");return e.get(t)}function i(t,i){var s=e(t,i,"get");return s.get?s.get.call(t):s.value}function s(t,e){if(e.has(t))throw TypeError("Cannot initialize the same private elements twice on an object")}function r(t,e,i){s(t,e),e.set(t,i)}function n(t,i,s){var r=e(t,i,"set");if(r.set)r.set.call(t,s);else{if(!r.writable)throw TypeError("attempted to set read only private field");r.value=s}return s}t.s(["_",0,e],397326),t.s(["_",0,i],377636),t.s(["_",0,s],897786),t.s(["_",0,r],189917),t.s(["_",0,n],747195);var a,o,l={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},u=new(a=new WeakMap,o=new WeakMap,class{setTimeoutProvider(t){n(this,a,t)}setTimeout(t,e){return i(this,a).setTimeout(t,e)}clearTimeout(t){i(this,a).clearTimeout(t)}setInterval(t,e){return i(this,a).setInterval(t,e)}clearInterval(t){i(this,a).clearInterval(t)}constructor(){r(this,a,{writable:!0,value:l}),r(this,o,{writable:!0,value:!1})}});t.s(["systemSetTimeoutZero",0,function(t){setTimeout(t,0)},"timeoutManager",0,u],923092);var h="u"<typeof window||"Deno"in globalThis;function c(){}function d(t,e){return((null==e?void 0:e.queryKeyHashFn)||p)(t)}function p(t){return JSON.stringify(t,(t,e)=>_(e)?Object.keys(e).sort().reduce((t,i)=>(t[i]=e[i],t),{}):e)}function f(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(Array.isArray(t)&&Array.isArray(e)){for(let i=0;i<e.length;i++)if(!f(t[i],e[i]))return!1;return!0}for(let i of Object.keys(e))if(!f(t[i],e[i]))return!1;return!0}return!1}var v=Object.prototype.hasOwnProperty;function y(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function _(t){if(!b(t))return!1;let e=t.constructor;if(void 0===e)return!0;let i=e.prototype;return!!b(i)&&!!i.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function b(t){return"[object Object]"===Object.prototype.toString.call(t)}var m=Symbol();t.s(["addConsumeAwareSignal",0,function(t,e,i){let s,r=!1;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(null!=s||(s=e()),r||(r=!0,s.aborted?i():s.addEventListener("abort",i,{once:!0})),s)}),t},"addToEnd",0,function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=[...t,e];return i&&s.length>i?s.slice(1):s},"addToStart",0,function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=[e,...t];return i&&s.length>i?s.slice(0,-1):s},"ensureQueryFn",0,function(t,e){return!t.queryFn&&(null==e?void 0:e.initialPromise)?()=>e.initialPromise:t.queryFn&&t.queryFn!==m?t.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(t.queryHash,"'")))},"functionalUpdate",0,function(t,e){return"function"==typeof t?t(e):t},"hashKey",0,p,"hashQueryKeyByOptions",0,d,"isServer",0,h,"isValidTimeout",0,function(t){return"number"==typeof t&&t>=0&&t!==1/0},"matchMutation",0,function(t,e){let{exact:i,status:s,predicate:r,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(i){if(p(e.options.mutationKey)!==p(n))return!1}else if(!f(e.options.mutationKey,n))return!1}return(!s||e.state.status===s)&&(!r||!!r(e))},"matchQuery",0,function(t,e){let{type:i="all",exact:s,fetchStatus:r,predicate:n,queryKey:a,stale:o}=t;if(a){if(s){if(e.queryHash!==d(a,e.options))return!1}else if(!f(e.queryKey,a))return!1}if("all"!==i){let t=e.isActive();if("active"===i&&!t||"inactive"===i&&t)return!1}return("boolean"!=typeof o||e.isStale()===o)&&(!r||r===e.state.fetchStatus)&&(!n||!!n(e))},"noop",0,c,"partialMatchKey",0,f,"replaceData",0,function(t,e,i){return"function"==typeof i.structuralSharing?i.structuralSharing(t,e):!1!==i.structuralSharing?function t(e,i){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e===i)return e;if(s>500)return i;let r=y(e)&&y(i);if(!r&&!(_(e)&&_(i)))return i;let n=(r?e:Object.keys(e)).length,a=r?i:Object.keys(i),o=a.length,l=r?Array(o):{},u=0;for(let h=0;h<o;h++){let o=r?h:a[h],c=e[o],d=i[o];if(c===d){l[o]=c,(r?h<n:v.call(e,o))&&u++;continue}if(null===c||null===d||"object"!=typeof c||"object"!=typeof d){l[o]=d;continue}let p=t(c,d,s+1);l[o]=p,p===c&&u++}return n===o&&u===n?e:l}(t,e):e},"resolveQueryBoolean",0,function(t,e){return"function"==typeof t?t(e):t},"resolveStaleTime",0,function(t,e){return"function"==typeof t?t(e):t},"shallowEqualObjects",0,function(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let i in t)if(t[i]!==e[i])return!1;return!0},"shouldThrowError",0,function(t,e){return"function"==typeof t?t(...e):!!t},"skipToken",0,m,"sleep",0,function(t){return new Promise(e=>{u.setTimeout(e,t)})},"timeUntilStale",0,function(t,e){return Math.max(t+(e||0)-Date.now(),0)}],700519),t.s(["pendingThenable",0,function(){let t,e,i=new Promise((i,s)=>{t=i,e=s});function s(t){Object.assign(i,t),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=e=>{s({status:"fulfilled",value:e}),t(e)},i.reject=t=>{s({status:"rejected",reason:t}),e(t)},i},"tryResolveSync",0,function(t){var e;let i;if(null==(e=t.then(t=>(i=t,t),c))||e.catch(c),void 0!==i)return{data:i}}],651498);var w=t.i(582219),g=t.i(51512),S=w.createContext(void 0);t.s(["QueryClientProvider",0,t=>{let{client:e,children:i}=t;return w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,g.jsx)(S.Provider,{value:e,children:i})},"useQueryClient",0,t=>{let e=w.useContext(S);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e}],838181)},314258,t=>{"use strict";function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t}).apply(this,arguments)}t.s(["_",()=>e])},856063,104411,623440,610934,593558,600446,647854,917767,434938,238573,31616,t=>{"use strict";let e,i,s,r,n,a,o;var l,u,h,c,d,p,f,v,y,_,b,m,w,g,S,O,T,R,k,C,M,E,F,P,Q,W,U,j,q,x,A,I,D,L,B,K,G,H,z,N,V,Z=t.i(377636),J=t.i(189917),X=t.i(747195);function Y(t,e,i){if(!e.has(t))throw TypeError("attempted to get private field on non-instance");return i}t.s(["_",0,Y],104411);var $=t.i(897786);function tt(t,e){(0,$._)(t,e),e.add(t)}t.s(["_",0,tt],623440);var te=t.i(314258),ti=t.i(320778),ts=t.i(984622),tr=class{subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}};t.s(["Subscribable",0,tr],610934);var tn=new(l=new WeakMap,u=new WeakMap,h=new WeakMap,class extends tr{onSubscribe(){(0,Z._)(this,u)||this.setEventListener((0,Z._)(this,h))}onUnsubscribe(){var t;this.hasListeners()||(null==(t=(0,Z._)(this,u))||t.call(this),(0,X._)(this,u,void 0))}setEventListener(t){var e;(0,X._)(this,h,t),null==(e=(0,Z._)(this,u))||e.call(this),(0,X._)(this,u,t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()}))}setFocused(t){(0,Z._)(this,l)!==t&&((0,X._)(this,l,t),this.onFocus())}onFocus(){let t=this.isFocused();
1this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return"boolean"==typeof(0,Z._)(this,l)?(0,Z._)(this,l):(null==(t=globalThis.document)?void 0:t.visibilityState)!=="hidden"}constructor(){super(),(0,J._)(this,l,{writable:!0,value:void 0}),(0,J._)(this,u,{writable:!0,value:void 0}),(0,J._)(this,h,{writable:!0,value:void 0}),(0,X._)(this,h,t=>{if("u">typeof window&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}});t.s(["focusManager",0,tn],593558);var ta=t.i(700519),to=(e=()=>ta.isServer,{isServer:()=>e(),setIsServer(t){e=t}});t.s(["environmentManager",0,to],600446);var tl=t.i(923092),tu=tl.systemSetTimeoutZero,th=(i=[],s=0,r=t=>{t()},n=t=>{t()},a=tu,{batch:t=>{let e;s++;try{e=t()}finally{let t;--s||(t=i,i=[],t.length&&a(()=>{n(()=>{t.forEach(t=>{r(t)})})}))}return e},batchCalls:t=>function(){for(var e=arguments.length,i=Array(e),s=0;s<e;s++)i[s]=arguments[s];o(()=>{t(...i)})},schedule:o=t=>{s?i.push(t):a(()=>{r(t)})},setNotifyFunction:t=>{r=t},setBatchNotifyFunction:t=>{n=t},setScheduler:t=>{a=t}});t.s(["notifyManager",0,th],647854);var tc=new(c=new WeakMap,d=new WeakMap,p=new WeakMap,class extends tr{onSubscribe(){(0,Z._)(this,d)||this.setEventListener((0,Z._)(this,p))}onUnsubscribe(){var t;this.hasListeners()||(null==(t=(0,Z._)(this,d))||t.call(this),(0,X._)(this,d,void 0))}setEventListener(t){var e;(0,X._)(this,p,t),null==(e=(0,Z._)(this,d))||e.call(this),(0,X._)(this,d,t(this.setOnline.bind(this)))}setOnline(t){(0,Z._)(this,c)!==t&&((0,X._)(this,c,t),this.listeners.forEach(e=>{e(t)}))}isOnline(){return(0,Z._)(this,c)}constructor(){super(),(0,J._)(this,c,{writable:!0,value:!0}),(0,J._)(this,d,{writable:!0,value:void 0}),(0,J._)(this,p,{writable:!0,value:void 0}),(0,X._)(this,p,t=>{if("u">typeof window&&window.addEventListener){let e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}});t.s(["onlineManager",0,tc],917767);var td=t.i(651498);function tp(t){return Math.min(1e3*2**t,3e4)}function tf(t){return(null!=t?t:"online")!=="online"||tc.isOnline()}var tv=class extends Error{constructor(t){super("CancelledError"),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}};function ty(t){let e,i=!1,s=0,r=(0,td.pendingThenable)(),n=()=>tn.isFocused()&&("always"===t.networkMode||tc.isOnline())&&t.canRun(),a=()=>tf(t.networkMode)&&t.canRun(),o=t=>{"pending"===r.status&&(null==e||e(),r.resolve(t))},l=t=>{"pending"===r.status&&(null==e||e(),r.reject(t))},u=()=>new Promise(i=>{var s;e=t=>{("pending"!==r.status||n())&&i(t)},null==(s=t.onPause)||s.call(t)}).then(()=>{if(e=void 0,"pending"===r.status){var i;null==(i=t.onContinue)||i.call(t)}}),h=()=>{let e;if("pending"!==r.status)return;let a=0===s?t.initialPromise:void 0;try{e=null!=a?a:t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(o).catch(e=>{var a,o,c;if("pending"!==r.status)return;let d=null!=(a=t.retry)?a:3*!to.isServer(),p=null!=(o=t.retryDelay)?o:tp,f="function"==typeof p?p(s,e):p,v=!0===d||"number"==typeof d&&s<d||"function"==typeof d&&d(s,e);i||!v?l(e):(s++,null==(c=t.onFail)||c.call(t,s,e),(0,ta.sleep)(f).then(()=>n()?void 0:u()).then(()=>{i?l(e):h()}))})};return{promise:r,status:()=>r.status,cancel:e=>{if("pending"===r.status){var i;let s=new tv(e);l(s),null==(i=t.onCancel)||i.call(t,s)}},continue:()=>(null==e||e(),r),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:a,start:()=>(a()?h():u().then(h),r)}}t.s(["CancelledError",0,tv,"canFetch",0,tf,"createRetryer",0,ty],434938);var t_=(f=new WeakMap,class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,ta.isValidTimeout)(this.gcTime)&&(0,X._)(this,f,tl.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,null!=t?t:to.isServer()?1/0:3e5)}clearGcTimeout(){void 0!==(0,Z._)(this,f)&&(tl.timeoutManager.clearTimeout((0,Z._)(this,f)),(0,X._)(this,f,void 0))}constructor(){(0,J._)(this,f,{writable:!0,value:void 0})}});function tb(t,e){let{pages:i,pageParams:s}=e,r=i.length-1;return i.length>0?t.getNextPageParam(i[r],i,s[r],s):void 0}t.s(["Removable",0,t_],238573);var tm=(v=new WeakMap,y=new WeakMap,_=new WeakMap,b=new WeakMap,m=new WeakMap,w=new WeakMap,g=new WeakMap,S=new WeakMap,O=new WeakSet,T=ne
1w WeakSet,class extends t_{get meta(){return this.options.meta}get queryType(){return(0,Z._)(this,v)}get promise(){var t;return null==(t=(0,Z._)(this,w))?void 0:t.promise}setOptions(t){if(this.options=(0,ti._)({},(0,Z._)(this,g),t),(null==t?void 0:t._type)&&(0,X._)(this,v,t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let t=tS(this.options);void 0!==t.data&&(this.setState(tg(t.data,t.dataUpdatedAt)),(0,X._)(this,y,t))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||(0,Z._)(this,b).remove(this)}setData(t,e){let i=(0,ta.replaceData)(this.state.data,t,this.options);return Y(this,T,tT).call(this,{data:i,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt,manual:null==e?void 0:e.manual}),i}setState(t){Y(this,T,tT).call(this,{type:"setState",state:t})}cancel(t){var e,i;let s=null==(e=(0,Z._)(this,w))?void 0:e.promise;return null==(i=(0,Z._)(this,w))||i.cancel(t),s?s.then(ta.noop).catch(ta.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return(0,Z._)(this,y)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==(0,ta.resolveQueryBoolean)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ta.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,ta.resolveStaleTime)(t.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!(0,ta.timeUntilStale)(this.state.dataUpdatedAt,t))}onFocus(){var t;let e=this.observers.find(t=>t.shouldFetchOnWindowFocus());null==e||e.refetch({cancelRefetch:!1}),null==(t=(0,Z._)(this,w))||t.continue()}onOnline(){var t;let e=this.observers.find(t=>t.shouldFetchOnReconnect());null==e||e.refetch({cancelRefetch:!1}),null==(t=(0,Z._)(this,w))||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),(0,Z._)(this,b).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||((0,Z._)(this,w)&&((0,Z._)(this,S)||Y(this,O,tO).call(this)?(0,Z._)(this,w).cancel({revert:!0}):(0,Z._)(this,w).cancelRetry()),this.scheduleGc()),(0,Z._)(this,b).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Y(this,T,tT).call(this,{type:"invalidate"})}async fetch(t,e){var i,s,r,n,a,o,l,u,h,c,d,p;let f;if("idle"!==this.state.fetchStatus&&(null==(i=(0,Z._)(this,w))?void 0:i.status())!=="rejected"){if(void 0!==this.state.data&&(null==e?void 0:e.cancelRefetch))this.cancel({silent:!0});else if((0,Z._)(this,w))return(0,Z._)(this,w).continueRetry(),(0,Z._)(this,w).promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let y=new AbortController,g=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>((0,X._)(this,S,!0),y.signal)})},O=()=>{let t,i=(0,ta.ensureQueryFn)(this.options,e),s=(g(t={client:(0,Z._)(this,m),queryKey:this.queryKey,meta:this.meta}),t);return((0,X._)(this,S,!1),this.options.persister)?this.options.persister(i,s,this):i(s)},R=(g(f={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:(0,Z._)(this,m),state:this.state,fetchFn:O}),f),k="infinite"===(0,Z._)(this,v)?(p=this.options.pages,{onFetch:(t,e)=>{var i,s,r,n,a;let o=t.options,l=null==(r=t.fetchOptions)||null==(s=r.meta)||null==(i=s.fetchMore)?void 0:i.direction,u=(null==(n=t.state.data)?void 0:n.pages)||[],h=(null==(a=t.state.data)?void 0:a.pageParams)||[],c={pages:[],pageParams:[]},d=0,f=async()=>{let e=!1,i=(0,ta.ensureQueryFn)(t.options,t.fetchOptions),s=async(s,r,n)=>{let a;if(e)return Promise.reject(t.signal.reason);if(null==r&&s.pages.length)return Promise.resolve(s);let o=(a={client:t.client,queryKey:t.queryKey,pageParam:r,direction:n?"backward":"forward",meta:t.options.meta},(0,ta.addConsumeAwareSignal)(a,()=>t.signal,()=>e=!0),a),l=await i(o),{maxPages:u}=t.options,h=n?ta.addToStart:ta.addToEnd;return{pages:h(s.pages,l,u),pageParams:h(s.pageParams,r,u)}};if(l&&u.length){let t="backward"===l,e={pages:u,pageParams:h},i=(t?function(t,e){var i;let{pages:s,pageParams:r}=e;return s.length>
10?null==(i=t.getPreviousPageParam)?void 0:i.call(t,s[0],s,r[0],r):void 0}:tb)(o,e);c=await s(e,i,t)}else{let t=null!=p?p:u.length;do{var r;let t=0===d?null!=(r=h[0])?r:o.initialPageParam:tb(o,c);if(d>0&&null==t)break;c=await s(c,t),d++}while(d<t)}return c};t.options.persister?t.fetchFn=()=>{var i,s;return null==(i=(s=t.options).persister)?void 0:i.call(s,f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=f}}):this.options.behavior;null==k||k.onFetch(R,this),(0,X._)(this,_,this.state),("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(s=R.fetchOptions)?void 0:s.meta))&&Y(this,T,tT).call(this,{type:"fetch",meta:null==(r=R.fetchOptions)?void 0:r.meta}),(0,X._)(this,w,ty({initialPromise:null==e?void 0:e.initialPromise,fn:R.fetchFn,onCancel:t=>{t instanceof tv&&t.revert&&this.setState((0,ts._)((0,ti._)({},(0,Z._)(this,_)),{fetchStatus:"idle"})),y.abort()},onFail:(t,e)=>{Y(this,T,tT).call(this,{type:"failed",failureCount:t,error:e})},onPause:()=>{Y(this,T,tT).call(this,{type:"pause"})},onContinue:()=>{Y(this,T,tT).call(this,{type:"continue"})},retry:R.options.retry,retryDelay:R.options.retryDelay,networkMode:R.options.networkMode,canRun:()=>!0}));try{let t=await (0,Z._)(this,w).start();if(void 0===t)throw Error("".concat(this.queryHash," data is undefined"));return this.setData(t),null==(n=(a=(0,Z._)(this,b).config).onSuccess)||n.call(a,t,this),null==(o=(l=(0,Z._)(this,b).config).onSettled)||o.call(l,t,this.state.error,this),t}catch(t){if(t instanceof tv){if(t.silent)return(0,Z._)(this,w).promise;else if(t.revert){if(void 0===this.state.data)throw t;return this.state.data}}throw Y(this,T,tT).call(this,{type:"error",error:t}),null==(u=(h=(0,Z._)(this,b).config).onError)||u.call(h,t,this),null==(c=(d=(0,Z._)(this,b).config).onSettled)||c.call(d,this.state.data,t,this),t}finally{this.scheduleGc()}}constructor(t){var e;super(),tt(this,O),tt(this,T),(0,J._)(this,v,{writable:!0,value:void 0}),(0,J._)(this,y,{writable:!0,value:void 0}),(0,J._)(this,_,{writable:!0,value:void 0}),(0,J._)(this,b,{writable:!0,value:void 0}),(0,J._)(this,m,{writable:!0,value:void 0}),(0,J._)(this,w,{writable:!0,value:void 0}),(0,J._)(this,g,{writable:!0,value:void 0}),(0,J._)(this,S,{writable:!0,value:void 0}),(0,X._)(this,S,!1),(0,X._)(this,g,t.defaultOptions),this.setOptions(t.options),this.observers=[],(0,X._)(this,m,t.client),(0,X._)(this,b,(0,Z._)(this,m).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,(0,X._)(this,y,tS(this.options)),this.state=null!=(e=t.state)?e:(0,Z._)(this,y),this.scheduleGc()}});function tw(t,e){return(0,ti._)({fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tf(e.networkMode)?"fetching":"paused"},void 0===t&&{error:null,status:"pending"})}function tg(t,e){return{data:t,dataUpdatedAt:null!=e?e:Date.now(),error:null,isInvalidated:!1,status:"success"}}function tS(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,i=void 0!==e,s=i?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:i?null!=s?s:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}function tO(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}function tT(t){let e=e=>{switch(t.type){case"failed":return(0,ts._)((0,ti._)({},e),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return(0,ts._)((0,ti._)({},e),{fetchStatus:"paused"});case"continue":return(0,ts._)((0,ti._)({},e),{fetchStatus:"fetching"});case"fetch":var i;return(0,ts._)((0,ti._)({},e,tw(e.data,this.options)),{fetchMeta:null!=(i=t.meta)?i:null});case"success":let s=(0,ti._)((0,ts._)((0,ti._)({},e,tg(t.data,t.dataUpdatedAt)),{dataUpdateCount:e.dataUpdateCount+1}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});return(0,X._)(this,_,t.manual?s:void 0),s;case"error":let r=t.error;return(0,ts._)((0,ti._)({}
1,e),{error:r,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0});case"invalidate":return(0,ts._)((0,ti._)({},e),{isInvalidated:!0});case"setState":return(0,ti._)({},e,t.state)}};this.state=e(this.state),th.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),(0,Z._)(this,b).notify({query:this,type:"updated",action:t})})}t.s(["Query",0,tm,"fetchState",0,tw],31616);var tR=(R=new WeakMap,k=new WeakMap,C=new WeakMap,M=new WeakMap,E=new WeakMap,F=new WeakMap,P=new WeakMap,Q=new WeakMap,W=new WeakMap,U=new WeakMap,j=new WeakMap,q=new WeakMap,x=new WeakMap,A=new WeakMap,I=new WeakMap,D=new WeakSet,L=new WeakSet,B=new WeakSet,K=new WeakSet,G=new WeakSet,H=new WeakSet,z=new WeakSet,N=new WeakSet,V=new WeakSet,class extends tr{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&((0,Z._)(this,k).addObserver(this),tk((0,Z._)(this,k),this.options)?Y(this,D,tF).call(this):this.updateResult(),Y(this,G,tU).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return tC((0,Z._)(this,k),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return tC((0,Z._)(this,k),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Y(this,H,tj).call(this),Y(this,z,tq).call(this),(0,Z._)(this,k).removeObserver(this)}setOptions(t){let e=this.options,i=(0,Z._)(this,k);if(this.options=(0,Z._)(this,R).defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,ta.resolveQueryBoolean)(this.options.enabled,(0,Z._)(this,k)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");Y(this,N,tx).call(this),(0,Z._)(this,k).setOptions(this.options),e._defaulted&&!(0,ta.shallowEqualObjects)(this.options,e)&&(0,Z._)(this,R).getQueryCache().notify({type:"observerOptionsUpdated",query:(0,Z._)(this,k),observer:this});let s=this.hasListeners();s&&tM((0,Z._)(this,k),i,this.options,e)&&Y(this,D,tF).call(this),this.updateResult(),s&&((0,Z._)(this,k)!==i||(0,ta.resolveQueryBoolean)(this.options.enabled,(0,Z._)(this,k))!==(0,ta.resolveQueryBoolean)(e.enabled,(0,Z._)(this,k))||(0,ta.resolveStaleTime)(this.options.staleTime,(0,Z._)(this,k))!==(0,ta.resolveStaleTime)(e.staleTime,(0,Z._)(this,k)))&&Y(this,L,tP).call(this);let r=Y(this,B,tQ).call(this);s&&((0,Z._)(this,k)!==i||(0,ta.resolveQueryBoolean)(this.options.enabled,(0,Z._)(this,k))!==(0,ta.resolveQueryBoolean)(e.enabled,(0,Z._)(this,k))||r!==(0,Z._)(this,A))&&Y(this,K,tW).call(this,r)}getOptimisticResult(t){var e,i;let s=(0,Z._)(this,R).getQueryCache().build((0,Z._)(this,R),t),r=this.createResult(s,t);return e=this,i=r,(0,ta.shallowEqualObjects)(e.getCurrentResult(),i)||((0,X._)(this,M,r),(0,X._)(this,F,this.options),(0,X._)(this,E,(0,Z._)(this,k).state)),r}getCurrentResult(){return(0,Z._)(this,M)}trackResult(t,e){return new Proxy(t,{get:(t,i)=>(this.trackProp(i),null==e||e(i),"promise"===i&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==(0,Z._)(this,P).status||(0,Z._)(this,P).reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(t,i))})}trackProp(t){(0,Z._)(this,I).add(t)}getCurrentQuery(){return(0,Z._)(this,k)}refetch(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,[e={}]=[t],{}=e,i=(0,te._)({},e);return this.fetch((0,ti._)({},i))}fetchOptimistic(t){let e=(0,Z._)(this,R).defaultQueryOptions(t),i=(0,Z._)(this,R).getQueryCache().build((0,Z._)(this,R),e);return i.fetch().then(()=>this.createResult(i,e))}fetch(t){var e;return Y(this,D,tF).call(this,(0,ts._)((0,ti._)({},t),{cancelRefetch:null==(e=t.cancelRefetch)||e})).then(()=>(this.updateResult(),(0,Z._)(this,M)))}createResult(t,e){let i,s=(0,Z._)(this,k),r=this.options,n=(0,Z._)(this,M),a=(0,Z._)(this,E),o=(0,Z._)(this,F),l=t!==s?t.state:(0,Z._)(this,C),{state:u}=t,h=(0,ti._)({},u),c=!1;if(e._optimisticResults){let i=this.hasListeners(),n=!i&&tk(t,e),a=i&&tM(t,s,e,r);(n||a)&&(h=(0,ti._)({},h,tw(u.data,t.options))),"isRestoring"===e._optimisticResults&&(h.fetchStatus="idle")}let{error:d,errorUpdatedAt:p,status:f}=h;i=h.data;let v=!1;if(void 0!==e.placeholderData&&void 0===i&&"pending"===f){let t;if((null==n?void 0:n.isPlaceholderData)&&e.placeholderData===(null==o?void 0:o.placeholderData))t=n.data,v=!0;else{var y;t="function"==typeof e.placeholderData?e.placeholderData(null==(y=(0,Z._)(this,j))?void 0:y.state.data,(0,Z._)(this,j)):e.placeholderData}void 0!==t&&(f="success",i=(0,ta.replaceData)(null==n?void 0:n.data,t,e),c=!0)}if(e.select&&void 0!==i&&!v)if(n&&i===(null==a?void 0:a.data)&&e.select===(0,Z._)(this,W))i=(0,Z._)(this,U);else try{(0,X._)(this,W,e.select),i=e.select(i),i=(0,ta.replaceData)(null==n?void 0:n.data,i,e),(0,X._)(this,U,i),(0,X._)(this,Q,null)}catch(t){(0,X._)(this,Q,t)}(0,Z._)(this,Q)&&(d=(0,Z._)(this,Q),i=(0,Z._)(this,U),p=Date.now(),f="error");let _="fetching"===h.fetchStatus,b="pending"===f,m="error"===f,w=b&&_,g=void 0!==i,S={status:f,fetchStatus:h.fetchStatus,isPending:b,isSuccess:"success"===f,isError:m,isInitialLoading:w,isLoading:w,data:i,dataUpdatedAt:h.dataUpdatedAt,error:d,errorUpdatedAt:p,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdate
1Count:h.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:h.dataUpdateCount>l.dataUpdateCount||h.errorUpdateCount>l.errorUpdateCount,isFetching:_,isRefetching:_&&!b,isLoadingError:m&&!g,isPaused:"paused"===h.fetchStatus,isPlaceholderData:c,isRefetchError:m&&g,isStale:tE(t,e),refetch:this.refetch,promise:(0,Z._)(this,P),isEnabled:!1!==(0,ta.resolveQueryBoolean)(e.enabled,t)};if(this.options.experimental_prefetchInRender){let e=void 0!==S.data,i="error"===S.status&&!e,r=t=>{i?t.reject(S.error):e&&t.resolve(S.data)},n=()=>{r((0,X._)(this,P,S.promise=(0,td.pendingThenable)()))},a=(0,Z._)(this,P);switch(a.status){case"pending":t.queryHash===s.queryHash&&r(a);break;case"fulfilled":(i||S.data!==a.value)&&n();break;case"rejected":i&&S.error===a.reason||n()}}return S}updateResult(){let t=(0,Z._)(this,M),e=this.createResult((0,Z._)(this,k),this.options);if((0,X._)(this,E,(0,Z._)(this,k).state),(0,X._)(this,F,this.options),void 0!==(0,Z._)(this,E).data&&(0,X._)(this,j,(0,Z._)(this,k)),(0,ta.shallowEqualObjects)(e,t))return;(0,X._)(this,M,e);let i=()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,i="function"==typeof e?e():e;if("all"===i||!i&&!(0,Z._)(this,I).size)return!0;let s=new Set(null!=i?i:(0,Z._)(this,I));return this.options.throwOnError&&s.add("error"),Object.keys((0,Z._)(this,M)).some(e=>(0,Z._)(this,M)[e]!==t[e]&&s.has(e))};Y(this,V,tA).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Y(this,G,tU).call(this)}constructor(t,e){super(),tt(this,D),tt(this,L),tt(this,B),tt(this,K),tt(this,G),tt(this,H),tt(this,z),tt(this,N),tt(this,V),(0,J._)(this,R,{writable:!0,value:void 0}),(0,J._)(this,k,{writable:!0,value:void 0}),(0,J._)(this,C,{writable:!0,value:void 0}),(0,J._)(this,M,{writable:!0,value:void 0}),(0,J._)(this,E,{writable:!0,value:void 0}),(0,J._)(this,F,{writable:!0,value:void 0}),(0,J._)(this,P,{writable:!0,value:void 0}),(0,J._)(this,Q,{writable:!0,value:void 0}),(0,J._)(this,W,{writable:!0,value:void 0}),(0,J._)(this,U,{writable:!0,value:void 0}),(0,J._)(this,j,{writable:!0,value:void 0}),(0,J._)(this,q,{writable:!0,value:void 0}),(0,J._)(this,x,{writable:!0,value:void 0}),(0,J._)(this,A,{writable:!0,value:void 0}),(0,J._)(this,I,{writable:!0,value:new Set}),this.options=e,(0,X._)(this,R,t),(0,X._)(this,Q,null),(0,X._)(this,P,(0,td.pendingThenable)()),this.bindMethods(),this.setOptions(e)}});function tk(t,e){return!1!==(0,ta.resolveQueryBoolean)(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==(0,ta.resolveQueryBoolean)(e.retryOnMount,t))||void 0!==t.state.data&&tC(t,e,e.refetchOnMount)}function tC(t,e,i){if(!1!==(0,ta.resolveQueryBoolean)(e.enabled,t)&&"static"!==(0,ta.resolveStaleTime)(e.staleTime,t)){let s="function"==typeof i?i(t):i;return"always"===s||!1!==s&&tE(t,e)}return!1}function tM(t,e,i,s){return(t!==e||!1===(0,ta.resolveQueryBoolean)(s.enabled,t))&&(!i.suspense||"error"!==t.state.status)&&tE(t,i)}function tE(t,e){return!1!==(0,ta.resolveQueryBoolean)(e.enabled,t)&&t.isStaleByTime((0,ta.resolveStaleTime)(e.staleTime,t))}function tF(t){Y(this,N,tx).call(this);let e=(0,Z._)(this,k).fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(ta.noop)),e}function tP(){Y(this,H,tj).call(this);let t=(0,ta.resolveStaleTime)(this.options.staleTime,(0,Z._)(this,k));if(to.isServer()||(0,Z._)(this,M).isStale||!(0,ta.isValidTimeout)(t))return;let e=(0,ta.timeUntilStale)((0,Z._)(this,M).dataUpdatedAt,t);(0,X._)(this,q,tl.timeoutManager.setTimeout(()=>{(0,Z._)(this,M).isStale||this.updateResult()},e+1))}function tQ(){var t;return null!=(t="function"==typeof this.options.refetchInterval?this.options.refetchInterval((0,Z._)(this,k)):this.options.refetchInterval)&&t}function tW(t){Y(this,z,tq).call(this),(0,X._)(this,A,t),!to.isServer()&&!1!==(0,ta.resolveQueryBoolean)(this.options.enabled,(0,Z._)(this,k))&&(0,ta.isValidTimeout)((0,Z._)(this,A))&&0!==(0,Z._)(this,A)&&(0,X._)(this,x,tl.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||tn.isFocused())&&Y(this,D,tF).call(this)},(0,Z._)(this,A)))}function tU(){Y(this,L,tP).call(this),Y(this,K,tW).call(this,Y(this,B,tQ).call(this))}function tj(){void 0!==(0,Z._)(this,q)&&(tl.timeoutManager.clearTimeout((0,Z._)(this,q)),(0,X._)(this,q,void 0))}function tq(){void 0!==(0,Z._)(this,x)&&(tl.timeoutManager.clearInterval((0,Z._)(this,x)),(0,X._)(this,x,void 0))}function tx(){let t=(0,Z._)(this,R).getQueryCache().build((0,Z._)(this,R),this.options);if(t===(0,Z._)(this,k))return;let e=(0,Z._)(this,k);(0,X._)(this,k,t),(0,X._)(this,C,t.state),this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}function tA(t){th.batch(()=>
1{t.listeners&&this.listeners.forEach(t=>{t((0,Z._)(this,M))}),(0,Z._)(this,R).getQueryCache().notify({query:(0,Z._)(this,k),type:"observerResultsUpdated"})})}t.s(["QueryObserver",0,tR],856063)},121890,t=>{"use strict";var e=t.i(582219),i=t.i(51512);function s(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var r=e.createContext(s());t.s(["QueryErrorResetBoundary",0,t=>{let{children:n}=t,[a]=e.useState(()=>s());return(0,i.jsx)(r.Provider,{value:a,children:"function"==typeof n?n(a):n})},"useQueryErrorResetBoundary",0,()=>e.useContext(r)])},827669,t=>{"use strict";t.s(["queryOptions",0,function(t){return t}])},814001,t=>{"use strict";var e=t.i(856063),i=t.i(582219),s=t.i(600446),r=t.i(700519),n=t.i(647854),a=t.i(838181),o=t.i(121890),l=i.createContext(!1);l.Provider;var u=(t,e,i)=>e.fetchOptimistic(t).catch(()=>{i.clearReset()});t.s(["useQuery",0,function(t,h){return function(t,e,h){var c,d,p,f;let v,y=i.useContext(l),_=(0,o.useQueryErrorResetBoundary)(),b=(0,a.useQueryClient)(h),m=b.defaultQueryOptions(t);null==(d=b.getDefaultOptions().queries)||null==(c=d._experimental_beforeQuery)||c.call(d,m);let w=b.getQueryCache().get(m.queryHash),g=!1!==t.subscribed;if(m._optimisticResults=y?"isRestoring":g?"optimistic":void 0,m.suspense){let t=t=>"static"===t?t:Math.max(null!=t?t:1e3,1e3),e=m.staleTime;m.staleTime="function"==typeof e?function(){for(var i=arguments.length,s=Array(i),r=0;r<i;r++)s[r]=arguments[r];return t(e(...s))}:t(e),"number"==typeof m.gcTime&&(m.gcTime=Math.max(m.gcTime,1e3))}v=(null==w?void 0:w.state.error)&&"function"==typeof m.throwOnError?(0,r.shouldThrowError)(m.throwOnError,[w.state.error,w]):m.throwOnError,(m.suspense||m.experimental_prefetchInRender||v)&&!_.isReset()&&(m.retryOn
1Mount=!1),i.useEffect(()=>{_.clearReset()},[_]);let S=!b.getQueryCache().get(m.queryHash),[O]=i.useState(()=>new e(b,m)),T=O.getOptimisticResult(m),R=!y&&g;if(i.useSyncExternalStore(i.useCallback(t=>{let e=R?O.subscribe(n.notifyManager.batchCalls(t)):r.noop;return O.updateResult(),e},[O,R]),()=>O.getCurrentResult(),()=>O.getCurrentResult()),i.useEffect(()=>{O.setOptions(m)},[m,O]),(null==m?void 0:m.suspense)&&T.isPending)throw u(m,O,_);if((t=>{let{result:e,errorResetBoundary:i,throwOnError:s,query:n,suspense:a}=t;return e.isError&&!i.isReset()&&!e.isFetching&&n&&(a&&void 0===e.data||(0,r.shouldThrowError)(s,[e.error,n]))})({result:T,errorResetBoundary:_,throwOnError:m.throwOnError,query:w,suspense:m.suspense}))throw T.error;if(null==(f=b.getDefaultOptions().queries)||null==(p=f._experimental_afterQuery)||p.call(f,m,T),m.experimental_prefetchInRender&&!s.environmentManager.isServer()&&T.isLoading&&T.isFetching&&!y){let t=S?u(m,O,_):null==w?void 0:w.promise;null==t||t.catch(r.noop).finally(()=>{O.updateResult()})}return m.notifyOnChangeProps?T:O.trackResult(T)}(t,e.QueryObserver,h)}],814001)},873115,745332,t=>{"use strict";let e=t=>{if(t instanceof Error&&"status"in t){let e=t.status;return"number"==typeof e?e:void 0}},i=t=>t instanceof TypeError;t.s(["httpStatusOf",0,e,"isNetworkError",0,i],745332);let s=t=>{let s=e(t);return 404===s?"notFound":400===s?"ambiguousPrefix":401===s||403===s?"unauthorized":429===s?"rateLimit":408===s||504===s?"timeout":void 0!==s&&s>=500?"serverError":void 0===s&&i(t)?"offline":"unexpected"},r=new Set(["notFound","ambiguousPrefix"]),n=new Set(["unauthorized","rateLimit","timeout","offline","serverError","notFound","ambiguousPrefix"]),a=(t,e)=>{let{namespace:i,base:s}=e;return n.has(t)?{titleId:"".concat(i,".").concat(t,".title"),bodyId:"".concat(i,".").concat(t,".body")}:{titleId:"".concat(i,".title"),bodyId:s}};t.s(["boundaryCopy",0,(t,e)=>a(s(t),e),"copyForState",0,a,"errorState",0,s,"throwToBoundary",0,t=>!r.has(s(t))],873115)},929851,t=>{"use strict";t.s(["fetchProxy",0,(t,e)=>fetch("/api/proxy?target=".concat(encodeURIComponent(t.toString())),e)])}]);
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.