1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[27238],{19560:(e,t,s)=>{s.d(t,{HydrationBoundary:()=>n});var r=s(7896),i=s(74851),u=s(69594),n=e=>{let{children:t,options:s={},state:n,queryClient:a}=e,o=(0,u.useQueryClient)(a),l=r.useRef(s);l.current=s;let h=r.useMemo(()=>{if(n){if("object"!=typeof n)return;let e=o.getQueryCache(),t=n.queries||[],s=[],r=[];for(let i of t){let t=e.get(i.queryHash);t?(i.state.dataUpdatedAt>t.state.dataUpdatedAt||i.promise&&"pending"!==t.state.status&&"fetching"!==t.state.fetchStatus&&void 0!==i.dehydratedAt&&i.dehydratedAt>t.state.dataUpdatedAt)&&r.push(i):s.push(i)}if(s.length>0&&(0,i.Qv)(o,{queries:s},l.current),r.length>0)return r}},[o,n]);return r.useEffect(()=>{h&&(0,i.Qv)(o,{queries:h},l.current)},[o,h]),t}},22489:(e,t,s)=>{s.d(t,{useSuspenseQuery:()=>n});var r=s(61283),i=s(16162),u=s(80256);function n(e,t){return(0,i.t)({...e,enabled:!0,suspense:!0,throwOnError:u.R3,placeholderData:void 0},r.$,t)}},56251:(e,t,s)=>{s.d(t,{useQueries:()=>p});var r=s(7896),i=s(35045),u=s(61283),n=s(93038),a=s(37276);function o(e,t){let s=new Set(t);return e.filter(e=>!s.has(e))}var l=class extends n.Q{#e;#t;#s;#r;#i;#u;#n;#a;#o=[];constructor(e,t,s){super(),this.#e=e,this.#r=s,this.#s=[],this.#i=[],this.#t=[],this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.#i.forEach(e=>{e.subscribe(t=>{this.#l(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#i.forEach(e=>{e.destroy()})}setQueries(e,t){this.#s=e,this.#r=t,i.jG.batch(()=>{let e=this.#i,t=this.#h(this.#s);this.#o=t,t.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions));let s=t.map(e=>e.observer),r=s.map(e=>e.getCurrentResult()),i=s.some((t,s)=>t!==e[s]);(e.length!==s.length||i)&&(this.#i=s,this.#t=r,this.hasListeners()&&(o(e,s).forEach(e=>{e.destroy()}),o(s,e).forEach(e=>{e.subscribe(t=>{this.#l(e,t)})}),this.#c()))})}getCurrentResult(){return this.#t}getQueries(){return this.#i.map(e=>e.getCurrentQuery())}getObservers(){return this.#i}getOptimisticResult(e,t){let s=this.#h(e),r=s.map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions));return[r,e=>this.#d(e??r,t),()=>this.#f(r,s)]}#f(e,t){return t.map((s,r)=>{let i=e[r];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,e=>{t.forEach(t=>{t.observer.trackProp(e)})})})}#d(e,t){return t?(this.#u&&this.#t===this.#a&&t===this.#n||(this.#n=t,this.#a=this.#t,this.#u=(0,a.BH)(this.#u,t(e))),this.#u):e}#h(e){let t=new Map(this.#i.map(e=>[e.options.queryHash,e])),s=[];return e.forEach(e=>{let r=this.#e.defaultQueryOptions(e),i=t.get(r.queryHash);i?s.push({defaultedQueryOptions:r,observer:i}):s.push({defaultedQueryOptions:r,observer:new u.$(this.#e,r)})}),s}#l(e,t){let s=this.#i.indexOf(e);-1!==s&&(this.#t=function(e,t,s){let r=e.slice(0);return r[t]=s,r}(this.#t,s,t),this.#c())}#c(){if(this.hasListeners()){let e=this.#u,t=this.#f(this.#t,this.#o);e!==this.#d(t,this.#r?.combine)&&i.jG.batch(()=>{this.listeners.forEach(e=>{e(this.#t)})})}}},h=s(69594),c=s(53056),d=s(15667),f=s(54437),b=s(80256);function p(e,t){let{queries:s,...n}=e,o=(0,h.useQueryClient)(t),p=(0,c.useIsRestoring)(),v=(0,d.useQueryErrorResetBoundary)(),g=r.useMemo(()=>s.map(e=>{let t=o.defaultQueryOptions(e);return t._optimisticResults=p?"isRestoring":"optimistic",t}),[s,o,p]);g.forEach(e=>{(0,b.jv)(e),(0,f.LJ)(e,v)}),(0,f.wZ)(v);let[y]=r.useState(()=>new l(o,g,n)),[m,R,Q]=y.getOptimisticResult(g,n.combine),E=!p&&!1!==n.subscribed;r.useSyncExternalStore(r.useCallback(e=>E?y.subscribe(i.jG.batchCalls(e)):a.lQ,[y,E]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),r.useEffect(()=>{y.setQueries(g,n)},[g,n,y]);let O=m.some((e,t)=>(0,b.EU)(g[t],e))?m.flatMap((e,t)=>{let s=g[t];if(s){let t=new u.$(o,s);if((0,b.EU)(s,e))return(0,b.iL)(s,t,v);(0,b.nE)(e,p)&&(0,b.iL)(s,t,v)}return[]}):[];if(O.length>0)throw Promise.all(O);let C=m.find((e,t)=>{let s=g[t];return s&&(0,f.$1)({result:e,errorResetBoundary:v,throwOnError:s.throwOnError,query:o.getQueryCache().get(s.queryHash),suspense:s.suspense})});if(null==C?void 0:C.error)throw C.error;return R(Q())}},60117:(e,t,s)=>{s.d(t,{useIsMutating:()=>a,useMutationState:()=>l});var r=s(7896),i=s(37276),u=s(35045),n=s(69594);function a(e,t){let s=(0,n.useQueryClient)(t);return l({filters:{...e,status:"pending"}},s).length}function o(e,t){return e.findAll(t.filters).map(e=>t.select?t.select(e):e.state)}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,s=(0,n.useQueryClient)(t).getMutationCache(),a=r.useRef(e),l=r.useRef(null);return l.current||(l.current=o(s,e)),r.useEffect(()=>{a.current=e}),r.useSyncExternalStore(r.useCallback(e=>s.subscribe(()=>{let t=(0,i.BH)(l.current,o(s,a.current));l.current!==t&&(l.current=t,u.jG.schedule(e))}),[s]),()=>l.current,()=>l.current)}},64505:(e,t,s)=>{s.d(t,{useSuspenseQueries:()=>u});var r=s(56251),i=s(80256);function u(e,t){return(0,r.useQueries)({...e,queries:e.queries.map(e=>({...e,suspense:!0,throwOnError:i.R3,enabled:!0,placeholderData:void 0}))},t)}},69921:(e,t,s)=>{s.d(t,{useSuspenseInfiniteQuery:()=>n});var r=s(65283),i=s(16162),u=s(80256);function n(e,t){return(0,i.t)({...e,enabled:!0,suspense:!0,throwOnError:u.R3},r.z,t)}},74851:(e,t,s)=>{s.d(t,{Qv:()=>n,XS:()=>u});var r=s(7528);function i(e){return e}function u(e){return"success"===e.state.status}function n(e,t,s){if("object"!=typeof t||null===t)return;let u=e.getMutationCache(),n=e.getQueryCache(),a=s?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??i,o=t.mutations||[],l=t.queries||[];o.forEach(({state:t,...r})=>{u.build(e,{...e.getDefaultOptions().hydrate?.mutations,...s?.defaultOptions?.mutations,...r},t)}),l.forEach(({queryKey:t,state:i,queryHash:u,meta:o,promise:l,dehydratedAt:h})=>{let c=l?(0,r.b)(l):void 0,d=void 0===i.data?c?.data:i.data,f=void 0===d?d:a(d),b=n.get(u),p=b?.state.status==="pending",v=b?.state.fetchStatus==="fetching";if(b){let e=c&&void 0!==h&&h>b.state.dataUpdatedAt;if(i.dataUpdatedAt>b.state.dataUpdatedAt||e){let{fetchStatus:e,...t}=i;b.setState({...t,data:f})}}else b=n.build(e,{...e.getDefaultOptions().hydrate?.queries,...s?.defaultOptions?.queries,queryKey:t,queryHash:u,meta:o},{...i,data:f,fetchStatus:"idle",status:void 0!==f?"success":i.status});l&&!p&&!v&&(void 0===h||h>b.state.dataUpdatedAt)&&b.fetch(void 0,{initialPromise:Promise.resolve(l).then(a)})})}},84343:(e,t,s)=>{s.d(t,{useIsFetching:()=>n});var r=s(7896),i=s(35045),u=s(69594);function n(e,t){let s=(0,u.useQueryClient)(t),n=s.getQueryCache();return r.useSyncExternalStore(r.useCallback(e=>n.subscribe(i.jG.batchCalls(e)),[n]),()=>s.isFetching(e),()=>s.isFetching(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.