1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,40994,t=>{"use strict";var e=t.i(90867);t.s(["isServer",0,()=>e.isServer])},36640,71907,t=>{"use strict";var e=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(){}};t.s(["Subscribable",0,e],71907);let r=new class extends e{#t;#e;#r;constructor(){super(),this.#r=t=>{if("u">typeof window&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#r=t,this.#e?.(),this.#e=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#t?this.#t:globalThis.document?.visibilityState!=="hidden"}};t.s(["focusManager",0,r],36640)},48246,t=>{"use strict";var e=t.i(21643),r=t.i(4029),i=t.i(45346),n=class extends i.Removable{#i;#n;#s;#o;constructor(t){super(),this.#i=t.client,this.mutationId=t.mutationId,this.#s=t.mutationCache,this.#n=[],this.state=t.state||s(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#n.includes(t)||(this.#n.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#n=this.#n.filter(e=>e!==t),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#n.length||("pending"===this.state.status?this.scheduleGc():this.#s.remove(this))}continue(){return this.#o?.continue()??("pending"===this.state.status?this.execute(this.state.variables):Promise.resolve())}async execute(t){let e=()=>{this.#a({type:"continue"})},i={client:this.#i,meta:this.options.meta,mutationKey:this.options.mutationKey},n=this.#o=(0,r.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#a({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#a({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)}),s="pending"===this.state.status,o=!n.canStart();try{if(s)e();else{this.#a({type:"pending",variables:t,isPaused:o}),this.#s.config.onMutate&&await this.#s.config.onMutate(t,this,i);let e=await this.options.onMutate?.(t,i);e!==this.state.context&&this.#a({type:"pending",context:e,variables:t,isPaused:o})}let r=await n.start();return await this.#s.config.onSuccess?.(r,t,this.state.context,this,i),await this.options.onSuccess?.(r,t,this.state.context,i),await this.#s.config.onSettled?.(r,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(r,null,t,this.state.context,i),this.#a({type:"success",data:r}),r}catch(e){try{await this.#s.config.onError?.(e,t,this.state.context,this,i)}catch(t){Promise.reject(t)}try{await this.options.onError?.(e,t,this.state.context,i)}catch(t){Promise.reject(t)}try{await this.#s.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this,i)}catch(t){Promise.reject(t)}try{await this.options.onSettled?.(void 0,e,t,this.state.context,i)}catch(t){Promise.reject(t)}throw this.#a({type:"error",error:e}),e}finally{this.#o===n&&(this.#o=void 0),this.#s.runNext(this)}}#a(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPau
1sed,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),e.notifyManager.batch(()=>{this.#n.forEach(e=>{e.onMutationUpdate(t)}),this.#s.notify({mutation:this,type:"updated",action:t})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}t.s(["Mutation",0,n,"getDefaultState",0,s])},21643,t=>{"use strict";let e,r,i,n,s,o,a=t.i(76858).systemSetTimeoutZero,u=(e=[],r=0,i=t=>{t()},n=t=>{t()},s=a,{batch:t=>{let o;r++;try{o=t()}finally{let t;--r||(t=e,e=[],t.length&&s(()=>{n(()=>{t.forEach(t=>{i(t)})})}))}return o},batchCalls:t=>(...e)=>{o(()=>{t(...e)})},schedule:o=t=>{r?e.push(t):s(()=>{i(t)})},setNotifyFunction:t=>{i=t},setBatchNotifyFunction:t=>{n=t},setScheduler:t=>{s=t}});t.s(["notifyManager",0,u])},89649,t=>{"use strict";var e=t.i(71907);let r=new class extends e.Subscribable{#u=!0;#e;#r;constructor(){super(),this.#r=t=>{if("u">typeof window&&window.addEventListener){let e=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#r=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#u!==t&&(this.#u=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#u}};t.s(["onlineManager",0,r])},54231,4029,45346,t=>{"use strict";var e=t.i(90867),r=t.i(21643),i=t.i(40994),n=t.i(36640),s=t.i(89649);function o(t){return Math.min(1e3*2**t,3e4)}function a(t){return(t??"online")!=="online"||s.onlineManager.isOnline()}var u=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function c(t){let r,c,l,h=!1,d=0,f="pending",p=new Promise((t,e)=>{c=t,l=e});p.catch(e.noop);let y=()=>n.focusManager.isFocused()&&("always"===t.networkMode||s.onlineManager.isOnline())&&t.canRun(),m=()=>a(t.networkMode)&&t.canRun(),v=t=>{"pending"===f&&(r?.(),f="resolved",c(t))},g=t=>{"pending"===f&&(r?.(),f="rejected",l(t))},b=()=>new Promise(e=>{r=t=>{("pending"!==f||y())&&e(t)},t.onPause?.()}).then(()=>{r=void 0,"pending"===f&&t.onContinue?.()}),S=()=>{let r;if("pending"!==f)return;let n=0===d?t.initialPromise:void 0;try{r=n??t.fn()}catch(t){r=Promise.reject(t)}Promise.resolve(r).then(v).catch(r=>{if("pending"!==f)return;let n=t.retry??3*!(0,i.isServer)(),s=t.retryDelay??o,a="function"==typeof s?s(d,r):s,u=!0===n||"number"==typeof n&&d<n||"function"==typeof n&&n(d,r);h||!u?g(r):(d++,t.onFail?.(d,r),(0,e.sleep)(a).then(()=>y()?void 0:b()).then(()=>{h?g(r):S()}))})};return{promise:p,status:()=>f,cancel:e=>{if("pending"===f){let r=new u(e);g(r),t.onCancel?.(r)}},continue:()=>(r?.(),p),cancelRetry:()=>{h=!0},continueRetry:()=>{h=!1},canStart:m,start:()=>(m()?S():b().then(S),p)}}t.s(["CancelledError",0,u,"canFetch",0,a,"createRetryer",0,c],4029);var l=t.i(76858),h=class{#c;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,e.isValidTimeout)(this.gcTime)&&(this.#c=l.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??((0,i.isServer)()?1/0:3e5))}clearGcTimeout(){void 0!==this.#c&&(l.timeoutManager.clearTimeout(this.#c),this.#c=void 0)}};function d(t,{pages:e,pageParams:r}){let i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,r[i],r):void 0}function f(t,{pages:e,pageParams:r}){return e.length>0?t.getPreviousPageParam?.(e[0],e,r[0],r):void 0}t.s(["Removable",0,h],45346);var p=class extends h{#l;#h;#d;#f;#i;#o;#p;#y;constructor(t){super(),this.#y=!1,this.#p=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#f=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#h=v(this.options),this.state=t.state??this.#h,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#l}get promise(){return this.#o?.promise}setOptions(t){if(this.options={...this.#p,...t},t?._type&&(this.#l=t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let t=v(this.options);void 0!==t.data&&(this.setState(m(t.data,t.dataUpdatedAt)),this.#h=t)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#f.remove(this)}setData(t,r){let i=(0,e.replaceData)(this.state.data,t,this.options);return this.#a({data:i,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),i}setState(t){this.#a({type:"setState",state:t})}cancel(t){let r=this.#o?.promise;return this.#o?.cancel(t),r?r.then(e.noop).catch(e.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#h}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==(0,e.resolveQueryValue)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
vendor: 4,744 bytes, line 1
1Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,e.resolveQueryValue)(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(t=0){return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!(0,e.timeUntilStale)(this.state.dataUpdatedAt,t))}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#f.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){let e=this.observers.indexOf(t);-1!==e&&(this.observers.splice(e,1),this.observers.length||(this.#o&&(this.#y||"paused"===this.state.fetchStatus&&"pending"===this.state.status?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#f.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(t,r){var i;let n;if("idle"!==this.state.fetchStatus&&this.#o?.status()!=="rejected"){if(void 0!==this.state.data&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.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,o=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#y=!0,s.signal)})},a=()=>{let t,i=(0,e.ensureQueryFn)(this.options,r),n=(o(t={client:this.#i,queryKey:this.queryKey,meta:this.meta}),t);return(this.#y=!1,this.options.persister)?this.options.persister(i,n,this):i(n)},l=(o(n={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:a}),n);("infinite"===this.#l?(i=this.options.pages,{onFetch:(t,r)=>{let n=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],a=t.state.data?.pageParams||[],u={pages:[],pageParams:[]},c=0,l=async()=>{let r=!1,l=(0,e.ensureQueryFn)(t.options,t.fetchOptions),h=async(i,n,s)=>{let o;if(r)return Promise.reject(t.signal.reason);if(null==n&&i.pages.length)return Promise.resolve(i);let a=(o={client:t.client,queryKey:t.queryKey,pageParam:n,direction:s?"backward":"forward",meta:t.options.meta},(0,e.addConsumeAwareSignal)(o,()=>t.signal,()=>r=!0),o),u=await l(a),{maxPages:c}=t.options,h=s?e.addToStart:e.addToEnd;return{pages:h(i.pages,u,c),pageParams:h(i.pageParams,n,c)}};if(s&&o.length){let t="backward"===s,e=t?f:d,r={pages:o,pageParams:a};u=await h(r,e(n,r),t)}else{let t=i??o.length;do{let t=0===c?a[0]??n.initialPageParam:d(n,u);if(c>0&&null==t)break;u=await h(u,t),c++}while(c<t)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=l}}):this.options.behavior)?.onFetch(l,this),this.#d=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#a({type:"fetch",meta:l.fetchOptions?.meta});let h=this.#o=c({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:t=>{t instanceof u&&t.revert&&this.setState({...this.#d,fetchStatus:"idle"}),s.abort()},onFail:(t,e)=>{this.#a({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let t=await h.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#f.config.onSuccess?.(t,this),this.#f.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof u){if(t.silent)return this.#o.promise;else if(t.revert){if(void 0===this.state.data)throw t;return this.state.data}}throw this.#a({type:"error",error:t}),this.#f.config.onError?.(t,this),this.#f.config.onSettled?.(this.state.data,t,this),t}finally{this.#o===h&&(this.#o=void 0),this.scheduleGc()}}#a(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,...y(e.data,this.options),fetchMeta:t.meta??null};case"success":let r={...e,...m(t.data,t.dataUpdatedAt),dataUpdateCount:e.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#d=t.manual?r:void 0,r;case"error":let i=t.error;
1return{...e,error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),r.notifyManager.batch(()=>{this.observers.slice().forEach(t=>{t.onQueryUpdate()}),this.#f.notify({query:this,type:"updated",action:t})})}};function y(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:a(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}function m(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function v(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,r=void 0!==e,i=r?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}t.s(["Query",0,p,"fetchState",0,y],54231)},90867,76858,t=>{"use strict";let e={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},r=new class{#m=e;#v=!1;setTimeoutProvider(t){this.#m=t}setTimeout(t,e){return this.#m.setTimeout(t,e)}clearTimeout(t){this.#m.clearTimeout(t)}setInterval(t,e){return this.#m.setInterval(t,e)}clearInterval(t){this.#m.clearInterval(t)}};t.s(["systemSetTimeoutZero",0,function(t){setTimeout(t,0)},"timeoutManager",0,r],76858);let i="u"<typeof window||"Deno"in globalThis;function n(t,e){return(e?.queryKeyHashFn||s)(t)}function s(t){return JSON.stringify(t,(t,e)=>c(e)?Object.keys(e).sort().reduce((t,r)=>(t[r]=e[r],t),{}):e)}function o(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)){if(e.length>t.length)return!1;for(let r=0;r<e.length;r++)if(!o(t[r],e[r]))return!1;return!0}for(let r of Object.keys(e))if(!o(t[r],e[r]))return!1;return!0}return!1}let a=Object.prototype.hasOwnProperty;function u(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function c(t){if(!l(t))return!1;let e=Object.getPrototypeOf(t),r=e?.constructor;if(void 0===r)return!0;if("function"!=typeof r)return!1;let i=r.prototype;return!!l(i)&&!!i.hasOwnProperty("isPrototypeOf")&&e===Object.prototype}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}let h=Symbol();t.s(["addConsumeAwareSignal",0,function(t,e,r){let i,n=!1;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(i??=e(),n||(n=!0,i.aborted?r():i.addEventListener("abort",r,{once:!0})),i)}),t},"addToEnd",0,function(t,e,r=0){let i=[...t,e];return r&&i.length>r?i.slice(1):i},"addToStart",0,function(t,e,r=0){let i=[e,...t];return r&&i.length>r?i.slice(0,-1):i},"ensureQueryFn",0,function(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==h?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))},"functionalUpdate",0,function(t,e){return"function"==typeof t?t(e):t},"hashKey",0,s,"hashQueryKeyByOptions",0,n,"isServer",0,i,"isValidTimeout",0,function(t){return"number"==typeof t&&t>=0&&t!==1/0},"matchMutation",0,function(t,e){let{exact:r,status:i,predicate:n,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(r){if(s(e.options.mutationKey)!==s(a))return!1}else if(!o(e.options.mutationKey,a))return!1}return(!i||e.state.status===i)&&(!n||!!n(e))},"matchQuery",0,function(t,e){let{type:r="all",exact:i,fetchStatus:s,predicate:a,queryKey:u,stale:c}=t;if(u){if(i){if(e.queryHash!==n(u,e.options))return!1}else if(!o(e.queryKey,u))return!1}if("all"!==r){let t=e.isActive();if("active"===r&&!t||"inactive"===r&&t)return!1}return("boolean"!=typeof c||e.isStale()===c)&&(!s||s===e.state.fetchStatus)&&(!a||!!a(e))},"noop",0,function(){},"partialMatchKey",0,o,"replaceData",0,function(t,e,r){return"function"==typeof r.structuralSharing?r.structuralSharing(t,e):!1!==r.structuralSharing?function t(e,r,i=0){if(e===r)return e;if(i>500)return r;let n=u(e)&&u(r);if(!n&&!(c(e)&&c(r)))return r;let s=(n?e:Object.keys(e)).length,o=n?r:Object.keys(r),l=o.length,h=n?Array(l):{},d=0;for(let u=0;u<l;u++){let c=n?u:o[u],l=e[c],f=r[c];if(l===f){h[c]=l,(n?u<s:a.call(e,c))&&d++;continue}if(null===l||null===f||"object"!=typeof l||"object"!=typeof f){h[c]=f;continue}let p=t(l,f,i+1);h[c]=p,p===l&&d++}return s===l&&d===s?e:h}(t,e):e},"resolveQueryValue",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 r in t)if(t[r]!==e[r])return!1;return!0},"shouldThrowError",0,function(t,e){return"function"==typeof t?t(...e):!!t},"skipToken",0,h,"sleep",0,function(t){return new Promise(e=>{r.setTimeout(e,t)})},"timeUntilStale",0,function(t,e){return Math.max(t+(e||0)-Date.now(),0)}],90867)},75529,t=>{"use strict";var e=t.i(81798),r=t.i(77550);let i=e.createContext(void 0);t.s(["QueryClientProvider",0,({client:t,children:n})=>(e.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,r.jsx)(i.Provider,{value:t,children:n})),"useQueryClient",0,t=>{let r=e.useContext(i);if(t)return t;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r}])},23093,(t,e,r)=>{"use strict";
1t.i(51953),Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return v},useLinkStatus:function(){return b}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let s=t.r(56421),o=t.r(77550),a=s._(t.r(81798)),u=t.r(42791),c=t.r(10278),l=t.r(95759),h=t.r(1069),d=t.r(91370),f=t.r(44393),p=t.r(78446),y=t.r(79829),m=t.r(87251);function v(e){var r;let i,n,s,[v,b]=(0,a.useOptimistic)(p.IDLE_LINK_STATUS),S=(0,a.useRef)(null),{href:w,as:P,children:C,prefetch:O=null,passHref:T,replace:E,shallow:F,scroll:j,onClick:R,onMouseEnter:M,onTouchStart:A,legacyBehavior:x=!1,onNavigate:U,transitionTypes:_,ref:k,unstable_dynamicOnHover:L,...q}=e;i=C,x&&("string"==typeof i||"number"==typeof i)&&(i=(0,o.jsx)("a",{children:i}));let D=a.default.useContext(c.AppRouterContext),I=!1!==O,N=!1===O?"none":!0===O?"full":"auto",K="none"!==N?"auto"===N?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,$="string"==typeof(r=P||w)?r:(0,u.formatUrl)(r);if(x){if(i?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=a.default.Children.only(i)}let Q=x?n&&"object"==typeof n&&n.ref:k,G,B=a.default.useCallback(t=>(null!==D&&(S.current=(0,p.mountLinkInstance)(t,$,D,K,I,b,G)),()=>{S.current&&((0,p.unmountLinkForCurrentNavigation)(S.current),S.current=null),(0,p.unmountPrefetchableInstance)(t)}),[I,$,D,K,b,G]),z={ref:(0,l.useMergedRef)(B,Q),onClick(e){x||"function"!=typeof R||R(e),x&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!D||e.defaultPrevented||function(e,r,i,n,s,o,u,c="none"){if("u">typeof window){let l,{nodeName:h}=e.currentTarget;if("A"===h.toUpperCase()&&((l=e.currentTarget.getAttribute("target"))&&"_self"!==l||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,y.isLocalURL)(r)){n&&(e.preventDefault(),location.replace(r));return}if(e.preventDefault(),o){let t=!1;if(o({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:d}=t.r(27146);a.default.startTransition(()=>{d(r,n?"replace":"push",!1===s?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,i.current,u,c)})}}(e,$,S,E,j,U,_,N)},onMouseEnter(t){x||"function"!=typeof M||M(t),x&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),D&&I&&(0,p.onNavigationIntent)(t.currentTarget,!0===L)},onTouchStart:function(t){x||"function"!=typeof A||A(t),x&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),D&&I&&(0,p.onNavigationIntent)(t.currentTarget,!0===L)}};return(0,h.isAbsoluteUrl)($)?z.href=$:x&&!T&&("a"!==n.type||"href"in n.props)||(z.href=(0,d.addBasePath)($)),s=x?a.default.cloneElement(n,z):(0,o.jsx)("a",{...q,...z,children:i}),(0,o.jsx)(g.Provider,{value:v,children:s})}let g=(0,a.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),e.exports=r.default)},95759,(t,e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let i=t.r(81798);function n(t,e){let r=(0,i.useRef)(null),n=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let t=r.current;t&&(r.current=null,t());let e=n.current;e&&(n.current=null,e())}else t&&(r.current=s(t,i)),e&&(n.current=s(e,i))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let r=t(e);return"function"==typeof r?r:()=>t(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),e.exports=r.default)},79829,(t,e,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let i=t.r(1069),n=t.r(72251);function s(t){if(!(0,i.isAbsoluteUrl)(t))return!0;try{let e=(0,i.getLocationOrigin)(),r=new URL(t,e);return r.origin===e&&(0,n.hasBasePath)(r.pathname)}catch(t){return!1}}},78118,(t,e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={assign:function(){return u},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return a}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});function s(t){let e={};for(let[r,i]of t.entries()){let t=e[r];void 0===t?e[r]=i:Array.isArray(t)?t.push(i):e[r]=[t,i]}return e}function o(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function a(t){let e=new URLSearchParams;for(let[r,i]of Object.entries(t))if(Array.isArray(i))for(let t of i)e.append(r,o(t));else e.set(r,o(i));return e}function u(t,...e){for(let r of e){for(let e of r.keys())t.delete(e);for(let[e,i]of r.entries())t.append(e,i)}return t}},42791,(t,e,r)=>{"use strict";t.i(51953),Object.defineProperty(r,"__esModule",{value:!0});var i={formatUrl:function(){return a},formatWithValidation:function(){return c},urlObjectKeys:function(){return u}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let s=t.r(56421)._(t.r(78118)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:r}=t,i=t.protocol||"",n=t.pathname||"",a=t.hash||"",u=t.query||"",c=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?c=e+t.host:r&&(c=e+(~r.indexOf(":")?`[${r}]`:r),t.port&&(c+=":"+t.port)),u&&"object"==typeof u&&(u=String(s.urlQueryToSearchParams(u)));let l=t.search||u&&`?${u}`||"";return i&&!i.endsWith(":")&&(i+=":"),t.slashes||(!i||o.test(i))&&!1!==c?(c="//"+(c||""),n&&"/"!==n[0]&&(n="/"+n)):c||(c=""),a&&"#"!==a[0]&&(a="#"+a),l&&"?"!==l[0]&&(l="?"+l),n=n.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),`${i}${c}${n}${l}${a}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(t){return a(t)}},1069,(t,e,r)=>{"use strict";t.i(51953),Object.defineProperty(r,"__esModule",{value:!0});var i={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return S},NormalizeError:function(){return g},PageNotFoundError:function(){return b},SP:function(){return y},ST:function(){return m},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return h},getLocationOrigin:function(){return c},getURL:function(){return l},isAbsoluteUrl:function(){return u},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return P}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(t){let e,r=!1;return(...i)=>(r||(r=!0,e=t(...i)),e)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=t=>{let e=t.charCodeAt(0);return!!(e>=65&&e<=90||e>=97&&e<=122)&&a.test(t)};function c(){let{protocol:t,hostname:e,port:r}=window.location;return`${t}//${e}${r?":"+r:""}`}function l(){let{href:t}=window.location,e=c();return t.substring(e.length)}function h(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function d(t){return t.finished||t.headersSent}function f(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?`?${e.slice(1).join("?")}`:"")}async function p(t,e){let r=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await p(e.Component,e.ctx)}:{};let i=await t.getInitialProps(e);if(r&&d(r))return i;if(!i)throw Object.defineProperty(Error(`"${h(t)}.getInitialProps()" should resolve to an object. But found "${i}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return i}let y="u">typeof performance,m=y&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class v extends Error{}
1class g extends Error{}class b extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}}class S extends Error{constructor(t,e){super(),this.message=`Failed to load static file for page: ${t} ${e}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(t){return JSON.stringify({message:t.message,stack:t.stack})}},2744,(t,e,r)=>{e.exports=t.r(32551)}]);
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.