PageSourceSearch

http://zerozerouno.org/js/3828-5da3a57df8974fc2.js

js zerozerouno.org collected 2026-10-05 21:58:50 UTC 11,341 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3828],{53250:function(t,e,r){/**
2 * @license React
3 * use-sync-external-store-shim.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var s=r(67294),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},n=s.useState,u=s.useEffect,o=s.useLayoutEffect,l=s.useDebugValue;function a(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!i(t,r)}catch(t){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var r=e(),s=n({inst:{value:r,getSnapshot:e}}),i=s[0].inst,c=s[1];return o(function(){i.value=r,i.getSnapshot=e,a(i)&&c({inst:i})},[t,r,e]),u(function(){return a(i)&&c({inst:i}),t(function(){a(i)&&c({inst:i})})},[t]),l(r),r};e.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:c},61688:function(t,e,r){t.exports=r(53250)},52924:function(t,e,r){r.d(e,{z:function(){return l}});var s=r(32161),i=r(30081),n=r(15761),u=r(33989),o=r(72379);class l extends u.l{constructor(t,e){super(),this.client=t,this.options=e,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(e)}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(t,e){let r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),(0,s.VS)(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(e),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(t){let e=this.client.getQueryCache().build(this.client,t),r=this.createResult(e,t);return t.keepPreviousData||(void 0!==t.placeholderData?!r.isPlaceholderData:(0,s.VS)(this.getCurrentResult(),r))||(this.currentResult=r,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),r}getCurrentResult(){return this.currentResult}trackResult(t){let e={};return Object.keys(t).forEach(r=>{Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),e}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...e}={}){return this.fetch({...e,meta:{refetchPage:t}})}fetchOptimistic(t){let e=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,e);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,e))}fetch(t){var e;return this.executeFetch({...t,cancelRefetch:null==(e=t.cancelRefetch)||e}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let e=this.currentQuery.fetch(this.options,t);return null!=t&&t.throwOnError||(e=e.catch(s.ZT)),e}updateStaleTimeout(){if(this.clearStaleTimeout(),s.sk||this.currentResult.isStale||!(0,s.PN)(this.options.staleTime))return;let t=(0,s.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},t+1)}computeRefetchInterval(){var t;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!s.sk&&!1!==this.options.enabled&&(0,s.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>
9{(this.options.refetchIntervalInBackground||n.j.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(t,e){let r;let i=this.currentQuery,n=this.options,u=this.currentResult,l=this.currentResultState,c=this.currentResultOptions,p=t!==i,f=p?t.state:this.currentQueryInitialState,y=p?this.currentResult:this.previousQueryResult,{state:R}=t,{dataUpdatedAt:v,error:S,errorUpdatedAt:b,fetchStatus:m,status:Q}=R,E=!1,g=!1;if(e._optimisticResults){let r=this.hasListeners(),s=!r&&a(t,e),u=r&&h(t,i,e,n);(s||u)&&(m=(0,o.Kw)(t.options.networkMode)?"fetching":"paused",v||(Q="loading")),"isRestoring"===e._optimisticResults&&(m="idle")}if(e.keepPreviousData&&!R.dataUpdatedAt&&null!=y&&y.isSuccess&&"error"!==Q)r=y.data,v=y.dataUpdatedAt,Q=y.status,E=!0;else if(e.select&&void 0!==R.data){if(u&&R.data===(null==l?void 0:l.data)&&e.select===this.selectFn)r=this.selectResult;else try{this.selectFn=e.select,r=e.select(R.data),r=(0,s.oE)(null==u?void 0:u.data,r,e),this.selectResult=r,this.selectError=null}catch(t){this.selectError=t}}else r=R.data;if(void 0!==e.placeholderData&&void 0===r&&"loading"===Q){let t;if(null!=u&&u.isPlaceholderData&&e.placeholderData===(null==c?void 0:c.placeholderData))t=u.data;else if(t="function"==typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),this.selectError=null}catch(t){this.selectError=t}void 0!==t&&(Q="success",r=(0,s.oE)(null==u?void 0:u.data,t,e),g=!0)}this.selectError&&(S=this.selectError,r=this.selectResult,b=Date.now(),Q="error");let I="fetching"===m,C="loading"===Q,O="error"===Q,T={status:Q,fetchStatus:m,isLoading:C,isSuccess:"success"===Q,isError:O,isInitialLoading:C&&I,data:r,dataUpdatedAt:v,error:S,errorUpdatedAt:b,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:I,isRefetching:I&&!C,isLoadingError:O&&0===R.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:g,isPreviousData:E,isRefetchError:O&&0!==R.dataUpdatedAt,isStale:d(t,e),refetch:this.refetch,remove:this.remove};return T}updateResult(t){let e=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,s.VS)(r,e))return;this.currentResult=r;let i={cache:!0};(null==t?void 0:t.listeners)!==!1&&(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;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(t=>{let r=this.currentResult[t]!==e[t];return r&&s.has(t)})})()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){let t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;let e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){let e={};"success"===t.type?e.onSuccess=!t.manual:"error"!==t.type||(0,o.DV)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()}notify(t){i.V.batch(()=>{var e,r,s,i,n,u,o,l;t.onSuccess?(null==(e=(r=this.options).onSuccess)||e.call(r,this.currentResult.data),null==(s=(i=this.options).onSettled)||s.call(i,this.currentResult.data,null)):t.onError&&(null==(n=(u=this.options).onError)||n.call(u,this.currentResult.error),null==(o=(l=this.options).onSettled)||o.call(l,void 0,this.currentResult.error)),t.listeners&&this.listeners.forEac
9h(({listener:t})=>{t(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function a(t,e){return!1!==e.enabled&&!t.state.dataUpdatedAt&&!("error"===t.state.status&&!1===e.retryOnMount)||t.state.dataUpdatedAt>0&&c(t,e,e.refetchOnMount)}function c(t,e,r){if(!1!==e.enabled){let s="function"==typeof r?r(t):r;return"always"===s||!1!==s&&d(t,e)}return!1}function h(t,e,r,s){return!1!==r.enabled&&(t!==e||!1===s.enabled)&&(!r.suspense||"error"!==t.state.status)&&d(t,r)}function d(t,e){return t.isStaleByTime(e.staleTime)}},67187:function(t,e,r){let s;r.d(e,{r:function(){return m}});var i=r(67294),n=r(30081),u=r(464);let o=i.createContext((s=!1,{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s})),l=()=>i.useContext(o);var a=r(85945);let c=i.createContext(!1),h=()=>i.useContext(c);c.Provider;var d=r(24798);let p=(t,e)=>{(t.suspense||t.useErrorBoundary)&&!e.isReset()&&(t.retryOnMount=!1)},f=t=>{i.useEffect(()=>{t.clearReset()},[t])},y=({result:t,errorResetBoundary:e,useErrorBoundary:r,query:s})=>t.isError&&!e.isReset()&&!t.isFetching&&(0,d.L)(r,[t.error,s]),R=t=>{t.suspense&&"number"!=typeof t.staleTime&&(t.staleTime=1e3)},v=(t,e)=>t.isLoading&&t.isFetching&&!e,S=(t,e,r)=>(null==t?void 0:t.suspense)&&v(e,r),b=(t,e,r)=>e.fetchOptimistic(t).then(({data:e})=>{null==t.onSuccess||t.onSuccess(e),null==t.onSettled||t.onSettled(e,null)}
9).catch(e=>{r.clearReset(),null==t.onError||t.onError(e),null==t.onSettled||t.onSettled(void 0,e)});function m(t,e){let r=(0,a.NL)({context:t.context}),s=h(),o=l(),c=r.defaultQueryOptions(t);c._optimisticResults=s?"isRestoring":"optimistic",c.onError&&(c.onError=n.V.batchCalls(c.onError)),c.onSuccess&&(c.onSuccess=n.V.batchCalls(c.onSuccess)),c.onSettled&&(c.onSettled=n.V.batchCalls(c.onSettled)),R(c),p(c,o),f(o);let[d]=i.useState(()=>new e(r,c)),v=d.getOptimisticResult(c);if((0,u.$)(i.useCallback(t=>{let e=s?()=>void 0:d.subscribe(n.V.batchCalls(t));return d.updateResult(),e},[d,s]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),i.useEffect(()=>{d.setOptions(c,{listeners:!1})},[c,d]),S(c,v,s))throw b(c,d,o);if(y({result:v,errorResetBoundary:o,useErrorBoundary:c.useErrorBoundary,query:d.getCurrentQuery()}))throw v.error;return c.notifyOnChangeProps?v:d.trackResult(v)}},464:function(t,e,r){r.d(e,{$:function(){return i}});var s=r(61688);let i=s.useSyncExternalStore},24798:function(t,e,r){r.d(e,{L:function(){return s}});function s(t,e){return"function"==typeof t?t(...e):!!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.