PageSourceSearch

https://cbat.org.br/_next/static/chunks/3613-9d23dd87a0da34ed.js

js cbat.org.br collected 2026-09-24 09:56:58 UTC 10,962 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3613],{4899:(t,e,r)=>{r.d(e,{t:()=>m});var s=r(91251),i=r(58913);let n=r(86728).useSyncExternalStore,u=s.createContext(function(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}()),o=()=>s.useContext(u);var l=r(59323);let a=s.createContext(!1),c=()=>s.useContext(a);a.Provider;let h=(t,e)=>{(t.suspense||t.useErrorBoundary)&&!e.isReset()&&(t.retryOnMount=!1)},d=t=>{s.useEffect(()=>{t.clearReset()},[t])},p=t=>{let{result:e,errorResetBoundary:r,useErrorBoundary:s,query:i}=t;return e.isError&&!r.isReset()&&!e.isFetching&&function(t,e){return"function"==typeof t?t(...e):!!t}(s,[e.error,i])},f=t=>{t.suspense&&("number"!=typeof t.staleTime&&(t.staleTime=1e3),"number"==typeof t.cacheTime&&(t.cacheTime=Math.max(t.cacheTime,1e3)))},y=(t,e)=>t.isLoading&&t.isFetching&&!e,R=(t,e,r)=>(null==t?void 0:t.suspense)&&y(e,r),v=(t,e,r)=>e.fetchOptimistic(t).then(({data:e})=>{null==t.onSuccess||t.onSuccess(e),null==t.onSettled||t.onSettled(e,null)}
1).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,l.jE)({context:t.context}),u=c(),a=o(),y=r.defaultQueryOptions(t);y._optimisticResults=u?"isRestoring":"optimistic",y.onError&&(y.onError=i.j.batchCalls(y.onError)),y.onSuccess&&(y.onSuccess=i.j.batchCalls(y.onSuccess)),y.onSettled&&(y.onSettled=i.j.batchCalls(y.onSettled)),f(y),h(y,a),d(a);let[m]=s.useState(()=>new e(r,y)),b=m.getOptimisticResult(y);if(n(s.useCallback(t=>{let e=u?()=>void 0:m.subscribe(i.j.batchCalls(t));return m.updateResult(),e},[m,u]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),s.useEffect(()=>{m.setOptions(y,{listeners:!1})},[y,m]),R(y,b,u))throw v(y,m,a);if(p({result:b,errorResetBoundary:a,useErrorBoundary:y.useErrorBoundary,query:m.getCurrentQuery()}))throw b.error;return y.notifyOnChangeProps?b:m.trackResult(b)}},10719:(t,e,r)=>{var s=r(91251),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},55187:(t,e,r)=>{r.d(e,{$:()=>l});var s=r(55470),i=r(58913),n=r(88564),u=r(47954),o=r(33894);class l extends u.Q{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.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(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){var e,r,i;let n=this.client.getQueryCache().build(this.client,t),u=this.createResult(n,t);return e=this,r=u,(i=t).keepPreviousData||(void 0!==i.placeholderData?!r.isPlaceholderData:(0,s.f8)(e.getCurrentResult(),r))||(this.currentResult=u,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),u}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.lQ)),e}updateStaleTimeout(){if(this.clearStaleTimeout(),s.S$||this.currentResult.isStale||!(0,s.gn)(this.options.staleTime))return;let t=(0,s.j3)(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.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(t,e){let r,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:m,errorUpdatedAt:b,fetchStatus:S,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)&&(S=(0,o.v_)(t.options.networkMode)?"fetching":"paused",v||(Q="loading")),"isRestoring"===e._optimisticResults&&(S="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.pl)(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.pl)(null==u?void 0:u.data,t,e),g=!0)}this.selectError&&(m=this.selectError,r=this.selectResult,b=Date.now(),Q="error");let I="fetching"===S,C="loading"===Q,O="error"===Q;return{status:Q,fetchStatus:S,isLoading:C,isSuccess:"success"===Q,isError:O,isInitialLoading:C&&I,data:r,dataUpdatedAt:v,error:m,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"===S,isPlaceholderData:g,isPreviousData:E,isRefetchError:O&&0!==R.dataUpdatedAt,isStale:d(t,e),refetch:this.refetch,remove:this.remove}}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.f8)(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=>this.currentResult[t]!==e[t]&&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.wm)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()}notify(t){i.j.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.forEach(({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.retryOn
1Mount)||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)}},86728:(t,e,r)=>{t.exports=r(10719)}}]);

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.