PageSourceSearch

https://dsp-web.vercel.app/_next/static/chunks/625-43b262cb04772ee2.js

js dsp-web.vercel.app collected 2026-10-03 06:48:41 UTC 25,385 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[625],{43:(t,e,s)=>{s.d(e,{X:()=>u,k:()=>c});var r=s(4049),i=s(4268),n=s(3049),a=s(2162);function o(t,{pages:e,pageParams:s}){let r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,s[r],s):void 0}var u=class extends a.k{#t;#e;#s;#r;#i;#n;#a;#o;constructor(t){super(),this.#o=!1,this.#a=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#r=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=l(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#n?.promise}setOptions(t){if(this.options={...this.#a,...t},t?._type&&(this.#t=t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let t=l(this.options);void 0!==t.data&&(this.setState(h(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#r.remove(this)}setData(t,e){let s=(0,r.pl)(this.state.data,t,this.options);return this.#u({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t){this.#u({type:"setState",state:t})}cancel(t){let e=this.#n?.promise;return this.#n?.cancel(t),e?e.then(r.lQ).catch(r.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==(0,r.nU)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.hT||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,r.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,r.j3)(this.state.dataUpdatedAt,t))}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#r.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.#n&&(this.#o||this.#c()?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#c(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(t,e){var s;if("idle"!==this.state.fetchStatus&&this.#n?.status()!=="rejected"){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let i=new AbortController,a=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#o=!0,i.signal)})},u=()=>{let t=(0,r.ZM)(this.options,e),s=(()=>{let t={client:this.#i,queryKey:this.queryKey,meta:this.meta};return a(t),t})();return(this.#o=!1,this.options.persister)?this.options.persister(t,s,this):t(s)},c=(()=>{let t={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:u};return a(t),t})(),h="infinite"===this.#t?(s=this.options.pages,{onFetch:(t,e)=>{let i=t.options,n=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],u=t.state.data?.pageParams||[],c={pages:[],pageParams:[]},h=0,l=async()=>{let e=!1,l=(0,r.ZM)(t.options,t.fetchOptions),d=async(s,i,n)=>{if(e)return Promise.reject(t.signal.reason);if(null==i&&s.pages.length)return Promise.resolve(s);let a=(()=>{let s={client:t.client,queryKey:t.queryKey,pageParam:i,direction:n?"backward":"forward",meta:t.options.meta};return(0,r.ox)(s,()=>t.signal,()=>e=!0),s})(),o=await l(a),{maxPages:u}=t.options,c=n?r.ZZ:r.y9;return{pages:c(s.pages,o,u),pageParams:c(s.pageParams,i,u)}};if(n&&a.length){let t="backward"===n,e={pages:a,pageParams:u},s=(t?function(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}:o)(i,e);c=await d(e,s,t)}else{let t=s??a.length;do{let t=0===h?u[0]??i.initialPageParam:o(i,c);if(h>0&&null==t)break;c=await d(c,t),h++}while(h<t)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e):t.fetchFn=l}}):this.options.behavior;h?.onFetch(c,this),this.#s=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#u({type:"fetch",meta:c.fetchOptions?.meta}),this.#n=(0,n.II)({initialPromise:e?.initialPromise,fn:c.fetchFn,onCancel:t=>{t instanceof n.cc&&t.revert&&this.setState({...this.#s,fetchStatus:"idle"}),i.abort()},onFail:(t,e)=>{this.#u({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{let t=await this.#n.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#r.config.onSuccess?.(t,this),this.#r.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof n.cc){if(t.silent)return this.#n.promise;else if(t.revert){if(void 0===this.state.data)throw t;return this.state.data}}throw this.#u({type:"error",error:t}),this.#r.config.onError?.(t,this),this.#r.config.onSettled?.(this.state.data,t,this),t}finally{this.scheduleGc()}}#u(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,...c(e.data,this.options),fetchMeta:t.meta??null};case"success":let s={...e,...h(t.data,t.dataUpdatedAt),dataUpdateCount:e.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#s=t.manual?s:void 0,s;case"error":let r=t.error;
1return{...e,error:r,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),i.jG.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:t})})}};function c(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,n.v_)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}function h(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,r=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}},2162:(t,e,s)=>{s.d(e,{k:()=>a});var r=s(7126),i=s(7788),n=s(4049),a=class{#h;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.gn)(this.gcTime)&&(this.#h=r.zs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(i.H.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==this.#h&&(r.zs.clearTimeout(this.#h),this.#h=void 0)}}},2954:(t,e,s)=>{s.d(e,{$:()=>l});var r=s(6195),i=s(7788),n=s(4268),a=s(43),o=s(8445),u=s(3515),c=s(4049),h=s(7126),l=class extends o.Q{constructor(t,e){super(),this.options=e,this.#i=t,this.#l=null,this.#d=(0,u.T)(),this.bindMethods(),this.setOptions(e)}#i;#p=void 0;#f=void 0;#y=void 0;#v;#m;#d;#l;#b;#g;#R;#S;#w;#O;#T=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#p.addObserver(this),d(this.#p,this.options)?this.#Q():this.updateResult(),this.#I())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return p(this.#p,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return p(this.#p,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#C(),this.#F(),this.#p.removeObserver(this)}setOptions(t){let e=this.options,s=this.#p;if(this.options=this.#i.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,c.nU)(this.options.enabled,this.#p))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
1this.#E(),this.#p.setOptions(this.options),e._defaulted&&!(0,c.f8)(this.options,e)&&this.#i.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#p,observer:this});let r=this.hasListeners();r&&f(this.#p,s,this.options,e)&&this.#Q(),this.updateResult(),r&&(this.#p!==s||(0,c.nU)(this.options.enabled,this.#p)!==(0,c.nU)(e.enabled,this.#p)||(0,c.d2)(this.options.staleTime,this.#p)!==(0,c.d2)(e.staleTime,this.#p))&&this.#U();let i=this.#P();r&&(this.#p!==s||(0,c.nU)(this.options.enabled,this.#p)!==(0,c.nU)(e.enabled,this.#p)||i!==this.#O)&&this.#j(i)}getOptimisticResult(t){var e,s;let r=this.#i.getQueryCache().build(this.#i,t),i=this.createResult(r,t);return e=this,s=i,(0,c.f8)(e.getCurrentResult(),s)||(this.#y=i,this.#m=this.options,this.#v=this.#p.state),i}getCurrentResult(){return this.#y}trackResult(t,e){return new Proxy(t,{get:(t,s)=>(this.trackProp(s),e?.(s),"promise"===s&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#d.status||this.#d.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(t,s))})}trackProp(t){this.#T.add(t)}getCurrentQuery(){return this.#p}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e=this.#i.defaultQueryOptions(t),s=this.#i.getQueryCache().build(this.#i,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#Q({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#y))}#Q(t){this.#E();let e=this.#p.fetch(this.options,t);return t?.throwOnError||(e=e.catch(c.lQ)),e}#U(){this.#C();let t=(0,c.d2)(this.options.staleTime,this.#p);if(i.H.isServer()||this.#y.isStale||!(0,c.gn)(t))return;let e=(0,c.j3)(this.#y.dataUpdatedAt,t);this.#S=h.zs.setTimeout(()=>{this.#y.isStale||this.updateResult()},e+1)}#P(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#p):this.options.refetchInterval)??!1}#j(t){this.#F(),this.#O=t,!i.H.isServer()&&!1!==(0,c.nU)(this.options.enabled,this.#p)&&(0,c.gn)(this.#O)&&0!==this.#O&&(this.#w=h.zs.setInterval(()=>{(this.options.refetchIntervalInBackground||r.m.isFocused())&&this.#Q()},this.#O))}#I(){this.#U(),this.#j(this.#P())}#C(){void 0!==this.#S&&(h.zs.clearTimeout(this.#S),this.#S=void 0)}#F(){void 0!==this.#w&&(h.zs.clearInterval(this.#w),this.#w=void 0)}createResult(t,e){let s,r=this.#p,i=this.options,n=this.#y,o=this.#v,h=this.#m,l=t!==r?t.state:this.#f,{state:p}=t,v={...p},m=!1;if(e._optimisticResults){let s=this.hasListeners(),n=!s&&d(t,e),o=s&&f(t,r,e,i);(n||o)&&(v={...v,...(0,a.k)(p.data,t.options)}),"isRestoring"===e._optimisticResults&&(v.fetchStatus="idle")}let{error:b,errorUpdatedAt:g,status:R}=v;s=v.data;let S=!1;if(void 0!==e.placeholderData&&void 0===s&&"pending"===R){let t;n?.isPlaceholderData&&e.placeholderData===h?.placeholderData?(t=n.data,S=!0):t="function"==typeof e.placeholderData?e.placeholderData(this.#R?.state.data,this.#R):e.placeholderData,void 0!==t&&(R="success",s=(0,c.pl)(n?.data,t,e),m=!0)}if(e.select&&void 0!==s&&!S)if(n&&s===o?.data&&e.select===this.#b)s=this.#g;else try{this.#b=e.select,s=e.select(s),s=(0,c.pl)(n?.data,s,e),this.#g=s,this.#l=null}catch(t){this.#l=t}this.#l&&(b=this.#l,s=this.#g,g=Date.now(),R="error");let w="fetching"===v.fetchStatus,O="pending"===R,T="error"===R,Q=O&&w,I=void 0!==s,C={status:R,fetchStatus:v.fetchStatus,isPending:O,isSuccess:"success"===R,isError:T,isInitialLoading:Q,isLoading:Q,data:s,dataUpdatedAt:v.dataUpdatedAt,error:b,errorUpdatedAt:g,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:v.dataUpdateCount>l.dataUpdateCount||v.errorUpdateCount>l.errorUpdateCount,isFetching:w,isRefetching:w&&!O,isLoadingError:T&&!I,isPaused:"paused"===v.fetchStatus,isPlaceholderData:m,isRefetchError:T&&I,isStale:y(t,e),refetch:this.refetch,promise:this.#d,isEnabled:!1!==(0,c.nU)(e.enabled,t)};if(this.options.experimental_prefetchInRender){let e=void 0!==C.data,s="error"===C.status&&!e,i=t=>{s?t.reject(C.error):e&&t.resolve(C.data)},n=()=>{i(this.#d=C.promise=(0,u.T)())},a=this.#d;
1switch(a.status){case"pending":t.queryHash===r.queryHash&&i(a);break;case"fulfilled":(s||C.data!==a.value)&&n();break;case"rejected":s&&C.error===a.reason||n()}}return C}updateResult(){let t=this.#y,e=this.createResult(this.#p,this.options);if(this.#v=this.#p.state,this.#m=this.options,void 0!==this.#v.data&&(this.#R=this.#p),(0,c.f8)(e,t))return;this.#y=e;let s=()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,s="function"==typeof e?e():e;if("all"===s||!s&&!this.#T.size)return!0;let r=new Set(s??this.#T);return this.options.throwOnError&&r.add("error"),Object.keys(this.#y).some(e=>this.#y[e]!==t[e]&&r.has(e))};this.#q({listeners:s()})}#E(){let t=this.#i.getQueryCache().build(this.#i,this.options);if(t===this.#p)return;let e=this.#p;this.#p=t,this.#f=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#I()}#q(t){n.jG.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#y)}),this.#i.getQueryCache().notify({query:this.#p,type:"observerResultsUpdated"})})}};function d(t,e){return!1!==(0,c.nU)(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==(0,c.nU)(e.retryOnMount,t))||void 0!==t.state.data&&p(t,e,e.refetchOnMount)}function p(t,e,s){if(!1!==(0,c.nU)(e.enabled,t)&&"static"!==(0,c.d2)(e.staleTime,t)){let r="function"==typeof s?s(t):s;return"always"===r||!1!==r&&y(t,e)}return!1}function f(t,e,s,r){return(t!==e||!1===(0,c.nU)(r.enabled,t))&&(!s.suspense||"error"!==t.state.status)&&y(t,s)}function y(t,e){return!1!==(0,c.nU)(e.enabled,t)&&t.isStaleByTime((0,c.d2)(e.staleTime,t))}},3049:(t,e,s)=>{s.d(e,{II:()=>l,cc:()=>h,v_:()=>c});var r=s(6195),i=s(3122),n=s(3515),a=s(7788),o=s(4049);function u(t){return Math.min(1e3*2**t,3e4)}function c(t){return(t??"online")!=="online"||i.t.isOnline()}var h=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function l(t){let e,s=!1,l=0,d=(0,n.T)(),p=()=>r.m.isFocused()&&("always"===t.networkMode||i.t.isOnline())&&t.canRun(),f=()=>c(t.networkMode)&&t.canRun(),y=t=>{"pending"===d.status&&(e?.(),d.resolve(t))},v=t=>{"pending"===d.status&&(e?.(),d.reject(t))},m=()=>new Promise(s=>{e=t=>{("pending"!==d.status||p())&&s(t)},t.onPause?.()}).then(()=>{e=void 0,"pending"===d.status&&t.onContinue?.()}),b=()=>{let e;if("pending"!==d.status)return;let r=0===l?t.initialPromise:void 0;try{e=r??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(y).catch(e=>{if("pending"!==d.status)return;let r=t.retry??3*!a.H.isServer(),i=t.retryDelay??u,n="function"==typeof i?i(l,e):i,c=!0===r||"number"==typeof r&&l<r||"function"==typeof r&&r(l,e);if(s||!c)return void v(e);l++,t.onFail?.(l,e),(0,o.yy)(n).then(()=>p()?void 0:m()).then(()=>{s?v(e):b()})})};return{promise:d,status:()=>d.status,cancel:e=>{if("pending"===d.status){let s=new h(e);v(s),t.onCancel?.(s)}},continue:()=>(e?.(),d),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:f,start:()=>(f()?b():m().then(b),d)}}},3122:(t,e,s)=>{s.d(e,{t:()=>i});var r=s(8445),i=new class extends r.Q{#k=!0;#D;#x;constructor(){super(),this.#x=t=>{if("undefined"!=typeof window&&window.addEventListener){let e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#D||this.setEventListener(this.#x)}onUnsubscribe(){this.hasListeners()||(this.#D?.(),this.#D=void 0)}setEventListener(t){this.#x=t,this.#D?.(),this.#D=t(this.setOnline.bind(this))}setOnline(t){this.#k!==t&&(this.#k=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#k}}},3515:(t,e,s)=>{s.d(e,{T:()=>r});function r(){let t,e,s=new Promise((s,r)=>{t=s,e=r});function r(t){Object.assign(s,t),delete s.resolve,delete s.reject}return s.status="pending",s.catch(()=>{}),s.resolve=e=>{r({status:"fulfilled",value:e}),t(e)},s.reject=t=>{r({status:"rejected",reason:t}),e(t)},s}},3742:(t,e,s)=>{s.d(e,{w:()=>n});var r=s(2115),i=r.createContext(!1),n=()=>r.useContext(i);i.Provider},4049:(t,e,s)=>{s.d(e,{BH:()=>m,Cp:()=>y,EN:()=>f,F$:()=>p,GU:()=>F,MK:()=>l,S$:()=>i,ZM:()=>C,ZZ:()=>Q,Zw:()=>a,d2:()=>c,f8:()=>b,gn:()=>o,hT:()=>I,j3:()=>u,lQ:()=>n,nJ:()=>d,nU:()=>h,ox:()=>E,pl:()=>O,y9:()=>T,yy:()=>w});var r=s(7126),i="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 c(t,e){return"function"==typeof t?t(e):t}function h(t,e){return"function"==typeof t?t(e):t}function l(t,e){let{type:s="all",exact:r,fetchStatus:i,predicate:n,queryKey:a,stale:o}=t;
1if(a){if(r){if(e.queryHash!==p(a,e.options))return!1}else if(!y(e.queryKey,a))return!1}if("all"!==s){let t=e.isActive();if("active"===s&&!t||"inactive"===s&&t)return!1}return("boolean"!=typeof o||e.isStale()===o)&&(!i||i===e.state.fetchStatus)&&(!n||!!n(e))}function d(t,e){let{exact:s,status:r,predicate:i,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(s){if(f(e.options.mutationKey)!==f(n))return!1}else if(!y(e.options.mutationKey,n))return!1}return(!r||e.state.status===r)&&(!i||!!i(e))}function p(t,e){return(e?.queryKeyHashFn||f)(t)}function f(t){return JSON.stringify(t,(t,e)=>R(e)?Object.keys(e).sort().reduce((t,s)=>(t[s]=e[s],t),{}):e)}function y(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).every(s=>y(t[s],e[s]))}var v=Object.prototype.hasOwnProperty;function m(t,e,s=0){if(t===e)return t;if(s>500)return e;let r=g(t)&&g(e);if(!r&&!(R(t)&&R(e)))return e;let i=(r?t:Object.keys(t)).length,n=r?e:Object.keys(e),a=n.length,o=r?Array(a):{},u=0;for(let c=0;c<a;c++){let a=r?c:n[c],h=t[a],l=e[a];if(h===l){o[a]=h,(r?c<i:v.call(t,a))&&u++;continue}if(null===h||null===l||"object"!=typeof h||"object"!=typeof l){o[a]=l;continue}let d=m(h,l,s+1);o[a]=d,d===h&&u++}return i===a&&u===i?t:o}function b(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let s in t)if(t[s]!==e[s])return!1;return!0}function g(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function R(t){if(!S(t))return!1;let e=t.constructor;if(void 0===e)return!0;let s=e.prototype;return!!S(s)&&!!s.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function S(t){return"[object Object]"===Object.prototype.toString.call(t)}function w(t){return new Promise(e=>{r.zs.setTimeout(e,t)})}function O(t,e,s){return"function"==typeof s.structuralSharing?s.structuralSharing(t,e):!1!==s.structuralSharing?m(t,e):e}function T(t,e,s=0){let r=[...t,e];return s&&r.length>s?r.slice(1):r}function Q(t,e,s=0){let r=[e,...t];return s&&r.length>s?r.slice(0,-1):r}var I=Symbol();function C(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==I?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}function F(t,e){return"function"==typeof t?t(...e):!!t}function E(t,e,s){let r,i=!1;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r??=e(),i||(i=!0,r.aborted?s():r.addEventListener("abort",s,{once:!0})),r)}),t}},4268:(t,e,s)=>{s.d(e,{jG:()=>i});var r=s(7126).Zq,i=function(){let t=[],e=0,s=t=>{t()},i=t=>{t()},n=r,a=r=>{e?t.push(r):n(()=>{s(r)})};return{batch:r=>{let a;e++;try{a=r()}finally{--e||(()=>{let e=t;t=[],e.length&&n(()=>{i(()=>{e.forEach(t=>{s(t)})})})})()}return a},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a,setNotifyFunction:t=>{s=t},setBatchNotifyFunction:t=>{i=t},setScheduler:t=>{n=t}}}()},4625:(t,e,s)=>{s.d(e,{I:()=>p});var r=s(2954),i=s(2115),n=s(4268),a=s(4049),o=s(7788),u=s(9776),c=s(7785),h=s(6687),l=s(3742),d=s(5822);function p(t,e){return function(t,e,s){var r,p,f,y;let v=(0,l.w)(),m=(0,c.h)(),b=(0,u.jE)(s),g=b.defaultQueryOptions(t);null==(p=b.getDefaultOptions().queries)||null==(r=p._experimental_beforeQuery)||r.call(p,g);let R=b.getQueryCache().get(g.queryHash);g._optimisticResults=v?"isRestoring":"optimistic",(0,d.jv)(g),(0,h.LJ)(g,m,R),(0,h.wZ)(m);let S=!b.getQueryCache().get(g.queryHash),[w]=i.useState(()=>new e(b,g)),O=w.getOptimisticResult(g),T=!v&&!1!==t.subscribed;if(i.useSyncExternalStore(i.useCallback(t=>{let e=T?w.subscribe(n.jG.batchCalls(t)):a.lQ;return w.updateResult(),e},[w,T]),()=>w.getCurrentResult(),()=>w.getCurrentResult()),i.useEffect(()=>{w.setOptions(g)},[g,w]),(0,d.EU)(g,O))throw(0,d.iL)(g,w,m);if((0,h.$1)({result:O,errorResetBoundary:m,throwOnError:g.throwOnError,query:R,suspense:g.suspense}))throw O.error;if(null==(y=b.getDefaultOptions().queries)||null==(f=y._experimental_afterQuery)||f.call(y,g,O),g.experimental_prefetchInRender&&!o.H.isServer()&&(0,d.nE)(O,v)){let t=S?(0,d.iL)(g,w,m):null==R?void 0:R.promise;null==t||t.catch(a.lQ).finally(()=>{w.updateResult()})}return g.notifyOnChangeProps?O:w.trackResult(O)}(t,r.$,e)}},5822:(t,e,s)=>{s.d(e,{EU:()=>n,iL:()=>a,jv:()=>r,nE:()=>i});var r=t=>{if(t.suspense){let e=t=>"static"===t?t:Math.max(t??1e3,1e3),s=t.staleTime;t.staleTime="function"==typeof s?(...t)=>e(s(...t)):e(s),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,1e3))}},i=(t,e)=>t.isLoading&&t.isFetching&&!e,n=(t,e)=>t?.suspense&&e.isPending,a=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()})},6195:(t,e,s)=>{s.d(e,{m:()=>i});var r=s(8445),i=new class extends r.Q{#L;#D;#x;constructor(){super(),this.#x=t=>{if("undefined"!=typeof window&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#D||this.setEventListener(this.#x)}onUnsubscribe(){this.hasListeners()||(this.#D?.(),this.#D=void 0)}setEventListener(t){this.#x=t,this.#D?.(),this.#D=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#L!==t&&(this.#L=t,this.onFocus())}onFocus(){let t=this.isFocused();
1this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#L?this.#L:globalThis.document?.visibilityState!=="hidden"}}},6687:(t,e,s)=>{s.d(e,{$1:()=>o,LJ:()=>n,wZ:()=>a});var r=s(2115),i=s(4049),n=(t,e,s)=>{let r=(null==s?void 0:s.state.error)&&"function"==typeof t.throwOnError?(0,i.GU)(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&!e.isReset()&&(t.retryOnMount=!1)},a=t=>{r.useEffect(()=>{t.clearReset()},[t])},o=t=>{let{result:e,errorResetBoundary:s,throwOnError:r,query:n,suspense:a}=t;return e.isError&&!s.isReset()&&!e.isFetching&&n&&(a&&void 0===e.data||(0,i.GU)(r,[e.error,n]))}},7126:(t,e,s)=>{s.d(e,{Zq:()=>n,zs:()=>i});var r={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},i=new class{#M=r;#A=!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)}},7785:(t,e,s)=>{s.d(e,{h:()=>n});var r=s(2115);s(5155);var i=r.createContext(function(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}()),n=()=>r.useContext(i)},7788:(t,e,s)=>{s.d(e,{H:()=>i});var r=s(4049),i=(()=>{let t=()=>r.S$;return{isServer:()=>t(),setIsServer(e){t=e}}})()},8445:(t,e,s)=>{s.d(e,{Q:()=>r});var r=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(){}}},9776:(t,e,s)=>{s.d(e,{Ht:()=>o,jE:()=>a});var r=s(2115),i=s(5155),n=r.createContext(void 0),a=t=>{let e=r.useContext(n);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},o=t=>{let{client:e,children:s}=t;return r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(n.Provider,{value:e,children:s})}}}]);

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.