PageSourceSearch

https://www.coversandall.ca/_next/static/chunks/googleAuth-0326514af8f8de1e.js

js coversandall.ca collected 2026-09-29 16:06:06 UTC 8,038 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1556],{7810:(e,t,n)=>{n.d(t,{A:()=>f});var i=n(12115),r=n(12758),o=n.n(r),l=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(a(t)),t.handleErrored=t.handleErrored.bind(a(t)),t.handleChange=t.handleChange.bind(a(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(a(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,u(t,e);var n=t.prototype;return n.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},n.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},n.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},n.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},n.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(e){this.captcha=e},n.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,l));return i.createElement("div",c({},t,{ref:this.handleRecaptchaRef}))},t}(i.Component);s.displayName="ReCAPTCHA",s.propTypes={sitekey:o().string.isRequired,onChange:o().func,grecaptcha:o().object,theme:o().oneOf(["dark","light"]),type:o().oneOf(["image","audio"]),tabindex:o().number,onExpired:o().func,onErrored:o().func,size:o().oneOf(["compact","normal","invisible"]),stoken:o().string,hl:o().string,badge:o().oneOf(["bottomright","bottomleft","inline"]),isolated:o().bool},s.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var d=n(6701),h="onloadcallback";function p(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}let f=(0,d.A)(function(){var e=p(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+h+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+h+"&render=explicit"},{callbackName:h,globalName:"grecaptcha",attributes:p().nonce?{nonce:p().nonce}:{}})(s)}
1,84604:(e,t,n)=>{n.d(t,{G_:()=>o,I9:()=>u,j:()=>a,mg:()=>s});var i=n(12115);let r=(0,i.createContext)(null);function o(e){let{clientId:t,nonce:n,onScriptLoadSuccess:o,onScriptLoadError:l,children:c}=e,a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}=e,[o,l]=(0,i.useState)(!1),c=(0,i.useRef)(n);c.current=n;let a=(0,i.useRef)(r);return a.current=r,(0,i.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)||e.call(c)},e.onerror=()=>{var e;l(!1),null==(e=a.current)||e.call(a)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),o}({nonce:n,onScriptLoadSuccess:o,onScriptLoadError:l}),u=(0,i.useMemo)(()=>({clientId:t,scriptLoadedSuccessfully:a}),[t,a]);return i.createElement(r.Provider,{value:u},c)}function l(){let e=(0,i.useContext)(r);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}let c={large:40,medium:32,small:20};function a(e){let{onSuccess:t,onError:n,useOneTap:r,promptMomentNotification:o,type:a="standard",theme:u="outline",size:s="large",text:d,shape:h,logo_alignment:p,width:f,locale:g,click_listener:v,containerProps:b,...w}=e,m=(0,i.useRef)(null),{clientId:x,scriptLoadedSuccessfully:R}=l(),C=(0,i.useRef)(t);C.current=t;let y=(0,i.useRef)(n);y.current=n;let E=(0,i.useRef)(o);return E.current=o,(0,i.useEffect)(()=>{var e,t,n,i,o,l,c,b,k;if(R)return null==(n=null==(t=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:t.id)||n.initialize({client_id:x,callback:e=>{var t,n;if(!(null==e?void 0:e.credential))return null==(t=y.current)?void 0:t.call(y);let{credential:i,select_by:r}=e;C.current({credential:i,clientId:null!=(n=null==e?void 0:e.clientId)?n:null==e?void 0:e.client_id,select_by:r})},...w}),null==(l=null==(o=null==(i=null==window?void 0:window.google)?void 0:i.accounts)?void 0:o.id)||l.renderButton(m.current,{type:a,theme:u,size:s,text:d,shape:h,logo_alignment:p,width:f,locale:g,click_listener:v}),r&&(null==(k=null==(b=null==(c=null==window?void 0:window.google)?void 0:c.accounts)?void 0:b.id)||k.prompt(E.current)),()=>{var e,t,n;r&&(null==(n=null==(t=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:t.id)||n.cancel())}},[x,R,r,a,u,s,d,h,p,f,g]),i.createElement("div",{...b,ref:m,style:{height:c[s],...null==b?void 0:b.style}})}function u(){var e,t,n;null==(n=null==(t=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:t.id)||n.disableAutoSelect()}function s(e){let{flow:t="implicit",scope:n="",onSuccess:r,onError:o,onNonOAuthError:c,overrideScope:a,state:u,...s}=e,{clientId:d,scriptLoadedSuccessfully:h}=l(),p=(0,i.useRef)(),f=(0,i.useRef)(r);f.current=r;let g=(0,i.useRef)(o);g.current=o;let v=(0,i.useRef)(c);v.current=c,(0,i.useEffect)(()=>{var e,i;if(!h)return;let r="implicit"===t?"initTokenClient":"initCodeClient";p.current=null==(i=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:i.oauth2[r]({client_id:d,scope:a?n:"openid profile email ".concat(n),callback:e=>{var t,n;if(e.error)return null==(t=g.current)?void 0:t.call(g,e);null==(n=f.current)||n.call(f,e)},error_callback:e=>{var t;null==(t=v.current)||t.call(v,e)},state:u,...s})},[d,h,t,n,u]);let b=(0,i.useCallback)(e=>{var t;return null==(t=p.current)?void 0:t.requestAccessToken(e)},[]),w=(0,i.useCallback)(()=>{var e;return null==(e=p.current)?void 0:e.requestCode()},[]);return"implicit"===t?b:w}}}]);

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.