PageSourceSearch

https://ticketsdata.com/_next/static/chunks/5358-877624b8391ff898.js

js ticketsdata.com collected 2026-10-06 17:02:32 UTC 24,567 bytes, 4 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5358],{47120:function(e,t,r){"use strict";r.d(t,{ZP:function(){return A}});var n=r(67294);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,u=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&u(e,r,t[r]);if(o)for(var r of o(t))l.call(t,r)&&u(e,r,t[r]);return e},d=(e,t)=>s(e,a(t)),p=(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},f=(e,t,r)=>(u(e,"symbol"!=typeof t?t+"":t,r),r),m=(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())}),y="hCaptchaOnLoad",g="script-error",v="@hCaptcha/loader";function b(e){let t=e&&e.ownerDocument||document,r=t.defaultView||t.parentWindow||window;return{document:t,window:r}}function x(e){return e||document.head}var w=class e{constructor(e){f(this,"_parent"),f(this,"breadcrumbs",[]),f(this,"context",{}),f(this,"extra",{}),f(this,"tags",{}),f(this,"request"),f(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=h(h({},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=h(h({},e.extra),t.extra),e.contexts=h(h({},e.contexts),t.context),e.tags=h(h({},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}},E=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,R="An unknown error occurred";function O(e){return(e+256).toString(16).substring(1)}var _,C=[[/^\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"]],k=(_=class{constructor(e){var t,r,n,i,s;f(this,"apiURL"),f(this,"dsn"),f(this,"environment"),f(this,"release"),f(this,"sampleRate"),f(this,"debug"),f(this,"_scope"),f(this,"shouldBuffer",!1),f(this,"bufferlimit",20),f(this,"buffer",[]),this.environment=e.environment,this.release=e.release,this.sampleRate=null!=(t=e.sampleRate)?t:1,this.debug=null!=(r=e.debug)&&r,this._scope=null!=(n=e.scope)?n:new w,this.apiURL=function(e){let t=E.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);
1if("object"==typeof e&&null!==e&&!Array.isArray(e)){let{message:t}=e,r=p(e,["message"]);return Object.assign(Error("string"==typeof t?t:R),r)}return Object.assign(Error(R),{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){this.log("Dropped event due to sample rate");return}if(this.shouldBuffer){if(this.buffer.length>=this.bufferlimit)return;this.buffer.push(e)}else this.sendEvent(e)}sendEvent(e,t=5e3){return m(this,null,function*(){try{this.log("Sending sentry event",e);let r=function(e,t,r){var n,i,s;let a;let o=h({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,O(a[0])+O(a[1])+O(a[2])+O(a[3])+"-"+O(a[4])+O(a[5])+"-"+O(a[6])+O(a[7])+"-"+O(a[8])+O(a[9])+"-"+O(a[10])+O(a[11])+O(a[12])+O(a[13])+O(a[14])+O(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 C)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),s=yield function(e,t,r){return m(this,null,function*(){var n,i;try{if("u">typeof fetch&&"u">typeof AbortSignal){let n;if(r){let e=new AbortController;n=e.signal,setTimeout(()=>e.abort(),r)}let i=yield fetch(e,d(h({},t),{signal:n})),s=yield i.text();return{status:i.status,body:s}}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",s.status),200!==s.status&&(console.log(s.body),console.error("Failed to send event to Sentry",s))}catch(e){console.error("Failed to send event",e)}})}flush(e=5e3){return m(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}},f(_,"_instance"),_);function S(e=null){return{addBreadcrumb:t=>{e&&e.addBreadcrumb(t)},captureRequest:t=>
4{e&&e.setRequest(t)},captureException:t=>{e&&k.captureException(t,e)}}}var I=[];function j(e){let t=e&&e.ownerDocument||document,r=t.defaultView||t.parentWindow||window;return{document:t,window:r}}function T(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(T(this.props.scriptLocation));if(this._hcaptcha=e.window.hcaptcha||void 0,void 0!==this._hcaptcha){this.setState({isApiReady:!0},()=>{this.renderCaptcha()});return}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:s,reCaptchaCompat:a,reportapi:o,sentry:c,custom:l,loadAsync:u,scriptLocation:p,scriptSource:f,secureApi:w,cleanup:E=!0,userJourneys:R}=this.props;(function(){return m(this,arguments,function*(e={}){let t=function(e=!0){var t,r,n,i,s,a,o;let c,l,u,p,f;if(!e)return S();k.init({dsn:"https://[email protected]/6",release:"2.3.0",environment:"production"});let m=k.scope;return m.setTag("source",v),m.setTag("url",document.URL),m.setContext("os",{UA:navigator.userAgent}),m.setContext("browser",h({},(-1!==(c=navigator.userAgent).indexOf("Firefox")?(l="Firefox",u=null==(r=c.match(/Firefox\/([\d.]+)/))?void 0:r[1]):-1!==c.indexOf("Edg")?(l="Microsoft Edge",u=null==(n=c.match(/Edg\/([\d.]+)/))?void 0:n[1]):-1!==c.indexOf("Chrome")&&-1!==c.indexOf("Safari")?(l="Chrome",u=null==(i=c.match(/Chrome\/([\d.]+)/))?void 0:i[1]):-1!==c.indexOf("Safari")&&-1===c.indexOf("Chrome")?(l="Safari",u=null==(s=c.match(/Version\/([\d.]+)/))?void 0:s[1]):-1!==c.indexOf("Opera")||-1!==c.indexOf("OPR")?(l="Opera",u=null==(a=c.match(/(Opera|OPR)\/([\d.]+)/))?void 0:a[2]):-1!==c.indexOf("MSIE")||-1!==c.indexOf("Trident")?(l="Internet Explorer",u=null==(o=c.match(/(MSIE |rv:)([\d.]+)/))?void 0:o[2]):(l="Unknown",u="Unknown"),{name:l,version:u}))),m.setContext("device",d(h({},{model:f=-1!==(p=navigator.userAgent).indexOf("Win")?"Windows":-1!==p.indexOf("Mac")?"Mac":-1!==p.indexOf("Linux")?"Linux":-1!==p.indexOf("Android")?"Android":-1!==p.indexOf("like Mac")||-1!==p.indexOf("iPhone")||-1!==p.indexOf("iPad")?"iOS":"Unknown",family:f,device:/Mobile|iPhone|iPod|Android/i.test(p)?"Mobile":/Tablet|iPad/i.test(p)?"Tablet":"Desktop"}),{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})),S(m)}(e.sentry);return yield function e(t,r,n=0){return m(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:v,message:"hCaptcha loader params",data:e});let r=x(e.scriptLocation),n=b(r),i=I.find(({scope:e})=>e===n.window);if(i)return t.addBreadcrumb({category:v,message:"hCaptcha already loaded"}),i.promise;let s=new Promise((r,s)=>m(this,null,function*(){try{var a;n.window[y]=()=>{t.addBreadcrumb({category:v,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=x(e),u=b(l);return new Promise((e,h)=>{let d=u.document.createElement("script");d.id="hCaptcha-script",o?d.src=`${o}?onload=${y}`:a?d.src=`${i}/1/secure-api.js?onload=${y}`:d.src=`${i}/1/api.js?onload=${y}`,d.crossOrigin=n,d.async=r;let p=(e,t)=>{try{!a&&s&&l.removeChild(d),t(e)}catch(e){h(e)}};d.onload=t=>p(t,e),d.onerror=e=>{c&&c(d.src),p(e,h)},d.src+=""!==t?`&${t}`:"",l.appendChild(d)})}(h({query:s},e),e=>{t.captureRequest({url:e,method:"GET"})}),t.addBreadcrumb({category:v,message:"hCaptcha loaded",data:i})}catch(r){t.addBreadcrumb({category:v,message:"hCaptcha failed to load"});let e=I.findIndex(e=>e.scope===n.window);-1!==e&&I.splice(e,1),s(Error(g))}}));return I.push({promise:s,scope:n.window}),s}catch(e){return t.captureException(e),Promise.reject(Error(g))}}(t,r)}catch(i){return r.addBreadcrumb({category:v,message:c}),n>=a?(r.captureException(i),Promise.reject(i)):(r.addBreadcrumb({category:v,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:s,host:n,imghost:i,recaptchacompat:!1===a?"off":null,reportapi:o,sentry:c,custom:l,loadAsync:u,scriptLocation:p,scriptSource:f,secureApi:w,cleanup:E,uj:void 0!==R&&R}).then(this.handleOnLoad,this.handleError).catch(this.handleError),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(T(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},9008:function(e,t,r){e.exports=r(23867)},62212:function(e,t,r){"use strict";r.d(t,{Nc:function(){return m}});var n,i=r(67294),s=r(85893),a=(0,i.forwardRef)(({as:e="div",...t},r)=>(0,s.jsx)(e,{...t,ref:r})),o="cf-turnstile-script",c="onloadTurnstileCallback",l=e=>!!document.getElementById(e),u=({render:e="explicit",onLoadCallbackName:t=c,scriptOptions:{nonce:r="",defer:n=!0,async:i=!0,id:s="",appendTo:a,onError:u,crossOrigin:h=""}={}})=>{let d=s||o;if(l(d))return;let p=document.createElement("script");p.id=d,p.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${t}&render=${e}`,document.querySelector(`script[src="${p.src}"]`)||(p.defer=!!n,p.async=!!i,r&&(p.nonce=r),h&&(p.crossOrigin=h),u&&(p.onerror=u,delete window[t]),("body"===a?document.body:document.getElementsByTagName("head")[0]).appendChild(p))},h={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}},d="unloaded",p=new Promise((e,t)=>
4{n={resolve:e,reject:t},"ready"===d&&e(void 0)}),f=(e=c)=>("unloaded"===d&&(d="loading",window[e]=()=>{n.resolve(),d="ready",delete window[e]}),p),m=(0,i.forwardRef)((e,t)=>{let{scriptOptions:r,options:n={},siteKey:p,onWidgetLoad:m,onSuccess:y,onExpire:g,onError:v,onBeforeInteractive:b,onAfterInteractive:x,onUnsupported:w,onTimeout:E,onLoadScript:R,id:O,style:_,as:C="div",injectScript:k=!0,rerenderOnCallbackChange:S=!1,...I}=e,j=n.size,T=(0,i.useCallback)(()=>typeof j>"u"?{}:"execute"===n.execution?h.invisible:"interaction-only"===n.appearance?h.interactionOnly:h[j],[n.execution,j,n.appearance]),[P,A]=(0,i.useState)(T()),L=(0,i.useRef)(null),[U,q]=(0,i.useState)(!1),B=(0,i.useRef)(void 0),M=(0,i.useRef)(!1),N=O||"cf-turnstile",$=(0,i.useRef)({onSuccess:y,onError:v,onExpire:g,onBeforeInteractive:b,onAfterInteractive:x,onUnsupported:w,onTimeout:E});(0,i.useEffect)(()=>{S||($.current={onSuccess:y,onError:v,onExpire:g,onBeforeInteractive:b,onAfterInteractive:x,onUnsupported:w,onTimeout:E})});let D=r?.id||o,F=function(e=o){let[t,r]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let t=()=>{l(e)&&r(!0)},n=new MutationObserver(t);return n.observe(document,{childList:!0,subtree:!0}),t(),()=>{n.disconnect()}},[e]),t}(D),W=r?.onLoadCallbackName||c,z=n.appearance||"always",H=(0,i.useMemo)(()=>({sitekey:p,action:n.action,cData:n.cData,theme:n.theme||"auto",language:n.language||"auto",tabindex:n.tabIndex,"response-field":n.responseField,"response-field-name":n.responseFieldName,size:function(e){if("invisible"!==e&&"interactionOnly"!==e)return e}(j),retry:n.retry||"auto","retry-interval":n.retryInterval||8e3,"refresh-expired":n.refreshExpired||"auto","refresh-timeout":n.refreshTimeout||"auto",execution:n.execution||"render",appearance:n.appearance||"always","feedback-enabled":n.feedbackEnabled??!0,callback:e=>{M.current=!0,S?y?.(e):$.current.onSuccess?.(e)},"error-callback":S?v:(...e)=>$.current.onError?.(...e),"expired-callback":S?g:(...e)=>$.current.onExpire?.(...e),"before-interactive-callback":S?b:(...e)=>$.current.onBeforeInteractive?.(...e),"after-interactive-callback":S?x:(...e)=>$.current.onAfterInteractive?.(...e),"unsupported-callback":S?w:(...e)=>$.current.onUnsupported?.(...e),"timeout-callback":S?E:(...e)=>$.current.onTimeout?.(...e)}),[n.action,n.appearance,n.cData,n.execution,n.language,n.refreshExpired,n.responseField,n.responseFieldName,n.retry,n.retryInterval,n.tabIndex,n.theme,n.feedbackEnabled,n.refreshTimeout,p,j,S,S?y:null,S?v:null,S?g:null,S?b:null,S?x:null,S?w:null,S?E:null]),J=(0,i.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]);return(0,i.useEffect)(function(){k&&!U&&(f(W),u({onLoadCallbackName:W,scriptOptions:{...r,id:D}}))},[k,U,r,D,W]),(0,i.useEffect)(function(){"ready"!==d&&f(W).then(()=>q(!0)).catch(console.error)},[W]),(0,i.useEffect)(function(){if(!L.current||!U)return;let e=!1;return(async()=>{if(e||!L.current)return;let t=window.turnstile.render(L.current,H);B.current=t,B.current&&m?.(B.current)})(),()=>{e=!0,B.current&&(window.turnstile.remove(B.current),M.current=!1)}},[N,U,H]),(0,i.useImperativeHandle)(t,()=>{let{turnstile:e}=window;return{getResponse(){if(!e?.getResponse||!B.current||!J()){console.warn("Turnstile has not been loaded");return}return e.getResponse(B.current)},getResponsePromise:async(e=3e4,t=100)=>new Promise((r,n)=>{let i,s=async()=>{if(M.current&&window.turnstile&&B.current)try{let e=window.turnstile.getResponse(B.current);return i&&clearTimeout(i),e?r(e):n(Error("No response received"))}catch(e){return i&&clearTimeout(i),console.warn("Failed to get response",e),n(Error("Failed to get response"))}i||(i=setTimeout(()=>{i&&clearTimeout(i),n(Error("Timeout"))},e)),await new Promise(e=>setTimeout(e,t)),await s()};s()}),reset(){if(!e?.reset||!B.current||!J()){console.warn("Turnstile has not been loaded");return}"execute"===n.execution&&A(h.invisible);try{M.current=!1,e.reset(B.current)}catch(e){console.warn(`Failed to reset Turnstile widget ${B}`,e)}},remove(){if(!e?.remove||!B.current||!J()){console.warn("Turnstile has not been loaded");return}A(h.invisible),M.current=!1,e.remove(B.current),B.current=null}
4,render(){if(!e?.render||!L.current||!J()||B.current){console.warn("Turnstile has not been loaded or container not found");return}let t=e.render(L.current,H);return B.current=t,B.current&&m?.(B.current),"execute"!==n.execution&&A(j?h[j]:{}),t},execute(){if("execute"!==n.execution){console.warn('Execution mode is not set to "execute"');return}if(!e?.execute||!L.current||!B.current||!J()){console.warn("Turnstile has not been loaded or container not found");return}e.execute(L.current,H),A(j?h[j]:{})},isExpired:()=>e?.isExpired&&B.current&&J()?e.isExpired(B.current):(console.warn("Turnstile has not been loaded"),!1)}},[B,n.execution,j,H,L,J,U,m]),(0,i.useEffect)(()=>{if(U||!F)return;if(window.turnstile){q(!0);return}let e=setInterval(()=>{window.turnstile&&(q(!0),clearInterval(e))},50);return()=>{clearInterval(e)}},[U,F]),(0,i.useEffect)(()=>{A(T())},[n.execution,j,z]),(0,i.useEffect)(()=>{F&&"function"==typeof R&&R()},[F]),(0,s.jsx)(a,{ref:L,as:C,id:N,style:{...P,..._},...I})});m.displayName="Turnstile"}}]);

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.