1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9796],{1150:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0});var s=i(71983),r=i(45849);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return l}});var n=i(95155),a=i(12115),o=i(24437);function u(t){return{default:t&&"default"in t?t.default:t}}i(36552);var h={loader:()=>Promise.resolve(u(()=>null)),loading:null,ssr:!0},l=function(t){var e=s._({},h,t),i=(0,a.lazy)(()=>e.loader().then(u)),l=e.loading;function c(t){var u=l?(0,n.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,h=!e.ssr||!!e.loading,c=h?a.Suspense:a.Fragment,d=e.ssr?(0,n.jsxs)(n.Fragment,{children:[null,(0,n.jsx)(i,s._({},t))]}):(0,n.jsx)(o.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(i,s._({},t))});return(0,n.jsx)(c,r._(s._({},h?{fallback:u}:{}),{children:d}))}return c.displayName="LoadableComponent",c}},2821:(t,e,i)=>{i.d(e,{$:()=>s});function s(){for(var t,e,i=0,s="",r=arguments.length;i<r;i++)(t=arguments[i])&&(e=function t(e){var i,s,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(i=0;i<n;i++)e[i]&&(s=t(e[i]))&&(r&&(r+=" "),r+=s)}else for(s in e)e[s]&&(r&&(r+=" "),r+=s);return r}(t))&&(s&&(s+=" "),s+=e);return s}},8567:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"workAsyncStorage",{enumerable:!0,get:function(){return s.workAsyncStorageInstance}});let s=i(17828)},17788:(t,e,i)=>{i.d(e,{S:()=>r});var s=i(34049);let r=()=>s.S$},17828:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"workAsyncStorageInstance",{enumerable:!0,get:function(){return s}});let s=(0,i(64054).createAsyncLocalStorage)()},20063:(t,e,i)=>{var s=i(47260);i.o(s,"notFound")&&i.d(e,{notFound:function(){return s.notFound}}),i.o(s,"usePathname")&&i.d(e,{usePathname:function(){return s.usePathname}}),i.o(s,"useRouter")&&i.d(e,{useRouter:function(){return s.useRouter}})},23412:(t,e,i)=>{i.d(e,{E:()=>y});var s=i(34049),r=i(56195),n=i(74268),a=i(63122),o=i(38445),u=i(93049),h=i(69781),l=class extends h.k{#t;#e;#i;#s;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#i=t.mutationCache,this.#e=[],this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},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.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(e=>e!==t),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#s?.continue()??("pending"===this.state.status?this.execute(this.state.variables):Promise.resolve())}async execute(t){let e=()=>{this.#r({type:"continue"})},i={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey},s=this.#s=(0,u.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#r({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#r({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)}),r="pending"===this.state.status,n=!s.canStart();try{if(r)e();else{this.#r({type:"pending",variables:t,isPaused:n}),this.#i.config.onMutate&&await this.#i.config.onMutate(t,this,i);let e=await this.options.onMutate?.(t,i);e!==this.state.context&&this.#r({type:"pending",context:e,variables:t,isPaused:n})}let a=await s.start();return await this.#i.config.onSuccess?.(a,t,this.state.context,this,i),await this.options.onSuccess?.(a,t,this.state.context,i),await this.#i.config.onSettled?.(a,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(a,null,t,this.state.context,i),this.#r({type:"success",data:a}),a}catch(e){try{await this.#i.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.#i.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.#r({type:"error",error:e}),e}finally{this.#s===s&&(this.#s=void 0),this.#i.runNext(this)}}#r(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};
vendor: 1,461 bytes, line 1
1case"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.isPaused,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),n.jG.batch(()=>{this.#e.forEach(e=>{e.onMutationUpdate(t)}),this.#i.notify({mutation:this,type:"updated",action:t})})}},c=class extends o.Q{#n;#a;#o;constructor(t={}){super(),this.config=t,this.#n=new Set,this.#a=new Map,this.#o=0}build(t,e,i){let s=new l({client:t,mutationCache:this,mutationId:++this.#o,options:t.defaultMutationOptions(e),state:i});return this.add(s),s}add(t){this.#n.add(t);let e=d(t);if("string"==typeof e){let i=this.#a.get(e);i?i.push(t):this.#a.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#n.delete(t)){let e=d(t);if("string"==typeof e){let i=this.#a.get(e);if(i)if(i.length>1){let e=i.indexOf(t);-1!==e&&i.splice(e,1)}else i[0]===t&&this.#a.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){let e=d(t);if("string"!=typeof e)return!0;{let i=this.#a.get(e)?.find(t=>"pending"===t.state.status);return!i||i===t}}runNext(t){let e=d(t);return"string"==typeof e?this.#a.get(e)?.find(e=>
1e!==t&&e.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){n.jG.batch(()=>{this.#n.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#n.clear(),this.#a.clear()})}getAll(){return Array.from(this.#n)}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,s.nJ)(e,t))}findAll(t={}){return this.getAll().filter(e=>(0,s.nJ)(t,e))}notify(t){n.jG.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return n.jG.batch(()=>Promise.all(t.map(t=>t.continue().catch(s.lQ))))}};function d(t){return t.options.scope?.id}var f=i(80043),p=class extends o.Q{#u;constructor(t={}){super(),this.config=t,this.#u=new Map}build(t,e,i){let r=e.queryKey,n=e.queryHash??(0,s.F$)(r,e),a=this.get(n);return a||(a=new f.X({client:t,queryKey:r,queryHash:n,options:t.defaultQueryOptions(e),state:i,defaultOptions:t.getQueryDefaults(r)}),this.add(a)),a}add(t){this.#u.has(t.queryHash)||(this.#u.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#u.get(t.queryHash);
1e&&(t.destroy(),e===t&&this.#u.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){n.jG.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#u.get(t)}getAll(){return[...this.#u.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,s.MK)(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>(0,s.MK)(t,e)):e}notify(t){n.jG.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){n.jG.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){n.jG.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},y=class{#h;#i;#l;#c;#d;#f;#p;#y;constructor(t={}){this.#h=t.queryCache||new p,this.#i=t.mutationCache||new c,this.#l=t.defaultOptions||{},this.#c=new Map,this.#d=new Map,this.#f=0}mount(){this.#f++,1===this.#f&&(this.#p=r.m.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#h.onFocus())}),this.#y=a.t.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#h.onOnline())}))}unmount(){this.#f--,0===this.#f&&(this.#p?.(),this.#p=void 0,this.#y?.(),this.#y=void 0)}isFetching(t){return this.#h.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#i.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#h.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.defaultQueryOptions(t),i=this.#h.build(this,e),r=i.state.data;return void 0===r?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime((0,s.GF)(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return this.#h.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,i){let r=this.defaultQueryOptions({queryKey:t}),n=this.#h.get(r.queryHash)?.state.data,a=(0,s.Zw)(e,n);if(void 0!==a)return this.#h.build(this,r).setData(a,{...i,manual:!0})}setQueriesData(t,e,i){return n.jG.batch(()=>this.#h.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,i)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#h.get(e.queryHash)?.state}removeQueries(t){let e=this.#h;n.jG.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let i=this.#h;return n.jG.batch(()=>{let s=i.findAll(t),r=new Set(s);return s.forEach(t=>{t.reset()}),this.refetchQueries({type:"active",predicate:t=>r.has(t)},e)})}cancelQueries(t,e={}){let i={revert:!0,...e};return Promise.all(n.jG.batch(()=>this.#h.findAll(t).map(t=>t.cancel(i)))).then(s.lQ).catch(s.lQ)}invalidateQueries(t,e={}){return n.jG.batch(()=>(this.#h.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e))}refetchQueries(t,e={}){let i={...e,cancelRefetch:e.cancelRefetch??!0};return Promise.all(n.jG.batch(()=>this.#h.findAll(t).filter(t=>!t.isDisabled()&&!t.isStatic()).map(t=>{let e=t.fetch(void 0,i);return i.throwOnError||(e=e.catch(s.lQ)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(s.lQ)}async query(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let i=this.#h.build(this,e),r=i.isStaleByTime((0,s.GF)(e.staleTime,i))?await i.fetch(e):i.state.data,n=e.select;return n?n(r):r}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let i=this.#h.build(this,e);return i.isStaleByTime((0,s.GF)(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(s.lQ).catch(s.lQ)}infiniteQuery(t){return t._type="infinite",this.query(t)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(s.lQ).catch(s.lQ)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return a.t.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#h}getMutationCache(){return this.#i}getDefaultOptions(){return this.#l}setDefaultOptions(t){this.#l=t}setQueryDefaults(t,e){this.#c.set((0,s.EN)(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#c.values()],i={};
1return e.forEach(e=>{(0,s.Cp)(t,e.queryKey)&&Object.assign(i,e.defaultOptions)}),i}setMutationDefaults(t,e){this.#d.set((0,s.EN)(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#d.values()],i={};return e.forEach(e=>{(0,s.Cp)(t,e.mutationKey)&&Object.assign(i,e.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#l.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=(0,s.F$)(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===s.hT&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#l.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#h.clear(),this.#i.clear()}}},24437:(t,e,i)=>{function s(t){var{reason:e,children:i}=t;return i}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BailoutToCSR",{enumerable:!0,get:function(){return s}}),i(24553)},34049:(t,e,i)=>{i.d(e,{Cp:()=>p,EN:()=>f,F$:()=>d,GF:()=>h,GU:()=>j,MK:()=>l,S$:()=>r,ZM:()=>q,ZZ:()=>P,Zw:()=>a,f8:()=>m,gn:()=>o,hT:()=>S,j3:()=>u,lQ:()=>n,nJ:()=>c,ox:()=>F,pl:()=>O,y9:()=>C,yy:()=>w});var s=i(37126);let r="undefined"==typeof window||"Deno"in globalThis;function n(){}function a(t,e){return"function"==typeof t?t(e):t}function o(t){return"number"==typeof t&&t>=0&&t!==1/0}function u(t,e){return Math.max(t+(e||0)-Date.now(),0)}function h(t,e){return"function"==typeof t?t(e):t}function l(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(!p(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))}function c(t,e){let{exact:i,status:s,predicate:r,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(i){if(f(e.options.mutationKey)!==f(n))return!1}else if(!p(e.options.mutationKey,n))return!1}return(!s||e.state.status===s)&&(!r||!!r(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,i)=>(t[i]=e[i],t),{}):e)}function p(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 i=0;i<e.length;i++)if(!p(t[i],e[i]))return!1;return!0}for(let i of Object.keys(e))if(!p(t[i],e[i]))return!1;return!0}return!1}let y=Object.prototype.hasOwnProperty;function m(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}function v(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function b(t){if(!g(t))return!1;let e=Object.getPrototypeOf(t),i=e?.constructor;if(void 0===i)return!0;if("function"!=typeof i)return!1;let s=i.prototype;return!!g(s)&&!!s.hasOwnProperty("isPrototypeOf")&&e===Object.prototype}function g(t){return"[object Object]"===Object.prototype.toString.call(t)}function w(t){return new Promise(e=>{s.zs.setTimeout(e,t)})}function O(t,e,i){return"function"==typeof i.structuralSharing?i.structuralSharing(t,e):!1!==i.structuralSharing?function t(e,i,s=0){if(e===i)return e;if(s>500)return i;let r=v(e)&&v(i);if(!r&&!(b(e)&&b(i)))return i;let n=(r?e:Object.keys(e)).length,a=r?i:Object.keys(i),o=a.length,u=r?Array(o):{},h=0;for(let l=0;l<o;l++){let o=r?l:a[l],c=e[o],d=i[o];if(c===d){u[o]=c,(r?l<n:y.call(e,o))&&h++;continue}if(null===c||null===d||"object"!=typeof c||"object"!=typeof d){u[o]=d;continue}let f=t(c,d,s+1);u[o]=f,f===c&&h++}return n===o&&h===n?e:u}(t,e):e}function C(t,e,i=0){let s=[...t,e];return i&&s.length>i?s.slice(1):s}function P(t,e,i=0){let s=[e,...t];return i&&s.length>i?s.slice(0,-1):s}let S=Symbol();function q(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==S?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}function j(t,e){return"function"==typeof t?t(...e):!!t}function F(t,e,i){let s,r=!1;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(s??=e(),r||(r=!0,s.aborted?i():s.addEventListener("abort",i,{once:!0})),s)}),t}},36552:(t,e,i)=>{function s(t){var{moduleIds:e}=t;return null}
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PreloadChunks",{enumerable:!0,get:function(){return s}}),i(95155),i(47650),i(8567),i(77278)},37126:(t,e,i)=>{i.d(e,{Zq:()=>n,zs:()=>r});let s={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},r=new class{#m=s;#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)}};function n(t){setTimeout(t,0)}},38445:(t,e,i)=>{i.d(e,{Q:()=>s});var s=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,i)=>{i.d(e,{m:()=>r});var s=i(38445);let r=new class extends s.Q{#b;#g;#w;constructor(){super(),this.#w=t=>{if("undefined"!=typeof window&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#g||this.setEventListener(this.#w)}onUnsubscribe(){this.hasListeners()||(this.#g?.(),this.#g=void 0)}setEventListener(t){this.#w=t,this.#g?.(),this.#g=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#b!==t&&(this.#b=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#b?this.#b:globalThis.document?.visibilityState!=="hidden"}}},63122:(t,e,i)=>{i.d(e,{t:()=>r});var s=i(38445);let r=new class extends s.Q{#O=!0;#g;#w;constructor(){super(),this.#w=t=>{if("undefined"!=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)}}}}onSubscribe(){this.#g||this.setEventListener(this.#w)}onUnsubscribe(){this.hasListeners()||(this.#g?.(),this.#g=void 0)}setEventListener(t){this.#w=t,this.#g?.(),this.#g=t(this.setOnline.bind(this))}setOnline(t){this.#O!==t&&(this.#O=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#O}}},64054:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{bindSnapshot:function(){return a},createAsyncLocalStorage:function(){return n},createSnapshot:function(){return o}});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class s{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(t){return t}}let r="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function n(){return r?new r:new s}function a(t){return r?r.bind(t):s.bind(t)}function o(){return r?r.snapshot():function(t,...e){return t(...e)}}},67909:(t,e,i)=>{i.d(e,{default:()=>r.a});var s=i(86278),r=i.n(s)},69781:(t,e,i)=>{i.d(e,{k:()=>a});var s=i(37126),r=i(34049),n=i(17788),a=class{#C;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.gn)(this.gcTime)&&(this.#C=s.zs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??((0,n.S)()?1/0:3e5))}clearGcTimeout(){void 0!==this.#C&&(s.zs.clearTimeout(this.#C),this.#C=void 0)}}},71847:(t,e,i)=>{i.d(e,{A:()=>l});var s=i(71983),r=i(17389),n=i(12115),a=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()},o=i(45849),u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},h=(0,n.forwardRef)((t,e)=>{var{color:i="currentColor",size:h=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:d="",children:f,iconNode:p}=t,y=(0,r._)(t,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return(0,n.createElement)("svg",(0,s._)((0,o._)((0,s._)({ref:e},u),{width:h,height:h,stroke:i,strokeWidth:c?24*Number(l)/Number(h):l,className:a("lucide",d)}),y),[...p.map(t=>{var[e,i]=t;return(0,n.createElement)(e,i)}),...Array.isArray(f)?f:[f]])}),l=(t,e)=>{var i=(0,n.forwardRef)((i,o)=>{var{className:u}=i,l=(0,r._)(i,["className"]);return(0,n.createElement)(h,(0,s._)({ref:o,iconNode:e,className:a("lucide-".concat(t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),u)},l))});return i.displayName="".concat(t),i}},74268:(t,e,i)=>{i.d(e,{jG:()=>r});let s=i(37126).Zq,r=function(){let t=[],e=0,i=t=>{t()},r=t=>{t()},n=s,a=s=>{e?t.push(s):n(()=>{i(s)})};return{batch:s=>{let a;e++;try{a=s()}finally{--e||(()=>{let e=t;t=[],e.length&&n(()=>{r(()=>{e.forEach(t=>{i(t)})})})})()}return a},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a,setNotifyFunction:t=>{i=t},setBatchNotifyFunction:t=>{r=t},setScheduler:t=>{n=t}}}()},80043:(t,e,i)=>{i.d(e,{X:()=>h,k:()=>l});var s=i(34049),r=i(74268),n=i(93049),a=i(69781);function o(t,{pages:e,pageParams:i}
1){let s=e.length-1;return e.length>0?t.getNextPageParam(e[s],e,i[s],i):void 0}function u(t,{pages:e,pageParams:i}){return e.length>0?t.getPreviousPageParam?.(e[0],e,i[0],i):void 0}var h=class extends a.k{#P;#S;#q;#j;#t;#s;#l;#F;constructor(t){super(),this.#F=!1,this.#l=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#t=t.client,this.#j=this.#t.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#S=d(this.options),this.state=t.state??this.#S,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#P}get promise(){return this.#s?.promise}setOptions(t){if(this.options={...this.#l,...t},t?._type&&(this.#P=t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let t=d(this.options);void 0!==t.data&&(this.setState(c(t.data,t.dataUpdatedAt)),this.#S=t)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#j.remove(this)}setData(t,e){let i=(0,s.pl)(this.state.data,t,this.options);return this.#r({data:i,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),i}setState(t){this.#r({type:"setState",state:t})}cancel(t){let e=this.#s?.promise;return this.#s?.cancel(t),e?e.then(s.lQ).catch(s.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#S}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==(0,s.GF)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===s.hT||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,s.GF)(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,s.j3)(this.state.dataUpdatedAt,t))}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#j.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.#s&&(this.#F||"paused"===this.state.fetchStatus&&"pending"===this.state.status?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#j.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#r({type:"invalidate"})}async fetch(t,e){var i;if("idle"!==this.state.fetchStatus&&this.#s?.status()!=="rejected"){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let r=new AbortController,a=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#F=!0,r.signal)})},h=()=>{let t=(0,s.ZM)(this.options,e),i=(()=>{let t={client:this.#t,queryKey:this.queryKey,meta:this.meta};return a(t),t})();return(this.#F=!1,this.options.persister)?this.options.persister(t,i,this):t(i)},l=(()=>{let t={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#t,state:this.state,fetchFn:h};return a(t),t})();("infinite"===this.#P?(i=this.options.pages,{onFetch:(t,e)=>{let r=t.options,n=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],h=t.state.data?.pageParams||[],l={pages:[],pageParams:[]},c=0,d=async()=>{let e=!1,d=(0,s.ZM)(t.options,t.fetchOptions),f=async(i,r,n)=>{if(e)return Promise.reject(t.signal.reason);if(null==r&&i.pages.length)return Promise.resolve(i);let a=(()=>{let i={client:t.client,queryKey:t.queryKey,pageParam:r,direction:n?"backward":"forward",meta:t.options.meta};return(0,s.ox)(i,()=>t.signal,()=>e=!0),i})(),o=await d(a),{maxPages:u}=t.options,h=n?s.ZZ:s.y9;return{pages:h(i.pages,o,u),pageParams:h(i.pageParams,r,u)}};if(n&&a.length){let t="backward"===n,e=t?u:o,i={pages:a,pageParams:h};l=await f(i,e(r,i),t)}else{let t=i??a.length;do{let t=0===c?h[0]??r.initialPageParam:o(r,l);if(c>0&&null==t)break;l=await f(l,t),c++}while(c<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e):t.fetchFn=d}}):this.options.behavior)?.onFetch(l,this),this.#q=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#r({type:"fetch",meta:l.fetchOptions?.meta});let c=this.#s=(0,n.II)({initialPromise:e?.initialPromise,fn:l.fetchFn,onCancel:t=>{t instanceof n.cc&&t.revert&&this.setState({...this.#q,fetchStatus:"idle"}),r.abort()},onFail:(t,e)=>{this.#r({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#r({type:"pause"})},onContinue:()=>{this.#r({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let t=await c.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#j.config.onSuccess?.(t,this),this.#j.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof n.cc){if(t.silent)return this.#s.promise;else if(t.revert){if(void 0===this.state.data)throw t;return this.state.data}}throw this.#r({type:"error",error:t}),this.#j.config.onError?.(t,this),this.#j.config.onSettled?.(this.state.data,t,this),t}finally{this.#s===c&&(this.#s=void 0),this.scheduleGc()}}#r(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,...l(e.data,this.options),fetchMeta:t.meta??null};case"success":let i={...e,...c(t.data,t.dataUpdatedAt),dataUpdateCount:e.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#q=t.manual?i:void 0,i;case"error":let s=t.error;
1return{...e,error:s,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),r.jG.batch(()=>{this.observers.slice().forEach(t=>{t.onQueryUpdate()}),this.#j.notify({query:this,type:"updated",action:t})})}};function l(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,n.v_)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}function c(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function d(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?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}},86278:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0});var s=i(71983),r=i(45849);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return a}});var n=i(28140)._(i(1150));function a(t,e){var i,a={};"function"==typeof t&&(a.loader=t);var o=s._({},a,e);return(0,n.default)(r._(s._({},o),{modules:null==(i=o.loadableGenerated)?void 0:i.modules}))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},93049:(t,e,i)=>{i.d(e,{II:()=>l,cc:()=>h,v_:()=>u});var s=i(34049),r=i(17788),n=i(56195),a=i(63122);function o(t){return Math.min(1e3*2**t,3e4)}function u(t){return(t??"online")!=="online"||a.t.isOnline()}var h=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function l(t){let e,i,l,c=!1,d=0,f="pending",p=new Promise((t,e)=>{i=t,l=e});p.catch(s.lQ);let y=()=>n.m.isFocused()&&("always"===t.networkMode||a.t.isOnline())&&t.canRun(),m=()=>u(t.networkMode)&&t.canRun(),v=t=>{"pending"===f&&(e?.(),f="resolved",i(t))},b=t=>{"pending"===f&&(e?.(),f="rejected",l(t))},g=()=>new Promise(i=>{e=t=>{("pending"!==f||y())&&i(t)},t.onPause?.()}).then(()=>{e=void 0,"pending"===f&&t.onContinue?.()}),w=()=>{let e;if("pending"!==f)return;let i=0===d?t.initialPromise:void 0;try{e=i??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(v).catch(e=>{if("pending"!==f)return;let i=t.retry??3*!(0,r.S)(),n=t.retryDelay??o,a="function"==typeof n?n(d,e):n,u=!0===i||"number"==typeof i&&d<i||"function"==typeof i&&i(d,e);if(c||!u)return void b(e);d++,t.onFail?.(d,e),(0,s.yy)(a).then(()=>y()?void 0:g()).then(()=>{c?b(e):w()})})};return{promise:p,status:()=>f,cancel:e=>{if("pending"===f){let i=new h(e);b(i),t.onCancel?.(i)}},continue:()=>(e?.(),p),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:m,start:()=>(m()?w():g().then(w),p)}}},93499:(t,e,i)=>{i.d(e,{A:()=>s});var s=(0,i(71847).A)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},99776:(t,e,i)=>{i.d(e,{Ht:()=>o,jE:()=>a});var s=i(12115),r=i(95155),n=s.createContext(void 0),a=t=>{var e=s.useContext(n);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},o=t=>{var{client:e,children:i}=t;return s.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,r.jsx)(n.Provider,{value:e,children:i})}}}]);
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.