(()=>{var Tn=Object.defineProperty;var x=(n,e)=>()=>(n&&(e=n(n=0)),e);var On=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),gt=(n,e)=>{for(var t in e)Tn(n,t,{get:e[t],enumerable:!0})};var Fe,w,me=x(()=>{Fe=class{constructor(e=!1){this.debugMode=e}setDebugMode(e){this.debugMode=e}log(e,...t){this.debugMode&&console.log(`[LOG] ${e}`,...t)}debug(e,...t){this.debugMode&&console.log(`[DEBUG] ${e}`,...t)}info(e,...t){this.debugMode&&console.info(`[INFO] ${e}`,...t)}warn(e,...t){this.debugMode&&console.warn(`[WARN] ${e}`,...t)}error(e,...t){this.debugMode&&console.error(`[ERROR] ${e}`,...t)}},w=new Fe(!1)});function bt(n){_e={..._e,...n},w.setDebugMode(_e?.debug===!0)}function A(){return _e}var _e,ie=x(()=>{me();_e={api:{},collector:{},dataCapture:{autoCapture:!1,consoleListener:!0,sessionReplay:{enabled:!1}},debug:!1}});var q,P,H=x(()=>{q=class{constructor(){this.errors=[]}static getInstance(){return q.instance||(q.instance=new q),q.instance}addError(e,t){this.errors.push({message:e,error:t})}getErrors(){return this.errors}},P=q.getInstance()});function Ne(){if(!Ce&&(Ce=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ce))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ce(Dn)}var Ce,Dn,yt=x(()=>{Dn=new Uint8Array(16)});function wt(n,e=0){return(I[n[e+0]]+I[n[e+1]]+I[n[e+2]]+I[n[e+3]]+"-"+I[n[e+4]]+I[n[e+5]]+"-"+I[n[e+6]]+I[n[e+7]]+"-"+I[n[e+8]]+I[n[e+9]]+"-"+I[n[e+10]]+I[n[e+11]]+I[n[e+12]]+I[n[e+13]]+I[n[e+14]]+I[n[e+15]]).toLowerCase()}var I,vt=x(()=>{I=[];for(let n=0;n<256;++n)I.push((n+256).toString(16).slice(1))});var An,Me,xt=x(()=>{An=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Me={randomUUID:An}});function Fn(n,e,t){if(Me.randomUUID&&!e&&!n)return Me.randomUUID();n=n||{};let r=n.random||(n.rng||Ne)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=r[i];return e}return wt(r)}var oe,kt=x(()=>{xt();yt();vt();oe=Fn});var Rt=x(()=>{kt()});var Ve,Nn,fe,We=x(()=>{Rt();H();Ve=class{constructor(e=30){this.requestId=oe();this.ttlInMinutes=e}clearSession(){localStorage.removeItem("session")}initializeSession(){try{let e=localStorage.getItem("session");if(e){let{sessionId:i,requestId:o,timestamp:s,identity:c}=JSON.parse(e),a=new Date().getTime();if(a-ss.id!==e),this.identities.push(i);let o=this.getSession();o.identity=this.identity,o.identities=this.identities,localStorage.setItem("session",JSON.stringify(o))}getIdentity(){return this.identity?this.identity:null}getIdentities(){return this.identities?this.identities:null}},Nn=new Ve,fe=Nn});function St(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");je(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function Et(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i0&&o[o.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]{je=function(n,e){return je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])},je(n,e)};pe=function(){return pe=Object.assign||function(e){for(var t,r=1,i=arguments.length;r0){var r=n[t].toLowerCase();r!==n[t]?e+=" ".concat(r):e+=n[t]}else e+=n[t].toUpperCase();return e}function Mn(n,e){return function(t,r){return Object.prototype.hasOwnProperty.call(t,r)}(n,e)?n[e]:void 0}function sr(n,e){var t=[];return function(r,i){var o=5,s=(m=r,f=be([],m,!0),{current:function(){return f[0]},postpone:function(){var g=f.shift();g!==void 0&&f.push(g)},exclude:function(){f.shift()}}),c=(u=100,l=3e3,d=0,function(){return Math.random()*Math.min(l,u*Math.pow(2,d++))}),a=s.current(),u,l,d,m,f;if(a===void 0)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var p=function(g,h){return i(g).catch(function(b){if(h+1>=o)throw b;(function(D){if(!(D instanceof Error))return!1;var W=D.message;return W===Ze||W===He})(b)?s.exclude():s.postpone();var R,_=s.current();if(_===void 0)throw b;return(R=c(),new Promise(function(D){return setTimeout(D,R)})).then(function(){return p(_,h+1)})})};return p(a,0)}(n,function(r){var i=new Date,o=function(c){return t.push({url:r,startedAt:i,finishedAt:new Date,error:c})},s=e(r);return s.then(function(){return o()},o),s}).then(function(r){return[r,t]})}function lr(n){var e;n.scriptUrlPattern;var t=n.token,r=n.apiKey,i=r===void 0?t:r,o=Et(n,["scriptUrlPattern","token","apiKey"]),s=(e=Mn(n,"scriptUrlPattern"))!==null&&e!==void 0?e:Pt,c=function(){var l=[],d=function(){l.push({time:new Date,state:document.visibilityState})},m=function(f,p,g,h){return f.addEventListener(p,g,h),function(){return f.removeEventListener(p,g,h)}}(document,"visibilitychange",d);return d(),[l,m]}(),a=c[0],u=c[1];return Promise.resolve().then(function(){if(!i||typeof i!="string")throw new Error(Ue);var l=function(d,m){return(Array.isArray(d)?d:[d]).map(function(f){return function(p,g){var h=encodeURIComponent;return p.replace(/<[^<>]+>/g,function(b){return b===""?"3":b===""?h(g):b===""?h(ar):b})}(String(f),m)})}(s,i);return sr(l,ur)}).catch(function(l){throw u(),function(d){return d instanceof Error&&d.message===He?new Error(Be):d}(l)}).then(function(l){var d=l[0],m=l[1];return u(),d.load(pe(pe({},o),{ldi:{attempts:m,visibilityStates:a}}))})}function ur(n){return function(e,t,r,i){var o,s=document,c="securitypolicyviolation",a=function(l){var d=new URL(e,location.href),m=l.blockedURI;m!==d.href&&m!==d.protocol.slice(0,-1)&&m!==d.origin||(o=l,u())};s.addEventListener(c,a);var u=function(){return s.removeEventListener(c,a)};return i?.then(u,u),Promise.resolve().then(t).then(function(l){return u(),l},function(l){return new Promise(function(d){return setTimeout(d)}).then(function(){if(u(),o)return r(o);throw l})})}(n,function(){return function(e){return new Promise(function(t,r){var i=document.createElement("script"),o=function(){var c;return(c=i.parentNode)===null||c===void 0?void 0:c.removeChild(i)},s=document.head||document.getElementsByTagName("head")[0];i.onload=function(){o(),t()},i.onerror=function(){o(),r(new Error(Be))},i.async=!0,i.src=e,s.appendChild(i)})}(n)},function(){throw new Error(Ze)}).then(dr)}function dr(){var n=window,e="__fpjs_p_l_b",t=n[e];if(function(r,i){var o,s=(o=Object.getOwnPropertyDescriptor)===null||o===void 0?void 0:o.call(Object,r,i);s?.configurable?delete r[i]:s&&!s.writable||(r[i]=void 0)}(n,e),typeof t?.load!="function")throw new Error(He);return t}var Vn,Wn,jn,Gn,Zn,Un,Ze,Hn,Bn,Xn,Yn,Jn,zn,qn,Ue,_t,Ct,Kn,$n,Qn,er,tr,nr,rr,ir,or,ar,He,Pt,cr,Be,It,Lt=x(()=>{Ge();Vn={default:"endpoint"},Wn={default:"tlsEndpoint"},jn="Client timeout",Gn="Network connection error",Zn="Network request aborted",Un="Response cannot be parsed",Ze="Blocked by CSP",Hn="The endpoint parameter is not a valid URL",Bn=ae("WrongRegion"),Xn=ae("SubscriptionNotActive"),Yn=ae("UnsupportedVersion"),Jn=ae("InstallationMethodRestricted"),zn=ae("HostnameRestricted"),qn=ae("IntegrationFailed"),Ue="API key required",_t="API key not found",Ct="API key expired",Kn="Request cannot be parsed",$n="Request failed",Qn="Request failed to process",er="Too many requests, rate limit exceeded",tr="Not available for this origin",nr="Not available with restricted header",rr=Ue,ir=_t,or=Ct,ar="3.8.6",He="9319";Pt="https://fpnpmcdn.net/v//loader_v.js",cr=Pt,Be="Failed to load the JS script of the agent";It={load:lr,defaultScriptUrlPattern:cr,ERROR_SCRIPT_LOAD_FAIL:Be,ERROR_API_KEY_EXPIRED:Ct,ERROR_API_KEY_INVALID:_t,ERROR_API_KEY_MISSING:Ue,ERROR_BAD_REQUEST_FORMAT:Kn,ERROR_BAD_RESPONSE_FORMAT:Un,ERROR_CLIENT_TIMEOUT:jn,ERROR_CSP_BLOCK:Ze,ERROR_FORBIDDEN_ENDPOINT:zn,ERROR_FORBIDDEN_HEADER:nr,ERROR_FORBIDDEN_ORIGIN:tr,ERROR_GENERAL_SERVER_FAILURE:$n,ERROR_INSTALLATION_METHOD_RESTRICTED:Jn,ERROR_INTEGRATION_FAILURE:qn,ERROR_INVALID_ENDPOINT:Hn,ERROR_NETWORK_ABORT:Zn,ERROR_NETWORK_CONNECTION:Gn,ERROR_RATE_LIMIT:er,ERROR_SERVER_TIMEOUT:Qn,ERROR_SUBSCRIPTION_NOT_ACTIVE:Xn,ERROR_TOKEN_EXPIRED:or,ERROR_TOKEN_INVALID:ir,ERROR_TOKEN_MISSING:rr,ERROR_UNSUPPORTED_VERSION:Yn,ERROR_WRONG_REGION:Bn,defaultEndpoint:Vn,defaultTlsEndpoint:Wn}});function X(n,e,t,r){return new(t||(t=Promise))(function(i,o){function s(u){try{a(r.next(u))}catch(l){o(l)}}function c(u){try{a(r.throw(u))}catch(l){o(l)}}function a(u){var l;u.done?i(u.value):(l=u.value,l instanceof t?l:new t(function(d){d(l)})).then(s,c)}a((r=r.apply(n,e||[])).next())})}function Y(n,e){var t,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(u){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(s=0)),s;)try{if(t=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,r=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||l[0]!==6&&l[0]!==2)){s=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]=i+t?(i=s,[4,ve(0)]):[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return++o,[3,1];case 4:return[2,r]}})})}function we(n){n.then(void 0,function(){})}function K(n,e){n=[n[0]>>>16,65535&n[0],n[1]>>>16,65535&n[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var t=[0,0,0,0];return t[3]+=n[3]+e[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=n[2]+e[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=n[1]+e[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=n[0]+e[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]}function M(n,e){n=[n[0]>>>16,65535&n[0],n[1]>>>16,65535&n[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var t=[0,0,0,0];return t[3]+=n[3]*e[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=n[2]*e[3],t[1]+=t[2]>>>16,t[2]&=65535,t[2]+=n[3]*e[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=n[1]*e[3],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=n[2]*e[2],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=n[3]*e[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=n[0]*e[3]+n[1]*e[2]+n[2]*e[1]+n[3]*e[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]}function se(n,e){return(e%=64)===32?[n[1],n[0]]:e<32?[n[0]<>>32-e,n[1]<>>32-e]:(e-=32,[n[1]<>>32-e,n[0]<>>32-e])}function N(n,e){return(e%=64)===0?n:e<32?[n[0]<>>32-e,n[1]<>>1]),n=E(n=M(n,[4283543511,3981806797]),[0,n[0]>>>1]),n=E(n=M(n,[3301882366,444984403]),[0,n[0]>>>1])}function mr(n,e){e=e||0;var t,r=(n=n||"").length%16,i=n.length-r,o=[0,e],s=[0,e],c=[0,0],a=[0,0],u=[2277735313,289559509],l=[1291169091,658871167];for(t=0;t>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)}function Xe(n){return parseInt(n)}function j(n){return parseFloat(n)}function B(n,e){return typeof n=="number"&&isNaN(n)?e:n}function G(n){return n.reduce(function(e,t){return e+(t?1:0)},0)}function Bt(n,e){if(e===void 0&&(e=1),Math.abs(e)>=1)return Math.round(n/e)*e;var t=1/e;return Math.round(n*t)/t}function At(n){return n&&typeof n=="object"&&"message"in n?n:{message:n}}function fr(n){return typeof n!="function"}function pr(n,e,t){var r=Object.keys(n).filter(function(o){return!function(s,c){for(var a=0,u=s.length;a=4}function hr(){var n=window,e=navigator;return G(["msWriteProfilerMark"in n,"MSStream"in n,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!Xt()}function Qe(){var n=window,e=navigator;return G(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,e.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in n,"BatteryManager"in n,"webkitMediaStream"in n,"webkitSpeechGrammar"in n])>=5}function ye(){var n=window,e=navigator;return G(["ApplePayError"in n,"CSSPrimitiveValue"in n,"Counter"in n,e.vendor.indexOf("Apple")===0,"getStorageUpdates"in e,"WebKitMediaKeys"in n])>=4}function et(){var n=window;return G(["safari"in n,!("DeviceMotionEvent"in n),!("ongestureend"in n),!("standalone"in navigator)])>=3}function gr(){var n,e,t=window;return G(["buildID"in navigator,"MozAppearance"in((e=(n=document.documentElement)===null||n===void 0?void 0:n.style)!==null&&e!==void 0?e:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4}function br(){var n=document;return n.fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement||null}function Yt(){var n=Qe(),e=gr();if(!n&&!e)return!1;var t=window;return G(["onorientationchange"in t,"orientation"in t,n&&!("SharedWorker"in t),e&&/android/i.test(navigator.appVersion)])>=2}function Ft(n){var e=new Error(n);return e.name=n,e}function Nt(n,e,t){var r,i,o;return t===void 0&&(t=50),X(this,void 0,void 0,function(){var s,c;return Y(this,function(a){switch(a.label){case 0:s=document,a.label=1;case 1:return s.body?[3,3]:[4,ve(t)];case 2:return a.sent(),[3,1];case 3:c=s.createElement("iframe"),a.label=4;case 4:return a.trys.push([4,,10,11]),[4,new Promise(function(u,l){var d=!1,m=function(){d=!0,u()};c.onload=m,c.onerror=function(g){d=!0,l(g)};var f=c.style;f.setProperty("display","block","important"),f.position="absolute",f.top="0",f.left="0",f.visibility="hidden",e&&"srcdoc"in c?c.srcdoc=e:c.src="about:blank",s.body.appendChild(c);var p=function(){var g,h;d||(((h=(g=c.contentWindow)===null||g===void 0?void 0:g.document)===null||h===void 0?void 0:h.readyState)==="complete"?m():setTimeout(p,10))};p()})];case 5:a.sent(),a.label=6;case 6:return!((i=(r=c.contentWindow)===null||r===void 0?void 0:r.document)===null||i===void 0)&&i.body?[3,8]:[4,ve(t)];case 7:return a.sent(),[3,6];case 8:return[4,n(c,c.contentWindow)];case 9:return[2,a.sent()];case 10:return(o=c.parentNode)===null||o===void 0||o.removeChild(c),[7];case 11:return[2]}})})}function yr(n){for(var e=function(u){for(var l,d,m="Unexpected syntax '".concat(u,"'"),f=/^\s*([a-z-]*)(.*)$/i.exec(u),p=f[1]||void 0,g={},h=/([.:#][\w-]+|\[.+?\])/gi,b=function(W,z){g[W]=g[W]||[],g[W].push(z)};;){var R=h.exec(f[2]);if(!R)break;var _=R[0];switch(_[0]){case".":b("class",_.slice(1));break;case"#":b("id",_.slice(1));break;case"[":var D=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(_);if(!D)throw new Error(m);b(D[1],(d=(l=D[4])!==null&&l!==void 0?l:D[5])!==null&&d!==void 0?d:"");break;default:throw new Error(m)}}return[p,g]}(n),t=e[0],r=e[1],i=document.createElement(t??"div"),o=0,s=Object.keys(r);o{$e=function(){return $e=Object.assign||function(n){for(var e,t=1,r=arguments.length;t.6*l.length})).sort(),[2,o]}var a})})},fontPreferences:function(){return function(n,e){return e===void 0&&(e=4e3),Nt(function(t,r){var i=r.document,o=i.body,s=o.style;s.width="".concat(e,"px"),s.webkitTextSizeAdjust=s.textSizeAdjust="none",Qe()?o.style.zoom="".concat(1/r.devicePixelRatio):ye()&&(o.style.zoom="reset");var c=i.createElement("div");return c.textContent=Ut([],Array(e/20<<0),!0).map(function(){return"word"}).join(" "),o.appendChild(c),n(i,o)},'')}(function(n,e){for(var t={},r={},i=0,o=Object.keys(Ke);i=3}())return-1;var t=new e(1,5e3,44100),r=t.createOscillator();r.type="triangle",r.frequency.value=1e4;var i=t.createDynamicsCompressor();i.threshold.value=-50,i.knee.value=40,i.ratio.value=12,i.attack.value=0,i.release.value=.25,r.connect(i),i.connect(t.destination),r.start(0);var o=function(u){var l=3,d=500,m=500,f=5e3,p=function(){};return[new Promise(function(g,h){var b=!1,R=0,_=0;u.oncomplete=function(z){return g(z.renderedBuffer)};var D=function(){setTimeout(function(){return h(Ft("timeout"))},Math.min(m,_+f-Date.now()))},W=function(){try{var z=u.startRendering();switch(Ht(z)&&we(z),u.state){case"running":_=Date.now(),b&&D();break;case"suspended":document.hidden||R++,b&&R>=l?h(Ft("suspended")):setTimeout(W,d)}}catch(Ae){h(Ae)}};W(),p=function(){b||(b=!0,_>0&&D())}}),p]}(t),s=o[0],c=o[1],a=s.then(function(u){return function(l){for(var d=0,m=0;m=3||t.push(e.languages);else if(typeof e.languages=="string"){var i=e.languages;i&&t.push(i.split(","))}return t},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return B(j(navigator.deviceMemory),void 0)},screenResolution:function(){var n=screen,e=function(r){return B(Xe(r),null)},t=[e(n.width),e(n.height)];return t.sort().reverse(),t},hardwareConcurrency:function(){return B(Xe(navigator.hardwareConcurrency),void 0)},timezone:function(){var n,e=(n=window.Intl)===null||n===void 0?void 0:n.DateTimeFormat;if(e){var t=new e().resolvedOptions().timeZone;if(t)return t}var r,i=(r=new Date().getFullYear(),-Math.max(j(new Date(r,0,1).getTimezoneOffset()),j(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(i>=0?"+":"").concat(Math.abs(i))},sessionStorage:function(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function(){try{return!!window.localStorage}catch{return!0}},indexedDB:function(){if(!Xt()&&!hr())try{return!!window.indexedDB}catch{return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var n=navigator.platform;return n==="MacIntel"&&ye()&&!et()?function(){if(navigator.platform==="iPad")return!0;var e=screen,t=e.width/e.height;return G(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":n},plugins:function(){var n=navigator.plugins;if(n){for(var e=[],t=0;t{ie();Lt();Kt();me();H();C=class{static async get(){if(C.cachedResult!==null)return w.info(`Fp: returning cached result - v3=${C.cachedResult.visitorIdV3}, pro=${C.cachedResult.visitorIdPro}`),C.cachedResult;if(C.ongoingOperation!==null){w.info("Fp: waiting for ongoing operation");try{return await C.ongoingOperation}catch{w.warn("Fp: ongoing operation failed, proceeding with new attempt"),C.ongoingOperation=null}}return C.ongoingOperation=C.performFingerprinting(),C.ongoingOperation}static async performFingerprinting(){try{let e=await C.getVisitorIdPro(),t=await C.getVisitorIdV3(),r=t?.visitorId||null,i=t?.components||void 0;return w.info(`Fp: v3=${r}, pro=${e}`),C.cachedResult={visitorIdPro:e,visitorIdV3:r,components:i},C.cachedResult}catch(e){w.error("Could not get fp",e);let t={visitorIdPro:null,visitorIdV3:null};return C.cachedResult=t,t}finally{C.ongoingOperation=null}}static clearCache(){C.cachedResult=null,C.ongoingOperation=null,w.info("Fp: cache cleared")}static async getVisitorIdPro(){try{let e=A().collector?.fingerprint?.fingerprintPro;if(e?.key&&e?.enabled)return(await(await It.load({apiKey:e?.key})).get()).visitorId||null}catch(e){P.addError("Could not get Fingerprint PRO ID",e)}return null}static async getVisitorIdV3(){try{return await(await qt.load()).get()}catch(e){P.addError("Could not get Fingerprint V3 ID",e)}return{visitorId:null,components:void 0}}},Q=C;Q.cachedResult=null,Q.ongoingOperation=null});var tt,Qt,en=x(()=>{H();tt=class{static async get(){try{let e=navigator?.languages||[],t=navigator?.language||e[0]||"";return e.length===0&&!t?(P.addError("No language information available",new Error("Browser language detection failed")),null):{supported:e,preferred:t}}catch(e){return P.addError("Language detection failed",e instanceof Error?e:new Error(String(e))),null}}},Qt=tt});var nt,tn,nn=x(()=>{H();nt=class{static async get(){try{let e=window.performance;if(!e)return null;let t=e.getEntriesByType("navigation")[0];return t?{pageLoad:t.loadEventEnd-t.startTime,domReady:t.domContentLoadedEventEnd-t.startTime,dns:t.domainLookupEnd-t.domainLookupStart,tcp:t.connectEnd-t.connectStart,ttfb:t.responseStart-t.requestStart}:null}catch(e){return P.addError("Performance inspection failed",e),null}}},tn=nt});var F,rt=x(()=>{F=class{static sleep(e){return new Promise(t=>setTimeout(t,e))}static isConstantLike(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}static getConstantsFromPrototype(e){return Object.keys(e.__proto__).filter(F.isConstantLike)}static recur(e,t=new WeakSet,r=!1){if(t.has(e))return{};try{t.add(e)}catch{}var i=r?[]:{};for(var o in e)try{let s;if(o==="enabledPlugin"||typeof e[o]=="function")continue;Array.isArray(e[o])?typeof e[o][0]=="object"?(s=F.recur(e[o],t,!0),i[o]=s.length?s:e[o]):i[o]=e[o]:typeof e[o]=="object"?(s=F.recur(e[o],t),Object.keys(s).length&&(i[o]=s)):r?i.push(e[o]):i[o]=e[o]}catch{}return i}static isValidUrlOrPath(e){try{if(!e)return!1;if(e.startsWith("/"))return!0;if(e.startsWith("http://")||e.startsWith("https://"))return new URL(e),!0}catch{return!1}return!1}static onRedirectPage(e){if(!F.isValidUrlOrPath(e))return!1;var t=e===window.location.pathname;if(!t)try{t=new URL(e,window.location.origin).href===window.location.href}catch{}return t}}});var xe,rn=x(()=>{rt();xe=class{static async get(){let e=await F.recur(window.screen),t=await F.recur(window.visualViewport),r=["innerWidth","innerHeight","outerWidth","outerHeight","screenX","screenY","screenLeft","screenTop"],i={};r.forEach(a=>{if(a in window)try{i[a]=window[a]}catch{i[a]="error"}else i[a]=null});let o=window.screen.width,s=window.screen.height,c=window.devicePixelRatio;return i.widthRaw=o,i.heightRaw=s,i.width=Math.floor(c*o),i.height=Math.floor(c*s),{...e,...t,...i}}}});var ke,on=x(()=>{ke=class{static async get(){return new Promise(e=>{let t=Intl.DateTimeFormat().resolvedOptions().timeZone,r=new Date().getTimezoneOffset()/60;e({timezone:t,offset_hours:r})})}}});var Cr,Ie,it=x(()=>{Cr="0.2.71/8cf56d0a",Ie=Cr});var ee,ot=x(()=>{ie();ee=class{static async encrypt(e){let t=A()?.pk;if(t&&window.crypto?.subtle)try{let r=await this.importPublicKey(t),i=await window.crypto.subtle.generateKey({name:"AES-GCM",length:256},!0,["encrypt"]),o=window.crypto.getRandomValues(new Uint8Array(12)),s=new TextEncoder().encode(JSON.stringify(e)),c=await window.crypto.subtle.encrypt({name:"AES-GCM",iv:o},i,s),a=await window.crypto.subtle.exportKey("raw",i),u=await window.crypto.subtle.encrypt({name:"RSA-OAEP"},r,a),l=c.byteLength-16,d=c.slice(0,l),m=c.slice(l);return{k:this.arrayBufferToBase64(u),i:this.arrayBufferToBase64(o),c:this.arrayBufferToBase64(d),t:this.arrayBufferToBase64(m)}}catch(r){throw console.error("Encryption failed:",r),new Error("Failed to encrypt data.")}else return JSON.stringify(e)}static async importPublicKey(e){let t="-----BEGIN PUBLIC KEY-----",r="-----END PUBLIC KEY-----",i=e.replace(t,"").replace(r,"").replace(/\s/g,""),o=this.base64ToArrayBuffer(i);return await window.crypto.subtle.importKey("spki",o,{name:"RSA-OAEP",hash:"SHA-256"},!1,["encrypt"])}static arrayBufferToBase64(e){let t=new Uint8Array(e),r="";for(let i=0;i{V=class{static timeExecution(e,t){return new Promise((r,i)=>{let o=Date.now();t().then(s=>{let a=Date.now()-o;this.timings[e]=a,r(s)}).catch(s=>{i(s)})})}static getTimings(){return{...this.timings}}static clearTimings(){this.timings={}}};V.timings={}});function Ir(n){var e=n.appVersion;if(e.state!==y.Success)return!1;if(/headless/i.test(e.value))return v.HeadlessChrome;if(/electron/i.test(e.value))return v.Electron;if(/slimerjs/i.test(e.value))return v.SlimerJS}function Le(n,e){return n.indexOf(e)!==-1}function $(n,e){return n.indexOf(e)!==-1}function Lr(n,e){if("find"in n)return n.find(e);for(var t=0;t=5?O.Chromium:ue(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,r.vendor.indexOf("Apple")===0,"getStorageUpdates"in r,"WebKitMediaKeys"in t])>=4?O.Webkit:ue(["buildID"in navigator,"MozAppearance"in((e=(n=document.documentElement)===null||n===void 0?void 0:n.style)!==null&&e!==void 0?e:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4?O.Gecko:O.Unknown}function st(){var n,e=(n=navigator.userAgent)===null||n===void 0?void 0:n.toLowerCase();return $(e,"wechat")?T.WeChat:$(e,"firefox")?T.Firefox:$(e,"opera")||$(e,"opr")?T.Opera:$(e,"chrome")?T.Chrome:$(e,"safari")?T.Safari:$(e,"trident")||$(e,"msie")?T.IE:T.Unknown}function Dr(){var n=Re(),e=n===O.Chromium,t=n===O.Gecko;if(!e&&!t)return!1;var r=window;return ue(["onorientationchange"in r,"orientation"in r,e&&!("SharedWorker"in r),t&&/android/i.test(navigator.appVersion)])>=2}function Ar(){if(Re()!==O.Webkit)return!1;var n=window;return ue(["safari"in n,!("DeviceMotionEvent"in n),!("ongestureend"in n),!("standalone"in navigator)])>=3}function Fr(){return document.hasFocus===void 0?!1:document.hasFocus()}function Nr(){var n=window;return ue([!("MediaSettingsRange"in n),"RTCEncodedAudioFrame"in n,""+n.Intl=="[object Intl]",""+n.Reflect=="[object Reflect]"])>=3}function Mr(n){var e=n.evalLength;if(e.state===y.Success){var t=e.value,r=st(),i=Re();return t===37&&!Le([O.Webkit,O.Gecko],i)||t===39&&!Le([T.IE],r)||t===33&&!Le([O.Chromium],i)}}function Vr(n){var e=n.functionBind;if(e.state===y.NotFunction)return v.PhantomJS}function Wr(n){var e=n.languages;if(e.state===y.Success&&e.value.length===0)return v.HeadlessChrome}function jr(n){var e=n.mimeTypesConsistent;if(e.state===y.Success&&!e.value)return v.Unknown}function Gr(n){var e=n.notificationPermissions,t=st();if(t!==T.Chrome)return!1;if(e.state===y.Success&&e.value)return v.HeadlessChrome}function Zr(n){var e=n.pluginsArray;if(e.state===y.Success&&!e.value)return v.HeadlessChrome}function Ur(n){var e=n.pluginsLength;if(e.state===y.Success){var t=Re();if(!(t===O.Chromium&&Dr()||t===O.Webkit&&!Ar())&&e.value===0)return v.HeadlessChrome}}function Hr(n){var e,t=n.process;if(t.state!==y.Success)return!1;if(t.value.type==="renderer"||((e=t.value.versions)===null||e===void 0?void 0:e.electron)!=null)return v.Electron}function Br(n){var e=n.productSub;if(e.state!==y.Success)return!1;var t=st();if((t===T.Chrome||t===T.Safari||t===T.Opera||t===T.WeChat)&&e.value!=="20030107")return v.Unknown}function Xr(n){var e=n.userAgent;if(e.state!==y.Success)return!1;if(/PhantomJS/i.test(e.value))return v.PhantomJS;if(/Headless/i.test(e.value))return v.HeadlessChrome;if(/Electron/i.test(e.value))return v.Electron;if(/slimerjs/i.test(e.value))return v.SlimerJS}function Yr(n){var e=n.webDriver;if(e.state===y.Success&&e.value)return v.HeadlessChrome}function Jr(n){var e=n.webGL;if(e.state===y.Success){var t=e.value,r=t.vendor,i=t.renderer;if(r=="Brian Paul"&&i=="Mesa OffScreen")return v.HeadlessChrome}}function zr(n){var e=n.windowExternal;if(e.state!==y.Success)return!1;if(/Sequentum/i.test(e.value))return v.Sequentum}function qr(n){var e=n.windowSize;if(e.state!==y.Success)return!1;var t=e.value,r=t.outerWidth,i=t.outerHeight;if(Fr()&&r===0&&i===0)return v.HeadlessChrome}function Kr(n){var e=n.distinctiveProps;if(e.state!==y.Success)return!1;var t=e.value,r;for(r in t)if(t[r])return r}function Qr(){var n=navigator.appVersion;if(n==null)throw new S(y.Undefined,"navigator.appVersion is undefined");return n}function ei(){if(document.documentElement===void 0)throw new S(y.Undefined,"document.documentElement is undefined");var n=document.documentElement;if(typeof n.getAttributeNames!="function")throw new S(y.NotFunction,"document.documentElement.getAttributeNames is not a function");return n.getAttributeNames()}function ti(){try{null[0]()}catch(n){if(n instanceof Error&&n.stack!=null)return n.stack.toString()}throw new S(y.UnexpectedBehaviour,"errorTrace signal unexpected behaviour")}function ni(){return eval.toString().length}function ri(){if(Function.prototype.bind===void 0)throw new S(y.NotFunction,"Function.prototype.bind is undefined");return Function.prototype.bind.toString()}function ii(){var n=navigator,e=[],t=n.language||n.userLanguage||n.browserLanguage||n.systemLanguage;if(t!==void 0&&e.push([t]),Array.isArray(n.languages)){var r=Re();r===O.Chromium&&Nr()||e.push(n.languages)}else if(typeof n.languages=="string"){var i=n.languages;i&&e.push(i.split(","))}return e}function oi(){if(navigator.mimeTypes===void 0)throw new S(y.Undefined,"navigator.mimeTypes is undefined");for(var n=navigator.mimeTypes,e=Object.getPrototypeOf(n)===MimeTypeArray.prototype,t=0;t=.001))try{var n=new XMLHttpRequest;n.open("get","https://m1.openfpcdn.io/botd/v".concat(Pr,"/npm-monitoring"),!0),n.send()}catch(e){console.error(e)}}function cn(n){var e=n===void 0?{}:n,t=e.monitoring,r=t===void 0?!0:t;return he(this,void 0,void 0,function(){var i;return ge(this,function(o){switch(o.label){case 0:return r&&vi(),i=new wi,[4,i.collect()];case 1:return o.sent(),[2,i]}})})}var Pr,y,v,S,O,T,$r,yi,wi,ln=x(()=>{Ge();Pr="1.5.0";(function(n){n[n.Success=0]="Success",n[n.Undefined=-1]="Undefined",n[n.NotFunction=-2]="NotFunction",n[n.UnexpectedBehaviour=-3]="UnexpectedBehaviour",n[n.Null=-4]="Null"})(y||(y={}));(function(n){n.Awesomium="awesomium",n.Cef="cef",n.CefSharp="cefsharp",n.CoachJS="coachjs",n.Electron="electron",n.FMiner="fminer",n.Geb="geb",n.NightmareJS="nightmarejs",n.Phantomas="phantomas",n.PhantomJS="phantomjs",n.Rhino="rhino",n.Selenium="selenium",n.Sequentum="sequentum",n.SlimerJS="slimerjs",n.WebDriverIO="webdriverio",n.WebDriver="webdriver",n.HeadlessChrome="headless_chrome",n.Unknown="unknown"})(v||(v={}));S=function(n){St(e,n);function e(t,r){var i=n.call(this,r)||this;return i.state=t,i.name="BotdError",Object.setPrototypeOf(i,e.prototype),i}return e}(Error);(function(n){n.Unknown="unknown",n.Chromium="chromium",n.Gecko="gecko",n.Webkit="webkit"})(O||(O={}));(function(n){n.Unknown="unknown",n.Chrome="chrome",n.Firefox="firefox",n.Opera="opera",n.Safari="safari",n.IE="internet_explorer",n.WeChat="wechat"})(T||(T={}));$r={detectAppVersion:Ir,detectDocumentAttributes:Tr,detectErrorTrace:Or,detectEvalLengthInconsistency:Mr,detectFunctionBind:Vr,detectLanguagesLengthInconsistency:Wr,detectNotificationPermissions:Gr,detectPluginsArray:Zr,detectPluginsLengthInconsistency:Ur,detectProcess:Hr,detectUserAgent:Xr,detectWebDriver:Yr,detectWebGL:Jr,detectWindowExternal:zr,detectWindowSize:qr,detectMimeTypesConsistent:jr,detectProductSub:Br,detectDistinctiveProperties:Kr};yi={userAgent:mi,appVersion:Qr,rtt:di,windowSize:gi,pluginsLength:ci,pluginsArray:si,errorTrace:ti,productSub:ui,windowExternal:hi,mimeTypesConsistent:oi,evalLength:ni,webGL:pi,webDriver:fi,languages:ii,notificationPermissions:ai,documentElementKeys:ei,functionBind:ri,process:li,distinctiveProps:bi},wi=function(){function n(){this.components=void 0,this.detections=void 0}return n.prototype.getComponents=function(){return this.components},n.prototype.getDetections=function(){return this.detections},n.prototype.getSources=function(){return yi},n.prototype.getDetectors=function(){return $r},n.prototype.detect=function(){if(this.components===void 0)throw new Error("BotDetector.detect can't be called before BotDetector.collect");var e=this.components,t=this.getDetectors(),r={},i={bot:!1};for(var o in t){var s=t[o],c=s(e),a={bot:!1};typeof c=="string"?a={bot:!0,botKind:c}:c&&(a={bot:!0,botKind:v.Unknown}),r[o]=a,a.bot&&(i=a)}return this.detections=r,i},n.prototype.collect=function(){return he(this,void 0,void 0,function(){var e,t,r,i=this;return ge(this,function(o){switch(o.label){case 0:return e=this.getSources(),t={},r=Object.keys(e),[4,Promise.all(r.map(function(s){return he(i,void 0,void 0,function(){var c,a,u,l,d;return ge(this,function(m){switch(m.label){case 0:c=e[s],m.label=1;case 1:return m.trys.push([1,3,,4]),a=t,u=s,d={},[4,c()];case 2:return a[u]=(d.value=m.sent(),d.state=y.Success,d),[3,4];case 3:return l=m.sent(),l instanceof S?t[s]={state:l.state,error:"".concat(l.name,": ").concat(l.message)}:t[s]={state:y.UnexpectedBehaviour,error:l instanceof Error?"".concat(l.name,": ").concat(l.message):String(l)},[3,4];case 4:return[2]}})})}))];case 1:return o.sent(),this.components=t,[2,this.components]}})})},n}()});var ct,un,dn=x(()=>{ln();H();ct=class{static async detect(){try{return await(await cn()).detect()}catch(e){return P.addError("Bot prescreen failed",e),Promise.reject(e)}}},un=ct});function dt(){return Te(this,void 0,Promise,function(){return Oe(this,function(n){switch(n.label){case 0:return[4,new Promise(function(e,t){var r="Unknown",i=!1;function o(m){i||(i=!0,e({isPrivate:m,browserName:r}))}function s(){var m=0,f=parseInt("-1");try{f.toFixed(f)}catch(p){m=p.message.length}return m}function c(){return navigator.msSaveBlob!==void 0&&function(m){try{return m===eval.toString().length}catch{return!1}}(39)}function a(){var m;return Te(this,void 0,void 0,function(){var f,p;return Oe(this,function(g){switch(g.label){case 0:return g.trys.push([0,2,,3]),[4,navigator.storage.getDirectory()];case 1:return g.sent(),o(!1),[3,3];case 2:return f=g.sent(),p=f,f instanceof Error&&(p=(m=f.message)!==null&&m!==void 0?m:f),typeof p!="string"?(o(!1),[2]):(o(!!p.includes("unknown transient reason")),[3,3]);case 3:return[2]}})})}function u(){var m;return Te(this,void 0,Promise,function(){return Oe(this,function(f){switch(f.label){case 0:return((m=navigator.storage)===null||m===void 0?void 0:m.getDirectory)===void 0?[3,2]:[4,a()];case 1:return f.sent(),[3,3];case 2:navigator.maxTouchPoints!==void 0?function(){var p=String(Math.random());try{var g=indexedDB.open(p,1);g.onupgradeneeded=function(h){var b=h.target.result,R=function(_){o(_)};try{b.createObjectStore("t",{autoIncrement:!0}).put(new Blob),R(!1)}catch(_){(_.message||"").includes("are not yet supported")?R(!0):R(!1)}finally{b.close(),indexedDB.deleteDatabase(p)}},g.onerror=function(){return o(!1)}}catch{o(!1)}}():function(){var p=window.openDatabase,g=window.localStorage;try{p(null,null,null,null)}catch{return void o(!0)}try{g.setItem("test","1"),g.removeItem("test")}catch{return void o(!0)}o(!1)}(),f.label=3;case 3:return[2]}})})}function l(){navigator.webkitTemporaryStorage.queryUsageAndQuota(function(m,f){var p;o(Math.round(f/1048576)<2*Math.round(((p=window).performance!==void 0&&p.performance.memory!==void 0&&p.performance.memory.jsHeapSizeLimit!==void 0?performance.memory.jsHeapSizeLimit:1073741824)/1048576))},function(m){t(new Error("detectIncognito somehow failed to query storage quota: "+m.message))})}function d(){self.Promise!==void 0&&self.Promise.allSettled!==void 0?l():(0,window.webkitRequestFileSystem)(0,1,function(){o(!1)},function(){o(!0)})}(function(){return Te(this,void 0,Promise,function(){return Oe(this,function(m){switch(m.label){case 0:return s()!==44?[3,2]:(r="Safari",[4,u()]);case 1:return m.sent(),[3,3];case 2:s()===51?(f=navigator.userAgent,r=f.match(/Chrome/)?navigator.brave!==void 0?"Brave":f.match(/Edg/)?"Edge":f.match(/OPR/)?"Opera":"Chrome":"Chromium",d()):s()===25?(r="Firefox",o(navigator.serviceWorker===void 0)):c()?(r="Internet Explorer",o(window.indexedDB===void 0)):t(new Error("detectIncognito cannot determine the browser")),m.label=3;case 3:return[2]}var f})})})().catch(t)})];case 1:return[2,n.sent()]}})})}var lt,ut,Te,Oe,xi,bo,mn,fn=x(()=>{lt={d:(n,e)=>{for(var t in e)lt.o(e,t)&&!lt.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},ut={};lt.d(ut,{A:()=>xi,k:()=>dt});Te=function(n,e,t,r){return new(t||(t=Promise))(function(i,o){function s(u){try{a(r.next(u))}catch(l){o(l)}}function c(u){try{a(r.throw(u))}catch(l){o(l)}}function a(u){var l;u.done?i(u.value):(l=u.value,l instanceof t?l:new t(function(d){d(l)})).then(s,c)}a((r=r.apply(n,e||[])).next())})},Oe=function(n,e){var t,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(u){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(s=0)),s;)try{if(t=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,r=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||l[0]!==6&&l[0]!==2)){s=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]{fn();H();te=class{static _isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}static _isDuckDuckGo(){let e=navigator.userAgent;return/DuckDuckGo/.test(e)||navigator._duckduckgoloader_!==void 0}static async get(){try{let e;return te._isDuckDuckGo()?e={browserName:"DuckDuckGo",isPrivate:!0}:e=await mn(),e.gpcEnabled=navigator?.globalPrivacyControl===!0,e.cookiesEnabled=navigator.cookieEnabled,e.thirdPartyCookiesEnabled=await te.checkThirdPartyCookies(),e.isMobile=te._isMobile(),e}catch(e){return P.addError("Browser inspection failed",e),Promise.reject(e)}}static async checkThirdPartyCookies(){try{let e="_t",t="test_"+Math.random().toString(36).substring(2,15),i=document.cookie.split(";").find(a=>a.trim().startsWith(e+"=")),o=i?i.split("=")[1]:null;document.cookie=`${e}=${t}; path=/; max-age=60`;let c=document.cookie.split(";").find(a=>a.trim().startsWith(e+"="));return c&&c.includes(t)?(o?document.cookie=`${e}=${o}; path=/`:document.cookie=`${e}=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT`,!0):(o&&(document.cookie=`${e}=${o}; path=/`),!1)}catch{return!1}}},pn=te});var mt,gn,bn=x(()=>{H();mt=class{static async detect(){try{return{webdriver:navigator?.webdriver!==void 0}}catch(e){return P.addError("Webdriver detection failed",e),Promise.reject(e)}}},gn=mt});var Z,yn=x(()=>{ie();H();We();$t();en();nn();rn();on();it();ot();an();dn();hn();bn();Z=class{static async formatRequest(e,t){try{e=`s_${e}`;let r=await ee.encrypt(t);return JSON.stringify({type:e,data:r})}catch{}return JSON.stringify({type:e,data:t})}static async post(e,t,r,i,o,s){try{let c=A()?.api?.baseUrl;if(!c)throw console.error("Internal honeypot error: missing base url"),new Error("Missing base URL");let a=`${c}${e}`,u={identity:fe.getIdentity(),identities:fe.getIdentities()},l=new URLSearchParams(window.location.search).get("hp-passport");try{u={...u,...await Q.get()}}catch{}let d=!navigator.geolocation.getCurrentPosition.toString().includes("[native code]")||window?.geoLocationStorage!==void 0,m=i||[];d&&m.push("blsf");let f={};try{let[b,R,_,D,W,z,Ae]=await Promise.all([V.timeExecution("bot",un.detect),V.timeExecution("browser",pn.get),V.timeExecution("languages",Qt.get),V.timeExecution("performance",tn.get),V.timeExecution("screen",xe.get),V.timeExecution("timezone",ke.get),V.timeExecution("webdriver",gn.detect)]);f={cbt:b,bsr2:R,languages:_,performanceInfo:D,screen:W,timezone:z,webdriver:Ae}}catch{}let p={...r,...u,...f,session_id:o,device_id:s,library_version:Ie,ctags:m,...l&&{passport:l}},g=await Z.formatRequest(t,p),h=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},body:g,credentials:"include"});if(!h.ok)throw new Error(`HTTP error! status: ${h.status}`);return await h.json()}catch(c){throw P.addError("Failed to communicate with the backend server"),Z.postError(c),c}}static async postError(e){try{let r=A()?.api?.routes?.errors;if(!r)return;let i=await Z.formatRequest("error",{message:e}),o=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},body:i,credentials:"include"})}catch{console.error("error HP10002")}}}});var De,ft=x(()=>{De=(n,e,t,r)=>{let i=0,o=s=>{try{let c=new URLSearchParams(window.location.search).has("hpdebug");(r?.debug===!0||c)&&console.log(`[hp] ${s}`)}catch{}};return{name:"honeypot-enrichment",type:"before",setup:async s=>{try{s.userId&&(r?.trackIdentities?(o(`setting user_id: ${s.userId}`),await t(s.userId)):o(`ignoring user_id since trackIdentities is set to false: ${s.userId}`))}catch{}let c=await e();o(`initialized plugin. honey=${JSON.stringify(c)}`)},execute:async s=>{try{let{user_id:c,event_type:a}=s;try{c&&(r?.trackIdentities?(o(`processing identify event: ${c}`),await t(c)):o(`ignoring identify event since trackIdentities is set to false: ${c}`))}catch{}let l=a.startsWith("[Amplitude] ")?a.replace("[Amplitude] ",""):a;i=i+1;let d=!1;if(r?.excludeEvents?.includes(l)||r?.includeEvents?.length&&!r?.includeEvents.includes(l)){if(r?.enrichEventProperties){let p={ignored:!0};s.event_properties={...s.event_properties,honey:p}}return o(`ignoring event: ${a}`),s}d||(o(`tracking event: ${a}`),await n(a,s.event_properties));let f=await e();return f?.geofenced&&f?.redirect_auto?(o(`dropping event: ${a}`),null):(r?.enrichEventProperties&&(s.event_properties={...s.event_properties,honey:f},o(`enriching event: ${a}. ${JSON.stringify(s.event_properties)}`)),s)}catch{return s}}}}});var pt,ki,wn=x(()=>{ft();pt=class{constructor(){this.config=null;this.honey=null;this.id=[];this.q=[];this.didInit=!1;this.didLoad=!1;this.callbacks={};this.geofenced=!1;this._geoCaptcha=!1}setup(e){this.config=e}amplitudePlugin(e){return De(this.track.bind(this),this.get.bind(this),this.identify.bind(this),e)}geofence(){window.honeypot?.geofence&&window.honeypot.geofence(),this.geofenced=!0}async geoCaptcha(){return new Promise((e,t)=>{let r=Date.now(),i=()=>{window.honeypot?.geoCaptcha?e(window.honeypot.geoCaptcha()):Date.now()-r>=5e3?t(new Error("GeoCaptcha not available: Honeypot SDK did not initialize in time.")):setTimeout(i,100)};i()})}ensureHoneypot(){window.honeypot||(window.honeypot={q:[],id:[]})}async identify(e,t,r){if(this.ensureHoneypot(),window.honeypot?.identify)window.honeypot.identify(e,t,r);else{let i={id:e,...t?{properties:t}:{},...r?{type:r}:{}};Array.isArray(window.honeypot.id)||(window.honeypot.id=[]),window.honeypot.id.push(i)}}on(e,t){this.ensureHoneypot(),window.honeypot.on?window.honeypot.on(e,t):(window.honeypot.callbacks[e]??=[]).push(t)}async flow(e,t){return this.ensureHoneypot(),new Promise((r,i)=>{let o=Date.now(),s=()=>{window&&window.honeypot&&this.didInit?r(window.honeypot.flow(e,t)):Date.now()-o>=5e3?i(new Error("Flow could not be created. Did you call the load() method first?")):setTimeout(s,100)};s()})}async track(e,t={}){this.ensureHoneypot();try{if(window.honeypot?.track)return window.honeypot.track(e,t);{let r=this.q||[];r.push([e,t]),this.q=r}}catch(r){this.config?.debug&&console.error("Error tracking event:",r)}}async init(){}maybeTime(e,t){if(this.config?.debug){if(t){console.timeEnd(e);return}console.time(e)}}load(e,t,r){return this.didLoad=!0,new Promise(i=>{let o=document.createElement("script");o.async=!0;let s=new URL(e),c=null,a=null;try{c=window.location.href}catch{}try{a=document.title}catch{}s.searchParams.append("url",c||"URL not available"),s.searchParams.append("title",a||"Title not available");try{if(window.honeypot&&Array.isArray(window.honeypot.q)){let d=window.honeypot.q.map(m=>m[0]);s.searchParams.append("events",JSON.stringify(d))}}catch(d){this.config?.debug&&console.error("Error appending event names to the script URL:",d)}try{let d=["hpdebug","hpgeotest"],m=new URLSearchParams(window.location.search);d.forEach(f=>{m.has(f)&&s.searchParams.append(f,m.get(f)||"")})}catch{}t&&(s.searchParams.append("identity",t),r&&s.searchParams.append("type",r));let u=new URLSearchParams(window.location.search).get("georef");u&&s.searchParams.append("georef",u),this.maybeTime("load honeypot");try{let d=window?.honeypot?.id;if(d){let m=null;Array.isArray(d)&&d.length>0?m=d[0]?.id:m=d?.id,m&&s.searchParams.append("identity",m)}}catch{}o.src=s.toString(),document.head.appendChild(o);let l=this.config;o.onload=()=>{this.didInit=!0,this.maybeTime("load honeypot",!0);try{window.honeypot&&(window.honeypot.config=l)}catch{}i(window.honeypot)}})}setSessionId(e){}setDeviceId(e){}async get(e){if(!this.didLoad&&this.config?.url)try{if(await this.load(this.config.url),window.honeypot)return window.honeypot.get()}catch{throw new Error("Failed to load")}else if(this.didLoad&&!this.didInit)return new Promise((t,r)=>{let i=Date.now(),o=()=>{window.honeypot&&window.honeypot.get?t(window.honeypot.get()):Date.now()-i>=2e3?r(new Error("Timeout: Honeypot SDK did not initialize in time.")):setTimeout(o,50)};o()});return new Promise((t,r)=>{(()=>{if(window.honeypot&&window.honeypot.honey)t(window.honeypot.honey);else{if(window.honeypot?.get)return window.honeypot.get();r(new Error("Honey not found"))}})()})}},ki=new pt});var Se,vn=x(()=>{ft();Se=class{amplitudePlugin(e){return De(this.track.bind(this),this.get.bind(this),this.identify.bind(this),e)}}});var xn=x(()=>{wn();vn()});var U,ne,kn=x(()=>{ie();me();U=class{static install(e){let t=this.normalizeNetworkCaptureConfig(A());if(!t||!t.enabled){w.debug("Network capture not enabled, skipping fetch proxy");return}if(!window.fetch){w.debug("fetch is not available, skipping fetch proxy");return}if(this.isProxyInstalled){w.debug("Fetch proxy already installed");return}this.originalFetch=window.fetch.bind(window);let r=async function(...i){let o=Date.now(),[s,c]=i,a,u="GET";if(typeof s=="string"?a=s:s instanceof URL?a=s.toString():s instanceof Request?(a=s.url,u=s.method):a=String(s),c?.method&&(u=c.method),a.includes(A()?.api?.baseUrl||""))return U.originalFetch(...i);if(!U.shouldSampleRequest(t.sampleRate??0))return U.originalFetch(...i);try{let d=await U.originalFetch(...i),f=Date.now()-o,p=a;try{p=new URL(a,window.location.origin).pathname}catch{w.debug("Failed to parse URL:",a)}if(!U.matchesEndpointFilters(p,t.endpointFilters))return w.debug("Request filtered out by endpoint filters:",p),d;if(!U.matchesResponseCodeFilters(d.status,t.responseCodeFilters))return w.debug("Request filtered out by response code filters:",d.status),d;let g=!0;if(t.responseBodyFilters&&t.responseBodyFilters.length>0&&(g=await U.matchesResponseBodyFilters(d,t.responseBodyFilters,t.maxBodySizeForFiltering),!g))return w.debug("Request filtered out by response body filters"),d;w.debug("Network request captured:",{method:u,url:p,status:d.status,statusText:d.statusText,duration:f,timestamp:o,sampled:!0});try{e({method:u,endpoint:p,status:d.status,duration:f,success:d.ok,contentType:d.headers.get("content-type"),contentLength:d.headers.get("content-length")})}catch(h){w.debug("Error in tracking callback:",h)}return d}catch(d){let f=Date.now()-o,p=a;try{p=new URL(a,window.location.origin).pathname}catch{w.debug("Failed to parse URL:",a)}if(!U.matchesEndpointFilters(p,t.endpointFilters))throw w.debug("Failed request filtered out by endpoint filters:",p),d;w.debug("Network request failed:",{method:u,url:p,error:d.message,duration:f,timestamp:o,sampled:!0});try{e({method:u,endpoint:p,error:d.message,duration:f,success:!1})}catch(g){w.debug("Error in tracking callback:",g)}throw d}};window.fetch=r,this.isProxyInstalled=!0,w.debug("Advanced fetch proxy installed with config:",t)}static uninstall(){this.originalFetch&&this.isProxyInstalled&&(window.fetch=this.originalFetch,this.originalFetch=null,this.isProxyInstalled=!1,w.debug("Fetch proxy uninstalled"))}static isInstalled(){return this.isProxyInstalled}static normalizeNetworkCaptureConfig(e){if(!e?.dataCapture?.networkCapture)return null;let t=e.dataCapture.networkCapture;return typeof t=="boolean"?t?{enabled:!0,sampleRate:0,maxBodySizeForFiltering:10240}:null:{enabled:t.enabled??!0,sampleRate:t.sampleRate??0,endpointFilters:t.endpointFilters,responseCodeFilters:t.responseCodeFilters,responseBodyFilters:t.responseBodyFilters,maxBodySizeForFiltering:t.maxBodySizeForFiltering??10240}}static matchesEndpointFilters(e,t){return!t||t.length===0?!0:t.some(r=>{if(e===r)return!0;if(r.includes("*")){let i=r.replace(/\*/g,".*");return new RegExp(`^${i}$`).test(e)}if(r.startsWith("/")&&r.endsWith("/"))try{return new RegExp(r.slice(1,-1)).test(e)}catch{return w.debug("Invalid regex filter:",r),!1}return e.includes(r)})}static matchesResponseCodeFilters(e,t){return!t||t.length===0?!0:t.some(r=>{if(typeof r=="number")return e===r;if(typeof r=="string"){if(r.endsWith("xx")){let i=r.charAt(0);return e.toString().startsWith(i)}return e.toString()===r}return!1})}static async matchesResponseBodyFilters(e,t,r){if(!t||t.length===0)return!0;try{let i=e.clone(),o=i.headers.get("content-length");if(o&&parseInt(o)>(r??10240))return w.debug("Response body too large for filtering, skipping"),!1;let s=await i.text();return s.length>(r??10240)?(w.debug("Response body too large for filtering, skipping"),!1):t.some(c=>{if(c.startsWith("/")&&c.endsWith("/"))try{return new RegExp(c.slice(1,-1)).test(s)}catch{return w.debug("Invalid regex body filter:",c),!1}return s.includes(c)})}catch(i){return w.debug("Error checking response body filters:",i),!1}}static shouldSampleRequest(e){return e<=0?!1:e>=100?!0:Math.random()*100Ri});var Ri,Sn=x(()=>{Ri=".nicebox{align-items:center;color:#000;display:flex;font-family:Raleway,Helvetica Neue,Arial,sans-serif;font-size:1.2em;height:100%;justify-content:center;left:0;line-height:2em;pointer-events:none;position:fixed;top:0;width:100%;z-index:1000}.nicebox a,.nicebox button{color:#74716d;outline:none;text-decoration:none}.nicebox a:focus,.nicebox a:hover{color:#c94e50;outline:none}.nicebox__title{font-size:1.5em;line-height:2.5em}.nicebox button{background:#c94e50;border:none;color:#fff;cursor:pointer;font-size:1.2em;outline:none;padding:.6em 1.2em;position:relative}.nicebox__overlay{background:rgba(55,58,71,.9);height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s ease-in-out;width:100%;z-index:1}.nicebox--open .nicebox__overlay{opacity:1;pointer-events:auto}.nicebox__content{background:#fff;max-width:560px;min-width:290px;opacity:0;padding:2em 3em;position:relative;text-align:center;transform:scale(.9);transition:opacity .3s ease-in-out,transform .3s ease-in-out;width:50%;z-index:5}.nicebox--open .nicebox__content{opacity:1;pointer-events:auto;transform:scale(1)}.nicebox__buttons{cursor:pointer;display:flex;gap:10px;justify-content:center;margin-top:20px}.nicebox.fancy.nicebox--close .nicebox__content,.nicebox.fancy.nicebox--open .nicebox__content{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:linear;animation-timing-function:linear}.nicebox.fancy.nicebox--open .nicebox__content{-webkit-animation-name:fancy-anim-open;animation-name:fancy-anim-open}.nicebox.fancy.nicebox--close .nicebox__content{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-name:fancy-anim-close;animation-name:fancy-anim-close;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes fancy-anim-open{0%{opacity:0;-webkit-transform:matrix(.7,0,0,.7,0,0);transform:matrix(.7,0,0,.7,0,0)}2.083333%{-webkit-transform:matrix(.75266,0,0,.76342,0,0);transform:matrix(.75266,0,0,.76342,0,0)}4.166667%{-webkit-transform:matrix(.81071,0,0,.84545,0,0);transform:matrix(.81071,0,0,.84545,0,0)}6.25%{-webkit-transform:matrix(.86808,0,0,.9286,0,0);transform:matrix(.86808,0,0,.9286,0,0)}8.333333%{-webkit-transform:matrix(.92038,0,0,1,0,0);transform:matrix(.92038,0,0,1,0,0)}10.416667%{-webkit-transform:matrix(.96482,0,0,1.05202,0,0);transform:matrix(.96482,0,0,1.05202,0,0)}12.5%{-webkit-transform:matrix(1,0,0,1.08204,0,0);transform:matrix(1,0,0,1.08204,0,0)}14.583333%{-webkit-transform:matrix(1.02563,0,0,1.09149,0,0);transform:matrix(1.02563,0,0,1.09149,0,0)}16.666667%{-webkit-transform:matrix(1.04227,0,0,1.08453,0,0);transform:matrix(1.04227,0,0,1.08453,0,0)}18.75%{-webkit-transform:matrix(1.05102,0,0,1.06666,0,0);transform:matrix(1.05102,0,0,1.06666,0,0)}20.833333%{-webkit-transform:matrix(1.05334,0,0,1.04355,0,0);transform:matrix(1.05334,0,0,1.04355,0,0)}22.916667%{-webkit-transform:matrix(1.05078,0,0,1.02012,0,0);transform:matrix(1.05078,0,0,1.02012,0,0)}25%{-webkit-transform:matrix(1.04487,0,0,1,0,0);transform:matrix(1.04487,0,0,1,0,0)}27.083333%{-webkit-transform:matrix(1.03699,0,0,.98534,0,0);transform:matrix(1.03699,0,0,.98534,0,0)}29.166667%{-webkit-transform:matrix(1.02831,0,0,.97688,0,0);transform:matrix(1.02831,0,0,.97688,0,0)}31.25%{-webkit-transform:matrix(1.01973,0,0,.97422,0,0);transform:matrix(1.01973,0,0,.97422,0,0)}33.333333%{-webkit-transform:matrix(1.01191,0,0,.97618,0,0);transform:matrix(1.01191,0,0,.97618,0,0)}35.416667%{-webkit-transform:matrix(1.00526,0,0,.98122,0,0);transform:matrix(1.00526,0,0,.98122,0,0)}37.5%{-webkit-transform:matrix(1,0,0,.98773,0,0);transform:matrix(1,0,0,.98773,0,0)}39.583333%{-webkit-transform:matrix(.99617,0,0,.99433,0,0);transform:matrix(.99617,0,0,.99433,0,0)}41.666667%{-webkit-transform:matrix(.99368,0,0,1,0,0);transform:matrix(.99368,0,0,1,0,0)}43.75%{-webkit-transform:matrix(.99237,0,0,1.00413,0,0);transform:matrix(.99237,0,0,1.00413,0,0)}45.833333%{-webkit-transform:matrix(.99202,0,0,1.00651,0,0);transform:matrix(.99202,0,0,1.00651,0,0)}47.916667%{-webkit-transform:matrix(.99241,0,0,1.00726,0,0);transform:matrix(.99241,0,0,1.00726,0,0)}50%{opacity:1;-webkit-transform:matrix(.99329,0,0,1.00671,0,0);transform:matrix(.99329,0,0,1.00671,0,0)}52.083333%{-webkit-transform:matrix(.99447,0,0,1.00529,0,0);transform:matrix(.99447,0,0,1.00529,0,0)}54.166667%{-webkit-transform:matrix(.99577,0,0,1.00346,0,0);transform:matrix(.99577,0,0,1.00346,0,0)}56.25%{-webkit-transform:matrix(.99705,0,0,1.0016,0,0);transform:matrix(.99705,0,0,1.0016,0,0)}58.333333%{-webkit-transform:matrix(.99822,0,0,1,0,0);transform:matrix(.99822,0,0,1,0,0)}60.416667%{-webkit-transform:matrix(.99921,0,0,.99884,0,0);transform:matrix(.99921,0,0,.99884,0,0)}62.5%{-webkit-transform:matrix(1,0,0,.99816,0,0);transform:matrix(1,0,0,.99816,0,0)}64.583333%{-webkit-transform:matrix(1.00057,0,0,.99795,0,0);transform:matrix(1.00057,0,0,.99795,0,0)}66.666667%{-webkit-transform:matrix(1.00095,0,0,.99811,0,0);transform:matrix(1.00095,0,0,.99811,0,0)}68.75%{-webkit-transform:matrix(1.00114,0,0,.99851,0,0);transform:matrix(1.00114,0,0,.99851,0,0)}70.833333%{-webkit-transform:matrix(1.00119,0,0,.99903,0,0);transform:matrix(1.00119,0,0,.99903,0,0)}72.916667%{-webkit-transform:matrix(1.00114,0,0,.99955,0,0);transform:matrix(1.00114,0,0,.99955,0,0)}75%{-webkit-transform:matrix(1.001,0,0,1,0,0);transform:matrix(1.001,0,0,1,0,0)}77.083333%{-webkit-transform:matrix(1.00083,0,0,1.00033,0,0);transform:matrix(1.00083,0,0,1.00033,0,0)}79.166667%{-webkit-transform:matrix(1.00063,0,0,1.00052,0,0);transform:matrix(1.00063,0,0,1.00052,0,0)}81.25%{-webkit-transform:matrix(1.00044,0,0,1.00058,0,0);transform:matrix(1.00044,0,0,1.00058,0,0)}83.333333%{-webkit-transform:matrix(1.00027,0,0,1.00053,0,0);transform:matrix(1.00027,0,0,1.00053,0,0)}85.416667%{-webkit-transform:matrix(1.00012,0,0,1.00042,0,0);transform:matrix(1.00012,0,0,1.00042,0,0)}87.5%{-webkit-transform:matrix(1,0,0,1.00027,0,0);transform:matrix(1,0,0,1.00027,0,0)}89.583333%{-webkit-transform:matrix(.99991,0,0,1.00013,0,0);transform:matrix(.99991,0,0,1.00013,0,0)}91.666667%{-webkit-transform:matrix(.99986,0,0,1,0,0);transform:matrix(.99986,0,0,1,0,0)}93.75%{-webkit-transform:matrix(.99983,0,0,.99991,0,0);transform:matrix(.99983,0,0,.99991,0,0)}95.833333%{-webkit-transform:matrix(.99982,0,0,.99985,0,0);transform:matrix(.99982,0,0,.99985,0,0)}97.916667%{-webkit-transform:matrix(.99983,0,0,.99984,0,0);transform:matrix(.99983,0,0,.99984,0,0)}to{opacity:1;-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0)}}@keyframes fancy-anim-open{0%{opacity:0;-webkit-transform:matrix(.7,0,0,.7,0,0);transform:matrix(.7,0,0,.7,0,0)}2.083333%{-webkit-transform:matrix(.75266,0,0,.76342,0,0);transform:matrix(.75266,0,0,.76342,0,0)}4.166667%{-webkit-transform:matrix(.81071,0,0,.84545,0,0);transform:matrix(.81071,0,0,.84545,0,0)}6.25%{-webkit-transform:matrix(.86808,0,0,.9286,0,0);transform:matrix(.86808,0,0,.9286,0,0)}8.333333%{-webkit-transform:matrix(.92038,0,0,1,0,0);transform:matrix(.92038,0,0,1,0,0)}10.416667%{-webkit-transform:matrix(.96482,0,0,1.05202,0,0);transform:matrix(.96482,0,0,1.05202,0,0)}12.5%{-webkit-transform:matrix(1,0,0,1.08204,0,0);transform:matrix(1,0,0,1.08204,0,0)}14.583333%{-webkit-transform:matrix(1.02563,0,0,1.09149,0,0);transform:matrix(1.02563,0,0,1.09149,0,0)}16.666667%{-webkit-transform:matrix(1.04227,0,0,1.08453,0,0);transform:matrix(1.04227,0,0,1.08453,0,0)}18.75%{-webkit-transform:matrix(1.05102,0,0,1.06666,0,0);transform:matrix(1.05102,0,0,1.06666,0,0)}20.833333%{-webkit-transform:matrix(1.05334,0,0,1.04355,0,0);transform:matrix(1.05334,0,0,1.04355,0,0)}22.916667%{-webkit-transform:matrix(1.05078,0,0,1.02012,0,0);transform:matrix(1.05078,0,0,1.02012,0,0)}25%{-webkit-transform:matrix(1.04487,0,0,1,0,0);transform:matrix(1.04487,0,0,1,0,0)}27.083333%{-webkit-transform:matrix(1.03699,0,0,.98534,0,0);transform:matrix(1.03699,0,0,.98534,0,0)}29.166667%{-webkit-transform:matrix(1.02831,0,0,.97688,0,0);transform:matrix(1.02831,0,0,.97688,0,0)}31.25%{-webkit-transform:matrix(1.01973,0,0,.97422,0,0);transform:matrix(1.01973,0,0,.97422,0,0)}33.333333%{-webkit-transform:matrix(1.01191,0,0,.97618,0,0);transform:matrix(1.01191,0,0,.97618,0,0)}35.416667%{-webkit-transform:matrix(1.00526,0,0,.98122,0,0);transform:matrix(1.00526,0,0,.98122,0,0)}37.5%{-webkit-transform:matrix(1,0,0,.98773,0,0);transform:matrix(1,0,0,.98773,0,0)}39.583333%{-webkit-transform:matrix(.99617,0,0,.99433,0,0);transform:matrix(.99617,0,0,.99433,0,0)}41.666667%{-webkit-transform:matrix(.99368,0,0,1,0,0);transform:matrix(.99368,0,0,1,0,0)}43.75%{-webkit-transform:matrix(.99237,0,0,1.00413,0,0);transform:matrix(.99237,0,0,1.00413,0,0)}45.833333%{-webkit-transform:matrix(.99202,0,0,1.00651,0,0);transform:matrix(.99202,0,0,1.00651,0,0)}47.916667%{-webkit-transform:matrix(.99241,0,0,1.00726,0,0);transform:matrix(.99241,0,0,1.00726,0,0)}50%{opacity:1;-webkit-transform:matrix(.99329,0,0,1.00671,0,0);transform:matrix(.99329,0,0,1.00671,0,0)}52.083333%{-webkit-transform:matrix(.99447,0,0,1.00529,0,0);transform:matrix(.99447,0,0,1.00529,0,0)}54.166667%{-webkit-transform:matrix(.99577,0,0,1.00346,0,0);transform:matrix(.99577,0,0,1.00346,0,0)}56.25%{-webkit-transform:matrix(.99705,0,0,1.0016,0,0);transform:matrix(.99705,0,0,1.0016,0,0)}58.333333%{-webkit-transform:matrix(.99822,0,0,1,0,0);transform:matrix(.99822,0,0,1,0,0)}60.416667%{-webkit-transform:matrix(.99921,0,0,.99884,0,0);transform:matrix(.99921,0,0,.99884,0,0)}62.5%{-webkit-transform:matrix(1,0,0,.99816,0,0);transform:matrix(1,0,0,.99816,0,0)}64.583333%{-webkit-transform:matrix(1.00057,0,0,.99795,0,0);transform:matrix(1.00057,0,0,.99795,0,0)}66.666667%{-webkit-transform:matrix(1.00095,0,0,.99811,0,0);transform:matrix(1.00095,0,0,.99811,0,0)}68.75%{-webkit-transform:matrix(1.00114,0,0,.99851,0,0);transform:matrix(1.00114,0,0,.99851,0,0)}70.833333%{-webkit-transform:matrix(1.00119,0,0,.99903,0,0);transform:matrix(1.00119,0,0,.99903,0,0)}72.916667%{-webkit-transform:matrix(1.00114,0,0,.99955,0,0);transform:matrix(1.00114,0,0,.99955,0,0)}75%{-webkit-transform:matrix(1.001,0,0,1,0,0);transform:matrix(1.001,0,0,1,0,0)}77.083333%{-webkit-transform:matrix(1.00083,0,0,1.00033,0,0);transform:matrix(1.00083,0,0,1.00033,0,0)}79.166667%{-webkit-transform:matrix(1.00063,0,0,1.00052,0,0);transform:matrix(1.00063,0,0,1.00052,0,0)}81.25%{-webkit-transform:matrix(1.00044,0,0,1.00058,0,0);transform:matrix(1.00044,0,0,1.00058,0,0)}83.333333%{-webkit-transform:matrix(1.00027,0,0,1.00053,0,0);transform:matrix(1.00027,0,0,1.00053,0,0)}85.416667%{-webkit-transform:matrix(1.00012,0,0,1.00042,0,0);transform:matrix(1.00012,0,0,1.00042,0,0)}87.5%{-webkit-transform:matrix(1,0,0,1.00027,0,0);transform:matrix(1,0,0,1.00027,0,0)}89.583333%{-webkit-transform:matrix(.99991,0,0,1.00013,0,0);transform:matrix(.99991,0,0,1.00013,0,0)}91.666667%{-webkit-transform:matrix(.99986,0,0,1,0,0);transform:matrix(.99986,0,0,1,0,0)}93.75%{-webkit-transform:matrix(.99983,0,0,.99991,0,0);transform:matrix(.99983,0,0,.99991,0,0)}95.833333%{-webkit-transform:matrix(.99982,0,0,.99985,0,0);transform:matrix(.99982,0,0,.99985,0,0)}97.916667%{-webkit-transform:matrix(.99983,0,0,.99984,0,0);transform:matrix(.99983,0,0,.99984,0,0)}to{opacity:1;-webkit-transform:matrix(1,0,0,1,0,0);transform:matrix(1,0,0,1,0,0)}}@-webkit-keyframes fancy-anim-close{0%{opacity:1}to{opacity:0;-webkit-transform:scale3d(.8,.8,1)}}@keyframes fancy-anim-close{0%{opacity:1}to{opacity:0;-webkit-transform:scale3d(.8,.8,1);transform:scale3d(.8,.8,1)}}.nicebox.simple.nicebox--close .nicebox__content,.nicebox.simple.nicebox--open .nicebox__content{animation-duration:.4s;animation-fill-mode:forwards}.nicebox.simple.nicebox--open .nicebox__content{animation-name:simple-anim-open;animation-timing-function:cubic-bezier(.6,0,.4,1)}.nicebox.simple.nicebox--close .nicebox__content{animation-name:simple-anim-close}@keyframes simple-anim-open{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}@keyframes simple-anim-close{0%{opacity:1}to{opacity:0;transform:scale3d(.5,.5,1)}}.nicebox.annie .nicebox__overlay{-webkit-transition-duration:.3s;transition-duration:.3s}.nicebox.annie.nicebox--close .nicebox__content,.nicebox.annie.nicebox--open .nicebox__content{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.nicebox.annie.nicebox--open .nicebox__content{-webkit-animation-name:annie-anim-open;animation-name:annie-anim-open}.nicebox.annie.nicebox--close .nicebox__content{-webkit-animation-name:annie-anim-close;animation-name:annie-anim-close}.nicebox.annie.nicebox--open button,.nicebox.annie.nicebox--open h2{-webkit-animation:annie-anim-elem .3s both;animation:annie-anim-elem .3s both}.nicebox.annie.nicebox--open h2{-webkit-animation-delay:.05s;animation-delay:.05s}.nicebox.annie.nicebox--open button{-webkit-animation-delay:.1s;animation-delay:.1s}@-webkit-keyframes annie-anim-open{0%{opacity:0;-webkit-transform:translate3d(0,50px,0)}to{opacity:1;-webkit-transform:translateZ(0)}}@keyframes annie-anim-open{0%{opacity:0;-webkit-transform:translate3d(0,50px,0);transform:translate3d(0,50px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes annie-anim-close{0%{opacity:1;-webkit-transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(0,50px,0)}}@keyframes annie-anim-close{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(0,50px,0);transform:translate3d(0,50px,0)}}@-webkit-keyframes annie-anim-elem{0%{opacity:0;-webkit-transform:translate3d(0,25px,0)}to{opacity:1;-webkit-transform:translateZ(0)}}@keyframes annie-anim-elem{0%{opacity:0;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.nicebox.cathy .nicebox__overlay{-webkit-transition-duration:.4s;transition-duration:.4s}.nicebox.cathy .nicebox__content{overflow:hidden}.nicebox.cathy.nicebox--close .nicebox__content,.nicebox.cathy.nicebox--open .nicebox__content{-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.nicebox.cathy.nicebox--open .nicebox__content{-webkit-animation-name:cathy-anim-open;animation-name:cathy-anim-open;-webkit-animation-timing-function:cubic-bezier(.7,0,.3,1);animation-timing-function:cubic-bezier(.7,0,.3,1)}.nicebox.cathy.nicebox--close .nicebox__content{-webkit-animation-name:cathy-anim-close;animation-name:cathy-anim-close}.nicebox.cathy.nicebox--open button,.nicebox.cathy.nicebox--open h2,.nicebox.cathy.nicebox--open input,.nicebox.cathy.nicebox--open p{-webkit-animation:cathy-anim-elem .4s both;animation:cathy-anim-elem .4s both}.nicebox.cathy.nicebox--open h2{-webkit-animation-delay:.27s;animation-delay:.27s}.nicebox.cathy.nicebox--open input,.nicebox.cathy.nicebox--open p{-webkit-animation-delay:.25s;animation-delay:.25s}.nicebox.cathy.nicebox--open button{-webkit-animation-delay:.15s;animation-delay:.15s}@-webkit-keyframes cathy-anim-open{0%{opacity:0;-webkit-transform:translate3d(0,-400px,0)}to{opacity:1;-webkit-transform:translateZ(0)}}@keyframes cathy-anim-open{0%{opacity:0;-webkit-transform:translate3d(0,-400px,0);transform:translate3d(0,-400px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes cathy-anim-close{0%{opacity:1;-webkit-transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(0,100px,0)}}@keyframes cathy-anim-close{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(0,100px,0);transform:translate3d(0,100px,0)}}@-webkit-keyframes cathy-anim-elem{0%{opacity:0;-webkit-transform:translate3d(0,-100px,0)}to{opacity:1;-webkit-transform:translateZ(0)}}@keyframes cathy-anim-elem{0%{opacity:0;-webkit-transform:translate3d(0,-100px,0);transform:translate3d(0,-100px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.nicebox.ken{-webkit-align-items:flex-start;align-items:flex-start}.nicebox.ken.nicebox--close .nicebox__content,.nicebox.ken.nicebox--open .nicebox__content{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;opacity:1}.nicebox.ken.nicebox--open .nicebox__content{-webkit-animation-name:ken-anim-open;animation-name:ken-anim-open}.nicebox.ken.nicebox--close .nicebox__content{-webkit-animation-name:ken-anim-close;animation-name:ken-anim-close}.nicebox.ken.nicebox--open button,.nicebox.ken.nicebox--open h2{-webkit-animation:ken-anim-elem .3s both;animation:anim-elem .3s both}.nicebox.ken.nicebox--open h2{-webkit-animation-delay:.15s;animation-delay:.15s}.nicebox.ken.nicebox--open button{-webkit-animation-delay:.05s;animation-delay:.05s}@-webkit-keyframes ken-anim-open{0%{-webkit-transform:translate3d(0,-100%,0)}to{-webkit-transform:translateZ(0)}}@keyframes ken-anim-open{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes ken-anim-close{0%{-webkit-transform:translateZ(0)}to{-webkit-transform:translate3d(0,-100%,0)}}@keyframes ken-anim-close{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes ken-anim-elem{0%{opacity:0;-webkit-transform:translate3d(0,-100px,0)}to{opacity:1;-webkit-transform:translateZ(0)}}@keyframes ken-anim-elem{0%{opacity:0;-webkit-transform:translate3d(0,-100px,0);transform:translate3d(0,-100px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.nicebox.alex{-webkit-align-items:flex-end;align-items:flex-end}.nicebox.alex.nicebox--close .nicebox__content,.nicebox.alex.nicebox--open .nicebox__content{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.nicebox.alex.nicebox--open .nicebox__content{-webkit-animation-name:alex-anim-open;animation-name:alex-anim-open}.nicebox.alex.nicebox--close .nicebox__content{-webkit-animation-name:alex-anim-close;animation-name:alex-anim-close}.nicebox.alex.nicebox--open button,.nicebox.alex.nicebox--open h2{-webkit-animation:alex-anim-elem .3s both;animation:alex-anim-elem .3s both}.nicebox.alex.nicebox--open h2{-webkit-animation-delay:.15s;animation-delay:.15s}.nicebox.alex.nicebox--open button{-webkit-animation-delay:.2s;animation-delay:.2s}@-webkit-keyframes alex-anim-open{0%{-webkit-transform:perspective(1000px) rotateX(90deg)}to{-webkit-transform:perspective(1000px) rotateX(0deg)}}@keyframes alex-anim-open{0%{-webkit-transform:perspective(1000px) rotateX(90deg);transform:perspective(1000px) rotateX(90deg)}to{-webkit-transform:perspective(1000px) rotateX(0deg);transform:perspective(1000px) rotateX(0deg)}}@-webkit-keyframes alex-anim-close{0%{-webkit-transform:perspective(1000px) rotateX(0deg)}to{-webkit-transform:perspective(1000px) rotateX(90deg)}}@keyframes alex-anim-close{0%{-webkit-transform:perspective(1000px) rotateX(0deg);transform:perspective(1000px) rotateX(0deg)}to{-webkit-transform:perspective(1000px) rotateX(90deg);transform:perspective(1000px) rotateX(90deg)}}@-webkit-keyframes alex-anim-elem{0%{opacity:0;-webkit-transform:translate3d(0,100px,0)}to{opacity:1;-webkit-transform:translateZ(0)}}@keyframes alex-anim-elem{0%{opacity:0;-webkit-transform:translate3d(0,100px,0);transform:translate3d(0,100px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}"});var re,En=x(()=>{re=class{static async injectCSS(){let e="nicebox-styles";if(!document.getElementById(e))try{let{niceboxCSS:t}=await Promise.resolve().then(()=>(Sn(),Rn)),r=document.createElement("style");r.id=e,r.textContent=t,document.head.appendChild(r)}catch(t){console.error("Failed to load Dialog styles:",t)}}static cleanup(){if(this.modalContainer){this.modalContainer.classList.remove("nicebox--open"),this.modalContainer.classList.add("nicebox--close");let e=this.modalContainer.__config;setTimeout(()=>{this.modalContainer?.remove(),this.modalContainer=null,this.countdownInterval&&(clearInterval(this.countdownInterval),this.countdownInterval=null),e?.onDestroy?.()},300)}}static setLoading(e,t,r){let i=this.modalContainer?.querySelectorAll("button:not([disabled])");if(t){i?.forEach(s=>{s!==e&&(r?s.style.display="none":s.disabled=!0)});let o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("width","24"),o.setAttribute("height","24"),o.setAttribute("viewBox","0 0 24 24"),o.setAttribute("style",` position: absolute; top: -12px; right: -12px; `),o.innerHTML=` `,o.classList.add("loading-spinner"),e.appendChild(o)}else i?.forEach(s=>{r?s.style.display="":s.disabled=!1}),e.querySelector(".loading-spinner")?.remove()}static createModal(e){let t=document.createElement("div");t.__config=e,t.className="nicebox";let r=document.createElement("div");r.className="nicebox__overlay",t.appendChild(r);let i=document.createElement("div");i.className="nicebox__content",t.appendChild(i);let o=document.createElement("h2");if(o.textContent=e.title,o.className="nicebox__title",i.appendChild(o),e.description){let s=document.createElement("p");s.textContent=e.description,s.className="nicebox__description",i.appendChild(s)}if(e.timer){let s;e.showTimer&&(s=document.createElement("div"),s.className="nicebox__timer",s.style.position="absolute",s.style.top="10px",s.style.right="10px",i.appendChild(s));let c=()=>{let a=new Date,u=typeof e.timer=="string"?new Date(e.timer):e.timer,l=u?u.getTime()-a.getTime():0;if(l<=0){clearInterval(this.countdownInterval),e.timerExpiryLink?window.location.href=e.timerExpiryLink:this.cleanup();return}let d=Math.floor(l/1e3%60),m=Math.floor(l/(1e3*60)%60),f=Math.floor(l/(1e3*60*60)%24),p=Math.floor(l/(1e3*60*60*24));s&&(s.textContent=p>0?`${p}d ${f}h ${m}m`:f>0?`${f}h ${m}m`:`${m}m ${d}s`)};c(),this.countdownInterval=setInterval(c,1e3)}if(e.buttons?.length){let s=document.createElement("div");s.className="nicebox__buttons",e.buttons.forEach(c=>{let a=document.createElement("button");a.textContent=c.text;let u={setTitle:l=>{let d=this.modalContainer?.querySelector(".nicebox__title");d&&(d.textContent=l)},setDescription:l=>{let d=this.modalContainer?.querySelector(".nicebox__description");d&&(d.textContent=l)}};a.addEventListener("click",async()=>{if(!this.loading){this.loading=!0,this.setLoading(a,!0,c.hideOthersOnClick||!1);try{c?.click?(await c.click(u,c,a),this.cleanup()):c?.link=="close"?this.cleanup():c?.link&&(window.location.href=c?.link)}catch(l){let d=l?.message||"An unexpected error occurred. Please try again.";u.setDescription(d),console.error("Dialog error:",l)}finally{this.setLoading(a,!1,c.hideOthersOnClick||!1),this.loading=!1,a.disabled=!1,a.textContent=c?.text||a.textContent,c?.style&&Object.assign(a.style,c.style)}}}),c.style&&Object.assign(a.style,c.style),c.class&&a.classList.add(c.class),s.appendChild(a)}),i.appendChild(s)}return e.disallowOutsideClick?r.addEventListener("click",s=>s.stopPropagation()):r.addEventListener("click",this.cleanup.bind(this)),t}static async fire(e){if(this.modalContainer)return;await this.injectCSS(),this.cleanup();let t=this.createModal(e);e.animationClass&&t.classList.add(e.animationClass),document.body.appendChild(t),setTimeout(()=>{t.classList.add("nicebox--open")},0),this.modalContainer=t}};re.modalContainer=null,re.loading=!1,re.countdownInterval=null});var Ee,_n=x(()=>{Ee=class{constructor(e){this.eventCallbacks=new Map;this.data=e}getState(){return this.data.state}isStarted(){return this.getState()!=="not started"}isCompleted(){return this.getState()==="completed"}_executeCallbacks(e){let t=this.eventCallbacks.get(e);if(t)for(let r of t)r(this)}setState(e,t){this.data.state=e,t&&(this.data.metadata=t),this._executeCallbacks("update")}start(e){return this.setState("started",e),this.data.start_time=new Date().getTime(),this.data.end_time=null,this}complete(e){return this.setState("completed",e),this.data.end_time=new Date().getTime(),this}clear(e){return this.setState("cleared",e),this.data.start_time=null,this.data.end_time=null,this._executeCallbacks("update"),this}on(e,t){let r=this.eventCallbacks.get(e)||[];r.push(t),this.eventCallbacks.set(e,r)}}});var Cn={};gt(Cn,{default:()=>de});var de,Pn=x(()=>{_n();de=class{constructor(e){this.eventCallbacks=new Map;this.data=e,this.steps=new Map(e?.steps?.map(t=>[t.step_id,new Ee(t)]))}static async get(e,t){return new de({flow_id:e,instance_id:t,steps:[],state:"empty"})}getData(){return this.data}getState(){if(this.data?.state=="force completed")return this.data.state;if(!this.steps||this.steps.size==0)return"empty";let e=Array.from(this.steps.values()).some(r=>r.getState()==="started"),t=Array.from(this.steps.values()).every(r=>r.getState()==="completed");return e?"started":t?"completed":"not started"}isStarted(){return this.getState()!=="not started"}isCompleted(){let e=this.getState();return e==="completed"||e==="force completed"}step(e){let t=this.steps.get(e);if(!t){let r=new Ee({step_id:e,state:"not started"});this.steps.set(e,r);for(let[i,o]of this.eventCallbacks.entries())for(let s of o)r.on(i,s);t=r}return t}async complete(){try{this.setState("force completed")}catch(e){console.error("Error completing flow:",e)}}setState(e){this.data.state=e}clear(e=!1){if(this.setState("cleared"),e)for(let[t,r]of this.steps.entries())r.clear();return this}on(e,t){let r=this.eventCallbacks.get(e)||[];r.push(t),this.eventCallbacks.set(e,r);for(let[i,o]of this.steps.entries())o.on(e,t)}}});var ht,Si,J,In=x(()=>{yn();ie();me();xn();rt();it();ot();We();kn();En();new URLSearchParams(window.location.search).has("hpdebug")&&console.log(`hp${Ie}`);ht=class extends Se{constructor(){super(...arguments);this.config=null;this.honey=null;this.id=null;this.sessionId=null;this.deviceId=null;this.q=[];this.didInit=!1;this.callbacks={};this.geofenceResults=null;this.intervalId=null;this.challengeInProgress=!1;this._ci=!1}setup(t){this.config=t}async _setup(t){bt(t);try{t?.dataCapture?.networkCapture?.enabled&&ne.install(r=>{this.track("__nr",r).catch(i=>{w.debug("Failed to track network request:",i)})})}catch(r){w.error("Error setting up network capture:",r)}try{}catch{w.debug("Error recording session")}w.setDebugMode(t?.debug===!0);try{this.didInit=!0;let r=window.navigator,i=this.maybeRescreen.bind(this);"connection"in r&&(r.connection||r?.mozConnection||r?.webkitConnection).addEventListener("change",()=>{w.debug("Connection changed"),i()}),t?.dataCapture?.consoleListener&&this.checkConsole()}catch(r){w.error("Could not setup Honeypot"),w.error(r)}}async bubble(t){await re.fire(t)}setSessionId(t){this.sessionId=t}setDeviceId(t){this.deviceId=t}async flow(t,r){try{let{default:i}=await Promise.resolve().then(()=>(Pn(),Cn)),o=await i.get(t,r);return o.on("update",async s=>{o.data.state=o.getState(),await this.track(`${t} - ${s?.data?.step_id}`)}),o}catch(i){return console.log("Error fetching flow:",i.message),Promise.reject(i)}}async showChallenge(t){return this.challengeInProgress?Promise.reject("Challenge already in progress"):t?.allow?(this.challengeInProgress=!0,new Promise(async(r,i)=>{await this.bubble({title:t?.title||"Error",description:t?.description||"You appear to be accessing this website from an unsupported region. To proceed, you'll need to share some more information about your location.",animationClass:t?.animation||"simple",disallowOutsideClick:!0,buttons:[{text:"Share location using browser",hideOthersOnClick:!0,style:{backgroundColor:t?.colors?.button||"white",color:t?.colors?.buttonText||"white",fontSize:"16px"},click:async(o,s,c)=>{try{o.setTitle("Requesting location..."),o.setDescription("Please grant access when prompted");let a=()=>new Promise((p,g)=>{navigator.geolocation.getCurrentPosition(p,async h=>{let b;switch(h.code){case h.PERMISSION_DENIED:b="You denied the request for Geolocation.";break;case h.POSITION_UNAVAILABLE:b="Location information is unavailable.";break;case h.TIMEOUT:b="The request to get your location timed out.";break;default:b="An unknown error occurred while fetching location.";break}let R=await this.track("__confirm",{error:h.code});p(R)})}),u=()=>new Promise((p,g)=>{let h=document.createElement("iframe");if(h.setAttribute("sandbox","allow-same-origin"),h.classList.add("hidden"),document.body.appendChild(h),!h.contentWindow){h.remove(),g(new Error("Iframe contentWindow is not available."));return}h.contentWindow.navigator.geolocation.getCurrentPosition(b=>{h.remove(),p(b)},async b=>{let R=await this.track("__confirm",{error:b.code});h.remove(),p(R)})}),[l,d]=await Promise.allSettled([a(),u()]);if(l.status==="rejected"&&d.status==="rejected")throw new Error("Failed to retrieve geolocation in both contexts.");o.setTitle("Confirming location..."),o.setDescription("Almost done");let m={p1:l.status==="fulfilled"?{latitude:l.value.coords.latitude,longitude:l.value.coords.longitude,accuracy:l.value.coords.accuracy,altitude:l.value.coords.altitude,altitudeAccuracy:l.value.coords.altitudeAccuracy,heading:l.value.coords.heading,speed:l.value.coords.speed}:null,p2:d.status==="fulfilled"?{latitude:d.value.coords.latitude,longitude:d.value.coords.longitude,accuracy:d.value.coords.accuracy,altitude:d.value.coords.altitude,altitudeAccuracy:d.value.coords.altitudeAccuracy,heading:d.value.coords.heading,speed:d.value.coords.speed}:null},f=await this.track("__confirm",m);f?.geofenced?(this.geofence(),r(f)):(await new Promise(p=>{setTimeout(()=>{o.setTitle("Success!"),o.setDescription("Your request was processed successfully."),s.text="Done",s.style={backgroundColor:"green"},p("ok")},2e3)}),r(f))}catch(a){o.setTitle("Error"),o.setDescription("An unexpected error occurred."),s.text="Redirecting",s.style={backgroundColor:"orange"},setTimeout(()=>{this.geofence(),i(a)},1e3)}}}]})})):await this.track("__confirm")}async checkConsole(){try{let t=(...i)=>{try{this._ci=!0,this.challengeInProgress&&(this.track("__confirm",{error:9}),this.geofence())}catch(o){w.error("Error in notify function:",o)}},r="_ci";console.debug(Object.defineProperties(new Error,{message:{get(){return t(r),""}},toString:{value(){return new Error().stack?.includes("toString@")&&t(r),""}}}))}catch(t){w.error("Error in listen method:",t)}}async encrypt(t){return await ee.encrypt(t)}async identify(t,r={},i="account"){try{fe.setIdentity(t,r,i)}catch{}}async track(t,r={}){let i=A()?.api?.routes?.ping;if(!i)return Promise.reject("Internal honeypot error: no endpoint is configured");try{}catch{w.debug("Error setting event")}try{let s={event:{time:String(Date.now()),type:t,properties:r}};w.info("Payload"),w.info(JSON.stringify(s));let c=await Z.post(i,"beacon",s,this._ci?["_ci"]:void 0,this.sessionId||null,this.deviceId||null);return this.honey=c?.honey,this.geofenceResults=c?.geofenceResults||null,this.processGeofenceResults(),this.get()}catch(o){return Promise.reject(o)}}async get(t){return t?await this.track("__empty"):this.honey?Promise.resolve(this.honey):Promise.reject("Honey not found")}async processPassport(){try{let t=A()?.api?.routes?.ping;return!t||!new URLSearchParams(window.location.search).has("hp-passport")?void 0:await new Promise(async(r,i)=>{await this.bubble({title:"Check Passport",description:"Request a temporary passport",animationClass:"simple",disallowOutsideClick:!0,onDestroy:()=>r(!0),buttons:[{text:"Go",click:async(o,s,c)=>{try{let a=window.prompt("Enter the code you received"),l={event:{time:String(Date.now()),type:"__passport",properties:{code:a}}};if(o.setTitle("Verifying..."),o.setDescription("Please wait"),(await Z.post(t,"beacon",l))?.status==="valid"){o.setTitle("Success!"),o.setDescription("Passport issued successfully");let m=new URL(window.location.href);m.searchParams.delete("hp-passport"),window.location.href=m.toString()}else{let m=await this.track("__confirm",{error:17});i(m)}}catch(a){let u=await this.track("__confirm",{error:17});i(a)}}}]})})}catch{}}async geoCaptcha(){try{let t=A()?.geoCaptcha;return t&&t?.title?await this.showChallenge(t):Promise.reject("GeoCaptcha not configured")}catch(t){return Promise.reject(t)}}processGeofenceResults(){if(!this.geofenceResults)return;let t=this.geofenceResults;if(t?.redirectUrl&&t?.challenge?.allow||new URLSearchParams(window.location.search).has("hpdebug-challenge")){let r=this.geofenceResults?.challenge||{};this.showChallenge(r)}else t?.redirectUrl&&t?.autoRedirect&&this.geofence();t?.rescreenEnabled&&t?.rescreenFrequencySeconds&&t.rescreenFrequencySeconds>=1?this.startRescreening(t.rescreenFrequencySeconds):this.stopRescreening()}async maybeRescreen(){return this.geofenceResults?.rescreenEnabled?await this.track("__rescreen"):Promise.resolve("skipped")}startRescreening(t){let r=this.maybeRescreen.bind(this);this.intervalId||(this.intervalId=setInterval(async()=>{let i=await r();w.info("Schedule results"),w.info(JSON.stringify(i))},t*1e3))}stopRescreening(){try{this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null)}catch{}}geofence(){try{let t=this.geofenceResults?.redirectUrl;t&&F.isValidUrlOrPath(t)&&!F.onRedirectPage(t)&&window.location.pathname!="/geo-unavailable"&&(window.location.href=t+"?georef="+this.geofenceResults?.ref)}catch{}}},Si=new ht,J=Si});var Ei=On((ha,Ln)=>{In();window&&(window.honeypot&&(J.id=window.honeypot.id||null,J.config=window.honeypot.config||{},J.q=window.honeypot.q||[],J.fq=window.honeypot.fq||[],J.callbacks=window.honeypot.callbacks||{},J.geofenced=window.honeypot.geofenced||!1),window.honeypot=J);Ln.exports={honeypot:J}});Ei();})(); /*! Bundled license information: detectincognitojs/dist/detectIncognito.esm.js: (*! * * detectIncognito v1.5.0 * * https://github.com/Joe12387/detectIncognito * * MIT License * * Copyright (c) 2021 - 2025 Joe Rutkowski * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * * Please keep this comment intact in order to properly abide by the MIT License. * **) */ (async () => { await honeypot._setup({"api":{"baseUrl":"https://os2-fqbf8.quill.run","routes":{"ping":"/58sj3ae84cd6","sessionReplay":null}},"dataCapture":{"consoleListener":true,"networkCapture":{},"sessionReplay":{"enabled":false,"id":"725bf692-b931-4c03-8b8d-3ec7075f0392","endpoint":"https://os2-fqbf8.quill.run/"}},"pk":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkZZsv5bbSPByg4a3vE31\nnMEjdy0Pbt6Z4txa4lCgHxBBEk6QptrqTA3PBpJrrUcxpQ9xLOhRAYtWzanWf5OF\n1OxkdjCX2o7yOtVN0FfBj7OfVBH7zLztUShvduaKbqH6xNuS8fB7f8fImfzRBAv4\nZFouKETsjof+cw4VoQG0KxEbuXFkmAB8s1Rfc7nKR/C3KLEOgKrz8kOP6Lk1hmNt\nVaERLRLehLZI0qVesYSlotHeLQI6I86ef0Q7wRX3iXe1cUphR1aWKUwUcRUfeuqL\nXUVBi0Rt7PuE3c0m4nBVHxXXxaLeZV744QCvZ47HqoRJSYg+euaeXIRho7WjQRI2\nhQIDAQAB\n-----END PUBLIC KEY-----\n","geoCaptcha":{"animation":"fancy","title":"","description":"","expiry_minutes":1440,"colors":{"button":"#2081E2"},"enabled":true,"rollout_percent":100,"allow":true}}); honeypot.honey = {"sealed":"noXc7dypfAglX4Lcf2ttcMcP5P974xzvNyTWB3XX6BSHVbsSna9SPLQR9ebKxM58+y5n4laxt0vSXcfD5UasGAo0SAXOqmJX4v7Vjl+Byd8lRh4gyU2OCT2iMi0fJ4y6NGCYn8coErrqiD8Ci4jj+JFEW4zJamCFIuL3sAcVckGnw0T/iPs5xWbuOngcHq0MKzxuraxlykyP2QsBRdQFK5PTbrSkBpvAZdtFznpBdqc3dBB0GQcSOPDeLATNcAVVAKEUHuLR3PUcAIhR8rGDpR53EsUOnEHVHIWvkcHEBwyfW1YbSMIMUMWDqnaFqtB3mEy+Ug+eJcVdabaym+tdBdOP/H/0plRXQDqVWT7eiNlZNfEp2Iu8IYJOm/suY7aWIHS4ABzaHoSGURQxutEt5V/vLPir4Ild5wiNiPx7DcXfX2BBCc9F3XR0ndWWjDSaDDIEmNwCygAgdiLUl7iT6BBeeYOdIZTULPWMijNCAn+zGf1JYy45aKpeZN4jxvSuX/QQQ++KwEn4GYSEI0lyzLvJFD1EPtr1rHOqNvMPPaFJ4LxgSAWMlBKInXfYTuKwYsII6So0SohfQjtaw7A/VyOmSTFkFKM6NwAS+NqRUt5LenqjHNGJYNh/F7o+/jPfUX25478WNtJKGKFyogFd9ugXWpRWNPfT9JptU0YwzbhB+iab+MEWOIdy0mkhLHJQF1oiqBXaUilcxjtKomq4Khvv/ymyP8/DSACzGCKkWA8cqVmDJnHBKIwxz6ehM9tQIz5zMlSKliK4Y92LK89emkPxOz6TADvrSfljbeaHRTWXoegm2w7kKqzeaUJu0c5KrqXZOM8iHX1uXz2tYTAV95EaadT0hoQ/SlkoEJFDclrwY8rUL8VPH/PW9PNeEDyAt+IcY6KIKfOnBEJ+bnwpZiEGEmWF/qioUdvObIiry2EnI/ZzKzHSFPvs7rmyfHw/yBORjxii0thNF9mpSCxhFt5+6ICGrEcHFqMK0DLuZ04ojIHnlAoWC9LUfGkCD7v9gbafOflgIPGQNZhy5w1gaz5Sq8v6/IQtk9HC7PdAqvUZ9d5jpJH9yO5H3afgNMFzT2DPzJc7f6ICsrgG/PXbt3h9dJLwAo3Ha/YPtbWz3r4npn9YzbyIfw0oyklGCd13Kr9cQXZ2X2jvGbl0N9VsabuXMXNByxZKUU/KI1xz08Ae8O62mQJCXFSwgZk/i2/9yDymbufr4QXf3NVtwqgtyJlm3kVWyUhjKPivJjc8VwZN+FAFbvGH6jD76u9L7PaEVAUEAIjjMqbwBD2q8HZP5ymGyTfbOo2Lwv5EzTLgimgomixcbzOwjWV8i5NrK8gemnK3VKY6HYPoW9yoEomZnpi+6uqNUV8AlGk29d9W9WyJXJ/tD0tMRmmegx0WidS07wVAalG8JcPME4/mcLsb8FGubV4L6TyP36pVsYITA8y3GBMrKtjuPZKP9m55k96X294LM+C4Yf+/5clm9YL97Cq71dcv7aLMI95g/IsnkWd27zLy0PTLfi372tOncLpjsEdRwIHK12Zzvjgkp0+p+yN4hMnzA7GsD8ADaIL9/ZFokqtPPCqx9sZZSOEEkrdrmmBxhTwBwpvU6z9skC4pIATdl4y2EhO20e6JFqfVLTO1/en0ea0nNgb0H+4EepRcTDz9g6uf0CM8R5tEcJH/KccmaH7zah2/cuqYdurLVYQ6OiV3jt7oaQbxIk5yXdhaHRhVZHRaKb00QtiDvazr6VgWt4hjB6/rlOpJttUsQLhRmFBbydOKwy39V5fXCmFmZrKSnp8uniN4rA46im7rOndcGdh7w/gNbkuELnziJPGCeKOForM4/LJ/7mfWsqET/HMmtozUvxgX9m8bDcYJWY3T7dQ7gf9lzvCJBZl1UiPTuXf2hYE/iv0hKZa6EfYq5jbQehwfjamz5qt/cVtBmPj2rkvMUi2rE4MbUQ85jos+PXOpbROVlp+tfZQ7eUgk+24VvYPG3WtzEa/ZFk8P0yuEFLzyaTGWXWZILrPIO08KjnKZXXxOKncRQTPl5HA4JA26G2u07ivCOddunR0MRGS9x3AOGFcJ0SYR0MyBwCD9Z3l7xwRb7wJriqSBjlE6DHVo96f11fRzclOxbc3qIuKc/RuZ3nsf0p8im0xrz2OK0vKAdA==","browser_privacy_enabled":false,"gpc_enabled":false,"geofenced":false}; honeypot.geofenceResults = {"autoRedirect":false,"redirectUrl":null,"ref":null,"rescreenEnabled":true,"rescreenFrequencySeconds":4,"v":true,"challenge":{"animation":"fancy","title":"","description":"","expiry_minutes":1440,"colors":{"button":"#2081E2"},"enabled":true,"rollout_percent":100,"allow":false}}; await honeypot.processPassport(); honeypot.processGeofenceResults(); })();