1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="acbcee01-f1b9-4f5c-949b-bf4ef9548a40",e._sentryDebugIdIdentifier="sentry-dbid-acbcee01-f1b9-4f5c-949b-bf4ef9548a40")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[900],{90900:function(e,t,r){let s;r.d(t,{a:function(){return x}});var i=r(92070),n=r(62705),u=r(26908),a=r(99884),h=r(56790),o=r(23751),c=r(25191),l=r(5574),d=class extends h.l{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#r=(0,o.O)(),this.bindMethods(),this.setOptions(t)}#e;#s=void 0;#i=void 0;#n=void 0;#u;#a;#r;#t;#h;#o;#c;#l;#d;#p;#f=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#s.addObserver(this),p(this.#s,this.options)?this.#y():this.updateResult(),this.#R())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.#s,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.#s,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#v(),this.#s.removeObserver(this)}setOptions(e){let t=this.options,r=this.#s;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,c.TD)(this.options.enabled,this.#s))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#m(),this.#s.setOptions(this.options),t._defaulted&&!(0,c.VS)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#s,observer:this});let s=this.hasListeners();s&&y(this.#s,r,this.options,t)&&this.#y(),this.updateResult(),s&&(this.#s!==r||(0,c.TD)(this.options.enabled,this.#s)!==(0,c.TD)(t.enabled,this.#s)||(0,c.KC)(this.options.staleTime,this.#s)!==(0,c.KC)(t.staleTime,this.#s))&&this.#Q();let i=this.#g();s&&(this.#s!==r||(0,c.TD)(this.options.enabled,this.#s)!==(0,c.TD)(t.enabled,this.#s)||i!==this.#p)&&this.#T(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return(0,c.VS)(this.getCurrentResult(),r)||(this.#n=r,this.#a=this.options,this.#u=this.#s.state),r}getCurrentResult(){return this.#n}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"!==r||(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#r.status||this.#r.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#f.add(e)}getCurrentQuery(){return this.#s}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),r=this.#e.getQueryCache().build(this.#e,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#y({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#y(e){this.#m();let t=this.#s.fetch(this.options,e);return e?.throwOnError||(t=t.catch(c.ZT)),t}#Q(){this.#b();let e=(0,c.KC)(this.options.staleTime,this.#s);if(n.m.isServer()||this.#n.isStale||!(0,c.PN)(e))return;let t=(0,c.Kp)(this.#n.dataUpdatedAt,e);this.#l=l.mr.setTimeout(()=>{this.#n.isStale||this.updateResult()},t+1)}#g(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#s):this.options.refetchInterval)??!1}#T(e){this.#v(),this.#p=e,!n.m.isServer()&&!1!==(0,c.TD)(this.options.enabled,this.#s)&&(0,c.PN)(this.#p)&&0!==this.#p&&(this.#d=l.mr.setInterval(()=>{(this.options.refetchIntervalInBackground||i.j.isFocused())&&this.#y()},this.#p))}#R(){this.#Q(),this.#T(this.#g())}#b(){void 0!==this.#l&&(l.mr.clearTimeout(this.#l),this.#l=void 0)}#v(){void 0!==this.#d&&(l.mr.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let r;let s=this.#s,i=this.options,n=this.#n,u=this.#u,h=this.#a,l=e!==s?e.state:this.#i,{state:d}=e,f={...d},b=!1;if(t._optimisticResults){let r=this.hasListeners(),n=!r&&p(e,t),u=r&&y(e,s,t,i);(n||u)&&(f={...f,...(0,a.z)(d.data,e.options)}),"isRestoring"===t._optimisticResults&&(f.fetchStatus="idle")}let{error:v,errorUpdatedAt:m,status:Q}=f;r=f.data;let g=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===Q){let e;n?.isPlaceholderData&&t.placeholderData===h?.placeholderData?(e=n.data,g=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(Q="success",r=(0,c.oE)(n?.data,e,t),b=!0)}if(t.select&&void 0!==r&&!g){if(n&&r===u?.data&&t.select===this.#h)r=this.#o;else try{this.#h=t.select,r=t.select(r),r=(0,c.oE)(n?.data,r,t),this.#o=r,this.#t=null}catch(e){this.#t=e}}this.#t&&(v=this.#t,r=this.#o,m=Date.now(),Q="error");let T="fetching"===f.fetchStatus,I="pending"===Q,O="error"===Q,C=I&&T,S=void 0!==r,D={status:Q,fetchStatus:f.fetchStatus,isPending:I,isSuccess:"success"===Q,isError:O,isInitialLoading:C,isLoading:C,data:r,dataUpdatedAt:f.dataUpdatedAt,error:v,errorUpdatedAt:m,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdate
1Count:f.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:f.dataUpdateCount>l.dataUpdateCount||f.errorUpdateCount>l.errorUpdateCount,isFetching:T,isRefetching:T&&!I,isLoadingError:O&&!S,isPaused:"paused"===f.fetchStatus,isPlaceholderData:b,isRefetchError:O&&S,isStale:R(e,t),refetch:this.refetch,promise:this.#r,isEnabled:!1!==(0,c.TD)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==D.data,r="error"===D.status&&!t,i=e=>{r?e.reject(D.error):t&&e.resolve(D.data)},n=()=>{i(this.#r=D.promise=(0,o.O)())},u=this.#r;switch(u.status){case"pending":e.queryHash===s.queryHash&&i(u);break;case"fulfilled":(r||D.data!==u.value)&&n();break;case"rejected":r&&D.error===u.reason||n()}}return D}updateResult(){let e=this.#n,t=this.createResult(this.#s,this.options);this.#u=this.#s.state,this.#a=this.options,void 0!==this.#u.data&&(this.#c=this.#s),(0,c.VS)(t,e)||(this.#n=t,this.#I({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#f.size)return!0;let s=new Set(r??this.#f);return this.options.throwOnError&&s.add("error"),Object.keys(this.#n).some(t=>this.#n[t]!==e[t]&&s.has(t))})()}))}#m(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#s)return;let t=this.#s;this.#s=e,this.#i=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#R()}#I(e){u.Vr.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#n)}),this.#e.getQueryCache().notify({query:this.#s,type:"observerResultsUpdated"})})}};function p(e,t){return!1!==(0,c.TD)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===(0,c.TD)(t.retryOnMount,e))||void 0!==e.state.data&&f(e,t,t.refetchOnMount)}function f(e,t,r){if(!1!==(0,c.TD)(t.enabled,e)&&"static"!==(0,c.KC)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&R(e,t)}return!1}function y(e,t,r,s){return(e!==t||!1===(0,c.TD)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&R(e,r)}function R(e,t){return!1!==(0,c.TD)(t.enabled,e)&&e.isStaleByTime((0,c.KC)(t.staleTime,e))}var b=r(16074),v=r(37373);r(16572);var m=b.createContext((s=!1,{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s})),Q=()=>b.useContext(m),g=(e,t,r)=>{let s=(null==r?void 0:r.state.error)&&"function"==typeof e.throwOnError?(0,c.L3)(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||s)&&!t.isReset()&&(e.retryOnMount=!1)},T=e=>{b.useEffect(()=>{e.clearReset()},[e])},I=e=>{let{result:t,errorResetBoundary:r,throwOnError:s,query:i,suspense:n}=e;return t.isError&&!r.isReset()&&!t.isFetching&&i&&(n&&void 0===t.data||(0,c.L3)(s,[t.error,i]))},O=b.createContext(!1),C=()=>b.useContext(O);O.Provider;var S=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},D=(e,t)=>e.isLoading&&e.isFetching&&!t,E=(e,t)=>e?.suspense&&t.isPending,w=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function x(e,t){return function(e,t,r){var s,i,a,h;let o=C(),l=Q(),d=(0,v.NL)(r),p=d.defaultQueryOptions(e);
1null===(i=d.getDefaultOptions().queries)||void 0===i||null===(s=i._experimental_beforeQuery)||void 0===s||s.call(i,p);let f=d.getQueryCache().get(p.queryHash),y=!1!==e.subscribed;p._optimisticResults=o?"isRestoring":y?"optimistic":void 0,S(p),g(p,l,f),T(l);let R=!d.getQueryCache().get(p.queryHash),[m]=b.useState(()=>new t(d,p)),O=m.getOptimisticResult(p),x=!o&&y;if(b.useSyncExternalStore(b.useCallback(e=>{let t=x?m.subscribe(u.Vr.batchCalls(e)):c.ZT;return m.updateResult(),t},[m,x]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),b.useEffect(()=>{m.setOptions(p)},[p,m]),E(p,O))throw w(p,m,l);if(I({result:O,errorResetBoundary:l,throwOnError:p.throwOnError,query:f,suspense:p.suspense}))throw O.error;if(null===(h=d.getDefaultOptions().queries)||void 0===h||null===(a=h._experimental_afterQuery)||void 0===a||a.call(h,p,O),p.experimental_prefetchInRender&&!n.m.isServer()&&D(O,o)){let e=R?w(p,m,l):null==f?void 0:f.promise;null==e||e.catch(c.ZT).finally(()=>{m.updateResult()})}return p.notifyOnChangeProps?O:m.trackResult(O)}(e,d,t)}}}]);
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.