1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3364],{26269:(e,t,r)=>{"use strict";var n=r(99680),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,i,o,u,l,s,c,d,f=!1;t||(t={}),o=t.debug||!1;try{if(l=n(),s=document.createRange(),c=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=a[t.format]||a.default;window.clipboardData.setData(n,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(d),s.selectNodeContents(d),c.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(n){o&&console.error("unable to copy using execCommand: ",n),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(n){o&&console.error("unable to copy using clipboardData: ",n),o&&console.error("falling back to prompt"),r="message"in t?t.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"â":"Ctrl")+"+C",u=r.replace(/#{\s*key\s*}/g,i),window.prompt(u,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(s):c.removeAllRanges()),d&&document.body.removeChild(d),l()}return f}},56840:(e,t,r)=>{"use strict";r.d(t,{BE:()=>W,Es:()=>D,Ht:()=>z,Tk:()=>P,Tn:()=>l,X3:()=>C,ZH:()=>i,aw:()=>K,b0:()=>u,bZ:()=>p,bu:()=>A,dO:()=>T,iX:()=>j,lK:()=>k,lg:()=>x,mF:()=>N,mf:()=>O,qm:()=>J,qv:()=>o,r9:()=>w,rL:()=>s,sb:()=>M});var n=r(14232);let a=()=>{},i=a(),o=Object,u=e=>e===i,l=e=>"function"==typeof e,s=(e,t)=>({...e,...t}),c=new WeakMap,d=0,f=e=>{let t,r,n=typeof e,a=e&&e.constructor,i=a==Date;if(o(e)!==e||i||a==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=c.get(e))return t;if(t=++d+"~",c.set(e,t),a==Array){for(r=0,t="@";r<e.length;r++)t+=f(e[r])+",";c.set(e,t)}if(a==o){t="#";let n=o.keys(e).sort();for(;!u(r=n.pop());)u(e[r])||(t+=r+":"+f(e[r])+",");c.set(e,t)}}return t},p=new WeakMap,g={},b={},E="undefined",m=typeof window!=E,y=typeof document!=E,w=(e,t)=>{let r=p.get(e);return[()=>!u(t)&&e.get(t)||g,n=>{if(!u(t)){let a=e.get(t);t in b||(b[t]=a),r[5](t,s(a,n),a||g)}},r[6],()=>!u(t)&&t in b?b[t]:!u(t)&&e.get(t)||g]},v=!0,[h,R]=m&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[a,a],_={initFocus:e=>(y&&document.addEventListener("visibilitychange",e),h("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),R("focus",e)}),initReconnect:e=>{let t=()=>{v=!0,e()},r=()=>{v=!1};return h("online",t),h("offline",r),()=>{R("online",t),R("offline",r)}}},T=!n.useId,C=!m||"Deno"in window,O=e=>m&&typeof window.requestAnimationFrame!=E?window.requestAnimationFrame(e):setTimeout(e,1),D=C?n.useEffect:n.useLayoutEffect,S="u">typeof navigator&&navigator.connection,V=!C&&S&&(["slow-2g","2g"].includes(S.effectiveType)||S.saveData),k=e=>{if(l(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?f(e):"",t]},L=0,x=()=>++L;var A={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function N(...e){let[t,r,n,a]=e,o=s({populateCache:!0,throwOnError:!0},"boolean"==typeof a?{revalidate:a}:a||{}),c=o.populateCache,d=o.rollbackOnError,f=o.optimisticData,g=o.throwOnError;if(l(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(b))}return b(r);async function b(r){let a,[s]=k(r);if(!s)return;let[b,E]=w(t,s),[m,y,v,h]=p.get(t),R=()=>{let e=m[s];return(l(o.revalidate)?o.revalidate(b().data,r):!1!==o.revalidate)&&(delete v[s],delete h[s],e&&e[0])?e[0](2).then(()=>b().data):b().data};if(e.length<3)return R();let _=n,T=x();y[s]=[T,0];let C=!u(f),O=b(),D=O.data,S=O._c,V=u(S)?D:S;if(C&&E({data:f=l(f)?f(V,D):f,_c:V}),l(_))try{_=_(V)}catch(e){a=e}if(_&&l(_.then)){let e;if(_=await _.catch(e=>{a=e}
1),T!==y[s][0]){if(a)throw a;return _}a&&C&&(e=a,"function"==typeof d?d(e):!1!==d)&&(c=!0,E({data:V,_c:i}))}if(c&&!a&&(l(c)?E({data:c(_,V),error:i,_c:i}):E({data:_,error:i,_c:i})),y[s][1]=x(),Promise.resolve(R()).then(()=>{E({_c:i})}),a){if(g)throw a;return}return _}}let I=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},F=(e,t)=>{if(!p.has(e)){let r=s(_,t),n={},o=N.bind(i,e),u=a,l={},c=(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 a=l[t];if(a)for(let e of a)e(r,n)},f=()=>{if(!p.has(e)&&(p.set(e,[n,{},{},{},o,d,c]),!C)){let t=r.initFocus(setTimeout.bind(i,I.bind(i,n,0))),a=r.initReconnect(setTimeout.bind(i,I.bind(i,n,1)));u=()=>{t&&t(),a&&a(),p.delete(e)}}};return f(),[e,o,f,u]}return[e,p.get(e)[4]]},[U,P]=F(new Map),M=s({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:(e,t,r,n,a)=>{let i=r.errorRetryCount,o=a.retryCount,l=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;(u(i)||!(o>i))&&setTimeout(n,l,a)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:V?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:V?5e3:3e3,compare:(e,t)=>f(e)==f(t),isPaused:()=>!1,cache:U,mutate:P,fallback:{}},{isOnline:()=>v,isVisible:()=>{let e=y&&document.visibilityState;return u(e)||"hidden"!==e}}),q=(e,t)=>{let r=s(e,t);if(t){let{use:n,fallback:a}=e,{use:i,fallback:o}=t;n&&i&&(r.use=n.concat(i)),a&&o&&(r.fallback=s(a,o))}return r},H=(0,n.createContext)({}),W=e=>{let{value:t}=e,r=(0,n.useContext)(H),a=l(t),o=(0,n.useMemo)(()=>a?t(r):t,[a,r,t]),u=(0,n.useMemo)(()=>a?o:q(r,o),[a,r,o]),c=o&&o.provider,d=(0,n.useRef)(i);c&&!d.current&&(d.current=F(c(u.cache||U),o));let f=d.current;return f&&(u.cache=f[0],u.mutate=f[1]),D(()=>{if(f)return f[2]&&f[2](),f[3]},[]),(0,n.createElement)(H.Provider,s(e,{value:u}))},X=m&&window.__SWR_DEVTOOLS_USE__,Z=X?window.__SWR_DEVTOOLS_USE__:[],$=e=>l(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],j=()=>s(M,(0,n.useContext)(H)),B=Z.concat(e=>(t,r,n)=>{let a=r&&((...e)=>{let[n]=k(t),[,,,a]=p.get(U);if(n.startsWith("$inf$"))return r(...e);let i=a[n];return u(i)?r(...e):(delete a[n],i)});return e(t,a,n)}),J=e=>function(...t){let r=j(),[n,a,i]=$(t),o=q(r,i),u=e,{use:l}=o,s=(l||[]).concat(B);for(let e=s.length;e--;)u=s[e](u);return u(n,a||o.fetcher||null,o)},K=(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())}},z=(e,t)=>(...r)=>{let[n,a,i]=$(r),o=(i.use||[]).concat(t);return e(n,a,{...i,use:o})};X&&(window.__SWR_DEVTOOLS_REACT__=n)},81256:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(14232),a=r(38806),i=r(56840);let o=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(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),u={dedupe:!0};i.qv.defineProperty(i.BE,"defaultValue",{value:i.sb});let l=(0,i.qm)((e,t,r)=>{let{cache:l,compare:s,suspense:c,fallbackData:d,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:g,refreshWhenHidden:b,refreshWhenOffline:E,keepPreviousData:m}=r,[y,w,v,h]=i.bZ.get(l),[R,_]=(0,i.lK)(e),T=(0,n.useRef)(!1),C=(0,n.useRef)(!1),O=(0,n.useRef)(R),D=(0,n.useRef)(t),S=(0,n.useRef)(r),V=()=>S.current.isVisible()&&S.current.isOnline(),[k,L,x,A]=(0,i.r9)(l,R),N=(0,n.useRef)({}).current,I=(0,i.b0)(d)?r.fallback[R]:d,F=(e,t)=>{for(let r in N)if("data"===r){if(!s(e[r],t[r])&&(!(0,i.b0)(e[r])||!s($,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},U=(0,n.useMemo)(()=>{let e=!!R&&!!t&&((0,i.b0)(f)?!S.current.isPaused()&&!c&&(!!(0,i.b0)(p)||p):f),r=t=>{let r=(0,i.rL)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=k(),a=A(),o=r(n),u=n===a?o:r(a),l=o;return[()=>{let e=r(k());return F(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>u]},[l,R]),P=(0,a.useSyncExternalStore)((0,n.useCallback)(e=>x(R,(t,r)=>{F(r,t)||e()}),[l,R]),U[0],U[1]),M=!T.current,q=y[R]&&y[R].length>0,H=P.data,W=(0,i.b0)(H)?I:H,X=P.error,Z=(0,n.useRef)(W),$=m?(0,i.b0)(H)?Z.current:H:W,j=(!q||!!(0,i.b0)(X))&&(M&&!(0,i.b0)(f)?f:!S.current.isPaused()&&(c?!(0,i.b0)(W)&&p:(0,i.b0)(W)||p)),B=!!(R&&t&&M&&j),J=(0,i.b0)(P.isValidating)?B:P.isValidating,K=(0,i.b0)(P.isLoading)?B:P.isLoading,z
1=(0,n.useCallback)(async e=>{let t,n,a=D.current;if(!R||!a||C.current||S.current.isPaused())return!1;let o=!0,u=e||{},l=!v[R]||!u.dedupe,c=()=>i.dO?!C.current&&R===O.current&&T.current:R===O.current,d={isValidating:!1,isLoading:!1},f=()=>{L(d)},p=()=>{let e=v[R];e&&e[1]===n&&delete v[R]},g={isValidating:!0};(0,i.b0)(k().data)&&(g.isLoading=!0);try{if(l&&(L(g),r.loadingTimeout&&(0,i.b0)(k().data)&&setTimeout(()=>{o&&c()&&S.current.onLoadingSlow(R,r)},r.loadingTimeout),v[R]=[a(_),(0,i.lg)()]),[t,n]=v[R],t=await t,l&&setTimeout(p,r.dedupingInterval),!v[R]||v[R][1]!==n)return l&&c()&&S.current.onDiscarded(R),!1;d.error=i.ZH;let e=w[R];if(!(0,i.b0)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&S.current.onDiscarded(R),!1;let u=k().data;d.data=s(u,t)?u:t,l&&c()&&S.current.onSuccess(t,R,r)}catch(r){p();let e=S.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=r,l&&c()&&(e.onError(r,R,e),(!0===t||(0,i.Tn)(t)&&t(r))&&(!S.current.revalidateOnFocus||!S.current.revalidateOnReconnect||V())&&e.onErrorRetry(r,R,e,e=>{let t=y[R];t&&t[0]&&t[0](i.bu.ERROR_REVALIDATE_EVENT,e)},{retryCount:(u.retryCount||0)+1,dedupe:!0})))}return o=!1,f(),!0},[R,l]),G=(0,n.useCallback)((...e)=>(0,i.mF)(l,O.current,...e),[]);if((0,i.Es)(()=>{D.current=t,S.current=r,(0,i.b0)(H)||(Z.current=H)}),(0,i.Es)(()=>{if(!R)return;let e=z.bind(i.ZH,u),t=0,r=(0,i.aw)(R,y,(r,n={})=>{if(r==i.bu.FOCUS_EVENT){let r=Date.now();S.current.revalidateOnFocus&&r>t&&V()&&(t=r+S.current.focusThrottleInterval,e())}else if(r==i.bu.RECONNECT_EVENT)S.current.revalidateOnReconnect&&V()&&e();else if(r==i.bu.MUTATE_EVENT)return z();else if(r==i.bu.ERROR_REVALIDATE_EVENT)return z(n)});return C.current=!1,O.current=R,T.current=!0,L({_k:_}),j&&((0,i.b0)(W)||i.X3?e():(0,i.mf)(e)),()=>{C.current=!0,r()}},[R]),(0,i.Es)(()=>{let e;function t(){let t=(0,i.Tn)(g)?g(k().data):g;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!k().error&&(b||S.current.isVisible())&&(E||S.current.isOnline())?z(u).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[g,b,E,R]),(0,n.useDebugValue)($),c&&(0,i.b0)(W)&&R){if(!i.dO&&i.X3)throw Error("Fallback data is required when using suspense in SSR.");D.current=t,S.current=r,C.current=!1;let e=h[R];if((0,i.b0)(e)||o(G(e)),(0,i.b0)(X)){let e=z(u);(0,i.b0)($)||(e.status="fulfilled",e.value=!0),o(e)}else throw X}return{mutate:G,get data(){return N.data=!0,$},get error(){return N.error=!0,X},get isValidating(){return N.isValidating=!0,J},get isLoading(){return N.isLoading=!0,K}}}),s=(0,i.Ht)(l,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)))},99680:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach(function(t){e.addRange(t)}
1),t&&t.focus()}}}}]);
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.