1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73911,e=>{"use strict";var t=e.i(19273);e.s(["isServer",0,()=>t.isServer])},75555,e=>{"use strict";var t=e.i(15823);let r=new class extends t.Subscribable{#e;#t;#r;constructor(){super(),this.#r=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,r])},92571,e=>{"use strict";var t=e.i(19273);function r(e,{pages:t,pageParams:s}){let i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,s[i],s):void 0}function s(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}e.s(["hasNextPage",0,function(e,t){return!!t&&null!=r(e,t)},"hasPreviousPage",0,function(e,t){return!!t&&!!e.getPreviousPageParam&&null!=s(e,t)},"infiniteQueryBehavior",0,function(e){return{onFetch:(i,n)=>{let a=i.options,o=i.fetchOptions?.meta?.fetchMore?.direction,u=i.state.data?.pages||[],l=i.state.data?.pageParams||[],c={pages:[],pageParams:[]},h=0,d=async()=>{let n=!1,d=(0,t.ensureQueryFn)(i.options,i.fetchOptions),p=async(e,r,s)=>{let a;if(n)return Promise.reject(i.signal.reason);if(null==r&&e.pages.length)return Promise.resolve(e);let o=(a={client:i.client,queryKey:i.queryKey,pageParam:r,direction:s?"backward":"forward",meta:i.options.meta},(0,t.addConsumeAwareSignal)(a,()=>i.signal,()=>n=!0),a),u=await d(o),{maxPages:l}=i.options,c=s?t.addToStart:t.addToEnd;return{pages:c(e.pages,u,l),pageParams:c(e.pageParams,r,l)}};if(o&&u.length){let e="backward"===o,t=e?s:r,i={pages:u,pageParams:l};c=await p(i,t(a,i),e)}else{let t=e??u.length;do{let e=0===h?l[0]??a.initialPageParam:r(a,c);if(h>0&&null==e)break;c=await p(c,e),h++}while(h<t)}return c};i.options.persister?i.fetchFn=()=>i.options.persister?.(d,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},n):i.fetchFn=d}}}])},40143,e=>{"use strict";let t,r,s,i,n,a,o=e.i(80166).systemSetTimeoutZero,u=(t=[],r=0,s=e=>{e()},i=e=>{e()},n=o,{batch:e=>{let a;r++;try{a=e()}finally{let e;--r||(e=t,t=[],e.length&&n(()=>{i(()=>{e.forEach(e=>{s(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{r?t.push(e):n(()=>{s(e)})},setNotifyFunction:e=>{s=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{n=e}});e.s(["notifyManager",0,u])},14448,e=>{"use strict";var t=e.i(15823);let r=new class extends t.Subscribable{#s=!0;#t;#r;constructor(){super(),this.#r=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#s}};e.s(["onlineManager",0,r])},86491,e=>{"use strict";e.i(47167);var t=e.i(19273),r=e.i(40143),s=e.i(36553),i=e.i(88587),n=e.i(92571),a=class extends i.Removable{#i;#n;#a;#o;#u;#l;#c;#h;constructor(e){super(),this.#h=!1,this.#c=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#o=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#n=l(this.options),this.state=e.state??this.#n,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#i}get promise(){return this.#l?.promise}setOptions(e){if(this.options={...this.#c,...e},e?._type&&(this.#i=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=l(this.options);void 0!==e.data&&(this.setState(u(e.data,e.dataUpdatedAt)),this.#n=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#o.remove(this)}setData(e,r){let s=(0,t.replaceData)(this.state.data,e,this.options);return this.#d({data:s,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),s}setState(e){this.#d({type:"setState",state:e})}cancel(e){let r=this.#l?.promise;return this.#l?.cancel(e),r?r.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#n}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveQueryValue)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
vendor: 4,126 bytes, line 1
1Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveQueryValue)(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||!(0,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#l?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#l?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){let t=this.observers.indexOf(e);-1!==t&&(this.observers.splice(t,1),this.observers.length||(this.#l&&(this.#h||"paused"===this.state.fetchStatus&&"pending"===this.state.status?this.#l.cancel({revert:!0}):this.#l.cancelRetry()),this.scheduleGc()),this.#o.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#d({type:"invalidate"})}async fetch(e,r){let i;if("idle"!==this.state.fetchStatus&&this.#l?.status()!=="rejected"){if(void 0!==this.state.data&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#l)return this.#l.continueRetry(),this.#l.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let a=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#h=!0,a.signal)})},u=()=>{let e,s=(0,t.ensureQueryFn)(this.options,r),i=(o(e={client:this.#u,queryKey:this.queryKey,meta:this.meta}),e);return(this.#h=!1,this.options.persister)?this.options.persister(s,i,this):s(i)},l=(o(i={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:u}),i);("infinite"===this.#i?(0,n.infiniteQueryBehavior)(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#a=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#d({type:"fetch",meta:l.fetchOptions?.meta});let c=this.#l=(0,s.createRetryer)({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof s.CancelledError&&e.revert&&this.setState({...this.#a,fetchStatus:"idle"}),a.abort()},onFail:(e,t)=>{this.#d({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await c.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#o.config.onSuccess?.(e,this),this.#o.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof s.CancelledError){if(e.silent)return this.#l.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#d({type:"error",error:e}),this.#o.config.onError?.(e,this),this.#o.config.onSettled?.(this.state.data,e,this),e}finally{this.#l===c&&(this.#l=void 0),this.scheduleGc()}}#d(e){let t=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,...o(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...u(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#a=e.manual?r:void 0,r;case"error":let s=e.error;return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),r.notifyManager.batch(()=>
1{this.observers.slice().forEach(e=>{e.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function o(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,s.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function u(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function l(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,s=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,a,"fetchState",0,o])},69230,e=>{"use strict";var t=e.i(80166),r=e.i(19273),s=e.i(73911),i=e.i(15823),n=e.i(75555),a=e.i(40143),o=e.i(86491),u=class extends i.Subscribable{#u;#p=void 0;#f=void 0;#y=void 0;#v;#m;#b;#g;#R;#S;#Q;#O;#T;#w=new Set;constructor(e,t){super(),this.options=t,this.#u=e,this.#b=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#p.addObserver(this),l(this.#p,this.options)?this.#C():this.updateResult(),this.#E())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.#p,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.#p,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#F(),this.#P(),this.#p.removeObserver(this)}setOptions(e){let t=this.options,s=this.#p;if(this.options=this.#u.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,r.resolveQueryValue)(this.options.enabled,this.#p))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#I(),this.#p.setOptions(this.options),t._defaulted&&!(0,r.shallowEqualObjects)(this.options,t)&&this.#u.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#p,observer:this});let i=this.hasListeners();i&&h(this.#p,s,this.options,t)&&this.#C(),this.updateResult(),i&&(this.#p!==s||(0,r.resolveQueryValue)(this.options.enabled,this.#p)!==(0,r.resolveQueryValue)(t.enabled,this.#p)||(0,r.resolveQueryValue)(this.options.staleTime,this.#p)!==(0,r.resolveQueryValue)(t.staleTime,this.#p))&&this.#q();let n=this.#U();i&&(this.#p!==s||(0,r.resolveQueryValue)(this.options.enabled,this.#p)!==(0,r.resolveQueryValue)(t.enabled,this.#p)||n!==this.#T)&&this.#M(n)}getOptimisticResult(e){let t=this.#u.getQueryCache().build(this.#u,e),s=this.createResult(t,e);return(0,r.shallowEqualObjects)(this.getCurrentResult(),s)||(this.#y=s,this.#m=this.options,this.#v=this.#p.state),s}getCurrentResult(){return this.#y}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),Reflect.get(e,r))})}trackProp(e){this.#w.add(e)}getCurrentQuery(){return this.#p}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t,r=this.#u.defaultQueryOptions(e),s=this.#u.getQueryCache().build(this.#u,r),i=()=>{},n=new Promise(e=>{t=e,i=this.#u.getQueryCache().subscribe(t=>{"updated"===t.type&&t.query.queryHash===s.queryHash&&void 0!==s.state.data&&(i(),e(this.createResult(s,r)))})});return Promise.race([s.fetch().then(()=>{let e=this.createResult(s,r);return t?.(e),e}).finally(()=>{i()}),n])}fetch(e){return this.#C({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#y))}#C(e){this.#I();let t=this.#p.fetch(this.options,e);return e?.throwOnError||(t=t.catch(r.noop)),t}#D(e){return!(0,s.isServer)()&&!1!==(0,r.resolveQueryValue)(this.options.enabled,this.#p)&&(0,r.isValidTimeout)(e)}#q(){this.#F();let e=(0,r.resolveQueryValue)(this.options.staleTime,this.#p);if(this.#y.isStale||!this.#D(e))return;let s=(0,r.timeUntilStale)(this.#y.dataUpdatedAt,e)+1;this.#Q=t.timeoutManager.setTimeout(()=>{this.#y.isStale||this.updateResult()},s)}#U(){return(0,r.resolveQueryValue)(this.options.refetchInterval,this.#p)??!1}#M(e){this.#P(),this.#T=e,0!==this.#T&&this.#D(this.#T)&&(this.#O=t.timeoutManager.setInterval(()=>
1{(this.options.refetchIntervalInBackground||n.focusManager.isFocused())&&this.#C()},this.#T))}#E(){this.#q(),this.#M(this.#U())}#F(){void 0!==this.#Q&&(t.timeoutManager.clearTimeout(this.#Q),this.#Q=void 0)}#P(){void 0!==this.#O&&(t.timeoutManager.clearInterval(this.#O),this.#O=void 0)}createResult(e,t){let s,i=this.#p,n=this.options,a=this.#y,u=this.#v,c=this.#m,p=e!==i?e.state:this.#f,{state:f}=e,y={...f},v=!1;if(t._optimisticResults){let r=this.hasListeners(),s=!r&&l(e,t),a=r&&h(e,i,t,n);(s||a)&&(y={...y,...(0,o.fetchState)(f.data,e.options)}),"isRestoring"===t._optimisticResults&&(y.fetchStatus="idle")}let{error:m,errorUpdatedAt:b,status:g}=y;s=y.data;let R=!1;if(void 0!==t.placeholderData&&void 0===s&&"pending"===g){let e;a?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(e=a.data,R=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#S?.state.data,this.#S):t.placeholderData,void 0!==e&&(g="success",s=(0,r.replaceData)(a?.data,e,t),v=!0)}if(t.select&&void 0!==s&&!R)if(a&&s===u?.data&&t.select===this.#g)s=this.#R;else try{this.#g=t.select,s=t.select(s),s=(0,r.replaceData)(a?.data,s,t),this.#R=s,this.#b=null}catch(e){this.#b=e}else void 0===s&&(this.#b=null);this.#b&&(m=this.#b,s=this.#R,b=Date.now(),g="error",v=!1);let S="fetching"===y.fetchStatus,Q="pending"===g,O="error"===g,T=Q&&S,w=void 0!==s;return{status:g,fetchStatus:y.fetchStatus,isPending:Q,isSuccess:"success"===g,isError:O,isInitialLoading:T,isLoading:T,data:s,dataUpdatedAt:y.dataUpdatedAt,error:m,errorUpdatedAt:b,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:y.dataUpdateCount>p.dataUpdateCount||y.errorUpdateCount>p.errorUpdateCount,isFetching:S,isRefetching:S&&!Q,isLoadingError:O&&!w,isPaused:"paused"===y.fetchStatus,isPlaceholderData:v,isRefetchError:O&&w,isStale:d(e,t),refetch:this.refetch,isEnabled:!1!==(0,r.resolveQueryValue)(t.enabled,e)}}updateResult(){let e=this.#y,t=this.createResult(this.#p,this.options);if(this.#v=this.#p.state,this.#m=this.options,void 0!==this.#v.data&&(this.#S=this.#p),(0,r.shallowEqualObjects)(t,e))return;this.#y=t;let s=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#w.size)return!0;let s=new Set(r??this.#w);return this.options.throwOnError&&s.add("error"),Object.keys(this.#y).some(t=>this.#y[t]!==e[t]&&s.has(t))})();a.notifyManager.batch(()=>{s&&this.listeners.forEach(e=>{e(this.#y)}),this.#u.getQueryCache().notify({query:this.#p,type:"observerResultsUpdated"})})}#I(){let e=this.#u.getQueryCache().build(this.#u,this.options);if(e===this.#p)return;let t=this.#p;this.#p=e,this.#f=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#E()}};function l(e,t){return!1!==(0,r.resolveQueryValue)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,r.resolveQueryValue)(t.retryOnMount,e))||void 0!==e.state.data&&c(e,t,t.refetchOnMount)}function c(e,t,s){if(!1!==(0,r.resolveQueryValue)(t.enabled,e)&&"static"!==(0,r.resolveQueryValue)(t.staleTime,e)){let i=(0,r.resolveQueryValue)(s,e);return"always"===i||!1!==i&&d(e,t)}return!1}function h(e,t,s,i){return(e!==t||!1===(0,r.resolveQueryValue)(i.enabled,e))&&(!s.suspense||"error"!==e.state.status)&&d(e,s)}function d(e,t){return!1!==(0,r.resolveQueryValue)(t.enabled,e)&&e.isStaleByTime((0,r.resolveQueryValue)(t.staleTime,e))}e.s(["QueryObserver",0,u])},36553,88587,e=>{"use strict";var t=e.i(19273),r=e.i(73911),s=e.i(75555),i=e.i(14448);function n(e){return Math.min(1e3*2**e,3e4)}function a(e){return(e??"online")!=="online"||i.onlineManager.isOnline()}var o=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};e.s(["CancelledError",0,o,"canFetch",0,a,"createRetryer",0,function(e){let u,l,c,h=!1,d=0,p="pending",f=new Promise((e,t)=>{l=e,c=t});f.catch(t.noop);let y=()=>s.focusManager.isFocused()&&("always"===e.networkMode||i.onlineManager.isOnline())&&e.canRun(),v=()=>a(e.networkMode)&&e.canRun(),m=e=>
1{"pending"===p&&(u?.(),p="resolved",l(e))},b=e=>{"pending"===p&&(u?.(),p="rejected",c(e))},g=()=>new Promise(t=>{u=e=>{("pending"!==p||y())&&t(e)},e.onPause?.()}).then(()=>{u=void 0,"pending"===p&&e.onContinue?.()}),R=()=>{let s;if("pending"!==p)return;let i=0===d?e.initialPromise:void 0;try{s=i??e.fn()}catch(e){s=Promise.reject(e)}Promise.resolve(s).then(m).catch(s=>{if("pending"!==p)return;let i=e.retry??3*!(0,r.isServer)(),a=e.retryDelay??n,o="function"==typeof a?a(d,s):a,u=!0===i||"number"==typeof i&&d<i||"function"==typeof i&&i(d,s);h||!u?b(s):(d++,e.onFail?.(d,s),(0,t.sleep)(o).then(()=>y()?void 0:g()).then(()=>{h?b(s):R()}))})};return{promise:f,status:()=>p,cancel:t=>{if("pending"===p){let r=new o(t);b(r),e.onCancel?.(r)}},continue:()=>(u?.(),f),cancelRetry:()=>{h=!0},continueRetry:()=>{h=!1},canStart:v,start:()=>(v()?R():g().then(R),f)}}],36553);var u=e.i(80166),l=class{#k;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,t.isValidTimeout)(this.gcTime)&&(this.#k=u.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??((0,r.isServer)()?1/0:3e5))}clearGcTimeout(){void 0!==this.#k&&(u.timeoutManager.clearTimeout(this.#k),this.#k=void 0)}};e.s(["Removable",0,l],88587)},15823,e=>{"use strict";e.s(["Subscribable",0,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(){}}])},19273,80166,e=>{"use strict";let t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},r=new class{#A=t;#j=!1;setTimeoutProvider(e){this.#A=e}setTimeout(e,t){return this.#A.setTimeout(e,t)}clearTimeout(e){this.#A.clearTimeout(e)}setInterval(e,t){return this.#A.setInterval(e,t)}clearInterval(e){this.#A.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,r],80166);let s="u"<typeof window||"Deno"in globalThis;function i(e,t){return(t?.queryKeyHashFn||n)(e)}function n(e){return JSON.stringify(e,(e,t)=>l(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function a(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(Array.isArray(e)&&Array.isArray(t)){if(t.length>e.length)return!1;for(let r=0;r<t.length;r++)if(!a(e[r],t[r]))return!1;return!0}for(let r of Object.keys(t))if(!a(e[r],t[r]))return!1;return!0}return!1}let o=Object.prototype.hasOwnProperty;function u(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function l(e){if(!c(e))return!1;let t=Object.getPrototypeOf(e),r=t?.constructor;if(void 0===r)return!0;if("function"!=typeof r)return!1;let s=r.prototype;return!!c(s)&&!!s.hasOwnProperty("isPrototypeOf")&&t===Object.prototype}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}let h=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,r){let s,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),i||(i=!0,s.aborted?r():s.addEventListener("abort",r,{once:!0})),s)}),e},"addToEnd",0,function(e,t,r=0){let s=[...e,t];return r&&s.length>r?s.slice(1):s},"addToStart",0,function(e,t,r=0){let s=[t,...e];return r&&s.length>r?s.slice(0,-1):s},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==h?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,n,"hashQueryKeyByOptions",0,i,"isServer",0,s,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"keepPreviousData",0,function(e){return e},"matchMutation",0,function(e,t){let{exact:r,status:s,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(n(t.options.mutationKey)!==n(o))return!1}else if(!a(t.options.mutationKey,o))return!1}return(!s||t.state.status===s)&&(!i||!!i(t))},"matchQuery",0,function(e,t){let{type:r="all",exact:s,fetchStatus:n,predicate:o,queryKey:u,stale:l}=e;if(u){if(s){if(t.queryHash!==i(u,t.options))return!1}else if(!a(t.queryKey,u))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(!n||n===t.state.fetchStatus)&&(!o||!!o(t))},"noop",0,function(){},"partialMatchKey",0,a,"replaceData",0,function(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r,s=0){if(t===r)return t;if(s>500)return r;let i=u(t)&&u(r);if(!i&&!(l(t)&&l(r)))return r;let n=(i?t:Object.keys(t)).length,a=i?r:Object.keys(r),c=a.length,h=i?Array(c):{},d=0;for(let u=0;u<c;u++){let l=i?u:a[u],c=t[l],p=r[l];if(c===p){h[l]=c,(i?u<n:o.call(t,l))&&d++;continue}if(null===c||null===p||"object"!=typeof c||"object"!=typeof p){h[l]=p;continue}let f=e(c,p,s+1);h[l]=f,f===c&&d++}return n===c&&d===n?t:h}(e,t):t},"resolveQueryValue",0,function(e,t){return"function"==typeof e?e(t):e},"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,h,"sleep",0,function(e){return new Promise(t=>{r.setTimeout(t,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}],19273)},81384,73664,e=>{"use strict";let t;var r=e.i(71645);let s=r.createContext(!1);s.Provider,e.s(["useIsRestoring",0,()=>r.useContext(s)],81384),e.i(43476);let i=r.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}));e.s(["useQueryErrorResetBoundary",0,()=>r.useContext(i)],73664)},12598,e=>{"use strict";var t=e.i(71645),r=e.i(43476);let s=t.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:i})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,r.jsx)(s.Provider,{value:e,children:i})),"useQueryClient",0,e=>{let r=t.useContext(s);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r}])},27001,54440,e=>{"use strict";var t=e.i(71645),r=e.i(19273);
1e.s(["ensurePreventErrorBoundaryRetry",0,(e,t,s)=>{let i=s?.state.error&&"function"==typeof e.throwOnError?(0,r.shouldThrowError)(e.throwOnError,[s.state.error,s]):e.throwOnError;(e.suspense||i)&&!t.isReset()&&(e.retryOnMount=!1)},"getHasError",0,({result:e,errorResetBoundary:t,throwOnError:s,query:i,suspense:n})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(n&&void 0===e.data||(0,r.shouldThrowError)(s,[e.error,i])),"useClearResetErrorBoundary",0,e=>{t.useEffect(()=>{e.clearReset()},[e])}],27001),e.s(["ensureSuspenseTimers",0,e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},"fetchOptimistic",0,(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()}),"shouldSuspend",0,(e,t)=>e?.suspense&&t.isPending],54440)},69637,e=>{"use strict";e.i(47167);var t=e.i(12598),r=e.i(81384),s=e.i(73664),i=e.i(27001),n=e.i(54440),a=e.i(71645),o=e.i(19273),u=e.i(40143);e.s(["useBaseQuery",0,function(e,l,c){let h=(0,r.useIsRestoring)(),d=(0,s.useQueryErrorResetBoundary)(),p=(0,t.useQueryClient)(c),f=p.defaultQueryOptions(e),y=p.getQueryCache().get(f.queryHash),v=!1!==e.subscribed;f._optimisticResults=h?"isRestoring":v?"optimistic":void 0,(0,n.ensureSuspenseTimers)(f),(0,i.ensurePreventErrorBoundaryRetry)(f,d,y),(0,i.useClearResetErrorBoundary)(d);let[m]=a.useState(()=>new l(p,f)),b=m.getOptimisticResult(f),g=!h&&v;if(a.useSyncExternalStore(a.useCallback(e=>{let t=g?m.subscribe(u.notifyManager.batchCalls(e)):o.noop;return m.updateResult(),t},[m,g]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),a.useEffect(()=>{m.setOptions(f)},[f,m]),(0,n.shouldSuspend)(f,b))throw(0,n.fetchOptimistic)(f,m,d);if((0,i.getHasError)({result:b,errorResetBoundary:d,throwOnError:f.throwOnError,query:y,suspense:f.suspense}))throw b.error;return f.notifyOnChangeProps?b:m.trackResult(b)}])}]);
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.