1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6090],{14806:(e,t,r)=>{e.exports=r(30125)},20063:(e,t,r)=>{r.r(t);var n=r(47260),i={};for(let e in n)"default"!==e&&(i[e]=()=>n[e]);r.d(t,i)},30125:(e,t,r)=>{var n=r(12115),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=n.useState,a=n.useEffect,o=n.useLayoutEffect,l=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=u({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return o(function(){i.value=r,i.getSnapshot=t,s(i)&&c({inst:i})},[e,r,t]),a(function(){return s(i)&&c({inst:i}),e(function(){s(i)&&c({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},51131:(e,t,r)=>{let n;r.d(t,{Ay:()=>B,Tk:()=>P});var i=r(12115),u=r(14806);let a=()=>{},o=a(),l=Object,s=e=>e===o,c=(e,t)=>({...e,...t}),d=new WeakMap,f=0,E=e=>{let t,r,n=typeof e,i=e&&e.constructor,u=i==Date;if(l(e)!==e||u||i==RegExp)t=u?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=d.get(e))return t;if(t=++f+"~",d.set(e,t),i==Array){for(r=0,t="@";r<e.length;r++)t+=E(e[r])+",";d.set(e,t)}if(i==l){t="#";let n=l.keys(e).sort();for(;!s(r=n.pop());)s(e[r])||(t+=r+":"+E(e[r])+",");d.set(e,t)}}return t},g=new WeakMap,p={},y={},v="undefined",w=typeof window!=v,h=typeof document!=v,_=(e,t)=>{let r=g.get(e);return[()=>!s(t)&&e.get(t)||p,n=>{if(!s(t)){let i=e.get(t);t in y||(y[t]=i),r[5](t,c(i,n),i||p)}},r[6],()=>!s(t)&&t in y?y[t]:!s(t)&&e.get(t)||p]},R=!0,[m,T]=w&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[a,a],b={initFocus:e=>(h&&document.addEventListener("visibilitychange",e),m("focus",e),()=>{h&&document.removeEventListener("visibilitychange",e),T("focus",e)}),initReconnect:e=>{let t=()=>{R=!0,e()},r=()=>{R=!1};return m("online",t),m("offline",r),()=>{T("online",t),T("offline",r)}}},O=!i.useId,S=!w||"Deno"in window,V=S?i.useEffect:i.useLayoutEffect,L="undefined"!=typeof navigator&&navigator.connection,k=!S&&L&&(["slow-2g","2g"].includes(L.effectiveType)||L.saveData),C=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?E(e):"",t]},N=0,D=()=>++N;var A={ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function x(...e){let[t,r,n,i]=e,u=c({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),a=u.populateCache,l=u.rollbackOnError,d=u.optimisticData,f=u.throwOnError;if("function"==typeof r){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(E))}return E(r);async function E(r){let i,[c]=C(r);if(!c)return;let[E,p]=_(t,c),[y,v,w,h]=g.get(t),R=()=>{let e=y[c];return("function"==typeof u.revalidate?u.revalidate(E().data,r):!1!==u.revalidate)&&(delete w[c],delete h[c],e&&e[0])?e[0](2).then(()=>E().data):E().data};if(e.length<3)return R();let m=n,T=D();v[c]=[T,0];let b=!s(d),O=E(),S=O.data,V=O._c,L=s(V)?S:V;if(b&&p({data:d="function"==typeof d?d(L,S):d,_c:L}),"function"==typeof m)try{m=m(L)}catch(e){i=e}if(m&&"function"==typeof m.then){let e;if(m=await m.catch(e=>{i=e}),T!==v[c][0]){if(i)throw i;return m}i&&b&&(e=i,"function"==typeof l?l(e):!1!==l)&&(a=!0,p({data:L,_c:o}))}if(a&&!i&&("function"==typeof a?p({data:a(m,L),error:o,_c:o}):p({data:m,error:o,_c:o})),v[c][1]=D(),Promise.resolve(R()).then(()=>{p({_c:o})}),i){if(f)throw i;return}return m}}let I=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},F=(e,t)=>{if(!g.has(e)){let r=c(b,t),n={},i=x.bind(o,e),u=a,l={},s=(e,t)=>{let r=l[e]||[];return l[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},d=(t,r,n)=>{e.set(t,r);let i=l[t];if(i)for(let e of i)e(r,n)},f=()=>{if(!g.has(e)&&(g.set(e,[n,{},{},{},i,d,s]),!S)){let t=r.initFocus(setTimeout.bind(o,I.bind(o,n,0))),i=r.initReconnect(setTimeout.bind(o,I.bind(o,n,1)));u=()=>{t&&t(),i&&i(),g.delete(e)}}};return f(),[e,i,f,u]}return[e,g.get(e)[4]]},[M,P]=F(new Map),U=c({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:(e,t,r,n,i)=>{let u=r.errorRetryCount,a=i.retryCount,o=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;(s(u)||!(a>u))&&setTimeout(n,o,i)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:k?5e3:3e3,compare:(e,t)=>
1E(e)==E(t),isPaused:()=>!1,cache:M,mutate:P,fallback:{}},{isOnline:()=>R,isVisible:()=>{let e=h&&document.visibilityState;return s(e)||"hidden"!==e}}),W=(e,t)=>{let r=c(e,t);if(t){let{use:n,fallback:i}=e,{use:u,fallback:a}=t;n&&u&&(r.use=n.concat(u)),i&&a&&(r.fallback=c(i,a))}return r},j=(0,i.createContext)({}),$=w&&window.__SWR_DEVTOOLS_USE__,q=($?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,r,n)=>{let i=r&&((...e)=>{let[n]=C(t),[,,,i]=g.get(M);if(n.startsWith("$inf$"))return r(...e);let u=i[n];return s(u)?r(...e):(delete i[n],u)});return e(t,i,n)});$&&(window.__SWR_DEVTOOLS_REACT__=i);let J=i.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(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),z={dedupe:!0};l.defineProperty(e=>{let{value:t}=e,r=(0,i.useContext)(j),n="function"==typeof t,u=(0,i.useMemo)(()=>n?t(r):t,[n,r,t]),a=(0,i.useMemo)(()=>n?u:W(r,u),[n,r,u]),l=u&&u.provider,s=(0,i.useRef)(o);l&&!s.current&&(s.current=F(l(a.cache||M),u));let d=s.current;return d&&(a.cache=d[0],a.mutate=d[1]),V(()=>{if(d)return d[2]&&d[2](),d[3]},[]),(0,i.createElement)(j.Provider,c(e,{value:a}))},"defaultValue",{value:U});let B=(n=(e,t,r)=>{let{cache:n,compare:a,suspense:l,fallbackData:d,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:p,refreshWhenHidden:y,refreshWhenOffline:h,keepPreviousData:R}=r,[m,T,b,L]=g.get(n),[k,N]=C(e),I=(0,i.useRef)(!1),F=(0,i.useRef)(!1),M=(0,i.useRef)(k),P=(0,i.useRef)(t),U=(0,i.useRef)(r),W=()=>U.current.isVisible()&&U.current.isOnline(),[j,$,q,B]=_(n,k),G=(0,i.useRef)({}).current,H=s(d)?r.fallback[k]:d,K=(e,t)=>{for(let r in G)if("data"===r){if(!a(e[r],t[r])&&(!s(e[r])||!a(ei,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},Q=(0,i.useMemo)(()=>{let e=!!k&&!!t&&(s(f)?!U.current.isPaused()&&!l&&(!!s(E)||E):f),r=t=>{let r=c(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=j(),i=B(),u=r(n),a=n===i?u:r(i),o=u;return[()=>{let e=r(j());return K(e,o)?(o.data=e.data,o.isLoading=e.isLoading,o.isValidating=e.isValidating,o.error=e.error,o):(o=e,e)},()=>a]},[n,k]),X=(0,u.useSyncExternalStore)((0,i.useCallback)(e=>q(k,(t,r)=>{K(r,t)||e()}),[n,k]),Q[0],Q[1]),Y=!I.current,Z=m[k]&&m[k].length>0,ee=X.data,et=s(ee)?H:ee,er=X.error,en=(0,i.useRef)(et),ei=R?s(ee)?en.current:ee:et,eu=(!Z||!!s(er))&&(Y&&!s(f)?f:!U.current.isPaused()&&(l?!s(et)&&E:s(et)||E)),ea=!!(k&&t&&Y&&eu),eo=s(X.isValidating)?ea:X.isValidating,el=s(X.isLoading)?ea:X.isLoading,es=(0,i.useCallback)(async e=>{let t,n,i=P.current;if(!k||!i||F.current||U.current.isPaused())return!1;let u=!0,l=e||{},c=!b[k]||!l.dedupe,d=()=>O?!F.current&&k===M.current&&I.current:k===M.current,f={isValidating:!1,isLoading:!1},E=()=>{$(f)},g=()=>{let e=b[k];e&&e[1]===n&&delete b[k]},p={isValidating:!0};s(j().data)&&(p.isLoading=!0);try{if(c&&($(p),r.loadingTimeout&&s(j().data)&&setTimeout(()=>{u&&d()&&U.current.onLoadingSlow(k,r)},r.loadingTimeout),b[k]=[i(N),D()]),[t,n]=b[k],t=await t,c&&setTimeout(g,r.dedupingInterval),!b[k]||b[k][1]!==n)return c&&d()&&U.current.onDiscarded(k),!1;f.error=o;let e=T[k];if(!s(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return E(),c&&d()&&U.current.onDiscarded(k),!1;let l=j().data;f.data=a(l,t)?l:t,c&&d()&&U.current.onSuccess(t,k,r)}catch(r){g();let e=U.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(f.error=r,c&&d())&&(e.onError(r,k,e),(!0===t||"function"==typeof t&&t(r))&&(!U.current.revalidateOnFocus||!U.current.revalidateOnReconnect||W())&&e.onErrorRetry(r,k,e,e=>{let t=m[k];t&&t[0]&&t[0](A.ERROR_REVALIDATE_EVENT,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0}))}return u=!1,E(),!0},[k,n]),ec=(0,i.useCallback)((...e)=>x(n,M.current,...e),[]);if(V(()=>{P.current=t,U.current=r,s(ee)||(en.current=ee)}),V(()=>{if(!k)return;let e=es.bind(o,z),t=0,r=((e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}})(k,m,(r,n={})=>{if(r==A.FOCUS_EVENT){let r=Date.now();U.current.revalidateOnFocus&&r>t&&W()&&(t=r+U.current.focusThrottleInterval,e())}else if(r==A.RECONNECT_EVENT)U.current.revalidateOnReconnect&&W()&&e();else if(r==A.MUTATE_EVENT)return es();else if(r==A.ERROR_REVALIDATE_EVENT)return es(n)});return F.current=!1,M.current=k,I.current=!0,$({_k:N}),eu&&(s(et)||S?e():(e=>w&&typeof window.requestAnimationFrame!=v?window.requestAnimationFrame(e):setTimeout(e,1))(e)),()=>{F.current=!0,r()}},[k]),V(()=>{let e;function t(){let t="function"==typeof p?p(j().data):p;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!j().error&&(y||U.current.isVisible())&&(h||U.current.isOnline())?es(z).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[p,y,h,k]),(0,i.useDebugValue)(ei),l&&s(et)&&k){if(!O&&S)throw Error("Fallback data is required when using suspense in SSR.");P.current=t,U.current=r,F.current=!1;let e=L[k];if(s(e)||J(ec(e)),s(er)){let e=es(z);s(ei)||(e.status="fulfilled",e.value=!0),J(e)}else throw er}return{mutate:ec,get data(){return G.data=!0,ei},get error(){return G.error=!0,er},get isValidating(){return G.isValidating=!0,eo},get isLoading(){return G.isLoading=!0,el}}},function(...e){let t=c(U,(0,i.useContext)(j)),[r,u,a]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],o=W(t,a),l=n,{use:s}=o,d=(s||[]).concat(q);for(let e=d.length;e--;)l=d[e](l);return l(r,u||o.fetcher||null,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.