1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1563],{18229:function(e,t,n){n.d(t,{Nq:function(){return l},rg:function(){return u}});var r=n(2265);let o=(0,r.createContext)(null);function u(e){let{clientId:t,nonce:n,onScriptLoadSuccess:u,onScriptLoadError:l,children:c}=e,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:o}=e,[u,l]=(0,r.useState)(!1),c=(0,r.useRef)(n);c.current=n;let i=(0,r.useRef)(o);return i.current=o,(0,r.useEffect)(()=>{let e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;l(!0),null===(e=c.current)||void 0===e||e.call(c)},e.onerror=()=>{var e;l(!1),null===(e=i.current)||void 0===e||e.call(i)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),u}({nonce:n,onScriptLoadSuccess:u,onScriptLoadError:l}),a=(0,r.useMemo)(()=>({clientId:t,scriptLoadedSuccessfully:i}),[t,i]);return r.createElement(o.Provider,{value:a},c)}function l(e){let{flow:t="implicit",scope:n="",onSuccess:u,onError:l,onNonOAuthError:c,overrideScope:i,state:a,...f}=e,{clientId:s,scriptLoadedSuccessfully:d}=function(){let e=(0,r.useContext)(o);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}(),v=(0,r.useRef)(),p=(0,r.useRef)(u);p.current=u;let h=(0,r.useRef)(l);h.current=l;let m=(0,r.useRef)(c);m.current=c,(0,r.useEffect)(()=>{var e,r;if(!d)return;let o="implicit"===t?"initTokenClient":"initCodeClient",u=null===(r=null===(e=null==window?void 0:window.google)||void 0===e?void 0:e.accounts)||void 0===r?void 0:r.oauth2[o]({client_id:s,scope:i?n:"openid profile email ".concat(n),callback:e=>{var t,n;if(e.error)return null===(t=h.current)||void 0===t?void 0:t.call(h,e);null===(n=p.current)||void 0===n||n.call(p,e)},error_callback:e=>{var t;null===(t=m.current)||void 0===t||t.call(m,e)},state:a,...f});v.current=u},[s,d,t,n,a]);let g=(0,r.useCallback)(e=>{var t;return null===(t=v.current)||void 0===t?void 0:t.requestAccessToken(e)},[]),y=(0,r.useCallback)(()=>{var e;return null===(e=v.current)||void 0===e?void 0:e.requestCode()},[]);return"implicit"===t?g:y}},92369:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},36596:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(2265),o=function(e){return"object"==typeof e&&null!==e},u=function(e){var t=e.value,n=void 0===t?"":t,u=e.numInputs,l=void 0===u?4:u,c=e.onChange,i=e.onPaste,a=e.renderInput,f=e.shouldAutoFocus,s=void 0!==f&&f,d=e.inputType,v=void 0===d?"text":d,p=e.renderSeparator,h=e.placeholder,m=e.containerStyle,g=e.inputStyle,y=e.skipDefaultStyles,b=void 0!==y&&y,k=r.useState(0),w=k[0],C=k[1],D=r.useRef([]),E=function(){return n?n.toString().split(""):[]},N="number"===v||"tel"===v;r.useEffect(function(){D.current=D.current.slice(0,l)},[l]),r.useEffect(function(){var e;s&&(null===(e=D.current[0])||void 0===e||e.focus())},[s]);var A=function(){if("string"==typeof h){if(h.length===l)return h;h.length>0&&console.error("Length of the placeholder should be equal to the number of inputs.")}},x=function(e){return(N?!isNaN(Number(e)):"string"==typeof e)&&1===e.trim().length},S=function(e){var t=e.target.value;x(t)&&(O(t),M(w+1))},R=function(e){var t=e.nativeEvent,n=e.target.value;x(n)||(n.length!==l||n.split("").some(function(e){return!x(e)})||(T(n.split("")),M(l-1)),null===t.data&&"deleteContentBackward"===t.inputType&&(e.preventDefault(),O(""),M(w-1)),e.target.value="")},P=function(){C(w-1)},_=function(e){var t=E();[e.code,e.key].includes("Backspace")?(e.preventDefault(),O(""),M(w-1)):"Delete"===e.code?(e.preventDefault(),O("")):"ArrowLeft"===e.code?(e.preventDefault(),M(w-1)):"ArrowRight"===e.code?(e.preventDefault(),M(w+1)):e.key===t[w]?(e.preventDefault(),M(w+1)):("Spacebar"===e.code||"Space"===e.code||"ArrowUp"===e.code||"ArrowDown"===e.code)&&e.preventDefault()},M=function(e){var t,n,r=Math.max(Math.min(l-1,e),0);D.current[r]&&(null===(t=D.current[r])||void 0===t||t.focus(),null===(n=D.current[r])||void 0===n||n.select(),
1C(r))},O=function(e){var t=E();t[w]=e[0],T(t)},T=function(e){c(e.join(""))},j=function(e){e.preventDefault();var t,n=E(),r=w,o=e.clipboardData.getData("text/plain").slice(0,l-w).split("");if(!(N&&o.some(function(e){return isNaN(Number(e))}))){for(var u=0;u<l;++u)u>=w&&o.length>0&&(n[u]=null!==(t=o.shift())&&void 0!==t?t:"",r++);M(r),T(n)}};return r.createElement("div",{style:Object.assign({display:"flex",alignItems:"center"},o(m)&&m),className:"string"==typeof m?m:void 0,onPaste:i},Array.from({length:l},function(e,t){return t}).map(function(e){var t,n,u;return r.createElement(r.Fragment,{key:e},a({value:null!==(t=E()[e])&&void 0!==t?t:"",placeholder:null!==(u=null===(n=A())||void 0===n?void 0:n[e])&&void 0!==u?u:void 0,ref:function(t){return D.current[e]=t},onChange:S,onFocus:function(t){C(e),t.target.select()},onBlur:P,onKeyDown:_,onPaste:j,autoComplete:"off","aria-label":"Please enter OTP character ".concat(e+1),style:Object.assign(b?{}:{width:"1em",textAlign:"center"},o(g)?g:{}),className:"string"==typeof g?g:void 0,type:v,inputMode:N?"numeric":"text",onInput:R},e),e<l-1&&("function"==typeof p?p(e):p))}))}}}]);
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.