1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6701],{3472:(t,e,s)=>{var i=s(43513),r=s(25592),n=s(25411);t.exports=function(t){return(n(t)?i:r)(t)}},3809:(t,e,s)=>{"use strict";s.d(e,{default:()=>n});var i=s(96958),r=s(95155);function n(t){let{locale:e,...s}=t;if(!e)throw Error(void 0);return(0,r.jsx)(i.Dk,{locale:e,...s})}},4853:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var s in e)Object.defineProperty(t,s,{enumerable:!0,get:e[s]})}(e,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return s}});let s="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let e=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},i="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("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)},20628:(t,e,s)=>{var i=s(23660),r=s(91958);t.exports=function(t){return null==t?[]:i(t,r(t))}},23660:(t,e,s)=>{var i=s(91426);t.exports=function(t,e){return i(e,function(e){return t[e]})}},25592:(t,e,s)=>{var i=s(43513),r=s(20628);t.exports=function(t){return i(r(t))}},31461:(t,e,s)=>{"use strict";s.d(e,{E:()=>p});var i=s(34049),r=s(31668),n=s(74268),a=s(38445),o=class extends a.Q{constructor(t={}){super(),this.config=t,this.#t=new Map}#t;build(t,e,s){let n=e.queryKey,a=e.queryHash??(0,i.F$)(n,e),o=this.get(a);return o||(o=new r.X({client:t,queryKey:n,queryHash:a,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(n)}),this.add(o)),o}add(t){this.#t.has(t.queryHash)||(this.#t.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#t.get(t.queryHash);
1e&&(t.destroy(),e===t&&this.#t.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){n.jG.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#t.get(t)}getAll(){return[...this.#t.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,i.MK)(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>(0,i.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()})})}},u=s(38559),c=class extends a.Q{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#s=new Map,this.#i=0}#e;#s;#i;build(t,e,s){let i=new u.s({client:t,mutationCache:this,mutationId:++this.#i,options:t.defaultMutationOptions(e),state:s});return this.add(i),i}add(t){this.#e.add(t);let e=l(t);if("string"==typeof e){let s=this.#s.get(e);s?s.push(t):this.#s.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){let e=l(t);if("string"==typeof e){let s=this.#s.get(e);if(s)if(s.length>1){let e=s.indexOf(t);-1!==e&&s.splice(e,1)}else s[0]===t&&this.#s.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){let e=l(t);if("string"!=typeof e)return!0;{let s=this.#s.get(e),i=s?.find(t=>"pending"===t.state.status);return!i||i===t}}runNext(t){let e=l(t);if("string"!=typeof e)return Promise.resolve();{let s=this.#s.get(e)?.find(e=>
1e!==t&&e.state.isPaused);return s?.continue()??Promise.resolve()}}clear(){n.jG.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#s.clear()})}getAll(){return Array.from(this.#e)}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,i.nJ)(e,t))}findAll(t={}){return this.getAll().filter(e=>(0,i.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(i.lQ))))}};function l(t){return t.options.scope?.id}var h=s(56195),d=s(63122),f=s(66902),p=class{#r;#n;#a;#o;#u;#c;#l;#h;constructor(t={}){this.#r=t.queryCache||new o,this.#n=t.mutationCache||new c,this.#a=t.defaultOptions||{},this.#o=new Map,this.#u=new Map,this.#c=0}mount(){this.#c++,1===this.#c&&(this.#l=h.m.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#r.onFocus())}),this.#h=d.t.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#r.onOnline())}))}unmount(){this.#c--,0===this.#c&&(this.#l?.(),this.#l=void 0,this.#h?.(),this.#h=void 0)}isFetching(t){return this.#r.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#n.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#r.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.defaultQueryOptions(t),s=this.#r.build(this,e),r=s.state.data;return void 0===r?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime((0,i.d2)(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return this.#r.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){let r=this.defaultQueryOptions({queryKey:t}),n=this.#r.get(r.queryHash),a=n?.state.data,o=(0,i.Zw)(e,a);if(void 0!==o)return this.#r.build(this,r).setData(o,{...s,manual:!0})}setQueriesData(t,e,s){return n.jG.batch(()=>this.#r.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#r.get(e.queryHash)?.state}removeQueries(t){let e=this.#r;n.jG.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let s=this.#r;return n.jG.batch(()=>(s.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){let s={revert:!0,...e};return Promise.all(n.jG.batch(()=>this.#r.findAll(t).map(t=>t.cancel(s)))).then(i.lQ).catch(i.lQ)}invalidateQueries(t,e={}){return n.jG.batch(()=>(this.#r.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 s={...e,cancelRefetch:e.cancelRefetch??!0};return Promise.all(n.jG.batch(()=>this.#r.findAll(t).filter(t=>!t.isDisabled()&&!t.isStatic()).map(t=>{let e=t.fetch(void 0,s);return s.throwOnError||(e=e.catch(i.lQ)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(i.lQ)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let s=this.#r.build(this,e);return s.isStaleByTime((0,i.d2)(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(i.lQ).catch(i.lQ)}fetchInfiniteQuery(t){return t.behavior=(0,f.PL)(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(i.lQ).catch(i.lQ)}ensureInfiniteQueryData(t){return t.behavior=(0,f.PL)(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return d.t.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#r}getMutationCache(){return this.#n}getDefaultOptions(){return this.#a}setDefaultOptions(t){this.#a=t}setQueryDefaults(t,e){this.#o.set((0,i.EN)(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#o.values()],s={};return e.forEach(e=>{(0,i.Cp)(t,e.queryKey)&&Object.assign(s,e.defaultOptions)}),s}setMutationDefaults(t,e){this.#u.set((0,i.EN)(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#u.values()],s={};return e.forEach(e=>{(0,i.Cp)(t,e.mutationKey)&&Object.assign(s,e.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#a.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=(0,i.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===i.hT&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#a.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#r.clear(),this.#n.clear()}}},31668:(t,e,s)=>{"use strict";s.d(e,{X:()=>o,k:()=>u});var i=s(34049),r=s(74268),n=s(93049),a=s(69781),o=class extends a.k{#d;#f;#p;#y;#m;#a;#v;constructor(t){super(),this.#v=!1,this.#a=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#y=t.client,this.#p=this.#y.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#d=l(this.options),this.state=t.state??this.#d,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#m?.promise}setOptions(t){if(this.options={...this.#a,...t},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let t=l(this.options);void 0!==t.data&&(this.setState(c(t.data,t.dataUpdatedAt)),this.#d=t)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#p.remove(this)}setData(t,e){let s=(0,i.pl)(this.state.data,t,this.options);return this.#g({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t,e){this.#g({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#m?.promise;return this.#m?.cancel(t),e?e.then(i.lQ).catch(i.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#d}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==(0,i.Eh)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===i.hT||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
1Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,i.d2)(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,i.j3)(this.state.dataUpdatedAt,t))}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#m?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#m?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#p.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#m&&(this.#v||this.#b()?this.#m.cancel({revert:!0}):this.#m.cancelRetry()),this.scheduleGc()),this.#p.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#b(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#g({type:"invalidate"})}async fetch(t,e){if("idle"!==this.state.fetchStatus&&this.#m?.status()!=="rejected"){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#m)return this.#m.continueRetry(),this.#m.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,r=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#v=!0,s.signal)})},a=()=>{let t=(0,i.ZM)(this.options,e),s=(()=>{let t={client:this.#y,queryKey:this.queryKey,meta:this.meta};return r(t),t})();return(this.#v=!1,this.options.persister)?this.options.persister(t,s,this):t(s)},o=(()=>{let t={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#y,state:this.state,fetchFn:a};return r(t),t})();this.options.behavior?.onFetch(o,this),this.#f=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#g({type:"fetch",meta:o.fetchOptions?.meta}),this.#m=(0,n.II)({initialPromise:e?.initialPromise,fn:o.fetchFn,onCancel:t=>{t instanceof n.cc&&t.revert&&this.setState({...this.#f,fetchStatus:"idle"}),s.abort()},onFail:(t,e)=>{this.#g({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#g({type:"pause"})},onContinue:()=>{this.#g({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{let t=await this.#m.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#p.config.onSuccess?.(t,this),this.#p.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof n.cc){if(t.silent)return this.#m.promise;else if(t.revert){if(void 0===this.state.data)throw t;return this.state.data}}throw this.#g({type:"error",error:t}),this.#p.config.onError?.(t,this),this.#p.config.onSettled?.(this.state.data,t,this),t}finally{this.scheduleGc()}}#g(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,...u(e.data,this.options),fetchMeta:t.meta??null};case"success":let s={...e,...c(t.data,t.dataUpdatedAt),dataUpdateCount:e.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#f=t.manual?s:void 0,s;case"error":let i=t.error;return{...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.jG.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#p.notify({query:this,type:"updated",action:t})})}};function u(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 l(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,i=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?i??Date.now():0,error:null,errorUpdate
1Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}},38217:(t,e,s)=>{"use strict";s.d(e,{E:()=>i});var i=function(){return null}},38559:(t,e,s)=>{"use strict";s.d(e,{$:()=>o,s:()=>a});var i=s(74268),r=s(69781),n=s(93049),a=class extends r.k{#y;#C;#n;#m;constructor(t){super(),this.#y=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#C=[],this.state=t.state||o(),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.#C.includes(t)||(this.#C.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#C=this.#C.filter(e=>e!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#C.length||("pending"===this.state.status?this.scheduleGc():this.#n.remove(this))}continue(){return this.#m?.continue()??this.execute(this.state.variables)}async execute(t){let e=()=>{this.#g({type:"continue"})},s={client:this.#y,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#m=(0,n.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#g({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#g({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let i="pending"===this.state.status,r=!this.#m.canStart();try{if(i)e();else{this.#g({type:"pending",variables:t,isPaused:r}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,s);let e=await this.options.onMutate?.(t,s);e!==this.state.context&&this.#g({type:"pending",context:e,variables:t,isPaused:r})}let n=await this.#m.start();return await this.#n.config.onSuccess?.(n,t,this.state.context,this,s),await this.options.onSuccess?.(n,t,this.state.context,s),await this.#n.config.onSettled?.(n,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(n,null,t,this.state.context,s),this.#g({type:"success",data:n}),n}catch(e){try{await this.#n.config.onError?.(e,t,this.state.context,this,s)}catch(t){Promise.reject(t)}try{await this.options.onError?.(e,t,this.state.context,s)}catch(t){Promise.reject(t)}try{await this.#n.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this,s)}catch(t){Promise.reject(t)}try{await this.options.onSettled?.(void 0,e,t,this.state.context,s)}catch(t){Promise.reject(t)}throw this.#g({type:"error",error:e}),e}finally{this.#n.runNext(this)}}#g(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.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),i.jG.batch(()=>{this.#C.forEach(e=>{e.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function o(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},41402:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var s in e)Object.defineProperty(t,s,{enumerable:!0,get:e[s]})}(e,{default:function(){return v},handleClientScriptLoad:function(){return p},initScriptLoader:function(){return y}});let i=s(28140),r=s(49417),n=s(95155),a=i._(s(47650)),o=r._(s(12115)),u=s(82073),c=s(94681),l=s(4853),h=new Map,d=new Set,f=t=>{let{src:e,id:s,onLoad:i=()=>{},onReady:r=null,dangerouslySetInnerHTML:n,children:o="",strategy:u="afterInteractive",onError:l,stylesheets:f}=t,p=s||e;if(p&&d.has(p))return;if(h.has(e)){d.add(p),h.get(e).then(i,l);return}let y=()=>{r&&r(),d.add(p)},m=document.createElement("script"),v=new Promise((t,e)=>{m.addEventListener("load",function(e){t(),i&&i.call(this,e),y()}),m.addEventListener("error",function(t){e(t)})}).catch(function(t){l&&l(t)});n?(m.innerHTML=n.__html||"",y()):o?(m.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",y()):e&&(m.src=e,h.set(e,v)),(0,c.setAttributesFromProps)(m,t),"worker"===u&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",u),f&&(t=>{if(a.default.preinit)return t.forEach(t=>{a.default.preinit(t,{as:"style"})});{let e=document.head;t.forEach(t=>{let s=document.createElement("link");s.type="text/css",s.rel="stylesheet",s.href=t,e.appendChild(s)})}})(f),document.body.appendChild(m)};function p(t){let{strategy:e="afterInteractive"}=t;"lazyOnload"===e?window.addEventListener("load",()=>{(0,l.requestIdleCallback)(()=>f(t))}):f(t)}function y(t){t.forEach(p),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEac
1h(t=>{let e=t.id||t.getAttribute("src");d.add(e)})}function m(t){let{id:e,src:s="",onLoad:i=()=>{},onReady:r=null,strategy:c="afterInteractive",onError:h,stylesheets:p,...y}=t,{updateScripts:m,scripts:v,getIsSsr:g,appDir:b,nonce:C}=(0,o.useContext)(u.HeadManagerContext);C=y.nonce||C;let w=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let t=e||s;w.current||(r&&t&&d.has(t)&&r(),w.current=!0)},[r,e,s]);let S=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{if(!S.current){if("afterInteractive"===c)f(t);else"lazyOnload"===c&&("complete"===document.readyState?(0,l.requestIdleCallback)(()=>f(t)):window.addEventListener("load",()=>{(0,l.requestIdleCallback)(()=>f(t))}));S.current=!0}},[t,c]),("beforeInteractive"===c||"worker"===c)&&(m?(v[c]=(v[c]||[]).concat([{id:e,src:s,onLoad:i,onReady:r,onError:h,...y,nonce:C}]),m(v)):g&&g()?d.add(e||s):g&&!g()&&f({...t,nonce:C})),b){if(p&&p.forEach(t=>{a.default.preinit(t,{as:"style"})}),"beforeInteractive"===c)if(!s)return y.dangerouslySetInnerHTML&&(y.children=y.dangerouslySetInnerHTML.__html,delete y.dangerouslySetInnerHTML),(0,n.jsx)("script",{nonce:C,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...y,id:e}])+")"}});else return a.default.preload(s,y.integrity?{as:"script",integrity:y.integrity,nonce:C,crossOrigin:y.crossOrigin}:{as:"script",nonce:C,crossOrigin:y.crossOrigin}),(0,n.jsx)("script",{nonce:C,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([s,{...y,id:e}])+")"}});"afterInteractive"===c&&s&&a.default.preload(s,y.integrity?{as:"script",integrity:y.integrity,nonce:C,crossOrigin:y.crossOrigin}:{as:"script",nonce:C,crossOrigin:y.crossOrigin})}return null}Object.defineProperty(m,"__nextScript",{value:!0});let v=m;("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)},43513:(t,e,s)=>{var i=s(63169);t.exports=function(t){var e=t.length;return e?t[i(0,e-1)]:void 0}},48854:(t,e,s)=>{"use strict";s.d(e,{SpeedInsights:()=>h});var i=s(12115),r=s(20063),n=s(95704);function a(){return"development"===function(){return"production"}()}function o(t){return new RegExp("/".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"))}function u(t){return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("/")?t:"/".concat(t)}function c(t){(0,i.useEffect)(()=>{var e;t.beforeSend&&(null==(e=window.si)||e.call(window,"beforeSend",t.beforeSend))},[t.beforeSend]);let e=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!e.current){var s,i,r;let o=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;if("undefined"==typeof window||null===e.route)return null;window.si||(window.si=function(){for(var t=arguments.length,e=Array(t),s=0;s<t;s++)e[s]=arguments[s];window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:i,src:r,dataset:n}=function(t,e){var s,i;let r=t;if(e)try{r={...null==(s=JSON.parse(e))?void 0:s.speedInsights,...t}}catch(t){}let n={sdkn:"@vercel/speed-insights"+(r.framework?"/".concat(r.framework):""),sdkv:"2.0.0"};
1return r.sampleRate&&(n.sampleRate=r.sampleRate.toString()),r.route&&(n.route=r.route),a()&&!1===r.debug&&(n.debug="false"),r.dsn&&(n.dsn=r.dsn),r.endpoint?n.endpoint=u(r.endpoint):r.basePath&&(n.endpoint=u("".concat(r.basePath,"/speed-insights/vitals"))),{src:(i=r).scriptSrc?u(i.scriptSrc):a()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":i.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":i.basePath?u("".concat(i.basePath,"/speed-insights/script.js")):"/_vercel/speed-insights/script.js",beforeSend:r.beforeSend,dataset:n}}(e,s);if(document.head.querySelector('script[src*="'.concat(r,'"]')))return null;i&&(null==(t=window.si)||t.call(window,"beforeSend",i));let o=document.createElement("script");for(let[t,e]of(o.src=r,o.defer=!0,Object.entries(n)))o.dataset[t]=e;return o.onerror=()=>{console.log("[Vercel Speed Insights] Failed to load script from ".concat(r,". Please check if any content blockers are enabled and try again."))},document.head.appendChild(o),{setRoute:t=>{o.dataset.route=null!=t?t:void 0}}}({framework:null!=(s=t.framework)?s:"react",basePath:null!=(i=t.basePath)?i:function(){if(void 0!==n&&void 0!==n.env)return n.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...t},null!=(r=t.configString)?r:function(){if(void 0!==n&&void 0!==n.env)return n.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());o&&(e.current=o.setRoute)}},[t]),(0,i.useEffect)(()=>{e.current&&t.route&&e.current(t.route)},[t.route]),null}function l(t){let e=(()=>{let t=(0,r.useParams)(),e=(0,r.useSearchParams)()||new URLSearchParams,s=(0,r.usePathname)();return t?function(t,e){if(!t||!e)return t;let s=t;try{let t=Object.entries(e);for(let[e,i]of t)if(!Array.isArray(i)){let t=o(i);t.test(s)&&(s=s.replace(t,"/[".concat(e,"]")))}for(let[e,i]of t)if(Array.isArray(i)){let t=o(i.join("/"));t.test(s)&&(s=s.replace(t,"/[...".concat(e,"]")))}return s}catch(e){return t}}(s,Object.keys(t).length?t:Object.fromEntries(e.entries())):null})();return i.createElement(c,{route:e,...t,framework:"next",basePath:function(){if(void 0!==n&&void 0!==n.env)return n.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
1(),configString:function(){if(void 0!==n&&void 0!==n.env)return'{"analytics":{"scriptSrc":"0de03881a1303be7/script.js","viewEndpoint":"0de03881a1303be7/view","eventEndpoint":"0de03881a1303be7/event","sessionEndpoint":"0de03881a1303be7/session"},"speedInsights":{"scriptSrc":"b88b258647fa4dd7/script.js","endpoint":"b88b258647fa4dd7/vitals"}}'}()})}function h(t){return i.createElement(i.Suspense,{fallback:null},i.createElement(l,{...t}))}},63169:t=>{var e=Math.floor,s=Math.random;t.exports=function(t,i){return t+e(s()*(i-t+1))}},66902:(t,e,s)=>{"use strict";s.d(e,{PL:()=>r,RQ:()=>u,rB:()=>o});var i=s(34049);function r(t){return{onFetch:(e,s)=>{let r=e.options,o=e.fetchOptions?.meta?.fetchMore?.direction,u=e.state.data?.pages||[],c=e.state.data?.pageParams||[],l={pages:[],pageParams:[]},h=0,d=async()=>{let s=!1,d=(0,i.ZM)(e.options,e.fetchOptions),f=async(t,r,n)=>{if(s)return Promise.reject();if(null==r&&t.pages.length)return Promise.resolve(t);let a=(()=>{let t={client:e.client,queryKey:e.queryKey,pageParam:r,direction:n?"backward":"forward",meta:e.options.meta};return(0,i.ox)(t,()=>e.signal,()=>s=!0),t})(),o=await d(a),{maxPages:u}=e.options,c=n?i.ZZ:i.y9;return{pages:c(t.pages,o,u),pageParams:c(t.pageParams,r,u)}};if(o&&u.length){let t="backward"===o,e={pages:u,pageParams:c},s=(t?a:n)(r,e);l=await f(e,s,t)}else{let e=t??u.length;do{let t=0===h?c[0]??r.initialPageParam:n(r,l);if(h>0&&null==t)break;l=await f(l,t),h++}while(h<e)}return l};e.options.persister?e.fetchFn=()=>e.options.persister?.(d,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=d}}}function n(t,{pages:e,pageParams:s}){let i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,s[i],s):void 0}function a(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}function o(t,e){return!!e&&null!=n(t,e)}function u(t,e){return!!e&&!!t.getPreviousPageParam&&null!=a(t,e)}},71847:(t,e,s)=>{"use strict";s.d(e,{A:()=>u});var i=s(12115);let r=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,s)=>s?s.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)},n=function(){for(var t=arguments.length,e=Array(t),s=0;s<t;s++)e[s]=arguments[s];return e.filter((t,e,s)=>!!t&&""!==t.trim()&&s.indexOf(t)===e).join(" ").trim()};var a={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"};let o=(0,i.forwardRef)((t,e)=>{let{color:s="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:c="",children:l,iconNode:h,...d}=t;return(0,i.createElement)("svg",{ref:e,...a,width:r,height:r,stroke:s,strokeWidth:u?24*Number(o)/Number(r):o,className:n("lucide",c),...!l&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0})(d)&&{"aria-hidden":"true"},...d},[...h.map(t=>{let[e,s]=t;return(0,i.createElement)(e,s)}),...Array.isArray(l)?l:[l]])}),u=(t,e)=>{let s=(0,i.forwardRef)((s,a)=>{let{className:u,...c}=s;return(0,i.createElement)(o,{ref:a,iconNode:e,className:n("lucide-".concat(r(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(t),u),...c})});return s.displayName=r(t),s}},84288:(t,e,s)=>{"use strict";s.d(e,{X:()=>n});var i=s(12115),r=s(4129);function n(t){let[e,s]=i.useState(void 0);return(0,r.N)(()=>{if(t){s({width:t.offsetWidth,height:t.offsetHeight});let e=new ResizeObserver(e=>{let i,r;if(!Array.isArray(e)||!e.length)return;let n=e[0];if("borderBoxSize"in n){let t=n.borderBoxSize,e=Array.isArray(t)?t[0]:t;i=e.inlineSize,r=e.blockSize}else i=t.offsetWidth,r=t.offsetHeight;s({width:i,height:r})});return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}s(void 0)},[t]),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.