1/*! For license information please see react-google-recaptcha-v3.95346e16.chunk.js.LICENSE.txt */ 2"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[60343],{50312:(e,t,r)=>{r.r(t),r.d(t,{GoogleReCaptcha:()=>y,GoogleReCaptchaConsumer:()=>p,GoogleReCaptchaContext:()=>l,GoogleReCaptchaProvider:()=>f,useGoogleReCaptcha:()=>d,withGoogleReCaptcha:()=>Y});var o=r(67294),n=function(){return(n=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function a(e,t,r,o){return new(r||(r=Promise))((function(n,a){function c(e){try{u(o.next(e))}catch(e){a(e)}}function i(e){try{u(o.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(c,i)}u((o=o.apply(e,t||[])).next())}))}function c(e,t){var r,o,n,a,c={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,o&&(n=2&a[0]?o.return:a[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;switch(o=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,o=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(!((n=(n=c.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){c.label=a[1];break}if(6===a[0]&&c.label<n[1]){c.label=n[1],n=a;break}if(n&&c.label<n[2]){c.label=n[2],c.ops.push(a);break}n[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(e){a=[6,e],o=0}finally{r=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}var i,u=function(e){var t=document.querySelector(".grecaptcha-badge");t&&t.parentNode&&document.body.removeChild(t.parentNode);var r=document.querySelector("#"+e);r&&r.remove(),function(){var e=document.querySelector("script[src^='https://www.gstatic.com/recaptcha/releases']");e&&e.remove()}()},s=function(e){var t=e.reCaptchaKey,r=e.language,o=e.onLoad,n=e.useRecaptchaNet,a=e.useEnterprise,c=e.scriptProps,i=void 0===c?{}:c,u=i.nonce,s=void 0===u?"":u,l=i.defer,p=void 0!==l&&l,f=i.async,d=void 0!==f&&f,y=i.id,m=void 0===y?"":y,h=i.appendTo,v=void 0===h?void 0:h,g=m||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(g))o();else{var b=function(e){var t=e.useEnterprise;return"https://www."+(e.useRecaptchaNet&&!t?"recaptcha.net":"google.com")+"/recaptcha/"+(t?"enterprise.js":"api.js")}({useEnterprise:a,useRecaptchaNet:n}),w=document.createElement("script");w.id=g,w.src=b+"?render="+t+(r?"&hl="+r:""),s&&(w.nonce=s),w.defer=!!p,w.async=!!d,w.onload=o,("body"===v?document.body:document.getElementsByTagName("head")[0]).appendChild(w)}};(i||(i={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var l=(0,o.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}}),p=l.Consumer;function f(e){var t=this,r=e.reCaptchaKey,n=e.useEnterprise,p=void 0!==n&&n,f=e.useRecaptchaNet,d=void 0!==f&&f,y=e.scriptProps,m=e.language,h=e.children,v=(0,o.useState)(null),g=v[0],b=v[1];(0,o.useEffect)((function(){if(r){var e=(null==y?void 0:y.id)||"google-recaptcha-v3";return s({reCaptchaKey:r,useEnterprise:p,useRecaptchaNet:d,scriptProps:y,language:m,onLoad:function(){if(window&&window.grecaptcha){var e=p?window.grecaptcha.enterprise:window.grecaptcha;e.ready((function(){b(e)}))}else console.warn("<GoogleRecaptchaProvider /> "+i.SCRIPT_NOT_AVAILABLE)}}),function(){u(e)}}console.warn("<GoogleReCaptchaProvider /> recaptcha key not provided")}),[p,d,y,m]);var w=(0,o.useCallback)((function(e){return a(t,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:if(!g||!g.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return[4,g.execute(r,{action:e})];case 1:return[2,t.sent()]}}))}))}),[g]),C=(0,o.useMemo)((function(){return{executeRecaptcha:g?w:void 0}}),[w,g]);return o.createElement(l.Provider,{value:C},h)}var d=function(){return(0,o.useContext)(l)};function y(e){var t=this,r=e.action,n=e.onVerify,i=d();return(0,o.useEffect)((function(){var e=i.executeRecaptcha;a(t,void 0,void 0,(function(){var t;return c(this,(function(o){switch(o.label){case 0:return e?[4,e(r)]:(console.warn("Execute recaptcha function not defined"),[2]);case 1:return t=o.sent(),n?(n(t),[2]):(console.warn("Please define an onVerify function"),[2])}}))}))}),[r,n,i]),null}function m(e,t){return e(t={exports:{}},t.exports),t.exports}var h="function"==typeof Symbol&&Symbol.for,v=h?Symbol.for("react.element"):60103,g=h?Symbol.for("react.portal"):60106,b=h?Symbol.for("react.fragment"):60107,w=h?Symbol.for("react.strict_mode"):60108,C=h?Symbol.for("react.profiler"):60114,S=h?Symbol.for("react.provider"):60109,P=h?Symbol.for("react.context"):60110,x=h?Symbol.for("react.async_mode"):60111,R=h?Symbol.for("react.concurrent_mode"):60111,$=h?Symbol.for("react.forward_ref"):60112,E=h?Symbol.for("react.suspense"):60113,O=h?Symbol.for("react.suspense_list"):60120,N=h?Symbol.for("react.memo"):60115,M=h?Symbol.for("react.lazy"):60116,_=h?Symbol.for("react.block"):60121,G=h?Symbol.for("react.fundamental"):60117,L=h?Symbol.for("react.responder"):60118,T=h?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case v:switch(e=e.type){case x:case R:case b:case C:case w:case E:return e;default:switch(e=e&&e.$$typeof){case P:case $:case M:case N:case S:return e;default:return t}}case g:return t}}}function A(e){return j(e)===R}var k={AsyncMode:x,ConcurrentMode:R,ContextConsumer:P,ContextProvider:S,Element:v,ForwardRef:$,Fragment:b,Lazy:M,Memo:N,Portal:g,Profiler:C,StrictMode:w,Suspense:E,isAsyncMode:function(e){return A(e)||j(e)===x},isConcurrentMode:A,isContextConsumer:function(e){return j(e)===P},isContextProvider:function(e){return j(e)===S},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===v},isForwardRef:function(e){return j(e)===$},isFragment:function(e){return j(e)===b},isLazy:function(e){return j(e)===M},isMemo:function(e){return j(e)===N},isPortal:function(e){return j(e)===g},isProfiler:function(e){return j(e)===C},isStrictMode:function(e){return j(e)===w},isSuspense:function(e){return j(e)===E},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===b||e===R||e===C||e===w||e===E||e===O||"object"==typeof e&&null!==e&&(e.$$typeof===M||e.$$typeof===N||e.$$typeof===S||e.$$typeof===P||e.$$typeof===$||e.$$typeof===G||e.$$typeof===L||e.$$typeof===T||e.$$typeof===_)},typeOf:j},F=m((function(e,t){})),D=(F.AsyncMode,F.ConcurrentMode,F.ContextConsumer,F.ContextProvider,F.Element,F.ForwardRef,F.Fragment,F.Lazy,F.Memo,F.Portal,F.Profiler,F.StrictMode,F.Suspense,F.isA
2syncMode,F.isConcurrentMode,F.isContextConsumer,F.isContextProvider,F.isElement,F.isForwardRef,F.isFragment,F.isLazy,F.isMemo,F.isPortal,F.isProfiler,F.isStrictMode,F.isSuspense,F.isValidElementType,F.typeOf,m((function(e){e.exports=k}))),V={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},z={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},B={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I={};function q(e){return D.isMemo(e)?B:I[e.$$typeof]||V}I[D.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},I[D.Memo]=B;var K=Object.defineProperty,H=Object.getOwnPropertyNames,J=Object.getOwnPropertySymbols,U=Object.getOwnPropertyDescriptor,Q=Object.getPrototypeOf,W=Object.prototype,X=function e(t,r,o){if("string"!=typeof r){if(W){var n=Q(r);n&&n!==W&&e(t,n,o)}var a=H(r);J&&(a=a.concat(J(r)));for(var c=q(t),i=q(r),u=0;u<a.length;++u){var s=a[u];if(!(z[s]||o&&o[s]||i&&i[s]||c&&c[s])){var l=U(r,s);try{K(t,s,l)}catch(e){}}}}return t},Y=function(e){var t=function(t){return o.createElement(p,null,(function(r){return o.createElement(e,n({},t,{googleReCaptchaProps:r}))}))};return t.displayName="withGoogleReCaptcha("+(e.displayName||e.name||"Component")+")",X(t,e),t}},66339:(e,t,r)=>{r.r(t),r.d(t,{GoogleReCaptcha:()=>y,GoogleReCaptchaConsumer:()=>p,GoogleReCaptchaContext:()=>l,GoogleReCaptchaProvider:()=>f,useGoogleReCaptcha:()=>d,withGoogleReCaptcha:()=>Y});var o=r(67294),n=r(34155),a=function(){return a=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},a.apply(this,arguments)};var c,i=function(e,t){(function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)})(t),window.___grecaptcha_cfg=void 0;var r=document.querySelector("#"+e);r&&r.remove(),function(){var e=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');e&&e.remove()}()},u=function(e){var t=e.render,r=e.onLoadCallbackName,o=e.language,n=e.onLoad,a=e.useRecaptchaNet,c=e.useEnterprise,i=e.scriptProps,u=void 0===i?{}:i,s=u.nonce,l=void 0===s?"":s,p=u.defer,f=void 0!==p&&p,d=u.async,y=void 0!==d&&d,m=u.id,h=void 0===m?"":m,v=u.appendTo,g=h||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(g))n();else{var b=function(e){return"https://www."+(e.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(e.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:c,useRecaptchaNet:a}),w=document.createElement("script");w.id=g,w.src=b+"?render="+t+("explicit"===t?"&onload="+r:"")+(o?"&hl="+o:""),l&&(w.nonce=l),w.defer=!!f,w.async=!!y,w.onload=n,("body"===v?document.body:document.getElementsByTagName("head")[0]).appendChild(w)}},s=function(e){"undefined"!=typeof n&&n.env,console.warn(e)};(c||(c={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var l=(0,o.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}}),p=l.Consumer;function f(e){var t=e.reCaptchaKey,r=e.useEnterprise,n=void 0!==r&&r,p=e.useRecaptchaNet,f=void 0!==p&&p,d=e.scriptProps,y=e.language,m=e.container,h=e.children,v=(0,o.useState)(null),g=v[0],b=v[1],w=(0,o.useRef)(t),C=JSON.stringify(d),S=JSON.stringify(null==m?void 0:m.parameters);(0,o.useEffect)((function(){if(t){var e=(null==d?void 0:d.id)||"google-recaptcha-v3",r=(null==d?void 0:d.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[r]=function(){var e=n?window.grecaptcha.enterprise:window.grecaptcha,r=a({badge:"inline",size:"invisible",sitekey:t},(null==m?void 0:m.parameters)||{});w.current=e.render(null==m?void 0:m.element,r)},u({render:(null==m?void 0:m.element)?"explicit":t,onLoadCallbackName:r,useEnterprise:n,useRecaptchaNet:f,scriptProps:d,language:y,onLoad:function(){if(window&&window.grecaptcha){var e=n?window.grecaptcha.enterprise:window.grecaptcha;e.ready((function(){b(e)}))}else s("<GoogleRecaptchaProvider /> "+c.SCRIPT_NOT_AVAILABLE)},onError:function(){s("Error loading google recaptcha script")}}),function(){i(e,null==m?void 0:m.element)}}s("<GoogleReCaptchaProvider /> recaptcha key not provided")}),[n,f,C,S,y,t,null==m?void 0:m.element]);var P=(0,o.useCallback)((function(e){if(!g||!g.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return g.execute(w.current,{action:e})}),[g,w]),x=(0,o.useMemo)((function(){return{executeRecaptcha:g?P:void 0,container:null==m?void 0:m.element}}),[P,g,null==m?void 0:m.element]);return o.createElement(l.Provider,{value:x},h)}var d=function(){return(0,o.useContext)(l)};function y(e){var t=this,r=e.action,n=e.onVerify,a=e.refreshReCaptcha,c=d();(0,o.useEffect)((function(){var e=c.executeRecaptcha;e&&function(e,t,r,o){new(r||(r=Promise))((function(n,a){function c(e){try{u(o.next(e))}catch(e){a(e)}}function i(e){try{u(o.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(c,i)}u((o=o.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var t;return function(e,t){var r,o,n,a,c={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;
2function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,o&&(n=2&a[0]?o.return:a[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;switch(o=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,o=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(!((n=(n=c.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){c.label=a[1];break}if(6===a[0]&&c.label<n[1]){c.label=n[1],n=a;break}if(n&&c.label<n[2]){c.label=n[2],c.ops.push(a);break}n[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(e){a=[6,e],o=0}finally{r=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}(this,(function(o){switch(o.label){case 0:return[4,e(r)];case 1:return t=o.sent(),n?(n(t),[2]):(s("Please define an onVerify function"),[2])}}))}))}),[r,n,a,c]);var i=c.container;return"string"==typeof i?o.createElement("div",{id:i}):null}function m(e,t){return e(t={exports:{}},t.exports),t.exports}var h="function"==typeof Symbol&&Symbol.for,v=h?Symbol.for("react.element"):60103,g=h?Symbol.for("react.portal"):60106,b=h?Symbol.for("react.fragment"):60107,w=h?Symbol.for("react.strict_mode"):60108,C=h?Symbol.for("react.profiler"):60114,S=h?Symbol.for("react.provider"):60109,P=h?Symbol.for("react.context"):60110,x=h?Symbol.for("react.async_mode"):60111,R=h?Symbol.for("react.concurrent_mode"):60111,$=h?Symbol.for("react.forward_ref"):60112,E=h?Symbol.for("react.suspense"):60113,O=h?Symbol.for("react.suspense_list"):60120,N=h?Symbol.for("react.memo"):60115,M=h?Symbol.for("react.lazy"):60116,_=h?Symbol.for("react.block"):60121,G=h?Symbol.for("react.fundamental"):60117,L=h?Symbol.for("react.responder"):60118,T=h?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case v:switch(e=e.type){case x:case R:case b:case C:case w:case E:return e;default:switch(e=e&&e.$$typeof){case P:case $:case M:case N:case S:return e;default:return t}}case g:return t}}}function A(e){return j(e)===R}var k={AsyncMode:x,ConcurrentMode:R,ContextConsumer:P,ContextProvider:S,Element:v,ForwardRef:$,Fragment:b,Lazy:M,Memo:N,Portal:g,Profiler:C,StrictMode:w,Suspense:E,isAsyncMode:function(e){return A(e)||j(e)===x},isConcurrentMode:A,isContextConsumer:function(e){return j(e)===P},isContextProvider:function(e){return j(e)===S},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===v},isForwardRef:function(e){return j(e)===$},isFragment:function(e){return j(e)===b},isLazy:function(e){return j(e)===M},isMemo:function(e){return j(e)===N},isPortal:function(e){return j(e)===g},isProfiler:function(e){return j(e)===C},isStrictMode:function(e){return j(e)===w},isSuspense:function(e){return j(e)===E},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===b||e===R||e===C||e===w||e===E||e===O||"object"==typeof e&&null!==e&&(e.$$typeof===M||e.$$typeof===N||e.$$typeof===S||e.$$typeof===P||e.$$typeof===$||e.$$typeof===G||e.$$typeof===L||e.$$typeof===T||e.$$typeof===_)},typeOf:j},F=m((function(e,t){})),D=(F.AsyncMode,F.ConcurrentMode,F.ContextConsumer,F.ContextProvider,F.Element,F.ForwardRef,F.Fragment,F.Lazy,F.Memo,F.Portal,F.Profiler,F.StrictMode,F.Suspense,F.isAsyncMode,F.isConcurrentMode,F.isContextConsumer,F.isContextProvider,F.isElement,F.isForwardRef,F.isFragment,F.isLazy,F.isMemo,F.isPortal,F.isProfiler,F.isStrictMode,F.isSuspense,F.isValidElementType,F.typeOf,m((function(e){e.exports=k}))),V={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},z={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},B={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I={};function q(e){return D.isMemo(e)?B:I[e.$$typeof]||V}I[D.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},I[D.Memo]=B;var K=Object.defineProperty,H=Object.getOwnPropertyNames,J=Object.getOwnPropertySymbols,U=Object.getOwnPropertyDescriptor,Q=Object.getPrototypeOf,W=Object.prototype,X=function e(t,r,o){if("string"!=typeof r){if(W){var n=Q(r);n&&n!==W&&e(t,n,o)}var a=H(r);J&&(a=a.concat(J(r)));for(var c=q(t),i=q(r),u=0;u<a.length;++u){var s=a[u];if(!(z[s]||o&&o[s]||i&&i[s]||c&&c[s])){var l=U(r,s);try{K(t,s,l)}catch(e){}}}}return t},Y=function(e){var t=function(t){return o.createElement(p,null,(function(r){return o.createElement(e,a({},t,{googleReCaptchaProps:r}))}))};return t.displayName="withGoogleReCaptcha("+(e.displayName||e.name||"Component")+")",X(t,e),t}}}]); 3//# sourceMappingURL=react-google-recaptcha-v3.95346e16.chunk.js.map
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.