1"use strict";(self.webpackChunkcontainer=self.webpackChunkcontainer||[]).push([[8574],{78223:function(t,e,s){s.d(e,{D:function(){return c}});var r=s(68885),i=s(88367),n=s(50700),u=s(55977),a=s(30881),h=class extends u.l{#t;#e=void 0;#s;#r;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,a.VS)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,a.Ym)(e.mutationKey)!==(0,a.Ym)(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#i(),this.#n(t)}getCurrentResult(){return this.#e}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#i(),this.#n()}mutate(t,e){return this.#r=e,this.#s?.removeObserver(this),this.#s=this.#t.getMutationCache().build(this.#t,this.options),this.#s.addObserver(this),this.#s.execute(t)}#i(){let t=this.#s?.state??(0,i.R)();this.#e={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#n(t){n.Vr.batch(()=>{if(this.#r&&this.hasListeners()){let e=this.#e.variables,s=this.#e.context,r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,e,s,r)}catch(t){Promise.reject(t)}try{this.#r.onSettled?.(t.data,null,e,s,r)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,e,s,r)}catch(t){Promise.reject(t)}try{this.#r.onSettled?.(void 0,t.error,e,s,r)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#e)})})}},o=s(27737);function c(t,e){let s=(0,o.NL)(e),[i]=r.useState(()=>new h(s,t));r.useEffect(()=>{i.setOptions(t)},[i,t]);let u=r.useSyncExternalStore(r.useCallback(t=>i.subscribe(n.Vr.batchCalls(t)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=r.useCallback((t,e)=>{i.mutate(t,e).catch(a.ZT)},[i]);if(u.error&&(0,a.L3)(i.options.throwOnError,[u.error]))throw u.error;return{...u,mutate:c,mutateAsync:u.mutate}}},41526:function(t,e,s){let r;s.d(e,{a:function(){return x}});var i=s(59144),n=s(50700),u=s(9535),a=s(55977),h=s(70533),o=s(30881),c=s(37798),l=class extends a.l{constructor(t,e){super(),this.options=e,this.#t=t,this.#u=null,this.#a=(0,h.O)(),this.bindMethods(),this.setOptions(e)}#t;#h=void 0;#o=void 0;#e=void 0;#c;#l;#a;#u;#d;#p;#f;#y;#R;#m;#b=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#h.addObserver(this),d(this.#h,this.options)?this.#v():this.updateResult(),this.#O())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return p(this.#h,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return p(this.#h,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#Q(),this.#g(),this.#h.removeObserver(this)}setOptions(t){let e=this.options,s=this.#h;if(this.options=this.#t.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,o.Nc)(this.options.enabled,this.#h))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#C(),this.#h.setOptions(this.options),e._defaulted&&!(0,o.VS)(this.options,e)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#h,observer:this});let r=this.hasListeners();r&&f(this.#h,s,this.options,e)&&this.#v(),this.updateResult(),r&&(this.#h!==s||(0,o.Nc)(this.options.enabled,this.#h)!==(0,o.Nc)(e.enabled,this.#h)||(0,o.KC)(this.options.staleTime,this.#h)!==(0,o.KC)(e.staleTime,this.#h))&&this.#I();let i=this.#S();r&&(this.#h!==s||(0,o.Nc)(this.options.enabled,this.#h)!==(0,o.Nc)(e.enabled,this.#h)||i!==this.#m)&&this.#T(i)}getOptimisticResult(t){let e=this.#t.getQueryCache().build(this.#t,t),s=this.createResult(e,t);return(0,o.VS)(this.getCurrentResult(),s)||(this.#e=s,this.#l=this.options,this.#c=this.#h.state),s}getCurrentResult(){return this.#e}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.#a.status||this.#a.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(t,s))})}trackProp(t){this.#b.add(t)}getCurrentQuery(){return this.#h}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e=this.#t.defaultQueryOptions(t),s=this.#t.getQueryCache().build(this.#t,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#v({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#e))}#v(t){this.#C();let e=this.#h.fetch(this.options,t);return t?.throwOnError||(e=e.catch(o.ZT)),e}#I(){this.#Q();let t=(0,o.KC)(this.options.staleTime,this.#h);if(o.sk||this.#e.isStale||!(0,o.PN)(t))return;let e=(0,o.Kp)(this.#e.dataUpdatedAt,t);this.#y=c.mr.setTimeout(()=>{this.#e.isStale||this.updateResult()},e+1)}#S(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#h):this.options.refetchInterval)??!1}#T(t){this.#g(),this.#m=t,!o.sk&&!1!==(0,o.Nc)(this.options.enabled,this.#h)&&(0,o.PN)(this.#m)&&0!==this.#m&&(this.#R=c.mr.setInterval(()=>
1{(this.options.refetchIntervalInBackground||i.j.isFocused())&&this.#v()},this.#m))}#O(){this.#I(),this.#T(this.#S())}#Q(){this.#y&&(c.mr.clearTimeout(this.#y),this.#y=void 0)}#g(){this.#R&&(c.mr.clearInterval(this.#R),this.#R=void 0)}createResult(t,e){let s;let r=this.#h,i=this.options,n=this.#e,a=this.#c,c=this.#l,l=t!==r?t.state:this.#o,{state:p}=t,R={...p},m=!1;if(e._optimisticResults){let s=this.hasListeners(),n=!s&&d(t,e),a=s&&f(t,r,e,i);(n||a)&&(R={...R,...(0,u.z)(p.data,t.options)}),"isRestoring"===e._optimisticResults&&(R.fetchStatus="idle")}let{error:b,errorUpdatedAt:v,status:O}=R;s=R.data;let Q=!1;if(void 0!==e.placeholderData&&void 0===s&&"pending"===O){let t;n?.isPlaceholderData&&e.placeholderData===c?.placeholderData?(t=n.data,Q=!0):t="function"==typeof e.placeholderData?e.placeholderData(this.#f?.state.data,this.#f):e.placeholderData,void 0!==t&&(O="success",s=(0,o.oE)(n?.data,t,e),m=!0)}if(e.select&&void 0!==s&&!Q){if(n&&s===a?.data&&e.select===this.#d)s=this.#p;else try{this.#d=e.select,s=e.select(s),s=(0,o.oE)(n?.data,s,e),this.#p=s,this.#u=null}catch(t){this.#u=t}}this.#u&&(b=this.#u,s=this.#p,v=Date.now(),O="error");let g="fetching"===R.fetchStatus,C="pending"===O,I="error"===O,S=C&&g,T=void 0!==s,E={status:O,fetchStatus:R.fetchStatus,isPending:C,isSuccess:"success"===O,isError:I,isInitialLoading:S,isLoading:S,data:s,dataUpdatedAt:R.dataUpdatedAt,error:b,errorUpdatedAt:v,failureCount:R.fetchFailureCount,failureReason:R.fetchFailureReason,errorUpdateCount:R.errorUpdateCount,isFetched:R.dataUpdateCount>0||R.errorUpdateCount>0,isFetchedAfterMount:R.dataUpdateCount>l.dataUpdateCount||R.errorUpdateCount>l.errorUpdateCount,isFetching:g,isRefetching:g&&!C,isLoadingError:I&&!T,isPaused:"paused"===R.fetchStatus,isPlaceholderData:m,isRefetchError:I&&T,isStale:y(t,e),refetch:this.refetch,promise:this.#a,isEnabled:!1!==(0,o.Nc)(e.enabled,t)};if(this.options.experimental_prefetchInRender){let e=void 0!==E.data,s="error"===E.status&&!e,i=t=>{s?t.reject(E.error):e&&t.resolve(E.data)},n=()=>{i(this.#a=E.promise=(0,h.O)())},u=this.#a;switch(u.status){case"pending":t.queryHash===r.queryHash&&i(u);break;case"fulfilled":(s||E.data!==u.value)&&n();break;case"rejected":s&&E.error===u.reason||n()}}return E}updateResult(){let t=this.#e,e=this.createResult(this.#h,this.options);this.#c=this.#h.state,this.#l=this.options,void 0!==this.#c.data&&(this.#f=this.#h),(0,o.VS)(e,t)||(this.#e=e,this.#n({listeners:(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,s="function"==typeof e?e():e;if("all"===s||!s&&!this.#b.size)return!0;let r=new Set(s??this.#b);return this.options.throwOnError&&r.add("error"),Object.keys(this.#e).some(e=>this.#e[e]!==t[e]&&r.has(e))})()}))}#C(){let t=this.#t.getQueryCache().build(this.#t,this.options);if(t===this.#h)return;let e=this.#h;this.#h=t,this.#o=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#O()}#n(t){n.Vr.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#e)}),this.#t.getQueryCache().notify({query:this.#h,type:"observerResultsUpdated"})})}};function d(t,e){return!1!==(0,o.Nc)(e.enabled,t)&&void 0===t.state.data&&!("error"===t.state.status&&!1===e.retryOnMount)||void 0!==t.state.data&&p(t,e,e.refetchOnMount)}function p(t,e,s){if(!1!==(0,o.Nc)(e.enabled,t)&&"static"!==(0,o.KC)(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,o.Nc)(r.enabled,t))&&(!s.suspense||"error"!==t.state.status)&&y(t,s)}function y(t,e){return!1!==(0,o.Nc)(e.enabled,t)&&t.isStaleByTime((0,o.KC)(e.staleTime,t))}var R=s(68885),m=s(27737);s(65492);var b=R.createContext((r=!1,{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r})),v=()=>R.useContext(b),O=(t,e,s)=>{let r=s?.state.error&&"function"==typeof t.throwOnError?(0,o.L3)(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&!e.isReset()&&(t.retryOnMount=!1)},Q=t=>{R.useEffect(()=>{t.clearReset()},[t])},g=({result:t,errorResetBoundary:e,throwOnError:s,query:r,suspense:i})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(i&&void 0===t.data||(0,o.L3)(s,[t.error,r])),C=R.createContext(!1),I=()=>R.useContext(C);C.Provider;var S=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))}},T=(t,e)=>t.isLoading&&t.isFetching&&!e,E=(t,e)=>t?.suspense&&e.isPending,w=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function x(t,e){return function(t,e,s){let r=I(),i=v(),u=(0,m.NL)(s),a=u.defaultQueryOptions(t);u.getDefaultOptions().queries?._experimental_beforeQuery?.(a);let h=u.getQueryCache().get(a.queryHash);a._optimisticResults=r?"isRestoring":"optimistic",S(a),O(a,i,h),Q(i);let c=!u.getQueryCache().get(a.queryHash),[l]=R.useState(()=>new e(u,a)),d=l.getOptimisticResult(a),p=!r&&!1!==t.subscribed;if(R.useSyncExternalStore(R.useCallback(t=>{let e=p?l.subscribe(n.Vr.batchCalls(t)):o.ZT;return l.updateResult(),e},[l,p]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),R.useEffect(()=>{l.setOptions(a)},[a,l]),E(a,d))throw w(a,l,i);if(g({result:d,errorResetBoundary:i,throwOnError:a.throwOnError,query:h,suspense:a.suspense}))throw d.error;if(u.getDefaultOptions().queries?._experimental_afterQuery?.(a,d),a.experimental_prefetchInRender&&!o.sk&&T(d,r)){let t=c?w(a,l,i):h?.promise;t?.catch(o.ZT).finally(()=>{l.updateResult()})}return a.notifyOnChangeProps?d:l.trackResult(d)}(t,l,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.