1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:opencollective-frontend":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3304b36b-f8ba-4aab-916e-50d34d256c36",e._sentryDebugIdIdentifier="sentry-dbid-3304b36b-f8ba-4aab-916e-50d34d256c36")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[533],{23172:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(61729);let i=function(e){return(0,n.A)(e).toUpperCase()}},24779:(e,t,r)=>{r.d(t,{Ay:()=>A});var n=r(14232);Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var i=Object.defineProperty,s=Object.defineProperties,a=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&h(e,r,t[r]);if(o)for(var r of o(t))l.call(t,r)&&h(e,r,t[r]);return e},u=(e,t,r)=>(h(e,"symbol"!=typeof t?t+"":t,r),r),p=(e,t,r)=>new Promise((n,i)=>{var s=e=>{try{o(r.next(e))}catch(e){i(e)}},a=e=>{try{o(r.throw(e))}catch(e){i(e)}},o=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,a);o((r=r.apply(e,t)).next())}),f="hCaptchaOnLoad",m="script-error",y="@hCaptcha/loader";function v(e){let t=e&&e.ownerDocument||document,r=t.defaultView||t.parentWindow||window;return{document:t,window:r}}function g(e){return e||document.head}var b=class e{constructor(e){u(this,"_parent"),u(this,"breadcrumbs",[]),u(this,"context",{}),u(this,"extra",{}),u(this,"tags",{}),u(this,"request"),u(this,"user"),this._parent=e}get parent(){return this._parent}child(){return new e(this)}setRequest(e){return this.request=e,this}removeRequest(){return this.request=void 0,this}addBreadcrumb(e){return typeof e.timestamp>"u"&&(e.timestamp=new Date().toISOString()),this.breadcrumbs.push(e),this}setExtra(e,t){return this.extra[e]=t,this}removeExtra(e){return delete this.extra[e],this}setContext(e,t){return typeof t.type>"u"&&(t.type=e),this.context[e]=t,this}removeContext(e){return delete this.context[e],this}setTags(e){return this.tags=d(d({},this.tags),e),this}setTag(e,t){return this.tags[e]=t,this}removeTag(e){return delete this.tags[e],this}setUser(e){return this.user=e,this}removeUser(){return this.user=void 0,this}toBody(){let e=[],t=this;for(;t;)e.push(t),t=t.parent;return e.reverse().reduce((e,t)=>{var r;return e.breadcrumbs=[...null!=(r=e.breadcrumbs)?r:[],...t.breadcrumbs],e.extra=d(d({},e.extra),t.extra),e.contexts=d(d({},e.contexts),t.context),e.tags=d(d({},e.tags),t.tags),t.user&&(e.user=t.user),t.request&&(e.request=t.request),e},{breadcrumbs:[],extra:{},contexts:{},tags:{},request:void 0,user:void 0})}clear(){this.breadcrumbs=[],this.context={},this.tags={},this.user=void 0}},x=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,w="An unknown error occurred";function E(e){return(e+256).toString(16).substring(1)}var _,O=[[/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,"chrome"],[/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,"winjs"],[/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,"gecko"]],R=(_=class{constructor(e){var t,r,n,i,s;u(this,"apiURL"),u(this,"dsn"),u(this,"environment"),u(this,"release"),u(this,"sampleRate"),u(this,"debug"),u(this,"_scope"),u(this,"shouldBuffer",!1),u(this,"bufferlimit",20),u(this,"buffer",[]),this.environment=e.environment,this.release=e.release,this.sampleRate=null!=(t=e.s
1ampleRate)?t:1,this.debug=null!=(r=e.debug)&&r,this._scope=null!=(n=e.scope)?n:new b,this.apiURL=function(e){let t=x.exec(e),r=t?t.slice(1):[];if(6!==r.length)throw Error("Invalid DSN");let n=r[5].split("/"),i=n.slice(0,-1).join("/");return r[0]+"://"+r[3]+(r[4]?":"+r[4]:"")+(i?"/"+i:"")+"/api/"+n.pop()+"/envelope/?sentry_version=7&sentry_key="+r[1]+(r[2]?"&sentry_secret="+r[2]:"")}(e.dsn),this.dsn=e.dsn,this.shouldBuffer=null!=(i=e.buffer)&&i,this.bufferlimit=null!=(s=e.bufferLimit)?s:20}static init(e){_._instance||(_._instance=new _(e))}static get instance(){if(!_._instance)throw Error("Sentry has not been initialized");return _._instance}log(...e){this.debug&&console.log(...e)}get scope(){return this._scope}static get scope(){return _.instance.scope}withScope(e){e(this._scope.child())}static withScope(e){_.instance.withScope(e)}captureException(e,t){this.captureEvent({type:"exception",level:"error",error:function(e){if(e instanceof Error)return e;if("string"==typeof e)return Error(e);if("object"==typeof e&&null!==e&&!Array.isArray(e)){let{message:t}=e,r=((e,t)=>{var r={};for(var n in e)c.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&o)for(var n of o(e))0>t.indexOf(n)&&l.call(e,n)&&(r[n]=e[n]);return r})(e,["message"]);return Object.assign(Error("string"==typeof t?t:w),r)}return Object.assign(Error(w),{cause:e})}(e),scope:null!=t?t:this._scope})}static captureException(e,t){_.instance.captureException(e,t)}captureMessage(e,t="info",r){this.captureEvent({type:"message",level:t,message:e,scope:null!=r?r:this._scope})}static captureMessage(e,t="info",r){_.instance.captureMessage(e,t,r)}captureEvent(e){if(Math.random()>=this.sampleRate)return void this.log("Dropped event due to sample rate");if(this.shouldBuffer){if(this.buffer.length>=this.bufferlimit)return;this.buffer.push(e)}else this.sendEvent(e)}sendEvent(e,t=5e3){return p(this,null,function*(){try{this.log("Sending sentry event",e);let r=function(e,t,r){var n,i,s;let a,o=d({event_id:((a=function(e){for(let t=0;t<e.length;t++)e[t]=Math.floor(256*Math.random());return e}(Array(16)))[6]=15&a[6]|64,a[8]=63&a[8]|128,E(a[0])+E(a[1])+E(a[2])+E(a[3])+"-"+E(a[4])+E(a[5])+"-"+E(a[6])+E(a[7])+"-"+E(a[8])+E(a[9])+"-"+E(a[10])+E(a[11])+E(a[12])+E(a[13])+E(a[14])+E(a[15])).replaceAll("-",""),platform:"javascript",sdk:{name:"@hcaptcha/sentry",version:"0.0.4"},environment:t,release:r,timestamp:Date.now()/1e3},e.scope.toBody());if("exception"===e.type){let t;o.message=null!=(i=null==(n=e.error)?void 0:n.message)?i:"Unknown error",o.fingerprint=[o.message];let r=[],a=e.error;for(let e=0;e<5&&a&&(r.push((t=function(e){var t,r,n,i;if(!e.stack)return null;let s=[],a=null!=(n=null==(r=(t=e.stack).split)?void 0:r.call(t,` 2`))?n:[];for(let t=0;t<a.length;++t){let r=null,n=null,o=null;for(let[e,r]of O)if(n=e.exec(a[t])){o=r;break}if(!(!n||!o)){if("chrome"===o)r={filename:null!=(i=n[2])&&i.startsWith("address at ")?n[2].substring(11):n[2],function:n[1]||"?",lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if("winjs"===o)r={filename:n[2],function:n[1]||"?",lineno:+n[3],colno:n[4]?+n[4]:null};else{if("gecko"!==o)continue;0===t&&!n[5]&&void 0!==e.columnNumber&&s.length>0&&(s[0].column=e.columnNumber+1),r={filename:n[3],function:n[1]||"?",lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null}}!r.function&&r.lineno&&(r.function="?"),s.push(r)}}return s.length?s.reverse():null}(s=a),{type:s.name,value:s.message,stacktrace:{frames:null!=t?t:[]}})),!(!a.cause||!(a.cause instanceof Error)));e++)a=a.cause;o.exception={values:r.reverse()}}return"message"===e.type&&(o.message=e.message,o.level=e.level),o}(e,this.environment,this.release),n={event_id:r.event_id,dsn:this.dsn},i=JSON.stringify(n)+` 3`+JSON.stringify({type:"event"})+` 4`+JSON.stringify(r),o=yield function(e,t,r){return p(this,null,function*(){var n,i;try{if("u">typeof fetch&&"u">typeof AbortSignal){let n,i,o;if(r){let e=new AbortController;n=e.signal,setTimeout(()=>e.abort(),r)}let c=yield fetch(e,(i=d({},t),o={signal:n},s(i,a(o)))),l=yield c.text();return{status:c.status,body:l}}return yield new Promise((n,i)=>{var s,a;let o=new XMLHttpRequest;if(o.open(null!=(s=null==t?void 0:t.method)?s:"GET",e),o.onload=()=>n({status:o.status,body:o.responseText}),o.onerror=()=>i(Error("XHR Network Error")),null==t?void 0:t.headers)for(let[e,r]of Object.entries(t.headers))o.setRequestHeader(e,r);if(r){let e=setTimeout(()=>{o.abort(),i(Error("Request timed out"))},r);o.onloadend=()=>{clearTimeout(e)}}o.send(null==(a=null==t?void 0:t.body)?void 0:a.toString())})}catch(e){return{status:0,body:null!=(i=null==(n=null==e?void 0:e.toString)?void 0:n.call(e))?i:"Unknown error"}}})}(this.apiURL,{method:"POST",headers:{"Content-Type":"application/x-sentry-envelope"},body:i},t);this.log("Sentry response",o.status),200!==o.status&&(console.log(o.body),console.error("Failed to send event to Sentry",o))}catch(e){console.error("Failed to send event",e)}})}flush(e=5e3){return p(this,null,function*(){try{this.log("Flushing sentry events",this.buffer.length);let t=this.buffer.splice(0,this.buffer.length).map(t=>this.sendEvent(t,e));yield Promise.all(t),this.log("Flushed all events")}catch(e){console.error("Failed to flush events",e)}})}static flush(e=5e3){return _.instance.flush(e)}static reset(){_._instance=void 0}},u(_,"_instance"),_);function C(e=null){return{addBreadcrumb:t=>{e&&e.addBreadcrumb(t)},captureRequest:t=>
4{e&&e.setRequest(t)},captureException:t=>{e&&R.captureException(t,e)}}}var S=[];function j(e){let t=e&&e.ownerDocument||document,r=t.defaultView||t.parentWindow||window;return{document:t,window:r}}function k(e){return e||document.head}var P=class extends n.Component{constructor(e){super(e),this._hcaptcha=void 0,this.renderCaptcha=this.renderCaptcha.bind(this),this.resetCaptcha=this.resetCaptcha.bind(this),this.removeCaptcha=this.removeCaptcha.bind(this),this.isReady=this.isReady.bind(this),this._onReady=null,this.loadCaptcha=this.loadCaptcha.bind(this),this.handleOnLoad=this.handleOnLoad.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.handleExpire=this.handleExpire.bind(this),this.handleError=this.handleError.bind(this),this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.handleChallengeExpired=this.handleChallengeExpired.bind(this),this.ref=n.createRef(),this.apiScriptRequested=!1,this.sentryHub=null,this.captchaId="",this._pendingExecute=null,this.state={isApiReady:!1,isRemoved:!1,elementId:e.id}}componentDidMount(){let e=j(k(this.props.scriptLocation));(this._hcaptcha=e.window.hcaptcha||void 0,void 0!==this._hcaptcha)?this.setState({isApiReady:!0},()=>{this.renderCaptcha()}):this.loadCaptcha()}componentWillUnmount(){let e=this._hcaptcha,t=this.captchaId;if(this._cancelPendingExecute("react-component-unmounted"),this.isReady())try{e.reset(t),e.remove(t)}catch(e){}finally{this.captchaId="",this._onReady=null}}shouldComponentUpdate(e,t){return this.state.isApiReady===t.isApiReady&&this.state.isRemoved===t.isRemoved}componentDidUpdate(e){["sitekey","size","theme","tabindex","languageOverride","endpoint"].every(t=>e[t]===this.props[t])||this.removeCaptcha(()=>{this.renderCaptcha()})}loadCaptcha(){if(this.apiScriptRequested)return;let{apihost:e,assethost:t,endpoint:r,host:n,imghost:i,languageOverride:o,reCaptchaCompat:c,reportapi:l,sentry:h,custom:u,loadAsync:b,scriptLocation:x,scriptSource:w,secureApi:E,cleanup:_=!0,userJourneys:O}=this.props;(function(){return p(this,arguments,function*(e={}){let t=function(e=!0){var t,r,n,i,o,c,l;let h,u,p,f,m;if(!e)return C();R.init({dsn:"https://[email protected]/6",release:"2.3.0",environment:"production"});let v=R.scope;return v.setTag("source",y),v.setTag("url",document.URL),v.setContext("os",{UA:navigator.userAgent}),v.setContext("browser",d({},(-1!==(h=navigator.userAgent).indexOf("Firefox")?(u="Firefox",p=null==(r=h.match(/Firefox\/([\d.]+)/))?void 0:r[1]):-1!==h.indexOf("Edg")?(u="Microsoft Edge",p=null==(n=h.match(/Edg\/([\d.]+)/))?void 0:n[1]):-1!==h.indexOf("Chrome")&&-1!==h.indexOf("Safari")?(u="Chrome",p=null==(i=h.match(/Chrome\/([\d.]+)/))?void 0:i[1]):-1!==h.indexOf("Safari")&&-1===h.indexOf("Chrome")?(u="Safari",p=null==(o=h.match(/Version\/([\d.]+)/))?void 0:o[1]):-1!==h.indexOf("Opera")||-1!==h.indexOf("OPR")?(u="Opera",p=null==(c=h.match(/(Opera|OPR)\/([\d.]+)/))?void 0:c[2]):-1!==h.indexOf("MSIE")||-1!==h.indexOf("Trident")?(u="Internet Explorer",p=null==(l=h.match(/(MSIE |rv:)([\d.]+)/))?void 0:l[2]):(u="Unknown",p="Unknown"),{name:u,version:p}))),v.setContext("device",s(d({},{model:m=-1!==(f=navigator.userAgent).indexOf("Win")?"Windows":-1!==f.indexOf("Mac")?"Mac":-1!==f.indexOf("Linux")?"Linux":-1!==f.indexOf("Android")?"Android":-1!==f.indexOf("like Mac")||-1!==f.indexOf("iPhone")||-1!==f.indexOf("iPad")?"iOS":"Unknown",family:m,device:/Mobile|iPhone|iPod|Android/i.test(f)?"Mobile":/Tablet|iPad/i.test(f)?"Tablet":"Desktop"}),a({screen_width_pixels:screen.width,screen_height_pixels:screen.height,language:navigator.language,orientation:(null==(t=screen.orientation)?void 0:t.type)||"Unknown",processor_count:navigator.hardwareConcurrency,platform:navigator.platform}))),C(v)}(e.sentry);return yield function e(t,r,n=0){return p(this,null,function*(){var i,s;let a=null!=(i=t.maxRetries)?i:2,o=null!=(s=t.retryDelay)?s:1e3,c=n<a?"Retry loading hCaptcha Api":"Exceeded maximum retries";try{return yield function(e={cleanup:!1},t){try{t.addBreadcrumb({category:y,message:"hCaptcha loader params",data:e});let r=g(e.scriptLocation),n=v(r),i=S.find(({scope:e})=>e===n.window);if(i)return t.addBreadcrumb({category:y,message:"hCaptcha already loaded"}),i.promise;let s=new Promise((r,s)=>p(this,null,function*(){try{var a;n.window[f]=()=>{t.addBreadcrumb({category:y,message:"hCaptcha script called onload function"}),r(n.window.hcaptcha)};let s=(a={custom:e.custom,render:e.render,sentry:e.sentry,assethost:e.assethost,imghost:e.imghost,reportapi:e.reportapi,endpoint:e.endpoint,host:e.host,recaptchacompat:e.recaptchacompat,hl:e.hl,uj:e.uj},Object.entries(a).filter(([,e])=>e||!1===e).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`).join("&"));yield function({scriptLocation:e,query:t,loadAsync:r=!0,crossOrigin:n="anonymous",apihost:i="https://js.hcaptcha.com",cleanup:s=!1,secureApi:a=!1,scriptSource:o=""}={},c){let l=g(e),h=v(l);return new Promise((e,d)=>{let u=h.document.createElement("script");u.id="hCaptcha-script",o?u.src=`${o}?onload=${f}`:a?u.src=`${i}/1/secure-api.js?onload=${f}`:u.src=`${i}/1/api.js?onload=${f}`,u.crossOrigin=n,u.async=r;let p=(e,t)=>{try{!a&&s&&l.removeChild(u),t(e)}catch(e){d(e)}};u.onload=t=>p(t,e),u.onerror=e=>{c&&c(u.src),p(e,d)},u.src+=""!==t?`&${t}`:"",l.appendChild(u)})}(d({query:s},e),e=>{t.captureRequest({url:e,method:"GET"})}),t.addBreadcrumb({category:y,message:"hCaptcha loaded",data:i})}catch(r){t.addBreadcrumb({category:y,message:"hCaptcha failed to load"});let e=S.findIndex(e=>e.scope===n.window);-1!==e&&S.splice(e,1),s(Error(m))}}));return S.push({promise:s,scope:n.window}),s}catch(e){return t.captureException(e),Promise.reject(Error(m))}}(t,r)}catch(i){return r.addBreadcrumb({category:y,message:c}),n>=a?(r.captureException(i),Promise.reject(i)):(r.addBreadcrumb({category:y,message:`Waiting ${o}ms before retry attempt ${n+1}`}),yield new Promise(e=>setTimeout(e,o)),e(t,r,n+=1))}})}(e,t)})})({render:"explicit",apihost:e,assethost:t,endpoint:r,hl:o,host:n,imghost:i,recaptchacompat:!1===c?"off":null,reportapi:l,sentry:h,custom:u,loadAsync:b,scriptLocation:x,scriptSource:w,secureApi:E,cleanup:_,uj:void 0!==O&&O}).then(this.handleOnLoad,()=>{try{this.handleError("script-error")}catch(e){this.handleError("script-load-error-other")}}),this.apiScriptRequested=!0}renderCaptcha(e){let{onReady:t}=this.props,{isApiReady:r}=this.state,n=this.captchaId;if(!r||n)return;
4let i=Object.assign({"open-callback":this.handleOpen,"close-callback":this.handleClose,"error-callback":this.handleError,"chalexpired-callback":this.handleChallengeExpired,"expired-callback":this.handleExpire,callback:this.handleSubmit},this.props,{hl:this.props.hl||this.props.languageOverride,languageOverride:void 0}),s=this._hcaptcha.render(this.ref.current,i);this.captchaId=s,this.setState({isRemoved:!1},()=>{e&&e(),t&&t(),this._onReady&&this._onReady(s)})}resetCaptcha(){let e=this._hcaptcha,t=this.captchaId;this.isReady()&&(e.reset(t),this._cancelPendingExecute("hcaptcha-reset"))}removeCaptcha(e){let t=this._hcaptcha,r=this.captchaId;this._cancelPendingExecute("hcaptcha-removed"),this.isReady()&&this.setState({isRemoved:!0},()=>{this.captchaId="",t.remove(r),e&&e()})}handleOnLoad(){this.setState({isApiReady:!0},()=>{let e=j(k(this.props.scriptLocation));this._hcaptcha=e.window.hcaptcha,this.renderCaptcha(()=>{let{onLoad:e}=this.props;e&&e()})})}handleSubmit(e){let{onVerify:t}=this.props,{isRemoved:r}=this.state,n=this._hcaptcha,i=this.captchaId;if(void 0===n||r)return;let s=n.getResponse(i),a=n.getRespKey(i);t&&t(s,a)}handleExpire(){let{onExpire:e}=this.props,t=this._hcaptcha,r=this.captchaId;this.isReady()&&(t.reset(r),e&&e())}handleError(e){let{onError:t}=this.props,r=this._hcaptcha,n=this.captchaId;this.isReady()&&r.reset(n),t&&t(e)}isReady(){let{isApiReady:e,isRemoved:t}=this.state;return e&&!t}_cancelPendingExecute(e){if(!this._pendingExecute)return;let t=this._pendingExecute;this._pendingExecute=null;let r=Error(e);t.reject(r)}handleOpen(){this.isReady()&&this.props.onOpen&&this.props.onOpen()}handleClose(){this.isReady()&&this.props.onClose&&this.props.onClose()}handleChallengeExpired(){this.isReady()&&this.props.onChalExpired&&this.props.onChalExpired()}execute(e=null){e="object"==typeof e?e:null;try{let t=this._hcaptcha,r=this.captchaId;if(e&&e.async&&this._pendingExecute&&this._cancelPendingExecute("hcaptcha-execute-replaced"),!this.isReady())return e&&e.async?new Promise((r,n)=>{this._pendingExecute={resolve:r,reject:n},this._onReady=i=>{if(this._pendingExecute)try{let s=t.execute(i,e);s&&"function"==typeof s.then?s.then(e=>{this._pendingExecute=null,r(e)}).catch(e=>{this._pendingExecute=null,n(e)}):(this._pendingExecute=null,n(Error("hcaptcha-execute-no-promise")))}catch(e){this._pendingExecute=null,n(e)}}}):(this._onReady=r=>{t.execute(r,e)},null);let n=t.execute(r,e);return e&&e.async&&n&&"function"==typeof n.then?new Promise((e,t)=>{this._pendingExecute={resolve:e,reject:t},n.then(t=>{this._pendingExecute=null,e(t)}).catch(e=>{this._pendingExecute=null,t(e)})}):n}catch(t){return e&&e.async?Promise.reject(t):null}}close(){let e=this._hcaptcha,t=this.captchaId;if(this._cancelPendingExecute("hcaptcha-closed"),this.isReady())return e.close(t)}setData(e){let t=this._hcaptcha,r=this.captchaId;this.isReady()&&(e&&"object"!=typeof e&&(e=null),t.setData(r,e))}getResponse(){return this._hcaptcha.getResponse(this.captchaId)}getRespKey(){return this._hcaptcha.getRespKey(this.captchaId)}render(){let{elementId:e}=this.state;return n.createElement("div",{ref:this.ref,id:e})}};(0,n.createContext)();var A=P},51812:(e,t,r)=>{r.d(t,{v:()=>a});var n=r(29254),i=r(14232),s=r(75635),a=i.forwardRef(function(e,t){return i.createElement(s.StyledIconBase,(0,n.A)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),i.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),i.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm2-1.645V14h-2v-1.5a1 1 0 0 1 1-1 1.5 1.5 0 1 0-1.471-1.794l-1.962-.393A3.501 3.501 0 1 1 13 13.355z"}))});a.displayName="Question"},67836:function(e,t,r){let n,i;var s=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
4),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&s(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useTurnstile=t.Turnstile=void 0;let c=o(r(14232)),l="u">typeof globalThis?globalThis:window,h=void 0!==l.turnstile?"ready":"unloaded",d=new Promise((e,t)=>{i={resolve:e,reject:t},"ready"===h&&e(void 0)});{let e="cf__reactTurnstileOnLoad";n=()=>{if("unloaded"===h){h="loading",l[e]=()=>{i.resolve(),h="ready",delete l[e]};let t=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${e}&render=explicit`,r=document.createElement("script");r.src=t,r.async=!0,r.addEventListener("error",()=>{i.reject("Failed to load Turnstile."),delete l[e]}),document.head.appendChild(r)}return d}}function u({id:e,className:t,style:r,sitekey:i,action:s,cData:a,theme:o,language:l,tabIndex:d,responseField:p,responseFieldName:f,size:m,fixedSize:y,retry:v,retryInterval:g,refreshExpired:b,appearance:x,execution:w,userRef:E,onVerify:_,onSuccess:O,onLoad:R,onError:C,onExpire:S,onTimeout:j,onAfterInteractive:k,onBeforeInteractive:P,onUnsupported:A}){let I=(0,c.useRef)(null),M=(0,c.useState)({onVerify:_,onSuccess:O,onLoad:R,onError:C,onExpire:S,onTimeout:j,onAfterInteractive:k,onBeforeInteractive:P,onUnsupported:A})[0],T=null!=E?E:I,L=y?{width:"compact"===m?"130px":"flexible"===m?"100%":"300px",height:"compact"===m?"120px":"65px",...r}:r;return(0,c.useEffect)(()=>{if(!T.current)return;let e=!1,t="";return(async()=>{var r,c,u;let y;if("ready"!==h)try{await n()}catch(e){null==(r=M.onError)||r.call(M,e);return}e||!T.current||(u=t=window.turnstile.render(T.current,{sitekey:i,action:s,cData:a,theme:o,language:l,tabindex:d,"response-field":p,"response-field-name":f,size:m,retry:v,"retry-interval":g,"refresh-expired":b,appearance:x,execution:w,callback:(e,t)=>{var r,n;null==(r=M.onVerify)||r.call(M,e,y),null==(n=M.onSuccess)||n.call(M,e,t,y)},"error-callback":e=>{var t;return null==(t=M.onError)?void 0:t.call(M,e,y)},"expired-callback":e=>{var t;return null==(t=M.onExpire)?void 0:t.call(M,e,y)},"timeout-callback":()=>{var e;return null==(e=M.onTimeout)?void 0:e.call(M,y)},"after-interactive-callback":()=>{var e;return null==(e=M.onAfterInteractive)?void 0:e.call(M,y)},"before-interactive-callback":()=>{var e;return null==(e=M.onBeforeInteractive)?void 0:e.call(M,y)},"unsupported-callback":()=>{var e;return null==(e=M.onUnsupported)?void 0:e.call(M,y)}}),y={execute:e=>window.turnstile.execute(u,e),reset:()=>window.turnstile.reset(u),getResponse:()=>window.turnstile.getResponse(u),isExpired:()=>window.turnstile.isExpired(u)},null==(c=M.onLoad)||c.call(M,t,y))})(),()=>{e=!0,t&&window.turnstile.remove(t)}},[i,s,a,o,l,d,p,f,m,v,g,b,x,w]),(0,c.useEffect)(()=>{M.onVerify=_,M.onSuccess=O,M.onLoad=R,M.onError=C,M.onExpire=S,M.onTimeout=j,M.onAfterInteractive=k,M.onBeforeInteractive=P,M.onUnsupported=A},[_,O,R,C,S,j,k,P,A]),c.default.createElement("div",{ref:T,id:e,className:t,style:L})}t.Turnstile=u,t.default=u,t.useTurnstile=function(){let[e,t]=(0,c.useState)(h);return(0,c.useEffect)(()=>{"ready"!==h&&d.then(()=>t(h))},[]),l.turnstile}},68547:e=>{e.exports=function(){}},93286:(e,t,r)=>{r.d(t,{O:()=>c});var n=r(14232),i=r(68547),s=r.n(i),a=r(57288),o=r(25882);function c(e){var t=e.children,r=e.innerRef,i=n.useContext(a.$$),c=n.useCallback(function(e){(0,o.cZ)(r,e),(0,o.oV)(i,e)},[r,i]);return n.useEffect(function(){return function(){return(0,o.cZ)(r,null)}},[]),n.useEffect(function(){s()(!!i,"`Reference` should not be used outside of a `Manager` component.")},[i]),(0,o.vq)(t)({ref:c})}}}]); 5//# sourceMappingURL=533-f1761867ae800fad.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.