"use strict";(function(){function nt(e,n,r,u,s,f,y){try{var v=e[f](y),_=v.value}catch(d){r(d);return}v.done?n(_):Promise.resolve(_).then(u,s)}function at(e){return function(){var n=this,r=arguments;return new Promise(function(u,s){var f=e.apply(n,r);function y(_){nt(f,u,s,y,v,"next",_)}function v(_){nt(f,u,s,y,v,"throw",_)}y(void 0)})}}function C(e,n){return n!=null&&typeof Symbol!="undefined"&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):C(e,n)}function ye(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function Me(e){for(var n=1;ne.length)&&(n=e.length);for(var r=0,u=new Array(n);r0&&f[f.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!f||d[1]>f[0]&&d[1]0&&e<9e5}function ze(e){return e>0&&e<36e4}var Ut=/^[0-9A-Za-z_-]{3,100}$/;function st(e){return Ut.test(e)}var Wt=/^[a-z0-9_-]{0,32}$/i;function Ve(e){return e===void 0?!0:typeof e=="string"&&Wt.test(e)}var Ft=/^[a-z0-9_\-=]{0,255}$/i;function Be(e){return e===void 0?!0:typeof e=="string"&&Ft.test(e)}function qe(e){return V(["normal","compact","invisible"],e)}function je(e){return V(["auto","manual","never"],e)}var zt=/^[a-z]{2,3}([-_][a-z]{2})?$/i;function He(e){return e==="auto"||zt.test(e)}function Ge(e){return V(["always","execute","interaction-only"],e)}function Ye(e){return V(["render","execute"],e)}var D="0/0";var ft=300,dt=10;var re="cf-chl-widget-",U="cloudflare-challenge",pt=".cf-turnstile",vt=".cf-challenge",mt=".g-recaptcha",yt="cf_challenge_response",_t="cf-turnstile-response",gt="g-recaptcha-response",ht=8e3;function be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xt(e,n){if(!C(e,n))throw new TypeError("Cannot call a class as a function")}function G(e,n){return G=Object.setPrototypeOf||function(u,s){return u.__proto__=s,u},G(e,n)}function bt(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&G(e,n)}function Ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ue(e,n,r){return Ee()?ue=Reflect.construct:ue=function(s,f,y){var v=[null];v.push.apply(v,f);var _=Function.bind.apply(s,v),d=new _;return y&&G(d,y.prototype),d},ue.apply(null,arguments)}function K(e){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},K(e)}function Et(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function we(e){var n=typeof Map=="function"?new Map:void 0;return we=function(u){if(u===null||!Et(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n!="undefined"){if(n.has(u))return n.get(u);n.set(u,s)}function s(){return ue(u,arguments,K(this).constructor)}return s.prototype=Object.create(u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),G(s,u)},we(e)}function wt(e,n){return n&&(L(n)==="object"||typeof n=="function")?n:be(e)}function St(e){var n=Ee();return function(){var u=K(e),s;if(n){var f=K(this).constructor;s=Reflect.construct(u,arguments,f)}else s=u.apply(this,arguments);return wt(this,s)}}var Tt=function(e){"use strict";bt(r,e);var n=St(r);function r(u,s){xt(this,r);var f;return f=n.call(this,u),ye(be(f),"code",void 0),f.name="TurnstileError",f.code=s,f}return r}(we(Error));function p(e,n){var r="[Cloudflare Turnstile] ".concat(e,".");throw new Tt(r,n)}function h(e){console.warn("[Cloudflare Turnstile] ".concat(e,"."))}function Se(e){return e.startsWith(re)?e.substring(re.length):null}function Y(e){return"".concat(re).concat(e)}function Vt(){var e=/\/turnstile\/v0(\/.*)?\/api\.js/,n=document.currentScript;if(C(n,HTMLScriptElement)&&e.test(n.src))return n;for(var r=document.querySelectorAll("script"),u=0,s;s=r[u];u++)if(C(s,HTMLScriptElement)&&e.test(s.src))return s}function At(){var e=Vt();if(!e)return p("Could not find Turnstile script tag, some features may not be available",43777),null;var n={loadedAsync:!1,params:new URLSearchParams};(e.async||e.defer)&&(n.loadedAsync=!0);var r=e.src,u=r.split("?");return u.length>1&&(n.params=new URLSearchParams(u[1])),n}var Ae=null,Te=0,Bt=900,qt=3;function jt(e,n,r){Te++;var u=!0,s=!1,f=void 0;try{for(var y=e[Symbol.iterator](),v;!(u=(v=y.next()).done);u=!0){var _=_e(v.value,2),d=_[0],m=_[1],S;m.watchcat.seq=Te,m.watchcat.lastAckedSeq===0&&(m.watchcat.lastAckedSeq=Te);var w=Y(d);if(!w){m.watchcat.missingWidgetWarning||(h("Cannot find Widget ".concat(w,", consider using turnstile.remove() to clean up a widget.")),m.watchcat.missingWidgetWarning=!0);continue}var O=document.querySelector("#".concat(w));if(!O){m.watchcat.missingWidgetWarning||(h("Cannot find Widget ".concat(w,", consider using turnstile.remove() to clean up a widget.")),m.watchcat.missingWidgetWarning=!0);continue}if((m.isExecuting||!m.isInitialized||m.isInitialized&&!m.isStale&&!m.isExecuted)&&m.watchcat.lastAckedSeq!==0&&m.watchcat.lastAckedSeqi.watchcat.lastAckedSeq&&(i.watchcat.lastAckedSeq=t.seq);break}case"complete":{i.rcV=D,i.response=t.token,t.sToken?e(i,c,t.sToken,t.chlId):u(i,c,!1);break}case"fail":{t.rcV&&(i.rcV=t.rcV),t.cfChlOut&&(i.cfChlOut=t.cfChlOut),t.cfChlOutS&&(i.cfChlOutS=t.cfChlOutS),i.isExecuting=!1,i.isInitialized=!0,Ke(c);var T=i.cbError,M=t.code===he;if(T){var N;T(String((N=t.code)!==null&&N!==void 0?N:lt))||(t.code&&h("Error: ".concat(t.code)),r(i,c,M))}else t.code?(r(i,c,M),p("Error: ".concat(t.code),3076)):r(i,c,!1);break}case"feedbackInit":{Ht(c,i);break}case"requestFeedbackData":{var F,I=document.querySelector("#".concat(c));if(!I){p("Received state for an unknown widget: ".concat(t.widgetId),3078);return}(F=I.contentWindow)===null||F===void 0||F.postMessage({source:U,widgetId:t.widgetId,event:"requestTurnstileResults"},"*");break}case"turnstileResults":{var X,J=document.querySelector("#".concat(c,"-fr"));if(!J){p("Received state for an unknown widget: ".concat(t.widgetId),3078);return}(X=J.contentWindow)===null||X===void 0||X.postMessage({source:U,widgetId:t.widgetId,event:"feedbackData",rayId:t.rayId,rcV:t.rcV,cfChlOut:i.cfChlOut,cfChlOutS:i.cfChlOutS,sitekey:t.sitekey},"*");break}case"closeFeedbackReportIframe":{var ae,ie,le=document.querySelector("#".concat(c,"-fr"));if(!le){p("Received state for an unknown widget: ".concat(t.widgetId),3078);return}(ie=le.parentElement)===null||ie===void 0||(ae=ie.parentElement)===null||ae===void 0||ae.remove();break}case"tokenExpired":{var Oe=t.token;i.isExpired=!0;var se=i.cbExpired;se&&se(Oe),i.params["refresh-expired"]===H.AUTO&&!i.isResetting&&m(c);break}case"interactiveTimeout":{i.rcV=D,Ke(c);var fe=i.cbTimeout;fe&&fe();break}case"refreshRequest":{i.rcV=D,m(c);break}case"interactiveBegin":{var de=document.getElementById(c);if(!de){p("Cannot layout widget, Element not found (#".concat(c,")."),3076);return}var Z=i.cbBeforeInteractive;Z&&Z(),i.params.appearance===q.INTERACTION_ONLY&&Je(de,i);break}case"interactiveEnd":{var Q=document.getElementById(c);if(!Q){p("Cannot unlayout widget, Element not found (#".concat(c,")."),3077);return}var ee=i.cbAfterInteractive;ee&&ee();break}case"widgetStale":{i.isStale=!0;break}case"requestExtraParams":{var R,z=document.querySelector("#".concat(c));if(!z){p("Received state for an unknown widget: ".concat(t.widgetId),3078);return}i.isResetting=!1;var j={};(R=z.contentWindow)===null||R===void 0||R.postMessage(Me({source:U,widgetId:t.widgetId,event:"extraParams",action:i.action,cData:i.cData,chlPageData:i.chlPageData,rcV:i.rcV,ch:"c8377512",url:kt(),retry:i.params.retry,"expiry-interval":i.params["expiry-interval"],"retry-interval":i.params["retry-interval"],"refresh-expired":i.params["refresh-expired"],language:i.params.language,execution:i.params.execution,appearance:i.params.appearance,wPr:{"w.iW":window.innerWidth,"ht.atrs":s(document.body.parentNode)},turnstileAge:+Date.now()-x.turnstileLoadInitTime,widgetAge:+Date.now()-i.widgetStartTime},j),"*"),_(i,t.widgetId,z),i.isInitialized=!0;break}}}}};window.addEventListener("message",f);function y(){var l="abcdefghijklmnopqrstuvwxyz0123456789",o=l.length,t;do{t="";for(var c=0;c<5;c++)t+=l.charAt(Math.floor(Math.random()*o))}while(x.widgetMap.has(t));return t}function v(l){if(typeof l=="string"){var o=Se(l);if(o&&x.widgetMap.has(o))return o;try{var t=document.querySelector(l);return t?v(t):null}catch(i){return null}}if(C(l,HTMLElement)){var c=l.querySelector("iframe");return c?Se(c.id):null}return l||x.widgetMap.size===0?null:x.widgetMap.keys().next().value}function _(l,o,t){for(;l.msgQueue.length;){var c,i=l.msgQueue.pop();(c=t.contentWindow)===null||c===void 0||c.postMessage({source:U,widgetId:o,event:i},"*")}}function d(l,o){if(o){var t=["retry-interval","retry","size","theme","tabindex","execution","refresh-expired","response-field-name","response-field","language","base-url","appearance","sitekey"],c=[],i=!0,a=!1,g=void 0;try{for(var b=t[Symbol.iterator](),A;!(i=(A=b.next()).done);i=!0){var E=A.value;o[E]&&o[E]!==l.params[E]&&c.push(E)}}catch(T){a=!0,g=T}finally{try{!i&&b.return!=null&&b.return()}finally{if(a)throw g}}if(c.length!==0){p("The parameters ".concat(t.join(",")," is/are not allowed be changed between the calls of render() and execute() of a widget.\n Consider rendering a new widget if you want to change the following parameters ").concat(c.join(",")),3618);return}if(o.action){if(!Ve(o.action)){p('Invalid input for optional parameter "action", got "'.concat(o.action,'"'),3604);return}l.action=o.action}if(o.cData){if(!Be(o.cData)){p('Invalid input for optional parameter "cData", got "'.concat(o.cData,'"'),3605);return}l.cData=o.cData}o["after-interactive-callback"]&&(l.cbAfterInteractive=o["after-interactive-callback"]),o["before-interactive-callback"]&&(l.cbBeforeInteractive=o["before-interactive-callback"]),o.callback&&(l.cbSuccess=o.callback),o["expired-callback"]&&(l.cbExpired=o["expired-callback"]),o["timeout-callback"]&&(l.cbTimeout=o["timeout-callback"]),o["error-callback"]&&(l.cbError=o["error-callback"]),o["unsupported-callback"]&&(l.cbUnsupported=o["unsupported-callback"]),o.chlPageData&&(l.chlPageData=o.chlPageData)}}function m(l){var o=v(l);if(!o){p("Nothing to reset found for provided container",3329);return}var t=x.widgetMap.get(o);if(t){t.isResetting=!0,t.response=void 0,t.mode=void 0,t.msgQueue=[],t.isExpired=!1,t.isExecuting=!1,t.isStale=!1,t.isInitialized=!1,t.watchcat.lastAckedSeq=0,t.watchcat.seq=0,t.params.execution===te.RENDER&&(t.msgQueue.push($.EXECUTE),t.isExecuted=!0,t.isExecuting=!0);var c=Y(o),i=document.querySelector("#".concat(c));if(!c||!i){p("Widget ".concat(o," to reset was not found."),3330);return}if(t.params.appearance===q.INTERACTION_ONLY&&Ct(i),t.params.sitekey===null){p("Unexpected Error: Sitekey is null",3347);return}var a;i.src=$e(o,t.params.sitekey,t.params,(a=t.rcV)!==null&&a!==void 0?a:D,Re,"b",Xe(t)),Ke(c),t.retryTimeout&&window.clearTimeout(t.retryTimeout)}else{p("Widget ".concat(o," to reset was not found."),3331);return}}function S(l){var o,t=v(l);if(!t||!x.widgetMap.has(t)){h("Nothing to remove found for the provided container");return}var c=Y(t),i=["iframe#".concat(c),"input#".concat(c,"_response"),"input#".concat(c,"_legacy_response"),"input#".concat(c,"_g_response")];document.querySelectorAll(i.join(", ")).forEach(function(g){return g.remove()});var a=(o=x.widgetMap.get(t))===null||o===void 0?void 0:o.retryTimeout;a&&window.clearTimeout(a),x.widgetMap.delete(t),Rt(x.widgetMap)}function w(l,o){var t;if(typeof l=="string")try{var c=document.querySelector(l);if(!c){p('Unable to find a container for "'.concat(l,'"'),3585);return}t=c}catch(Kt){p('Invalid type for "container", expected "selector" or an implementation of "HTMLElement", got "'.concat(l,'"'),3586);return}else if(C(l,HTMLElement))t=l;else{p('Invalid type for parameter "container", expected "string" or an implementation of "HTMLElement"',3587);return}var i=Qt(t);if(i){var a=Object.assign(i,o),g=a.action,b=a.cData,A=a.chlPageData,E=a.sitekey,T;a.theme=(T=a.theme)!==null&&T!==void 0?T:xe.AUTO;var M;a.retry=(M=a.retry)!==null&&M!==void 0?M:ce.AUTO;var N;a.execution=(N=a.execution)!==null&&N!==void 0?N:te.RENDER;var F;a.appearance=(F=a.appearance)!==null&&F!==void 0?F:q.ALWAYS;var I;a["retry-interval"]=+((I=a["retry-interval"])!==null&&I!==void 0?I:ht);var X;a["expiry-interval"]=+((X=a["expiry-interval"])!==null&&X!==void 0?X:(ft-dt)*1e3);var J;a.size=(J=a.size)!==null&&J!==void 0?J:B.NORMAL;var ae=a.callback,ie=a["expired-callback"],le=a["timeout-callback"],Oe=a["after-interactive-callback"],se=a["before-interactive-callback"],fe=a["error-callback"],de=a["unsupported-callback"];if(typeof E!="string"){p('Invalid or missing type for parameter "sitekey", expected "string", got "'.concat(typeof E=="undefined"?"undefined":L(E),'"'),3588);return}if(!st(E)){p('Invalid input for parameter "sitekey", got "'.concat(E,'"'),3589);return}if(!qe(a.size)){p('Invalid type for parameter "size", expected normal|compact, got "'.concat(a.size,'" ').concat(L(a.size)),3590);return}if(!Ue(a.theme)){p('Invalid type for parameter "theme", expected dark|light|auto, got "'.concat(a.theme,'" ').concat(L(a.theme)),3591);return}if(!We(a.retry)){p('Invalid type for parameter "retry", expected never|auto, got "'.concat(a.retry,'" ').concat(L(a.retry)),3592);return}if(a.language||(a.language="auto"),!He(a.language)){p('Invalid language value: "'.concat(a.language,", expected either: auto, or an ISO 639-1 two-letter language code (e.g. en) or language and country code (e.g. en-US)"),3593);return}if(!Ge(a.appearance)){p('Unknown appearance value: "'.concat(a.appearance,", expected either: 'always', 'execute', or 'interaction-only'."),3600);return}if(!Ye(a.execution)){p('Unknown execution value: "'.concat(a.execution,", expected either: 'render' or 'execute'."),3601);return}if(!Fe(a["retry-interval"])){p('Invalid retry-interval value: "'.concat(a["retry-interval"],', expected an integer value > 0 and < 900000"'),3602);return}if(!ze(a["expiry-interval"])){p('Invalid expiry-interval value: "'.concat(a["expiry-interval"],', expected an integer value > 0 and < 360000"'),3602);return}var Z,Q=(Z=a["refresh-expired"])!==null&&Z!==void 0?Z:H.AUTO;if(je(Q))a["refresh-expired"]=Q;else{p('Invalid type for parameter "refresh-expired", expected never|manual|auto, got "'.concat(Q,'" ').concat(typeof Q=="undefined"?"undefined":L(Q)),3603);return}var ee=t.getElementsByTagName("iframe")[0];ee!=null&&ee.id.startsWith(re)&&S(t);var R=document.createElement("iframe");if(!Ve(g)){p('Invalid input for optional parameter "action", got "'.concat(g,'"'),3604);return}if(!Be(b)){p('Invalid input for optional parameter "cData", got "'.concat(b,'"'),3605);return}var z=y(),j=Y(z);if(!(!z||!j)){var oe=[],Ce=a.execution===te.RENDER;Ce&&oe.push($.EXECUTE),x.lastWidgetIdx++;var Mt=+new Date,Pt={};x.widgetMap.set(z,Me({idx:x.lastWidgetIdx,action:g,cData:b,chlPageData:A,cbSuccess:ae,cbError:fe,cbExpired:ie,cbTimeout:le,cbUnsupported:de,cbAfterInteractive:Oe,cbBeforeInteractive:se,params:a,isStale:!1,isExpired:!1,isExecuting:Ce,isResetting:!1,isExecuted:Ce,isInitialized:!1,msgQueue:oe,rcV:D,widgetStartTime:Mt,watchcat:{seq:0,lastAckedSeq:0,missingWidgetWarning:!1}},Pt)),It(x.widgetMap,f,Re);var rt=x.widgetMap.get(z);if(!rt){p("Turnstile Initialization Error ",3606);return}R.style.display="none",R.style.border="none",R.style.overflow="hidden",R.setAttribute("src",$e(z,E,a,D,Re,"b",Xe(rt))),R.setAttribute("allow","cross-origin-isolated; fullscreen"),R.setAttribute("sandbox","allow-same-origin allow-scripts allow-popups"),R.id=j;var ke;R.tabIndex=(ke=a.tabindex)!==null&&ke!==void 0?ke:0,R.title="Widget containing a Cloudflare security challenge",t.appendChild(R);var Ne,Dt=(Ne=a["response-field"])!==null&&Ne!==void 0?Ne:!0;if(Dt){var pe=document.createElement("input");pe.type="hidden";var Le;if(pe.name=(Le=a["response-field-name"])!==null&&Le!==void 0?Le:_t,pe.id="".concat(j,"_response"),t.appendChild(pe),typeof a["response-field-name"]!="string"&&Xt(E)){var ve=document.createElement("input");ve.type="hidden",ve.name=yt,ve.id="".concat(j,"_legacy_response"),t.appendChild(ve)}}if(x.isRecaptchaCompatibilityMode){var me=document.createElement("input");me.type="hidden",me.name=gt,me.id="".concat(j,"_g_response"),t.appendChild(me)}return j}}}function O(){var l,o=-1,t=!0,c=!1,i=void 0;try{for(var a=x.widgetMap[Symbol.iterator](),g;!(t=(g=a.next()).done);t=!0){var b=_e(g.value,2),A=b[0],E=b[1];o 0 and < 900000"'))}var w=e.getAttribute("data-expiry-interval");if(w){var O=parseInt(w,10);ze(O)?r["expiry-interval"]=O:h('Invalid data-expiry-interval value: "'.concat(O,', expected an integer value > 0 and < 360000"'))}var l=e.getAttribute("data-refresh-expired");l&&(je(l)?r["refresh-expired"]=l:h('Unknown data-refresh-expired value: "'.concat(l,", expected either: 'never', 'auto' or 'manual'.")));var o=e.getAttribute("data-language");o&&(He(o)?r.language=o:h('Invalid data-language value: "'.concat(o,", expected either: auto, or an ISO 639-1 two-letter language code (e.g. en) or language and country code (e.g. en-US)")));function t(E){var T=e.getAttribute(E);return T&&window[T]?window[T]:void 0}var c=["error-callback","unsupported-callback","callback","expired-callback","timeout-callback","after-interactive-callback","before-interactive-callback"];c.forEach(function(E){r[E]=t("data-".concat(E))});var i,a=(i=e.getAttribute("data-response-field"))!==null&&i!==void 0?i:"true";r["response-field"]=a==="true";var g=e.getAttribute("data-response-field-name");g&&(r["response-field-name"]=g);var b=e.getAttribute("data-execution");b&&(Ye(b)?r.execution=b:h('Unknown data-execution value: "'.concat(b,", expected either: 'render' or 'execute'.")));var A=e.getAttribute("data-appearance");return A&&(Ge(A)?r.appearance=A:h('Unknown data-appearance value: "'.concat(A,", expected either: 'always', 'execute', or 'interaction-only'."))),r}var k=At(),Ze;x.scriptWasLoadedAsync=(Ze=k==null?void 0:k.loadedAsync)!==null&&Ze!==void 0?Ze:!1;k!=null&&k.params&&(ne=k.params.get("compat"),(ne==null?void 0:ne.toLowerCase())==="recaptcha"?window.grecaptcha?h("grecaptcha is already defined. The compatibility layer will not be enabled"):(h("Compatibility layer enabled"),x.isRecaptchaCompatibilityMode=!0,window.grecaptcha=tt):ne!==null&&h('Unknown value for api.js?compat: "'.concat(ne,'", ignoring')),k.params.forEach(function(e,n){V(["onload","compat","render"],n)||h('Unknown parameter passed to api.js: "?'.concat(n,'=...", ignoring'))}),W=k.params.get("onload"),W&&setTimeout(function(){typeof window[W]=="function"?window[W]():(h("Unable to find onload callback '".concat(W,"' immediately after loading, expected 'function', got '").concat(L(window[W]),"'")),setTimeout(function(){typeof window[W]=="function"?window[W]():h("Unable to find onload callback '".concat(W,"' after 1 second, expected 'function', got '").concat(L(window[W]),"'"))},1e3))},0));var ne,W,$t="turnstile"in window;$t?h("Turnstile already has been loaded. Is Turnstile imported multiple times?"):(window.turnstile=tt,(k==null||(Ie=k.params)===null||Ie===void 0?void 0:Ie.get("render"))!=="explicit"&&et.push(Nt),document.readyState==="complete"||document.readyState==="interactive"?setTimeout(Ot,0):window.addEventListener("DOMContentLoaded",Ot));var Ie;})();