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]="070f1cbb-11a1-40f7-9eae-dd9064cbcf39",e._sentryDebugIdIdentifier="sentry-dbid-070f1cbb-11a1-40f7-9eae-dd9064cbcf39")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6013],{64288:(e,t,r)=>{r.d(t,{r:()=>s});let s=r(92311).useSyncExternalStore},83945:(e,t,r)=>{r.d(t,{G:()=>s});function s(e,t){return"function"==typeof e?e(...t):!!e}},86013:(e,t,r)=>{r.d(t,{I:()=>m});var s=r(63630),i=r(72145),n=r(8072),u=r(82874),l=r(32982);class o extends u.Q{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),a(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),(0,s.f8)(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();let n=this.hasListeners();n&&h(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(t),n&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();let u=this.computeRefetchInterval();n&&(this.currentQuery!==i||this.options.enabled!==r.enabled||u!==this.currentRefetchInterval)&&this.updateRefetchInterval(u)}getOptimisticResult(e){var t,r,i;let n=this.client.getQueryCache().build(this.client,e),u=this.createResult(n,e);return t=this,r=u,(i=e).keepPreviousData||(void 0!==i.placeholderData?!r.isPlaceholderData:(0,s.f8)(t.getCurrentResult(),r))||(this.currentResult=u,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),u}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(s.lQ)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),s.S$||this.currentResult.isStale||!(0,s.gn)(this.options.staleTime))return;let e=(0,s.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!s.S$&&!1!==this.options.enabled&&(0,s.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>
1{(this.options.refetchIntervalInBackground||n.m.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let r,i=this.currentQuery,n=this.options,u=this.currentResult,o=this.currentResultState,c=this.currentResultOptions,p=e!==i,f=p?e.state:this.currentQueryInitialState,y=p?this.currentResult:this.previousQueryResult,{state:R}=e,{dataUpdatedAt:v,error:b,errorUpdatedAt:m,fetchStatus:Q,status:S}=R,g=!1,I=!1;if(t._optimisticResults){let r=this.hasListeners(),s=!r&&a(e,t),u=r&&h(e,i,t,n);(s||u)&&(Q=(0,l.v_)(e.options.networkMode)?"fetching":"paused",v||(S="loading")),"isRestoring"===t._optimisticResults&&(Q="idle")}if(t.keepPreviousData&&!R.dataUpdatedAt&&null!=y&&y.isSuccess&&"error"!==S)r=y.data,v=y.dataUpdatedAt,S=y.status,g=!0;else if(t.select&&void 0!==R.data)if(u&&R.data===(null==o?void 0:o.data)&&t.select===this.selectFn)r=this.selectResult;else try{this.selectFn=t.select,r=t.select(R.data),r=(0,s.pl)(null==u?void 0:u.data,r,t),this.selectResult=r,this.selectError=null}catch(e){this.selectError=e}else r=R.data;if(void 0!==t.placeholderData&&void 0===r&&"loading"===S){let e;if(null!=u&&u.isPlaceholderData&&t.placeholderData===(null==c?void 0:c.placeholderData))e=u.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(S="success",r=(0,s.pl)(null==u?void 0:u.data,e,t),I=!0)}this.selectError&&(b=this.selectError,r=this.selectResult,m=Date.now(),S="error");let E="fetching"===Q,C="loading"===S,O="error"===S;return{status:S,fetchStatus:Q,isLoading:C,isSuccess:"success"===S,isError:O,isInitialLoading:C&&E,data:r,dataUpdatedAt:v,error:b,errorUpdatedAt:m,failureCount:R.fetchFailureCount,failureReason:R.fetchFailureReason,errorUpdateCount:R.errorUpdateCount,isFetched:R.dataUpdateCount>0||R.errorUpdateCount>0,isFetchedAfterMount:R.dataUpdateCount>f.dataUpdateCount||R.errorUpdateCount>f.errorUpdateCount,isFetching:E,isRefetching:E&&!C,isLoadingError:O&&0===R.dataUpdatedAt,isPaused:"paused"===Q,isPlaceholderData:I,isPreviousData:g,isRefetchError:O&&0!==R.dataUpdatedAt,isStale:d(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,s.f8)(r,t))return;this.currentResult=r;let i={cache:!0},n=()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.trackedProps.size)return!0;let s=new Set(null!=r?r:this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(e=>this.currentResult[e]!==t[e]&&s.has(e))};(null==e?void 0:e.listeners)!==!1&&n()&&(i.listeners=!0),this.notify({...i,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||(0,l.wm)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){i.j.batch(()=>{var t,r,s,i,n,u,l,o;e.onSuccess?(null==(t=(r=this.options).onSuccess)||t.call(r,this.currentResult.data),null==(s=(i=this.options).onSettled)||s.call(i,this.currentResult.data,null)):e.onError&&(null==(n=(u=this.options).onError)||n.call(u,this.currentResult.error),null==(l=(o=this.options).onSettled)||l.call(o,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function a(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&("error"!==e.state.status||!1!==t.retryOn
1Mount)||e.state.dataUpdatedAt>0&&c(e,t,t.refetchOnMount)}function c(e,t,r){if(!1!==t.enabled){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&d(e,t)}return!1}function h(e,t,r,s){return!1!==r.enabled&&(e!==t||!1===s.enabled)&&(!r.suspense||"error"!==e.state.status)&&d(e,r)}function d(e,t){return e.isStaleByTime(t.staleTime)}var p=r(68658),f=r(64288);let y=p.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}());var R=r(9636);let v=p.createContext(!1);v.Provider;var b=r(83945);function m(e,t,r){return function(e,t){let r=(0,R.jE)({context:e.context}),s=p.useContext(v),n=p.useContext(y),u=r.defaultQueryOptions(e);u._optimisticResults=s?"isRestoring":"optimistic",u.onError&&(u.onError=i.j.batchCalls(u.onError)),u.onSuccess&&(u.onSuccess=i.j.batchCalls(u.onSuccess)),u.onSettled&&(u.onSettled=i.j.batchCalls(u.onSettled)),u.suspense&&"number"!=typeof u.staleTime&&(u.staleTime=1e3),(u.suspense||u.useErrorBoundary)&&!n.isReset()&&(u.retryOnMount=!1),p.useEffect(()=>{n.clearReset()},[n]);let[l]=p.useState(()=>new t(r,u)),o=l.getOptimisticResult(u);if((0,f.r)(p.useCallback(e=>{let t=s?()=>void 0:l.subscribe(i.j.batchCalls(e));return l.updateResult(),t},[l,s]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),p.useEffect(()=>{l.setOptions(u,{listeners:!1})},[u,l]),(null==u?void 0:u.suspense)&&o.isLoading&&o.isFetching&&!s)throw l.fetchOptimistic(u).then(({data:e})=>{null==u.onSuccess||u.onSuccess(e),null==u.onSettled||u.onSettled(e,null)}
1).catch(e=>{n.clearReset(),null==u.onError||u.onError(e),null==u.onSettled||u.onSettled(void 0,e)});if((({result:e,errorResetBoundary:t,useErrorBoundary:r,query:s})=>e.isError&&!t.isReset()&&!e.isFetching&&(0,b.G)(r,[e.error,s]))({result:o,errorResetBoundary:n,useErrorBoundary:u.useErrorBoundary,query:l.getCurrentQuery()}))throw o.error;return u.notifyOnChangeProps?o:l.trackResult(o)}((0,s.vh)(e,t,r),o)}}}]);
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.