1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="32cecd23-f8b4-48b9-9dfe-cbae28d31aee",e._sentryDebugIdIdentifier="sentry-dbid-32cecd23-f8b4-48b9-9dfe-cbae28d31aee")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7634],{77634:function(e,r,t){t.d(r,{Z:function(){return c}});var n=t(2265),u=t(10554),i=t(23791);let a=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(r=>{e.status="fulfilled",e.value=r},r=>{e.status="rejected",e.reason=r}),e}),s={dedupe:!0};i.$l.defineProperty(i.J$,"defaultValue",{value:i.u_});let o=(0,i.s6)((e,r,t)=>{let{cache:o,compare:l,suspense:d,fallbackData:c,revalidateOnMount:f,revalidateIfStale:g,refreshInterval:E,refreshWhenHidden:b,refreshWhenOffline:h,keepPreviousData:w}=t,[R,_,V,y]=i.DY.get(o),[T,k]=(0,i.qC)(e),C=(0,n.useRef)(!1),p=(0,n.useRef)(!1),L=(0,n.useRef)(T),m=(0,n.useRef)(r),I=(0,n.useRef)(t),M=()=>I.current,O=()=>M().isVisible()&&M().isOnline(),[v,D,N,S]=(0,i.JN)(o,T),P=(0,n.useRef)({}).current,j=(0,i.o8)(c)?t.fallback[T]:c,A=(e,r)=>{for(let t in P)if("data"===t){if(!l(e[t],r[t])&&(!(0,i.o8)(e[t])||!l(B,r[t])))return!1}else if(r[t]!==e[t])return!1;return!0},F=(0,n.useMemo)(()=>{let e=!!T&&!!r&&((0,i.o8)(f)?!M().isPaused()&&!d&&(!!(0,i.o8)(g)||g):f),t=r=>{let t=(0,i.PM)(r);return(delete t._k,e)?{isValidating:!0,isLoading:!0,...t}:t},n=v(),u=S(),a=t(n),s=n===u?a:t(u),o=a;return[()=>{let e=t(v());return A(e,o)?(o.data=e.data,o.isLoading=e.isLoading,o.isValidating=e.isValidating,o.error=e.error,o):(o=e,e)},()=>s]},[o,T]),q=(0,u.useSyncExternalStore)((0,n.useCallback)(e=>N(T,(r,t)=>{A(t,r)||e()}),[o,T]),F[0],F[1]),x=!C.current,J=R[T]&&R[T].length>0,U=q.data,W=(0,i.o8)(U)?j:U,Y=q.error,$=(0,n.useRef)(W),B=w?(0,i.o8)(U)?$.current:U:W,Z=(!J||!!(0,i.o8)(Y))&&(x&&!(0,i.o8)(f)?f:!M().isPaused()&&(d?!(0,i.o8)(W)&&g:(0,i.o8)(W)||g)),z=!!(T&&r&&x&&Z),G=(0,i.o8)(q.isValidating)?z:q.isValidating,H=(0,i.o8)(q.isLoading)?z:q.isLoading,K=(0,n.useCallback)(async e=>{let r,n;let u=m.current;if(!T||!u||p.current||M().isPaused())return!1;let a=!0,s=e||{},o=!V[T]||!s.dedupe,d=()=>i.w6?!p.current&&T===L.current&&C.current:T===L.current,c={isValidating:!1,isLoading:!1},f=()=>{D(c)},g=()=>{let e=V[T];e&&e[1]===n&&delete V[T]},E={isValidating:!0};(0,i.o8)(v().data)&&(E.isLoading=!0);try{if(o&&(D(E),t.loadingTimeout&&(0,i.o8)(v().data)&&setTimeout(()=>{a&&d()&&M().onLoadingSlow(T,t)},t.loadingTimeout),V[T]=[u(k),(0,i.u3)()]),[r,n]=V[T],r=await r,o&&setTimeout(g,t.dedupingInterval),!V[T]||V[T][1]!==n)return o&&d()&&M().onDiscarded(T),!1;c.error=i.i_;let e=_[T];if(!(0,i.o8)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),o&&d()&&M().onDiscarded(T),!1;let s=v().data;c.data=l(s,r)?s:r,o&&d()&&M().onSuccess(r,T,t)}catch(t){g();let e=M(),{shouldRetryOnError:r}=e;!e.isPaused()&&(c.error=t,o&&d()&&(e.onError(t,T,e),(!0===r||(0,i.mf)(r)&&r(t))&&(!M().revalidateOnFocus||!M().revalidateOnReconnect||O())&&e.onErrorRetry(t,T,e,e=>{let r=R[T];r&&r[0]&&r[0](i.sj.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return a=!1,f(),!0},[T,o]),Q=(0,n.useCallback)((...e)=>(0,i.BN)(o,L.current,...e),[]);if((0,i.LI)(()=>{m.current=r,I.current=t,(0,i.o8)(U)||($.current=U)}),(0,i.LI)(()=>{if(!T)return;let e=K.bind(i.i_,s),r=0,t=(0,i.ko)(T,R,(t,n={})=>{if(t==i.sj.FOCUS_EVENT){let t=Date.now();M().revalidateOnFocus&&t>r&&O()&&(r=t+M().focusThrottleInterval,e())}else if(t==i.sj.RECONNECT_EVENT)M().revalidateOnReconnect&&O()&&e();else if(t==i.sj.MUTATE_EVENT)return K();else if(t==i.sj.ERROR_REVALIDATE_EVENT)return K(n)});return p.current=!1,L.current=T,C.current=!0,D({_k:k}),Z&&((0,i.o8)(W)||i.W6?e():(0,i.kw)(e)),()=>{p.current=!0,t()}},[T]),(0,i.LI)(()=>{let e;function r(){let r=(0,i.mf)(E)?E(v().data):E;r&&-1!==e&&(e=setTimeout(t,r))}function t(){!v().error&&(b||M().isVisible())&&(h||M().isOnline())?K(s).then(r):r()}return r(),()=>{e&&(clearTimeout(e),e=-1)}},[E,b,h,T]),(0,n.useDebugValue)(B),d&&(0,i.o8)(W)&&T){if(!i.w6&&i.W6)throw Error("Fallback data is required when using suspense in SSR.");
1m.current=r,I.current=t,p.current=!1;let e=y[T];if((0,i.o8)(e)||a(Q(e)),(0,i.o8)(Y)){let e=K(s);(0,i.o8)(B)||(e.status="fulfilled",e.value=!0),a(e)}else throw Y}return{mutate:Q,get data(){return P.data=!0,B},get error(){return P.error=!0,Y},get isValidating(){return P.isValidating=!0,G},get isLoading(){return P.isLoading=!0,H}}}),l=i.w6?e=>{e()}:n.startTransition,d=e=>{let[,r]=(0,n.useState)({}),t=(0,n.useRef)(!1),u=(0,n.useRef)(e),a=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),s=(0,n.useCallback)(e=>{let n=!1,i=u.current;for(let r in e)i[r]!==e[r]&&(i[r]=e[r],a.current[r]&&(n=!0));n&&!t.current&&r({})},[]);return(0,i.LI)(()=>(t.current=!1,()=>{t.current=!0})),[u,a.current,s]},c=(0,i.xD)(o,()=>(e,r,t={})=>{let{mutate:u}=(0,i.kY)(),a=(0,n.useRef)(e),s=(0,n.useRef)(r),o=(0,n.useRef)(t),c=(0,n.useRef)(0),[f,g,E]=d({data:i.i_,error:i.i_,isMutating:!1}),b=f.current,h=(0,n.useCallback)(async(e,r)=>{let[t,n]=(0,i.qC)(a.current);if(!s.current)throw Error("Canât trigger the mutation: missing fetcher.");if(!t)throw Error("Canât trigger the mutation: missing key.");let d=(0,i.PM)((0,i.PM)({populateCache:!1,throwOnError:!0},o.current),r),f=(0,i.u3)();c.current=f,E({isMutating:!0});try{let r=await u(t,s.current(n,{arg:e}),(0,i.PM)(d,{throwOnError:!0}));return c.current<=f&&(l(()=>E({data:r,isMutating:!1,error:void 0})),null==d.onSuccess||d.onSuccess.call(d,r,t,d)),r}catch(e){if(c.current<=f&&(l(()=>E({error:e,isMutating:!1})),null==d.onError||d.onError.call(d,e,t,d),d.throwOnError))throw e}},[]),w=(0,n.useCallback)(()=>{c.current=(0,i.u3)(),E({data:i.i_,error:i.i_,isMutating:!1})},[]);return(0,i.LI)(()=>{a.current=e,s.current=r,o.current=t}),{trigger:h,reset:w,get data(){return g.data=!0,b.data},get error(){return g.error=!0,b.error},get isMutating(){return g.isMutating=!0,b.isMutating}}})}}]);
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.