Socket
Socket
Sign inDemoInstall

@fingerprintjs/fingerprintjs-pro

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fingerprintjs/fingerprintjs-pro - npm Package Compare versions

Comparing version 3.3.1 to 3.3.2

4

dist/fp.cjs.min.js
/**
* FingerprintJS Pro v3.3.1 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
* FingerprintJS Pro v3.3.2 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
*

@@ -8,2 +8,2 @@ * This software contains code from open-source projects:

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("@fingerprintjs/fingerprintjs");function n(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function r(e,t){return new Promise((function(n){var r=document,i=function(){return r.hidden?s():a()},o=function(e,t,n){var r,i=!1,o=e,a=0,s=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&s(),{start:s,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!r.hidden,(function(){r.removeEventListener("visibilitychange",i),n(t)})),a=o.start,s=o.stop;r.addEventListener("visibilitychange",i)}))}function i(t,n){return e.__awaiter(this,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t()];case 1:return[2,e.sent()];case 2:return r=e.sent(),console.error(r),[2,n];case 3:return[2]}}))}))}function o(t,n){var r=this;return new Promise((function(i,o){var a=n(),s=!1;null==t||t.then(i,o).then((function(){return s=!0}));var u=function(t){return e.__awaiter(r,void 0,void 0,(function(){var n,r;return e.__generator(this,(function(e){switch(e.label){case 0:if(t.done)return[2,i(t.value)];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.value];case 2:if(n=e.sent(),!s)try{u(a.next(n))}catch(c){o(c)}return[3,4];case 3:if(r=e.sent(),!s)try{u(a.throw(r))}catch(c){o(c)}return[3,4];case 4:return[2]}}))}))};u(a.next())}))}function a(t,n){var r;return void 0===n&&(n=!1),e.__assign({name:t.name,message:t.message,stack:n?null===(r=t.stack)||void 0===r?void 0:r.split("\n"):t.stack},t)}function s(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function u(t,n){var r;return e.__generator(this,(function(e){switch(e.label){case 0:r=0,e.label=1;case 1:return[4,Math.random()*Math.min(n,t*Math.pow(2,r))];case 2:e.sent(),e.label=3;case 3:return++r,[3,1];case 4:return[2]}}))}function c(e){return e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=l.slice(0,-2);function f(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}function v(e){if("function"==typeof TextDecoder){var t=(new TextDecoder).decode(e);if(t)return t}var n=c(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,n)))}function g(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function h(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function m(e,t){return(e-t+256)%256}function _(e){for(var t=c(e),n=t.length,r="",i=0;i<n;i+=3)r+=l[t[i]>>2]+l[(3&t[i])<<4|t[i+1]>>4]+l[(15&t[i+1])<<2|t[i+2]>>6]+l[63&t[i+2]];return n%3==2?r.slice(0,-1)+"=":n%3==1?r.slice(0,-2)+"==":r}function p(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" "+r:t+=e[n]}else t+=e[n].toUpperCase();return t}function b(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function w(e){return b(e,d)}function y(){return 256*Math.random()|0}function E(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&i((function(){return e.apply(void 0,t)}))},o=0,a=e;o<a.length;o++){var s=a[o];r(s)}}}function R(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"Getting TLS has started";case 7:return"Getting TLS has succeeded";case 8:return"Getting TLS has failed";case 9:return"TLS request try has started";case 10:return"TLS request try has succeeded";case 11:return"TLS request try has failed";case 12:return"Getting fingerprint has started";case 13:return"Getting fingerprint has succeeded";case 14:return"Getting fingerprint has failed";case 15:return"Visitor identifier request has started";case 16:return"Visitor identifier request has succeeded";case 17:return"Visitor identifier request has failed";case 18:return"Visitor identifier request try has started";case 19:return"Visitor identifier request try has succeeded";case 20:return"Visitor identifier request try has failed"}}function T(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:case 17:case 20:console.error(S(e,t));break;case 13:var n=S(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(S(e,t))}}}var k=T;function S(t,n){var r=n.e,i=e.__rest(n,["e"]),o=""+t+(new Date).toISOString()+": "+R(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?a(t,!0):t instanceof ArrayBuffer?"(base64) "+_(t):t}),2)}(i)+"\n```"),o}function I(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,s=void 0!==a&&a,u=e.timeout,c=e.responseFormat,l=e.abort;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var d in a.open(r,t,!0),a.withCredentials=s,a.timeout=void 0===u?0:Math.max(u,1),"binary"===c&&(a.responseType="arraybuffer"),o)a.setRequestHeader(d,o[d]);a.onload=function(){return e(function(e){return{body:e.response,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(O("TimeoutError","The request timed out"))},a.onabort=function(){return n(O("AbortError","The request is aborted"))},a.onerror=function(){return n(O("TypeError",navigator.onLine?"Connection error":"Network offline"))},a.send(function(e){var t,n=function(){try{return new Blob([]),!1}catch(t){return!0}};if(e instanceof ArrayBuffer){if(!n())return new Uint8Array(e)}else if((null===(t=e)||void 0===t?void 0:t.buffer)instanceof ArrayBuffer&&n())return e.buffer;return e}(i)),null==l||l.catch((function(){})).then((function(){a.onabort=null,a.abort()}))}))}function O(e,t){var n=new Error(t);return n.name=e,n}function A(e){var t,n=e.url,r=e.body;if(null===(t=navigator.sendBeacon)||void 0===t?void 0:t.call(navigator,n,r))return!0;var i=new XMLHttpRequest;i.open("POST",n,!function(){var e,t=null===(e=window.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),r instanceof Blob&&i.setRequestHeader("Content-Type",r.type);try{i.send(r)}catch(o){return!1}return!0}function C(t,n,r,o,a){return e.__awaiter(this,void 0,void 0,(function(){var s,u,c;return e.__generator(this,(function(e){switch(e.label){case 0:(u=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t&&i((function(){var r=e.apply(void 0,n);void 0!==r&&t(r)}))})(n),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a()];case 2:return s=e.sent(),[3,4];case 3:throw c=e.sent(),u(o,c),c;case 4:return u(r,s),[2,s]}}))}))}function D(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:w(10)}function N(){var e=window,t=navigator;return g(["maxTouchPoints"in t,"mediaCapabilities"in t,"PointerEvent"in e,"visualViewport"in e,"onafterprint"in e])>=4}var x=function(e){return new P(e).addEvent},P=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t,n=performance;if(n.timeOrigin){var r=null===(t=null===(e=n.getEntriesByType)||void 0===e?void 0:e.call(n,"navigation"))||void 0===t?void 0:t[0];if(r)return n.timeOrigin+(r.responseStart||r.unloadEventEnd)}return n.timing.domLoading||n.timing.responseStart||n.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=document.readyState,n.isPageVisible=B(),n.isFullscreen=V(),n.network=G()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=window,r=document,i=[[r,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[r,"visibilitychange",function(){return t.handleVisibilityChange()}],[r,"pageshow",function(){return t.handlePageTransition(!0)}],[r,"pagehide",function(){return t.handlePageTransition(!1)}],[n,"unload",function(){return t.handlePageUnload()}]],o=0,a=i;o<a.length;o++){var s=a[o],u=s[0],c=s[1],l=s[2];u.addEventListener(c,l)}var d=function(e,t){for(var n=document,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],i=0,o=r;i<o.length;i++){var a=o[i];n.addEventListener(a,e,t)}return function(){for(var i=0,o=r;i<o.length;i++){var a=o[i];n.removeEventListener(a,e,t)}}}((function(){return t.handleFullscreenChange()})),f=function(e){var t=navigator.connection;return(null==t?void 0:t.addEventListener)?(t.addEventListener("change",e),function(){t.removeEventListener("change",e)}):(addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)})}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,n=i;e<n.length;e++){var r=n[e],o=r[0],a=r[1],s=r[2];o.removeEventListener(a,s)}d(),f()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:B()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:V()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:G()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];L(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var s=a[o],u=i.getCalls[s];L(u)||u.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,c,l,d,f,v=function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];"agentEvent"===i.type&&(t[i.event.e]=i)}return t}(e),g=(null===(n=e[e.length-1])||void 0===n?void 0:n.time)||new Date,h="null",m=0,_=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];m<_.length;m++){var p=_[m],b=p[0],w=p[1];if(v[b]){h=w;break}}return{time:(null===(r=e[e.length-1])||void 0===r?void 0:r.time)||new Date,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:s(),agentVersion:null===(i=v[0])||void 0===i?void 0:i.event.version,userAgent:navigator.userAgent,pageViewId:D(),agentId:null===(o=v[0])||void 0===o?void 0:o.event.agentId,getCallId:null===(a=v[3])||void 0===a?void 0:a.event.getCallId,requestId:null!==(c=null===(u=v[4])||void 0===u?void 0:u.event.result.requestId)&&void 0!==c?c:null===(l=v[5])||void 0===l?void 0:l.event.error.requestId,visitorId:null===(d=v[4])||void 0===d?void 0:d.event.result.visitorId,visitorToken:null===(f=v[16])||void 0===f?void 0:f.event.result[1],identificationState:h,load:q(g,v[0],v[1],v[2]),get:q(g,v[3],v[4],v[5]),tls:M(q(g,v[6],v[7],v[8]),(function(){var t,n;return j(e,9,10,11,(null===(t=v[7])||void 0===t?void 0:t.time)||(null===(n=v[8])||void 0===n?void 0:n.time)||g)})),fingerprint:q(g,v[12],v[13],v[14],(function(e){var t=e.event;return{failedComponents:U(t.result),componentDurations:F(t.result)}})),visitorIdRequest:M(q(g,v[15],v[16],v[17]),(function(){var t,n;return j(e,18,19,20,(null===(t=v[16])||void 0===t?void 0:t.time)||(null===(n=v[17])||void 0===n?void 0:n.time)||g)})),events:e}}(function(e,t,n){var r=[];e[t]&&(r.push.apply(r,e[t].loadEvents),void 0!==n&&r.push.apply(r,e[t].getCalls[n]||[]));return r}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function L(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function q(t,n,r,i,o){if(void 0!==n)return void 0!==r?e.__assign(e.__assign({},null==o?void 0:o(r)),{duration:r.time.getTime()-n.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-n.time.getTime(),state:"fail",error:i.event.error}:{duration:t.getTime()-n.time.getTime(),state:"incomplete"}}function j(e,t,n,r,i){var o=function(e,t){for(var n={},r=0,i=e;r<i.length;r++){var o=i[r];if("agentEvent"===o.type&&-1!==t.indexOf(o.event.e)){var a=o.event;n[a.tryNumber]||(n[a.tryNumber]={}),n[a.tryNumber][a.e]=o}}for(var s=[],u=0,c=Object.keys(n);u<c.length;u++){var l=c[u];s.push(n[l])}return s}(e,[t,n,r]);return{triesCount:o.length,triesTotalDuration:o.reduce((function(e,o){var a=o[t],s=o[n]||o[r];return a?e+((null==s?void 0:s.time)||i).getTime()-a.time.getTime():e}),0)}}function M(t,n){return t?e.__assign(e.__assign({},t),n()):void 0}function U(e){return Object.keys(e).filter((function(t){return e[t].error}))}function F(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=e[i].duration}return t}function B(){return!document.hidden}function V(){return!!t.getFullscreenElement()}function G(){var e=navigator.connection;return{online:navigator.onLine,downlink:null==e?void 0:e.downlink,downlinkMax:null==e?void 0:e.downlinkMax,effectiveType:null==e?void 0:e.effectiveType,roundTrip:null==e?void 0:e.rtt,saveData:null==e?void 0:e.saveData,type:null==e?void 0:e.type}}var H=function(t){var n=this,r=t.clientId,i=t.token,o=t.endpoint,a=void 0===o?"https://api.rollbar.com/api/1/item/":o;return new P((function(t){return e.__awaiter(n,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return n=function(e,t,n,r){return{access_token:n,data:W(e,t,r)}}(t,r,i),[4,Y(a,n)];case 1:return e.sent(),[2]}}))}))})).addEvent};function W(t,n,r){var i,o;void 0===r&&(r=[8,4,4,4,12].map((function(e){return b(e,"0123456789abcdef")})).join("-"));var a=K[t.identificationState],s=a.level,u=a.message;return{environment:n,level:s,timestamp:Math.round(t.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:r,notifier:{name:"FingerprintJS Pro monitoring",version:"3.3.1"},request:{url:t.pageUrl,query_string:(null!==(i=/\?.*$/.exec(t.pageUrl))&&void 0!==i?i:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:t.userAgent,code_version:t.agentVersion}},person:void 0===t.visitorId?void 0:{id:"visitorId:"+t.visitorId},body:{telemetry:e.__spreadArrays([{level:"debug",source:"client",timestamp_ms:t.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(o=t.fingerprint)||void 0===o?void 0:o.state)?J(t.fingerprint.componentDurations):void 0}}],t.events.map(X)),message:{body:u}},custom:{isInIframe:t.isInIframe,pageViewId:t.pageViewId,agentId:t.agentId,getCallId:t.getCallId,requestId:t.requestId,visitorId:t.visitorId,visitorToken:t.visitorToken,identificationState:t.identificationState,load:t.load,get:t.get,tls:t.tls,fingerprint:$(t.fingerprint),visitorIdRequest:t.visitorIdRequest}}}var K={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function X(t){var n={type:"manual",level:"debug",source:"client",timestamp_ms:t.time.getTime()};switch(t.type){case"documentReadyState":return e.__assign(e.__assign({},n),{body:{message:'Document ready state becomes "'+t.state+'"'}});case"pageVisibilityToggle":return e.__assign(e.__assign({},n),{body:{message:"Page becomes "+(t.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return e.__assign(e.__assign({},n),{body:{message:t.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return e.__assign(e.__assign({},n),{body:{message:"Programmatic fullscreen "+(t.isFullscreen?"on":"off")}});case"networkChange":return e.__assign(e.__assign({},n),{body:e.__assign(e.__assign({},t.network),{message:"Network connection changes"})});case"pageUnload":return e.__assign(e.__assign({},n),{body:{message:"Page is about to unload (terminate)"}})}var r=t.event,i=function(i,o){void 0===o&&(o="info");for(var a=i,s=(a.e,a.agentId,a.getCallId,e.__rest(a,["e","agentId","getCallId"])),u=e.__assign(e.__assign({},n),{level:o,body:e.__assign({message:R(r.e)},s)}),c=0,l=["documentReadyState","isPageVisible","isFullscreen","network"];c<l.length;c++){var d=l[c];void 0!==t[d]&&(u.body[d]=t[d])}return u};switch(r.e){case 0:r.version;return i(e.__rest(r,["version"]));case 1:case 3:case 4:case 6:case 9:case 12:case 15:case 16:case 18:return i(r);case 2:case 5:case 8:case 11:case 14:case 17:case 20:return i(r,"error");case 7:return i(e.__assign(e.__assign({},r),{result:h(r.result,1e3)}));case 10:return i(e.__assign(e.__assign({},r),{body:h(r.body,1e3)}));case 13:return i(e.__assign(e.__assign({},r),{result:z(r.result)}));case 19:var o=r.body;if(o instanceof ArrayBuffer){o="(base64) "+(o.byteLength>1800?_(new Uint8Array(o,0,1800))+"...":_(o))}return i(e.__assign(e.__assign({},r),{body:o}))}}function $(t){if(!t||"incomplete"===t.state||"fail"===t.state)return t;t.componentDurations;var n=e.__rest(t,["componentDurations"]),r=t.failedComponents.length?","+t.failedComponents.join(",")+",":void 0;return e.__assign(e.__assign({},n),{failedComponents:r})}function J(t,n){void 0===n&&(n="_");for(var r=e.__assign({},t),i=0,o=Object.keys(t);i<o.length;i++){var a=o[i];if(/^\d+$/.test(a)){delete r[a];var s=a;do{s=""+n+s}while(s in r);r[s]=t[a]}}return r}function z(t){var n,r="(removed to fit into beacon)";return function(t,n){for(var r={},i=0,o=Object.keys(t);i<o.length;i++){var a=o[i];!t[a].error&&n[a]?r[a]=e.__assign(e.__assign({},t[a]),{value:n[a](t[a].value)}):r[a]=t[a]}return r}(t,((n={plugins:function(e){return e&&r}})[14]=function(t){return e.__assign(e.__assign({},t),{data:r})},n.math=function(){return r},n.fontPreferences=function(){return r},n[31]=function(e){return e&&r},n[9]=function(e){return e&&r},n))}function Y(t,r){return e.__awaiter(this,void 0,void 0,(function(){var i,o;return e.__generator(this,(function(e){switch(e.label){case 0:i=function(e){return JSON.stringify(e,(function(e,t){if(t instanceof Error){var n=a(t);return"string"==typeof n.stack&&(n.stack=h(n.stack,1e3)),n}return t}))}(r),o=u(1e3,1e4),e.label=1;case 1:return navigator.onLine&&A({url:t,body:i})?[3,4]:[4,n(o.next().value)];case 2:e.sent(),e.label=3;case 3:return[3,1];case 4:return[2]}}))}))}var Q={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function Z(t,r,i){return e.__awaiter(this,void 0,void 0,(function(){var a;return e.__generator(this,(function(s){return a=0,[2,C(i,(function(){return{e:6,endpoint:t}}),(function(e){return{e:7,result:e}}),(function(e){return{e:8,error:e}}),(function(){return function(t,r,i){void 0===i&&(i=5);var a,s=u(300,1e4);return o(null==r?void 0:r.catch((function(){})).then((function(){throw a||ee("Timeout",-3)})),(function(){var o,u,c;return e.__generator(this,(function(e){switch(e.label){case 0:o=0,e.label=1;case 1:u=Date.now(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t(r)];case 3:return[2,e.sent()];case 4:if(c=e.sent(),o>=i-1)throw c;return a=c,[3,5];case 5:return[4,n(u+s.next().value-Date.now())];case 6:e.sent(),e.label=7;case 7:return++o,[3,1];case 8:return[2]}}))}))}((function(n){return function(t,n,r,i,o){return e.__awaiter(this,void 0,void 0,(function(){var a,s;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,C(o,(function(){return{e:9,tryNumber:r,timeout:n}}),(function(e){var t=e.status,n=e.body;return{e:10,tryNumber:r,status:t,body:n}}),(function(e){return{e:11,tryNumber:r,error:e}}),(function(){return I({url:t,timeout:n,abort:i})}))];case 1:return a=e.sent(),[3,3];case 2:switch((s=e.sent()).name){case"AbortError":throw ee(s.message,-2);case"TimeoutError":throw ee(s.message,-3);case"TypeError":throw ee(s.message,-4)}throw s;case 3:if(200===a.status)return[2,a.body];throw ee(h(a.status+": "+a.body,255),-5)}}))}))}(t,5e3,a++,n,i)}),r)}))]}))}))}function ee(e,t){var n=new Error(e);return n.__="slt",n.s=t,n}function te(e){return"slt"===e.__}var ne;function re(n){var r,i,o=n.components,a=n.componentsDuration,s=n.token,u=n.visitorId,c=n.visitorToken,l=n.tls,d=n.tag,f=n.ipResolution,v=n.extendedResult,g=n.linkedId,m="full"===f?2:1;return e.__assign(e.__assign(((r={}).c=s,r.url=location.href,r.d=a,r.vid=u[0]||u[1]||void 0,r.ls=u[1]?1:void 0,r.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(d),r.i=m,r.cbd=v?1:void 0,r.lid=g,r.cr=document.referrer||void 0,r),function(t){var n,r,i,o=((n={}).j=void 0,n.je=void 0,n);if(!t)return o;if(t.error){var a=t.error,s=a.message;if(te(a))switch(a.s){case-2:s="Abort";break;case-3:s="Timeout";break;case-4:s="Connection error"}return e.__assign(e.__assign({},o),((r={}).je=s,r))}return e.__assign(e.__assign({},o),((i={}).j=t.value,i))}(l)),((i={}).k1=le(o.osCpu),i.k2=le(o.languages),i.k3=le(o.colorDepth),i.k4=le(o.deviceMemory),i.k5=le(o.screenResolution),i.k6=le(o[11],void 0,[]),i.k7=le(o.hardwareConcurrency,void 0,1),i.k8=le(o[12]),i.k9=le(o[13]),i.k10=de(le(o.sessionStorage)),i.k11=de(le(o.localStorage)),i.k12=de(le(o.indexedDB)),i.k13=de(le(o.openDatabase)),i.k14=le(o.cpuClass),i.k15=le(o[16]),i.k16=function(e){if(e.error||t.isTrident())return[];return e.value}(o.plugins),i.k17=function(n){if(!n)return;return e.__assign(e.__assign({},n),{data:t.murmurX64Hash128(n.data)})}(le(o[14])),i.k18=0,i.k19=le(o.touchSupport),i.k20=le(o.fonts,[]),i.k21=le(o.audio,-4),i.k22=de(le(o[15])),i.k23=le(o[20]),i.k24=le(o[21]),i.k25=de(le(o[22])),i.k26=de(le(o[18])),i.k27=le(o.vendor),i.k28=de(le(o[17])),i.k29=de(le(o[10])),i.k30=de(le(o[19])),i.k31=de(le(o[4],!1)),i.k32=de(le(o.cookiesEnabled,!1)),i.k33=de(le(o[25])),i.k35=function(e){var t=e.value;if(!t||-6===t||-7===t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return h(e,255)}))}}(o[0]),i.s1=ue(o.osCpu,-1),i.s2=ae(o.languages),i.s3=ae(o.colorDepth),i.s4=ue(o.deviceMemory,-1),i.s5=ae(o.screenResolution),i.s6=ie(o[5],(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),i.s7=ue(o.hardwareConcurrency,-1),i.s8=ce(o[6]),i.s9=ae(o.timezone),i.s10=ae(o.sessionStorage),i.s11=ae(o.localStorage),i.s12=ue(o.indexedDB,-1),i.s13=ae(o.openDatabase),i.s14=ue(o.cpuClass,-1),i.s15=ae(o.platform),i.s16=ue(o.plugins,-1),i.s17=ie(o.canvas,(function(n){return{s:0,v:e.__assign(e.__assign({},n),{geometry:t.murmurX64Hash128(n.geometry),text:t.murmurX64Hash128(n.text)})}})),i.s18=ce(o[7]),i.s19=ae(o.touchSupport),i.s20=ae(o.fonts),i.s21=ie(o.audio,(function(e){return-1===e||-2===e||-3===e?{s:e,v:null}:{s:0,v:e}})),i.s22=ue(o[23],-1),i.s26=ce(o[8]),i.s27=ae(o.vendor),i.s28=ae(o.vendorFlavors),i.s30=ue(o[24],-1),i.s31=ae(o[4]),i.s32=ae(o.cookiesEnabled),i.s33=ae(o[25]),i.s34=ce(o[0],(function(e){return e.map((function(e){return h(e,255)}))})),i.s35=se(o[3]),i.s36=ue(o.domBlockers,-1),i.s37=ue(o.colorGamut,-1),i.s38=ue(o.contrast,-1),i.s39=ue(o.forcedColors,-1),i.s40=ue(o.hdr,-1),i.s41=ue(o.invertedColors,-1),i.s42=ue(o.monochrome,-1),i.s43=ue(o.reducedMotion,-1),i.s44=ue(o[26],-1),i.s45=ae(o[27]),i.s46=ie(o.math,(function(e){return{s:0,v:t.murmurX64Hash128(Object.keys(e).map((function(t){return t+"="+e[t]})).join(","))}})),i.s47=ie(o[31],(function(n){return{s:n?0:-1,v:n?e.__assign(e.__assign({},n),{contextAttributes:t.murmurX64Hash128(n.contextAttributes),parameters:t.murmurX64Hash128(n.parameters),shaderPrecisions:t.murmurX64Hash128(n.shaderPrecisions),extensions:t.murmurX64Hash128(n.extensions),extensionParameters:t.murmurX64Hash128(n.extensionParameters),fingerprint:t.murmurX64Hash128(n.fingerprint)}):null}})),i.s48=ae(o[28]),i.s49=ue(o[29],-1),i.s50=ue(o[30],-1),i.s51=ae(o.fontPreferences),i.s52=ie(o[2],(function(e){return{s:"number"==typeof e?e:e.length?0:1,v:"number"==typeof e?"":t.murmurX64Hash128(JSON.stringify(e))}})),i.s53=se(o[32]),i.s54=ce(o[1]),i.s55=function(e){var t=e[0],n=e[1];if(void 0!==t&&void 0!==n)return{s:0,v:t||n};if(void 0!==t)return{s:1,v:t};if(void 0!==n)return{s:2,v:n};return{s:-1,v:null}}(c),i.s56=function(e){if(!e)return{s:-1,v:null};if(e.error){var t=e.error;return te(t)?{s:t.s,v:null}:{e:t.message}}return{s:0,v:e.value}}(l),i.s57=ue(o[33],-1),i.s58=ue(o[9],-1),i))}function ie(e,t){return e.error?{e:oe(e.error)}:t(e.value)}function oe(e){var t;try{t=""+e.message,"name"in e&&(t=e.name+": "+t)}catch(e){t="Code 3017: "+e.name+": "+e.message}return h(t,500)}function ae(e){return ie(e,(function(e){return{s:0,v:e}}))}function se(e){return ie(e,(function(e){return e}))}function ue(e,t){return ie(e,(function(e){return{s:null==e?t:0,v:null!=e?e:null}}))}function ce(e,t){return ie(e,(function(e){return"number"==typeof e?{s:e,v:null}:{s:0,v:t?t(e):e}}))}function le(e,t,n){return e.error?t:void 0===e.value?n:e.value}function de(e){return!0===e?1:!1===e?0:e}var fe=((ne={}).TokenRequired="Token required",ne.TokenNotFound="Token not found",ne.TokenExpired="Token expired",ne.RequestCannotBeParsed="Request cannot be parsed",ne.Failed="Request failed",ne.RequestTimeout="Request failed to process",ne.TooManyRequests="Too many requests, rate limit exceeded",ne.OriginNotAvailable="Not available for this origin",ne.HeaderRestricted="Not available with restricted header",ne.NotAvailableForCrawlBots="Not available for crawl bots",ne.NotAvailableWithoutUA="Not available when User-Agent is unspecified",ne),ve=p("WrongRegion"),ge=p("SubscriptionNotActive");function he(t,n){var r=t.bodyData;return void 0===r?Ee(t):function(e){return e instanceof Object&&"2"===e.v&&e.products instanceof Object}(r)?function(t,n){var r=t.notifications,i=t.requestId,o=t.error,a=t.products;if(we(r),o)return me(o,i,n);var s=a.identification;if(!s)throw new Error("There is no identification result in the response");if(we(s.notifications),s.error)return me(s.error,i,n);return[e.__assign({requestId:i},s.data.result),s.data.visitorToken]}(r,n):function(e){return e instanceof Object&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(r)?function(t){var n=t,r=n.notification,i=n.visitorToken,o=n.botProbability,a=e.__rest(n,["notification","visitorToken","botProbability"]);r&&ye(r);var s=e.__assign({},a);o&&(s.bot={probability:o});return[s,i]}(r):function(e){return e instanceof Object&&"n/a"===e.visitorId}(r)?function(e,t){var n=e.notification,r=e.reason,i=e.requestId;n&&ye(n);switch(r){case"Not available for crawl bots":return pe(i,!0,t);case"Not available when User-Agent is unspecified":return pe(i,void 0,t);case"Request failed":case"Request failed to process":case"Too many requests, rate limit exceeded":return be(r,i);default:throw be(r,i)}}(r,n):Ee(t)}function me(e,t,n){switch(e.code){case"NotAvailableForCrawlBots":return pe(t,!0,n);case"NotAvailableWithoutUA":return pe(t,void 0,n);case"Failed":case"RequestTimeout":case"TooManyRequests":return be(_e(e),t,e);default:throw be(_e(e),t,e)}}function _e(e){var t=e.code,n=e.message;if(void 0===t)return n;if(Object.prototype.hasOwnProperty.call(fe,t)){var r=fe[t];if(void 0!==r)return r}return p(t)}function pe(t,n,r){var i={requestId:t,visitorFound:!1,visitorId:""};if(!r)return[i];var o=e.__assign(e.__assign({},i),{bot:{probability:1},incognito:!1,browserName:"n/a",browserVersion:"n/a",device:"n/a",ip:"n/a",ipLocation:{},os:"n/a",osVersion:"n/a"});return void 0!==n&&(o.bot.safe=n),[o]}function be(e,t,n){var r=new Error(e);return void 0!==t&&(r.requestId=t),void 0!==n&&(r.raw=n),r}function we(e){null==e||e.forEach(ye)}function ye(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}function Ee(e){if(e.status>=500)return new Error(e.statusText);throw new Error(e.body.byteLength>0?"Failed to parse the response: (base64) "+_(e.body):e.statusText)}function Re(e,t,n,r,i){void 0===i&&(i=y);var o=i()%(n+1),a=function(e){if("function"==typeof TextEncoder)return(new TextEncoder).encode(e);for(var t=unescape(encodeURI(e)),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}(JSON.stringify(e)),s=1+t.length+1+o+r+a.length,u=new ArrayBuffer(s),c=new Uint8Array(u),l=0,d=i();c[l++]=d;for(var f=0,v=t;f<v.length;f++){var g=v[f];c[l++]=d+g}c[l++]=d+o;for(var h=0;h<o;++h)c[l++]=i();var m=new Uint8Array(r);for(h=0;h<r;++h)m[h]=i(),c[l++]=m[h];for(h=0;h<a.length;++h)c[l++]=a[h]^m[h%r];return u}function Te(e,t,n){var r=function(){throw new Error("Invalid data")},i=c(e);i.length<t.length+2&&r();for(var o=0;o<t.length;++o)m(i[1+o],i[0])!==t[o]&&r();var a=1+t.length,s=m(i[a],i[0]);i.length<a+1+s+n&&r();var u=a+1+s,l=u+n,d=new Uint8Array(i.length-l);for(o=0;o<d.length;++o)d[o]=i[l+o]^i[u+o%n];return JSON.parse(v(d))}var ke=[3,7];function Se(t){return e.__awaiter(this,void 0,void 0,(function(){var n,r,i;return e.__generator(this,(function(o){switch(o.label){case 0:return[4,I(e.__assign(e.__assign({},t),{body:(s=t.body,Re(s,ke,3,7)),responseFormat:"binary"}))];case 1:n=o.sent();try{a=n.body,r=Te(a,ke,7),i=!0}catch(nt){try{r=JSON.parse(v(n.body)),i=!1}catch(u){}}return[2,e.__assign(e.__assign({},n),{bodyData:r,isSecret:i})]}var a,s}))}))}function Ie(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function Oe(t,r,i){var a=t.endpoint,s=t.extendedResult,c=void 0!==s&&s,l=e.__rest(t,["endpoint","extendedResult"]);return e.__awaiter(this,void 0,void 0,(function(){var t,s,d;return e.__generator(this,(function(f){switch(f.label){case 0:return t=(v=a)+(-1===v.indexOf("?")?"?":"&")+"cv="+encodeURIComponent("3.3.1"),s=re(e.__assign({extendedResult:c},l)),d=0,[4,C(i,(function(){return{e:15,endpoint:t,request:s}}),(function(e){return{e:16,result:e}}),(function(e){return{e:17,error:e}}),(function(){return function(t,r){var i,a=u(300,1e4);return o(null==r?void 0:r.catch((function(e){i||(i=e)})).then((function(){throw i})),(function(){var o,s,u;return e.__generator(this,(function(e){switch(e.label){case 0:return o=Date.now(),[4,t(r)];case 1:return(s=e.sent())instanceof Error?(i=s,u=a.next().value,"Too many requests, rate limit exceeded"===s.message&&(u=1e3+5*u),[4,n(o+u-Date.now())]):[2,s];case 2:e.sent(),e.label=3;case 3:return[3,0];case 4:return[2]}}))}))}((function(n){return function(t,n,r,i,o,a){return e.__awaiter(this,void 0,void 0,(function(){var s,u;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,C(a,(function(){return{e:18,tryNumber:i}}),(function(e){var t=e.status,n=e.body,r=e.bodyData,o=e.isSecret;return{e:19,tryNumber:i,status:t,body:null!=r?r:n,isSecret:o}}),(function(e){return{e:20,tryNumber:i,error:e}}),(function(){return Se({url:t,method:"post",body:n,headers:{"Content-Type":"text/plain"},withCredentials:!0,abort:o})}))];case 1:return s=e.sent(),[3,3];case 2:return u=e.sent(),[2,new Error("AbortError"===u.name?"Network request aborted":"Network connection error")];case 3:return[2,he(s,r)]}}))}))}(t,s,c,d++,n,i)}),r)}))];case 1:return[2,f.sent()]}var v}))}))}function Ae(e){return e.toDataURL()}function Ce(){var e,t,n=De();return(null===(t=null===(e=window[n[0]])||void 0===e?void 0:e[n[1]])||void 0===t?void 0:t[n[2]])||1073741824}function De(){return Te(new Uint32Array([1238629110,448276002,3812774028,808844344,1040086494,3917076003,2006609522,3391962601,1618783843,902064594,3846817827,1945380650,2587245025,908308022,938305751,2922813991,1910122279,3709215973,809499767,66414809,3983071030,916072247,3711377838,822474088,300514777,4182498348,953759295,3408360096,591258990,229539788]),[],5)}function Ne(){var e=Le(),t=window[e[0]];if(!t)return!1;try{t[e[1]][e[2]](e[3],e[4],{},(function(){}))}catch(n){return!new RegExp(e[5]).test(n)}return!1}function xe(){return e.__awaiter(this,void 0,void 0,(function(){var t,r;return e.__generator(this,(function(e){switch(e.label){case 0:t=Le(),(r=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(r),[4,Promise.race([n(20,!1),new Promise((function(e){r.contentWindow?r.contentWindow[t[6]].addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 2:return[2,e.sent()];case 3:return r.remove(),[7];case 4:return[2]}}))}))}function Pe(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}function Le(){return Te(new Uint32Array([571803394,2333197341,667974149,459532809,2807590137,1996360231,241878290,3893584866,1793199716,1479125268,4262158585,1442777440,325646623,3826480888,665278571,175243026,2757050360,1760166496,1415636746,2836884200,2012960809,241499411,2840995822,1912086370,1482750223,4212860839,1726092917,359464731,3894101733,1487478637]),[],3)}var qe=[[function(){return t.isChromium()},function(){return g(["ClipboardItem"in(t=window),"PerformanceEventTiming"in t,"RTCSctpTransport"in t])>=2?function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:return t=De(),n=navigator,r=n[t[3]],(i=n[t[4]])?[4,new Promise((function(e){i[t[5]]((function(t,n){return e(n)}))}))]:[3,2];case 1:return o=e.sent(),[3,4];case 2:return(null==r?void 0:r[t[6]])?[4,r[t[6]]().then((function(e){return e.quota}))]:[3,4];case 3:o=e.sent(),e.label=4;case 4:return o?[2,o<Ce()]:[2,!1]}}))}))}():function(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){return(t=window.webkitRequestFileSystem)?[2,new Promise((function(e){t(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]:[2,!1]}))}))}();var t}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return N()?t.isDesktopSafari()?[2,Ne()]:[2,xe()]:[2,Pe()]}))}))}],[function(){return t.isGecko()},function(){return new Promise((function(e){try{var t=indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return t.isTrident()||t.isEdgeHTML()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function je(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:t=0,n=qe,e.label=1;case 1:return t<n.length?(r=n[t],i=r[0],o=r[1],i()?[4,o()]:[3,3]):[3,4];case 2:return[2,e.sent()];case 3:return t++,[3,1];case 4:return[2,!1]}}))}))}function Me(e){if("InvalidAccessError"===e.name){if(/\bfrom\b.*\binsecure\b/i.test(e.message))return{s:-2,v:null};if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(e.message))return{s:-3,v:null}}throw e}function Ue(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}var Fe=["MAX_TEXTURE_MAX_ANISOTROPY_EXT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","MAX_COLOR_ATTACHMENTS_WEBGL","MAX_DRAW_BUFFERS_WEBGL","DRAW_BUFFER0_WEBGL","DRAW_BUFFER1_WEBGL","VERTEX_ARRAY_BINDING_OES","TIMESTAMP_EXT","GPU_DISJOINT_EXT","MAX_VIEWS_OVR"],Be=[10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32926,32928,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938],Ve=["FRAGMENT_SHADER","VERTEX_SHADER"],Ge=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function He(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function We(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Ke(e){return Object.keys(e.__proto__).filter(We)}function Xe(){return window.speechSynthesis}function $e(e){var t=function(e){return e.replace(/([,\\])/g,"\\$1")};return e.map((function(e){return[t(e.voiceURI),t(e.name),t(e.lang),e.localService?"1":"0",e.default?"1":"0"].join(",")})).sort()}var Je={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},ze={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},Ye={"en-us":e.__assign(e.__assign({},Je),{n:["james","mary","john","patricia","robert","jennifer","michael","linda","william","elizabeth","david","barbara","richard","susan","joseph","jessica","thomas","sarah","charles","karen","christopher","nancy","daniel","lisa","matthew","margaret","anthony","betty","donald","sandra"]}),"en-gb":e.__assign(e.__assign({},Je),{n:["oliver","george","noah","arthur","harry","leo","muhammad","jack","charlie","oscar","jacob","henry","thomas","joshua","william","olivia","amelia","isla","ava","mia","isabella","sophia","grace","lily","freya","emily","ivy","ella","rosie","charlotte"]}),"ru-ru":e.__assign(e.__assign({},ze),{n:["aleksandr","sergej","vladimir","elena","tatana","andrej","aleksej","olga","nikolaj","natala","anna","ivan","dmitrij","irina","maria","mihail","svetlana","ekaterina","evgenij","viktor","anastasia","urij","ulia","valentin","roman","igor","anatolij","oleg","pavel","maksim"]})};Ye.default=Ye["en-us"],Ye.en=Ye["en-us"],Ye.ru=Ye["ru-ru"];var Qe={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function Ze(n){return e.__awaiter(this,void 0,void 0,(function(){function r(){l.close(),c.close()}var i,o,a,s,u,c,l,d=this;return e.__generator(this,(function(f){return"RTCPeerConnection"in window?(i=t.isWebKit()&&!t.isDesktopSafari(),o=i?400:300,a=Math.random().toString(),s=new Map,"ABCD",u="candidate:0 1 udp 2113937151 ${addr} ${port} typ host generation 0 ufrag ABCD network-cost 999",c=new RTCPeerConnection({iceTransportPolicy:"all"}),l=c.createDataChannel(a),[2,new Promise((function(t){setTimeout((function(){t(-4),r()}),o),c.oniceconnectionstatechange=function(){return e.__awaiter(d,void 0,void 0,(function(){var n,i=this;return e.__generator(this,(function(o){return 30,"checking"===c.iceConnectionState&&(n=setInterval((function(){return e.__awaiter(i,void 0,void 0,(function(){var i,o;return e.__generator(this,(function(e){switch(e.label){case 0:return"checking"!==c.iceConnectionState?(clearInterval(n),r(),[2]):[4,c.getStats()];case 1:return i=e.sent(),o=[],i.forEach((function(e){if("remote-candidate"===e.type){var t=s.get(e.port);o.push(t)}})),o.length>0&&(clearInterval(n),t(o),r()),[2]}}))}))}),30)),[2]}))}))},c.createOffer().then((function(e){var r=e.sdp;if(r){for(var i=[],o=0;o<n.length;o++){var a=n[o],l=50003+o,d=u.replace("${addr}",a).replace("${port}",l.toString());s.set(l,a),i.push("a="+d)}var f={type:"answer",sdp:r.replace(/a=ice-ufrag:(.*?)\s{1,2}/,"a=ice-ufrag:ABCD\r\n").replace(/a=setup:(.*?)\s{1,2}/,"a=setup:active\r\n").replace(/c=IN IP4 ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/,(function(e,t){return"c=IN IP4 "+t+"\r\nb=AS:30\r\n"+i.join("\r\n")}))};return c.setLocalDescription(e),c.setRemoteDescription(f)}t(-5)}))}))]):[2,-5]}))}))}function et(t){return e.__awaiter(this,void 0,void 0,(function(){var n,r;return e.__generator(this,(function(i){return n=new AbortController,r=document.location.protocol,[2,new Promise((function(i){t.map((function(t){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,fetch(r+"//"+t,{signal:n.signal}).catch((function(){return null})).then((function(){n.signal.aborted||(n.abort(),i(t))}))]}))}))})),setTimeout((function(){n.signal.aborted||(n.abort(),i(-4))}),100)}))]}))}))}var tt,nt,rt=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion"];var it=((tt={})[0]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n,r,i;return e.__generator(this,(function(o){switch(o.label){case 0:if(n=window,!(r=n.RTCPeerConnection||n.webkitRTCPeerConnection))return[2,-3];try{i=new r({iceServers:[]})}catch(a){if("NotSupportedError"===a.name)return[2,-6];throw a}o.label=1;case 1:return o.trys.push([1,,3,4]),[4,new Promise((function(n,r){var o,s=[],u=setTimeout((function(){return n(-4)}),500),c=function(){return n(e.__spreadArrays(s))};i.onicecandidate=function(e){var t=e.candidate;if(!t)return c();if(t.candidate){if(s.push(t.candidate),s.length>=6)return c();1===s.length&&(clearTimeout(u),setTimeout(c,10))}},i.onicegatheringstatechange=function(){"complete"===i.iceGatheringState&&c()},i.onicecandidateerror=r;try{null===(o=i.createDataChannel)||void 0===o||o.call(i,"test")}catch(a){return void("NotSupportedError"===a.name?n(-7):r(a))}(function(e,t){try{return e.createOffer(t)}catch(a){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(a.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw a}})(i,t.isEdgeHTML()?{offerToReceiveAudio:!0}:void 0).then((function(e){return i.setLocalDescription(e)}),r)}))];case 2:return[2,o.sent()];case 3:try{i.close()}catch(a){}return[7];case 4:return[2]}}))}))},tt[1]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n,r;return e.__generator(this,(function(e){switch(e.label){case 0:return t.isWebKit()?[4,Ze(n=function(){for(var e=t.isWebKit()&&!t.isDesktopSafari(),n=navigator.language.toLowerCase(),r=n.slice(0,2),i=Ye[n]||Ye[r]||Ye.default,o=e?i.i.slice():i.m.slice(),a=e?Qe.i.slice():Qe.m.slice(),s=0,u=e?i.n:i.n.slice(0,15);s<u.length;s++)for(var c=u[s],l=0,d=o;l<d.length;l++){var f=d[l];a.push(f.replace("$$",c))}return a.map((function(e){return e+".local"}))}())]:[2,-2];case 1:return"number"==typeof(r=e.sent())?[2,r]:r.length===n.length?[2,-3]:r.length>1?[2,et(r)]:1===r.length?[2,r[0]]:[2,-1]}}))}))},tt[2]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n,r;return e.__generator(this,(function(e){switch(e.label){case 0:return"function"!=typeof(null==(n=Xe())?void 0:n.getVoices)?[2,-1]:(r=function(){return n.getVoices()},!n.addEventListener||t.isGecko()&&g(["AnonymousContent"in(i=window),!("AudioBuffer"in i),!("RTCPeerConnection"in i),!("geolocation"in navigator),!("ServiceWorker"in i)])>=3?[2,$e(r())]:[4,new Promise((function(e){var t=-1,i=function(){n.removeEventListener("voiceschanged",o);var t=r();e(t.length?$e(t):-2)},o=function(){r().length?(clearTimeout(t),t=setTimeout(i,50)):-1===t&&(t=setTimeout(i,600))};o(),n.addEventListener("voiceschanged",o)}))]);case 1:return[2,e.sent()]}var i}))}))},tt[3]=function(){return e.__awaiter(this,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:if("function"!=typeof(r=window.ApplePaySession))return[2,{s:-1,v:null}];e.label=1;case 1:return e.trys.push([1,3,,4]),r.canMakePayments()?t.isWebKit()&&!N()?[2,{s:0,v:1}]:[4,Promise.race([r.canMakePaymentsWithActiveCard(""),n(250,!1)])]:[2,{s:0,v:0}];case 2:return[2,{s:0,v:e.sent()?3:2}];case 3:return[2,Me(e.sent())];case 4:return[2]}}))}))},tt[4]=function(t){var n=t.storageKeyPrefix;return e.__awaiter(this,void 0,void 0,(function(){var t,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:return void 0!==(r=function(e){try{var t=localStorage.getItem(e);if(!t)return;return"1"===t}catch(n){return}}(t=n+"_i"))?[2,r]:[4,je()];case 1:return i=e.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(t,i),[2,i]}}))}))},tt[5]=t.getScreenFrame,tt[8]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,r,i;return e.__generator(this,(function(a){switch(a.label){case 0:return(null==(t=navigator.mediaDevices)?void 0:t.enumerateDevices)?(r=function(e){return e.slice(0,32).replace(/([,\\])/g,"\\$1")},i=function(e){return[r(e.deviceId),r(e.groupId),{audioinput:"ai",audiooutput:"ao",videoinput:"vi"}[e.kind],r(e.label)].join(",")},[4,o(n(250,-2),(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,t.enumerateDevices()];case 1:return[2,e.sent().map(i)]}}))}))]):[2,-1];case 1:return[2,a.sent()]}}))}))},tt[7]=function(){var t;return e.__awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u=this;return e.__generator(this,(function(c){switch(c.label){case 0:if(!(n=null===(t=window.crypto)||void 0===t?void 0:t.subtle)||!n.generateKey||!n.exportKey)return[2,-1];r=function(){return e.__awaiter(u,void 0,void 0,(function(){var t,r;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,n.generateKey({name:"AES-GCM",length:128},!0,["encrypt"])];case 1:return t=e.sent(),[4,n.exportKey("raw",t)];case 2:return r=e.sent(),[2,new Uint8Array(r)]}}))}))},c.label=1;case 1:return c.trys.push([1,3,,4]),[4,Promise.all([r(),r()])];case 2:for(i=c.sent(),o=new Uint8Array(i[0].length),a=0;a<i[0].length;++a)o[a]=165^i[0][a]^i[1][a];return[2,_(o)];case 3:if("NotSupportedError"===(s=c.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},tt[6]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(r){switch(r.label){case 0:return(t=navigator).requestMediaKeySystemAccess?[4,o(n(75,-3),(function(){var n,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,5,,6]),[4,t.requestMediaKeySystemAccess("org.w3.clearkey",[{initDataTypes:["keyids","webm"],audioCapabilities:["opus","vorbis"].map((function(e){return{contentType:'audio/webm; codecs="'+e+'"'}})),videoCapabilities:["vp9","vp8"].map((function(e){return{contentType:'video/webm; codecs="'+e+'"'}}))}])];case 1:return[4,e.sent().createMediaKeys()];case 2:return n=e.sent(),(r=n.createSession()).sessionId?[3,4]:[4,new Promise((function(e){r.onmessage=e,r.generateRequest("webm",new Uint8Array([1,1,1,1]))}))];case 3:e.sent(),e.label=4;case 4:return[2,r.sessionId];case 5:if("NotSupportedError"===(i=e.sent()).name)return[2,-2];throw i;case 6:return[2]}}))}))]:[2,-1];case 1:return[2,r.sent()]}}))}))},tt[9]=function(){var t;return e.__awaiter(this,void 0,void 0,(function(){var n,r,i,o=this;return e.__generator(this,(function(a){switch(a.label){case 0:return(n=navigator.userAgentData)&&"object"==typeof n?(r={},i=[],"function"!=typeof n.getHighEntropyValues?[3,2]:[4,Promise.all(rt.map((function(t){return e.__awaiter(o,void 0,void 0,(function(){var o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,n.getHighEntropyValues([t])];case 1:return void 0!==(o=e.sent()[t])&&(r[t]="string"==typeof o?o:JSON.stringify(o)),[3,3];case 2:if("NotAllowedError"!==(a=e.sent()).name)throw a;return i.push(t),[3,3];case 3:return[2]}}))}))})))]):[2,void 0];case 1:a.sent(),a.label=2;case 2:return[2,{b:n.brands.map((function(e){return{b:e.brand,v:e.version}})),m:n.mobile,p:null!==(t=n.platform)&&void 0!==t?t:null,h:r,nah:i}]}}))}))},tt[10]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n;return e.__generator(this,(function(e){switch(e.label){case 0:return(t=navigator.permissions)?[4,t.query({name:"notifications"})]:[2,void 0];case 1:return n=e.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},tt[11]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},tt[12]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},tt[13]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},tt[14]=function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank "+String.fromCharCode(55357,56835)+" gly";n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply";for(var o=0,a=[["#f0f",50,50],["#0ff",100,50],["#ff0",75,100]];o<a.length;o++){var s=a[o],u=s[0],c=s[1],l=s[2];n.fillStyle=u,n.beginPath(),n.arc(c,l,50,0,2*Math.PI,!0),n.closePath(),n.fill()}return n.fillStyle="#f0f",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:Ae(t)}},tt[15]=function(){return void 0!==navigator.plugins},tt[16]=function(){return navigator.platform},tt[17]=function(){return void 0!==window.chrome},tt[18]=function(){return navigator.webdriver},tt[19]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},tt[20]=function(){return navigator.productSub},tt[21]=function(){return eval.toString().length},tt[22]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},tt[23]=function(){var t=window.WebAssembly;if(null==t?void 0:t.validate){for(var n=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10],r=0,i=0,o=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];i<o.length;i++){var a=o[i];r<<=1,r|=t.validate(Uint8Array.of.apply(Uint8Array,e.__spreadArrays(n,a)))?1:0}return r}},tt[24]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},tt[25]=function(){var e=window;if(!t.isChromium())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var n=document.createElement("canvas");n.width=4,n.height=4,n.style.display="inline";var r=n.toDataURL();if(""===r)return!0;for(var i=window.atob(r.split(",")[1]),o=i.length,a=new Uint8Array(o),s=0;s<o;s++)a[s]=i.charCodeAt(s);var u=f(a,[73,68,65,84,24]);if(-1===u)return!1;var c=f(a,[73,69,78,68]);return-1!==c&&1321!==a.slice(u+5,c).reduce((function(e,t){return e+t}),0)}catch(l){return!1}},tt[26]=function(){return!!Ue("dark")||!Ue("light")&&void 0},tt[27]=function(){var e=Date.now();return[e,e-6e4*(new Date).getTimezoneOffset()]},tt[28]=function(){for(var e=[],t=Math.random(),n=24575;n>=0;--n)if(n%4096==0){var r=Math.random();e.push((t-r)*Math.pow(2,31)|0),t=r}return e},tt[29]=function(){var e=window.performance;if(null==e?void 0:e.now){for(var t=1,n=1,r=e.now(),i=r,o=0;o<5e4;o++)if((r=i)<(i=e.now())){var a=i-r;a>t?a<n&&(n=a):a<t&&(n=t,t=a)}return[t,n]}},tt[30]=function(){var e,t;return null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit},tt[32]=function(){return{s:t.isWebKit()&&!t.isDesktopSafari()?N()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},tt[33]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},tt),ot=((nt={})[31]=function(){for(var t=document.createElement("canvas"),n=["webgl","experimental-webgl"],r=void 0,i=0;i<n.length&&!r;i++)try{r=t.getContext(n[i])}catch(a){}if(r){var o=e.__assign(e.__assign({},function(e){var t,n,r,i,o,a,s=e.getSupportedExtensions(),u=e.getExtension("WEBGL_debug_renderer_info"),c=e.getContextAttributes(),l=[],d=[],f=[],v=[];for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&l.push(g+"="+c[g]);for(var h=0,m=Ke(e);h<m.length;h++){var _=e[T=m[h]];Be.indexOf(_)>-1?d.push(T+"("+_+")="+e.getParameter(_)):d.push(T+"="+_)}if(s)for(var p=0,b=s;p<b.length;p++){var w=b[p],y=e.getExtension(w);if(y)for(var E=0,R=Ke(y);E<R.length;E++){var T;_=y[T=R[E]],Fe.indexOf(T)>0?f.push(T+"("+_+")="+e.getParameter(_)):f.push(T+"="+_)}}for(var k=0,S=Ve;k<S.length;k++)for(var I=S[k],O=0,A=Ge;O<A.length;O++){var C=A[O],D=He(e,I,C);v.push(I+"."+C+"="+D.join(","))}return f.sort(),d.sort(),{version:(null===(t=e.getParameter(e.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=e.getParameter(e.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:u?null===(r=e.getParameter(u.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=e.getParameter(e.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:u?null===(o=e.getParameter(u.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(a=e.getParameter(e.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||"",contextAttributes:l.join("&"),parameters:d.join("&"),shaderPrecisions:v.join("&"),extensions:s?s.join(","):"",extensionParameters:f.join(",")}}(r)),{fingerprint:""});return function(e){e.clearColor(0,0,1,1);var t=e.createProgram();if(t){i(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),i(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),e.linkProgram(t),e.useProgram(t),e.enableVertexAttribArray(0);var n=e.getUniformLocation(t,"t"),r=e.createBuffer();e.bindBuffer(34962,r),e.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),e.vertexAttribPointer(0,2,5126,!1,0,0),e.clear(16384),e.uniform1f(n,3.65),e.drawArrays(4,0,3)}function i(n,r){var i=e.createShader(35633-n);t&&i&&(e.shaderSource(i,r),e.compileShader(i),e.attachShader(t,i))}}(r),o.fingerprint=t.toDataURL(),o}},nt);function at(e){return t.getComponents(it,e,[])}function st(e){return t.getComponents(ot,e,[])}function ut(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function ct(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";document.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function lt(e,t,n){var r=location.hostname;(dt(r,(function(t){!function(e,t){ct(e,"",-1,t)}(e,t)})),n<0)||dt(r,(function(r){return ct(e,t,n,r),ut(e)!==t}))&&ct(e,t,n)}function dt(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}function ft(e){return[ut(e),gt(e)]}function vt(e,t){lt(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function gt(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function ht(t,n,i,o,a){var s=this,u=a.token,c=a.region,l=void 0===c?"us":c,d=a.endpoint,f=a.tlsEndpoint,v=a.storageKey,g=void 0===v?"_vid":v,h=a.debug;var m=function(t,n,i,o,a,c,v){return e.__awaiter(s,void 0,void 0,(function(){var s,h,m,b,w,y,E,R,T,k,S;return e.__generator(this,(function(e){switch(e.label){case 0:return s=r(o).then((function(){throw new Error("Client timeout")})),[4,Promise.race([s,Promise.all([_(l,f,!!i,r(.4*o),v),p(v)])])];case 1:return h=e.sent(),m=h[0],b=h[1],w=b[0],y=b[1],E=g,R=g+"_t",[4,Oe({token:u,endpoint:Ie(l,d),components:w,componentsDuration:y,tag:t,visitorId:ft(E),visitorToken:ft(R),tls:m,linkedId:n,extendedResult:a,ipResolution:c},s,v)];case 2:return T=e.sent(),k=T[0],(S=T[1])?vt(S,R):k.visitorId&&vt(k.visitorId,E),[2,k]}}))}))},_=function(t,n,r,i,o){return e.__awaiter(s,void 0,void 0,(function(){return e.__generator(this,(function(e){return r?[2,void 0]:[2,Z(function(e,t){return t||Q[e]}(t,n),i,o).then((function(e){return{value:e}}),(function(e){return{error:e}}))]}))}))},p=function(t){return C(t,(function(){return{e:12}}),(function(e){return{e:13,result:e[0]}}),(function(e){return{e:14,error:e}}),(function(){return function(t){return e.__awaiter(this,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Date.now(),[4,t()];case 1:return[2,[e.sent(),Date.now()-n]]}}))}))}((function(){return e.__awaiter(s,void 0,void 0,(function(){var t,r,a,s,u;return e.__generator(this,(function(c){switch(c.label){case 0:return t={storageKeyPrefix:g},[4,Promise.all([n.get(),i(t)])];case 1:return r=c.sent(),a=r[0],s=r[1],[4,o(t)];case 2:return u=c.sent(),[2,e.__assign(e.__assign(e.__assign({},a.components),s),u)]}}))}))}))}))};return{get:function(n){void 0===n&&(n={});var r=h||n.debug?function(t,n,r){return function(i){return t(e.__assign(e.__assign({},i),{agentId:n,getCallId:r}))}}(E([h,n.debug&&T()]),t,w(8)):void 0;return C(r,(function(){return{e:3,options:n}}),(function(e){return{e:4,result:e}}),(function(e){return{e:5,error:e}}),(function(){var e=n.timeout,t=void 0===e?1e4:e,i=n.tag,o=n.linkedId,a=n.disableTls,s=n.extendedResult,u=n.ipResolution;return m(i,o,a,t,s,u,r)}))}}}var mt=function(n){var r=this,i=w(8);return C(n.debug,(function(){return{e:0,agentId:i,version:"3.3.1",options:n}}),(function(){return{e:1,agentId:i}}),(function(e){return{e:2,agentId:i,error:e}}),(function(){return e.__awaiter(r,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:if(!n.token||"string"!=typeof n.token)throw new Error("Token required");return function(){var e;try{null===(e=Xe())||void 0===e||e.getVoices()}catch(nt){}}(),[4,t.load({delayFallback:n.delayFallback})];case 1:return r=e.sent(),[2,ht(i,r,at,st,n)]}}))}))}))},_t={load:mt,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_WRONG_REGION:ve,ERROR_SUBSCRIPTION_NOT_ACTIVE:ge,ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_FORBIDDEN_HEADER:"Not available with restricted header"};exports.ERROR_BAD_REQUEST_FORMAT="Request cannot be parsed",exports.ERROR_CLIENT_TIMEOUT="Client timeout",exports.ERROR_FORBIDDEN_HEADER="Not available with restricted header",exports.ERROR_FORBIDDEN_ORIGIN="Not available for this origin",exports.ERROR_GENERAL_SERVER_FAILURE="Request failed",exports.ERROR_NETWORK_ABORT="Network request aborted",exports.ERROR_NETWORK_CONNECTION="Network connection error",exports.ERROR_RATE_LIMIT="Too many requests, rate limit exceeded",exports.ERROR_SERVER_TIMEOUT="Request failed to process",exports.ERROR_SUBSCRIPTION_NOT_ACTIVE=ge,exports.ERROR_TOKEN_EXPIRED="Token expired",exports.ERROR_TOKEN_INVALID="Token not found",exports.ERROR_TOKEN_MISSING="Token required",exports.ERROR_WRONG_REGION=ve,exports.default=_t,exports.load=mt,exports.makeConsoleDebugger=k,exports.makeDebugReportBuilder=x,exports.makeMulticastDebugger=E,exports.makeRemoteDebugger=H;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("@fingerprintjs/fingerprintjs");function n(t,n){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,new Promise((function(e){return r(e,t,n)}))]}))}))}function r(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Date.now()+t,o=0,a=function(){o=setTimeout((function(){Date.now()<i?a():e.apply(void 0,n)}),i-Date.now())};return a(),function(){return clearTimeout(o)}}function i(e,t){return new Promise((function(n){var i=document,o=function(){return i.hidden?u():s()},a=function(e,t,n){var i,o=!1,a=e,s=0,u=function(){o||i||(s=Date.now(),i=r((function(){o=!0,n()}),a))};return t&&u(),{start:u,stop:function(){!o&&i&&(i(),i=void 0,a-=Date.now()-s)}}}(e,!i.hidden,(function(){i.removeEventListener("visibilitychange",o),n(t)})),s=a.start,u=a.stop;i.addEventListener("visibilitychange",o)}))}function o(t,n){return e.__awaiter(this,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t()];case 1:return[2,e.sent()];case 2:return r=e.sent(),console.error(r),[2,n];case 3:return[2]}}))}))}function a(t,n){var r=this;return new Promise((function(i,o){var a=n(),s=!1;null==t||t.then(i,o).then((function(){return s=!0}));var u=function(t){return e.__awaiter(r,void 0,void 0,(function(){var n,r;return e.__generator(this,(function(e){switch(e.label){case 0:if(t.done)return[2,i(t.value)];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.value];case 2:if(n=e.sent(),!s)try{u(a.next(n))}catch(c){o(c)}return[3,4];case 3:if(r=e.sent(),!s)try{u(a.throw(r))}catch(c){o(c)}return[3,4];case 4:return[2]}}))}))};u(a.next())}))}function s(t,n){var r;return void 0===n&&(n=!1),e.__assign({name:t.name,message:t.message,stack:n?null===(r=t.stack)||void 0===r?void 0:r.split("\n"):t.stack},t)}function u(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function c(t,n){var r;return e.__generator(this,(function(e){switch(e.label){case 0:r=0,e.label=1;case 1:return[4,Math.random()*Math.min(n,t*Math.pow(2,r))];case 2:e.sent(),e.label=3;case 3:return++r,[3,1];case 4:return[2]}}))}function l(e){return e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=d.slice(0,-2);function v(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}function g(e){if("function"==typeof TextDecoder){var t=(new TextDecoder).decode(e);if(t)return t}var n=l(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,n)))}function h(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function _(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function m(e,t){return(e-t+256)%256}function p(e){for(var t=l(e),n=t.length,r="",i=0;i<n;i+=3)r+=d[t[i]>>2]+d[(3&t[i])<<4|t[i+1]>>4]+d[(15&t[i+1])<<2|t[i+2]>>6]+d[63&t[i+2]];return n%3==2?r.slice(0,-1)+"=":n%3==1?r.slice(0,-2)+"==":r}function b(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" "+r:t+=e[n]}else t+=e[n].toUpperCase();return t}function w(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function y(e){return w(e,f)}function E(){return 256*Math.random()|0}function R(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&o((function(){return e.apply(void 0,t)}))},i=0,a=e;i<a.length;i++){var s=a[i];r(s)}}}function T(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"Getting TLS has started";case 7:return"Getting TLS has succeeded";case 8:return"Getting TLS has failed";case 9:return"TLS request try has started";case 10:return"TLS request try has succeeded";case 11:return"TLS request try has failed";case 12:return"Getting fingerprint has started";case 13:return"Getting fingerprint has succeeded";case 14:return"Getting fingerprint has failed";case 15:return"Visitor identifier request has started";case 16:return"Visitor identifier request has succeeded";case 17:return"Visitor identifier request has failed";case 18:return"Visitor identifier request try has started";case 19:return"Visitor identifier request try has succeeded";case 20:return"Visitor identifier request try has failed"}}function k(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:case 17:case 20:console.error(I(e,t));break;case 13:var n=I(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(I(e,t))}}}var S=k;function I(t,n){var r=n.e,i=e.__rest(n,["e"]),o=""+t+(new Date).toISOString()+": "+T(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?s(t,!0):t instanceof ArrayBuffer?"(base64) "+p(t):t}),2)}(i)+"\n```"),o}function O(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,s=void 0!==a&&a,u=e.timeout,c=e.responseFormat,l=e.abort;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var d in a.open(r,t,!0),a.withCredentials=s,a.timeout=void 0===u?0:Math.max(u,1),"binary"===c&&(a.responseType="arraybuffer"),o)a.setRequestHeader(d,o[d]);a.onload=function(){return e(function(e){return{body:e.response,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(A("TimeoutError","The request timed out"))},a.onabort=function(){return n(A("AbortError","The request is aborted"))},a.onerror=function(){return n(A("TypeError",navigator.onLine?"Connection error":"Network offline"))},a.send(function(e){var t,n=function(){try{return new Blob([]),!1}catch(t){return!0}};if(e instanceof ArrayBuffer){if(!n())return new Uint8Array(e)}else if((null===(t=e)||void 0===t?void 0:t.buffer)instanceof ArrayBuffer&&n())return e.buffer;return e}(i)),null==l||l.catch((function(){})).then((function(){a.onabort=null,a.abort()}))}))}function A(e,t){var n=new Error(t);return n.name=e,n}function C(e){var t,n=e.url,r=e.body;if(null===(t=navigator.sendBeacon)||void 0===t?void 0:t.call(navigator,n,r))return!0;var i=new XMLHttpRequest;i.open("POST",n,!function(){var e,t=null===(e=window.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),r instanceof Blob&&i.setRequestHeader("Content-Type",r.type);try{i.send(r)}catch(o){return!1}return!0}function D(t,n,r,i,a){return e.__awaiter(this,void 0,void 0,(function(){var s,u,c;return e.__generator(this,(function(e){switch(e.label){case 0:(u=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t&&o((function(){var r=e.apply(void 0,n);void 0!==r&&t(r)}))})(n),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a()];case 2:return s=e.sent(),[3,4];case 3:throw c=e.sent(),u(i,c),c;case 4:return u(r,s),[2,s]}}))}))}function N(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:y(10)}function x(){var e=window,t=navigator;return h(["maxTouchPoints"in t,"mediaCapabilities"in t,"PointerEvent"in e,"visualViewport"in e,"onafterprint"in e])>=4}var P=function(e){return new L(e).addEvent},L=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t,n=performance;if(n.timeOrigin){var r=null===(t=null===(e=n.getEntriesByType)||void 0===e?void 0:e.call(n,"navigation"))||void 0===t?void 0:t[0];if(r)return n.timeOrigin+(r.responseStart||r.unloadEventEnd)}return n.timing.domLoading||n.timing.responseStart||n.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=document.readyState,n.isPageVisible=V(),n.isFullscreen=G(),n.network=H()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=window,r=document,i=[[r,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[r,"visibilitychange",function(){return t.handleVisibilityChange()}],[r,"pageshow",function(){return t.handlePageTransition(!0)}],[r,"pagehide",function(){return t.handlePageTransition(!1)}],[n,"unload",function(){return t.handlePageUnload()}]],o=0,a=i;o<a.length;o++){var s=a[o],u=s[0],c=s[1],l=s[2];u.addEventListener(c,l)}var d=function(e,t){for(var n=document,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],i=0,o=r;i<o.length;i++){var a=o[i];n.addEventListener(a,e,t)}return function(){for(var i=0,o=r;i<o.length;i++){var a=o[i];n.removeEventListener(a,e,t)}}}((function(){return t.handleFullscreenChange()})),f=function(e){var t=navigator.connection;return(null==t?void 0:t.addEventListener)?(t.addEventListener("change",e),function(){t.removeEventListener("change",e)}):(addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)})}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,n=i;e<n.length;e++){var r=n[e],o=r[0],a=r[1],s=r[2];o.removeEventListener(a,s)}d(),f()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:V()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:G()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:H()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];q(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var s=a[o],u=i.getCalls[s];q(u)||u.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,s,c,l,d,f,v=function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];"agentEvent"===i.type&&(t[i.event.e]=i)}return t}(e),g=(null===(n=e[e.length-1])||void 0===n?void 0:n.time)||new Date,h="null",_=0,m=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];_<m.length;_++){var p=m[_],b=p[0],w=p[1];if(v[b]){h=w;break}}return{time:(null===(r=e[e.length-1])||void 0===r?void 0:r.time)||new Date,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:u(),agentVersion:null===(i=v[0])||void 0===i?void 0:i.event.version,userAgent:navigator.userAgent,pageViewId:N(),agentId:null===(o=v[0])||void 0===o?void 0:o.event.agentId,getCallId:null===(a=v[3])||void 0===a?void 0:a.event.getCallId,requestId:null!==(c=null===(s=v[4])||void 0===s?void 0:s.event.result.requestId)&&void 0!==c?c:null===(l=v[5])||void 0===l?void 0:l.event.error.requestId,visitorId:null===(d=v[4])||void 0===d?void 0:d.event.result.visitorId,visitorToken:null===(f=v[16])||void 0===f?void 0:f.event.result[1],identificationState:h,load:j(g,v[0],v[1],v[2]),get:j(g,v[3],v[4],v[5]),tls:U(j(g,v[6],v[7],v[8]),(function(){var t,n;return M(e,9,10,11,(null===(t=v[7])||void 0===t?void 0:t.time)||(null===(n=v[8])||void 0===n?void 0:n.time)||g)})),fingerprint:j(g,v[12],v[13],v[14],(function(e){var t=e.event;return{failedComponents:F(t.result),componentDurations:B(t.result)}})),visitorIdRequest:U(j(g,v[15],v[16],v[17]),(function(){var t,n;return M(e,18,19,20,(null===(t=v[16])||void 0===t?void 0:t.time)||(null===(n=v[17])||void 0===n?void 0:n.time)||g)})),events:e}}(function(e,t,n){var r=[];e[t]&&(r.push.apply(r,e[t].loadEvents),void 0!==n&&r.push.apply(r,e[t].getCalls[n]||[]));return r}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function q(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function j(t,n,r,i,o){if(void 0!==n)return void 0!==r?e.__assign(e.__assign({},null==o?void 0:o(r)),{duration:r.time.getTime()-n.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-n.time.getTime(),state:"fail",error:i.event.error}:{duration:t.getTime()-n.time.getTime(),state:"incomplete"}}function M(e,t,n,r,i){var o=function(e,t){for(var n={},r=0,i=e;r<i.length;r++){var o=i[r];if("agentEvent"===o.type&&-1!==t.indexOf(o.event.e)){var a=o.event;n[a.tryNumber]||(n[a.tryNumber]={}),n[a.tryNumber][a.e]=o}}for(var s=[],u=0,c=Object.keys(n);u<c.length;u++){var l=c[u];s.push(n[l])}return s}(e,[t,n,r]);return{triesCount:o.length,triesTotalDuration:o.reduce((function(e,o){var a=o[t],s=o[n]||o[r];return a?e+((null==s?void 0:s.time)||i).getTime()-a.time.getTime():e}),0)}}function U(t,n){return t?e.__assign(e.__assign({},t),n()):void 0}function F(e){return Object.keys(e).filter((function(t){return e[t].error}))}function B(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=e[i].duration}return t}function V(){return!document.hidden}function G(){return!!t.getFullscreenElement()}function H(){var e=navigator.connection;return{online:navigator.onLine,downlink:null==e?void 0:e.downlink,downlinkMax:null==e?void 0:e.downlinkMax,effectiveType:null==e?void 0:e.effectiveType,roundTrip:null==e?void 0:e.rtt,saveData:null==e?void 0:e.saveData,type:null==e?void 0:e.type}}var W=function(t){var n=this,r=t.clientId,i=t.token,o=t.endpoint,a=void 0===o?"https://api.rollbar.com/api/1/item/":o;return new L((function(t){return e.__awaiter(n,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return n=function(e,t,n,r){return{access_token:n,data:K(e,t,r)}}(t,r,i),[4,Q(a,n)];case 1:return e.sent(),[2]}}))}))})).addEvent};function K(t,n,r){var i,o;void 0===r&&(r=[8,4,4,4,12].map((function(e){return w(e,"0123456789abcdef")})).join("-"));var a=X[t.identificationState],s=a.level,u=a.message;return{environment:n,level:s,timestamp:Math.round(t.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:r,notifier:{name:"FingerprintJS Pro monitoring",version:"3.3.2"},request:{url:t.pageUrl,query_string:(null!==(i=/\?.*$/.exec(t.pageUrl))&&void 0!==i?i:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:t.userAgent,code_version:t.agentVersion}},person:void 0===t.visitorId?void 0:{id:"visitorId:"+t.visitorId},body:{telemetry:e.__spreadArrays([{level:"debug",source:"client",timestamp_ms:t.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(o=t.fingerprint)||void 0===o?void 0:o.state)?z(t.fingerprint.componentDurations):void 0}}],t.events.map($)),message:{body:u}},custom:{isInIframe:t.isInIframe,pageViewId:t.pageViewId,agentId:t.agentId,getCallId:t.getCallId,requestId:t.requestId,visitorId:t.visitorId,visitorToken:t.visitorToken,identificationState:t.identificationState,load:t.load,get:t.get,tls:t.tls,fingerprint:J(t.fingerprint),visitorIdRequest:t.visitorIdRequest}}}var X={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function $(t){var n={type:"manual",level:"debug",source:"client",timestamp_ms:t.time.getTime()};switch(t.type){case"documentReadyState":return e.__assign(e.__assign({},n),{body:{message:'Document ready state becomes "'+t.state+'"'}});case"pageVisibilityToggle":return e.__assign(e.__assign({},n),{body:{message:"Page becomes "+(t.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return e.__assign(e.__assign({},n),{body:{message:t.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return e.__assign(e.__assign({},n),{body:{message:"Programmatic fullscreen "+(t.isFullscreen?"on":"off")}});case"networkChange":return e.__assign(e.__assign({},n),{body:e.__assign(e.__assign({},t.network),{message:"Network connection changes"})});case"pageUnload":return e.__assign(e.__assign({},n),{body:{message:"Page is about to unload (terminate)"}})}var r=t.event,i=function(i,o){void 0===o&&(o="info");for(var a=i,s=(a.e,a.agentId,a.getCallId,e.__rest(a,["e","agentId","getCallId"])),u=e.__assign(e.__assign({},n),{level:o,body:e.__assign({message:T(r.e)},s)}),c=0,l=["documentReadyState","isPageVisible","isFullscreen","network"];c<l.length;c++){var d=l[c];void 0!==t[d]&&(u.body[d]=t[d])}return u};switch(r.e){case 0:r.version;return i(e.__rest(r,["version"]));case 1:case 3:case 4:case 6:case 9:case 12:case 15:case 16:case 18:return i(r);case 2:case 5:case 8:case 11:case 14:case 17:case 20:return i(r,"error");case 7:return i(e.__assign(e.__assign({},r),{result:_(r.result,1e3)}));case 10:return i(e.__assign(e.__assign({},r),{body:_(r.body,1e3)}));case 13:return i(e.__assign(e.__assign({},r),{result:Y(r.result)}));case 19:var o=r.body;if(o instanceof ArrayBuffer){o="(base64) "+(o.byteLength>1800?p(new Uint8Array(o,0,1800))+"...":p(o))}return i(e.__assign(e.__assign({},r),{body:o}))}}function J(t){if(!t||"incomplete"===t.state||"fail"===t.state)return t;t.componentDurations;var n=e.__rest(t,["componentDurations"]),r=t.failedComponents.length?","+t.failedComponents.join(",")+",":void 0;return e.__assign(e.__assign({},n),{failedComponents:r})}function z(t,n){void 0===n&&(n="_");for(var r=e.__assign({},t),i=0,o=Object.keys(t);i<o.length;i++){var a=o[i];if(/^\d+$/.test(a)){delete r[a];var s=a;do{s=""+n+s}while(s in r);r[s]=t[a]}}return r}function Y(t){var n,r="(removed to fit into beacon)";return function(t,n){for(var r={},i=0,o=Object.keys(t);i<o.length;i++){var a=o[i];!t[a].error&&n[a]?r[a]=e.__assign(e.__assign({},t[a]),{value:n[a](t[a].value)}):r[a]=t[a]}return r}(t,((n={plugins:function(e){return e&&r}})[14]=function(t){return e.__assign(e.__assign({},t),{data:r})},n.math=function(){return r},n.fontPreferences=function(){return r},n[31]=function(e){return e&&r},n[9]=function(e){return e&&r},n))}function Q(t,r){return e.__awaiter(this,void 0,void 0,(function(){var i,o;return e.__generator(this,(function(e){switch(e.label){case 0:i=function(e){return JSON.stringify(e,(function(e,t){if(t instanceof Error){var n=s(t);return"string"==typeof n.stack&&(n.stack=_(n.stack,1e3)),n}return t}))}(r),o=c(1e3,1e4),e.label=1;case 1:return navigator.onLine&&C({url:t,body:i})?[3,4]:[4,n(o.next().value)];case 2:e.sent(),e.label=3;case 3:return[3,1];case 4:return[2]}}))}))}var Z={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function ee(t,r,i){return e.__awaiter(this,void 0,void 0,(function(){var o;return e.__generator(this,(function(s){return o=0,[2,D(i,(function(){return{e:6,endpoint:t}}),(function(e){return{e:7,result:e}}),(function(e){return{e:8,error:e}}),(function(){return function(t,r,i){void 0===i&&(i=5);var o,s=c(300,1e4);return a(null==r?void 0:r.catch((function(){})).then((function(){throw o||te("Timeout",-3)})),(function(){var a,u,c;return e.__generator(this,(function(e){switch(e.label){case 0:a=0,e.label=1;case 1:u=Date.now(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t(r)];case 3:return[2,e.sent()];case 4:if(c=e.sent(),a>=i-1)throw c;return o=c,[3,5];case 5:return[4,n(u+s.next().value-Date.now())];case 6:e.sent(),e.label=7;case 7:return++a,[3,1];case 8:return[2]}}))}))}((function(n){return function(t,n,r,i,o){return e.__awaiter(this,void 0,void 0,(function(){var a,s;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,D(o,(function(){return{e:9,tryNumber:r,timeout:n}}),(function(e){var t=e.status,n=e.body;return{e:10,tryNumber:r,status:t,body:n}}),(function(e){return{e:11,tryNumber:r,error:e}}),(function(){return O({url:t,timeout:n,abort:i})}))];case 1:return a=e.sent(),[3,3];case 2:switch((s=e.sent()).name){case"AbortError":throw te(s.message,-2);case"TimeoutError":throw te(s.message,-3);case"TypeError":throw te(s.message,-4)}throw s;case 3:if(200===a.status)return[2,a.body];throw te(_(a.status+": "+a.body,255),-5)}}))}))}(t,5e3,o++,n,i)}),r)}))]}))}))}function te(e,t){var n=new Error(e);return n.__="slt",n.s=t,n}function ne(e){return"slt"===e.__}var re;function ie(n){var r,i,o=n.components,a=n.componentsDuration,s=n.token,u=n.visitorId,c=n.visitorToken,l=n.tls,d=n.tag,f=n.ipResolution,v=n.extendedResult,g=n.linkedId,h="full"===f?2:1;return e.__assign(e.__assign(((r={}).c=s,r.url=location.href,r.d=a,r.vid=u[0]||u[1]||void 0,r.ls=u[1]?1:void 0,r.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(d),r.i=h,r.cbd=v?1:void 0,r.lid=g,r.cr=document.referrer||void 0,r),function(t){var n,r,i,o=((n={}).j=void 0,n.je=void 0,n);if(!t)return o;if(t.error){var a=t.error,s=a.message;if(ne(a))switch(a.s){case-2:s="Abort";break;case-3:s="Timeout";break;case-4:s="Connection error"}return e.__assign(e.__assign({},o),((r={}).je=s,r))}return e.__assign(e.__assign({},o),((i={}).j=t.value,i))}(l)),((i={}).k1=de(o.osCpu),i.k2=de(o.languages),i.k3=de(o.colorDepth),i.k4=de(o.deviceMemory),i.k5=de(o.screenResolution),i.k6=de(o[11],void 0,[]),i.k7=de(o.hardwareConcurrency,void 0,1),i.k8=de(o[12]),i.k9=de(o[13]),i.k10=fe(de(o.sessionStorage)),i.k11=fe(de(o.localStorage)),i.k12=fe(de(o.indexedDB)),i.k13=fe(de(o.openDatabase)),i.k14=de(o.cpuClass),i.k15=de(o[16]),i.k16=function(e){if(e.error||t.isTrident())return[];return e.value}(o.plugins),i.k17=function(n){if(!n)return;return e.__assign(e.__assign({},n),{data:t.murmurX64Hash128(n.data)})}(de(o[14])),i.k18=0,i.k19=de(o.touchSupport),i.k20=de(o.fonts,[]),i.k21=de(o.audio,-4),i.k22=fe(de(o[15])),i.k23=de(o[20]),i.k24=de(o[21]),i.k25=fe(de(o[22])),i.k26=fe(de(o[18])),i.k27=de(o.vendor),i.k28=fe(de(o[17])),i.k29=fe(de(o[10])),i.k30=fe(de(o[19])),i.k31=fe(de(o[4],!1)),i.k32=fe(de(o.cookiesEnabled,!1)),i.k33=fe(de(o[25])),i.k35=function(e){var t=e.value;if(!t||-6===t||-7===t||-8===t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return _(e,255)}))}}(o[0]),i.s1=ce(o.osCpu,-1),i.s2=se(o.languages),i.s3=se(o.colorDepth),i.s4=ce(o.deviceMemory,-1),i.s5=se(o.screenResolution),i.s6=oe(o[5],(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),i.s7=ce(o.hardwareConcurrency,-1),i.s8=le(o[6]),i.s9=se(o.timezone),i.s10=se(o.sessionStorage),i.s11=se(o.localStorage),i.s12=ce(o.indexedDB,-1),i.s13=se(o.openDatabase),i.s14=ce(o.cpuClass,-1),i.s15=se(o.platform),i.s16=ce(o.plugins,-1),i.s17=oe(o.canvas,(function(n){return{s:0,v:e.__assign(e.__assign({},n),{geometry:t.murmurX64Hash128(n.geometry),text:t.murmurX64Hash128(n.text)})}})),i.s18=le(o[7]),i.s19=se(o.touchSupport),i.s20=se(o.fonts),i.s21=oe(o.audio,(function(e){return-1===e||-2===e||-3===e?{s:e,v:null}:{s:0,v:e}})),i.s22=ce(o[23],-1),i.s26=le(o[8]),i.s27=se(o.vendor),i.s28=se(o.vendorFlavors),i.s30=ce(o[24],-1),i.s31=se(o[4]),i.s32=se(o.cookiesEnabled),i.s33=se(o[25]),i.s34=le(o[0],(function(e){return e.map((function(e){return _(e,255)}))})),i.s35=ue(o[3]),i.s36=ce(o.domBlockers,-1),i.s37=ce(o.colorGamut,-1),i.s38=ce(o.contrast,-1),i.s39=ce(o.forcedColors,-1),i.s40=ce(o.hdr,-1),i.s41=ce(o.invertedColors,-1),i.s42=ce(o.monochrome,-1),i.s43=ce(o.reducedMotion,-1),i.s44=ce(o[26],-1),i.s45=se(o[27]),i.s46=oe(o.math,(function(e){return{s:0,v:t.murmurX64Hash128(Object.keys(e).map((function(t){return t+"="+e[t]})).join(","))}})),i.s47=oe(o[31],(function(n){return{s:n?0:-1,v:n?e.__assign(e.__assign({},n),{contextAttributes:t.murmurX64Hash128(n.contextAttributes),parameters:t.murmurX64Hash128(n.parameters),shaderPrecisions:t.murmurX64Hash128(n.shaderPrecisions),extensions:t.murmurX64Hash128(n.extensions),extensionParameters:t.murmurX64Hash128(n.extensionParameters),fingerprint:t.murmurX64Hash128(n.fingerprint)}):null}})),i.s48=se(o[28]),i.s49=ce(o[29],-1),i.s50=ce(o[30],-1),i.s51=se(o.fontPreferences),i.s52=oe(o[2],(function(e){return{s:"number"==typeof e?e:e.length?0:1,v:"number"==typeof e?"":t.murmurX64Hash128(JSON.stringify(e))}})),i.s53=ue(o[32]),i.s54=le(o[1]),i.s55=function(e){var t=e[0],n=e[1];if(void 0!==t&&void 0!==n)return{s:0,v:t||n};if(void 0!==t)return{s:1,v:t};if(void 0!==n)return{s:2,v:n};return{s:-1,v:null}}(c),i.s56=function(e){if(!e)return{s:-1,v:null};if(e.error){var t=e.error;return ne(t)?{s:t.s,v:null}:{e:t.message}}return{s:0,v:e.value}}(l),i.s57=ce(o[33],-1),i.s58=ce(o[9],-1),i))}function oe(e,t){return e.error?{e:ae(e.error)}:t(e.value)}function ae(e){var t;try{t=""+e.message,"name"in e&&(t=e.name+": "+t)}catch(e){t="Code 3017: "+e.name+": "+e.message}return _(t,500)}function se(e){return oe(e,(function(e){return{s:0,v:e}}))}function ue(e){return oe(e,(function(e){return e}))}function ce(e,t){return oe(e,(function(e){return{s:null==e?t:0,v:null!=e?e:null}}))}function le(e,t){return oe(e,(function(e){return"number"==typeof e?{s:e,v:null}:{s:0,v:t?t(e):e}}))}function de(e,t,n){return e.error?t:void 0===e.value?n:e.value}function fe(e){return!0===e?1:!1===e?0:e}var ve=((re={}).TokenRequired="Token required",re.TokenNotFound="Token not found",re.TokenExpired="Token expired",re.RequestCannotBeParsed="Request cannot be parsed",re.Failed="Request failed",re.RequestTimeout="Request failed to process",re.TooManyRequests="Too many requests, rate limit exceeded",re.OriginNotAvailable="Not available for this origin",re.HeaderRestricted="Not available with restricted header",re.NotAvailableForCrawlBots="Not available for crawl bots",re.NotAvailableWithoutUA="Not available when User-Agent is unspecified",re),ge=b("WrongRegion"),he=b("SubscriptionNotActive");function _e(t,n){var r=t.bodyData;return void 0===r?Re(t):function(e){return e instanceof Object&&"2"===e.v&&e.products instanceof Object}(r)?function(t,n){var r=t.notifications,i=t.requestId,o=t.error,a=t.products;if(ye(r),o)return me(o,i,n);var s=a.identification;if(!s)throw new Error("There is no identification result in the response");if(ye(s.notifications),s.error)return me(s.error,i,n);return[e.__assign({requestId:i},s.data.result),s.data.visitorToken]}(r,n):function(e){return e instanceof Object&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(r)?function(t){var n=t,r=n.notification,i=n.visitorToken,o=n.botProbability,a=e.__rest(n,["notification","visitorToken","botProbability"]);r&&Ee(r);var s=e.__assign({},a);o&&(s.bot={probability:o});return[s,i]}(r):function(e){return e instanceof Object&&"n/a"===e.visitorId}(r)?function(e,t){var n=e.notification,r=e.reason,i=e.requestId;n&&Ee(n);switch(r){case"Not available for crawl bots":return be(i,!0,t);case"Not available when User-Agent is unspecified":return be(i,void 0,t);case"Request failed":case"Request failed to process":case"Too many requests, rate limit exceeded":return we(r,i);default:throw we(r,i)}}(r,n):Re(t)}function me(e,t,n){switch(e.code){case"NotAvailableForCrawlBots":return be(t,!0,n);case"NotAvailableWithoutUA":return be(t,void 0,n);case"Failed":case"RequestTimeout":case"TooManyRequests":return we(pe(e),t,e);default:throw we(pe(e),t,e)}}function pe(e){var t=e.code,n=e.message;if(void 0===t)return n;if(Object.prototype.hasOwnProperty.call(ve,t)){var r=ve[t];if(void 0!==r)return r}return b(t)}function be(t,n,r){var i={requestId:t,visitorFound:!1,visitorId:""};if(!r)return[i];var o=e.__assign(e.__assign({},i),{bot:{probability:1},incognito:!1,browserName:"n/a",browserVersion:"n/a",device:"n/a",ip:"n/a",ipLocation:{},os:"n/a",osVersion:"n/a"});return void 0!==n&&(o.bot.safe=n),[o]}function we(e,t,n){var r=new Error(e);return void 0!==t&&(r.requestId=t),void 0!==n&&(r.raw=n),r}function ye(e){null==e||e.forEach(Ee)}function Ee(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}function Re(e){if(e.status>=500)return new Error(e.statusText);throw new Error(e.body.byteLength>0?"Failed to parse the response: (base64) "+p(e.body):e.statusText)}function Te(e,t,n,r,i){void 0===i&&(i=E);var o=i()%(n+1),a=function(e){if("function"==typeof TextEncoder)return(new TextEncoder).encode(e);for(var t=unescape(encodeURI(e)),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}(JSON.stringify(e)),s=1+t.length+1+o+r+a.length,u=new ArrayBuffer(s),c=new Uint8Array(u),l=0,d=i();c[l++]=d;for(var f=0,v=t;f<v.length;f++){var g=v[f];c[l++]=d+g}c[l++]=d+o;for(var h=0;h<o;++h)c[l++]=i();var _=new Uint8Array(r);for(h=0;h<r;++h)_[h]=i(),c[l++]=_[h];for(h=0;h<a.length;++h)c[l++]=a[h]^_[h%r];return u}function ke(e,t,n){var r=function(){throw new Error("Invalid data")},i=l(e);i.length<t.length+2&&r();for(var o=0;o<t.length;++o)m(i[1+o],i[0])!==t[o]&&r();var a=1+t.length,s=m(i[a],i[0]);i.length<a+1+s+n&&r();var u=a+1+s,c=u+n,d=new Uint8Array(i.length-c);for(o=0;o<d.length;++o)d[o]=i[c+o]^i[u+o%n];return JSON.parse(g(d))}var Se=[3,7];function Ie(t){return e.__awaiter(this,void 0,void 0,(function(){var n,r,i;return e.__generator(this,(function(o){switch(o.label){case 0:return[4,O(e.__assign(e.__assign({},t),{body:(s=t.body,Te(s,Se,3,7)),responseFormat:"binary"}))];case 1:n=o.sent();try{a=n.body,r=ke(a,Se,7),i=!0}catch(it){try{r=JSON.parse(g(n.body)),i=!1}catch(u){}}return[2,e.__assign(e.__assign({},n),{bodyData:r,isSecret:i})]}var a,s}))}))}function Oe(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function Ae(t,r,i){var o=t.endpoint,s=t.extendedResult,u=void 0!==s&&s,l=e.__rest(t,["endpoint","extendedResult"]);return e.__awaiter(this,void 0,void 0,(function(){var t,s,d;return e.__generator(this,(function(f){switch(f.label){case 0:return t=(v=o)+(-1===v.indexOf("?")?"?":"&")+"cv="+encodeURIComponent("3.3.2"),s=ie(e.__assign({extendedResult:u},l)),d=0,[4,D(i,(function(){return{e:15,endpoint:t,request:s}}),(function(e){return{e:16,result:e}}),(function(e){return{e:17,error:e}}),(function(){return function(t,r){var i,o=c(300,1e4);return a(null==r?void 0:r.catch((function(e){i||(i=e)})).then((function(){throw i})),(function(){var a,s,u;return e.__generator(this,(function(e){switch(e.label){case 0:return a=Date.now(),[4,t(r)];case 1:return(s=e.sent())instanceof Error?(i=s,u=o.next().value,"Too many requests, rate limit exceeded"===s.message&&(u=1e3+5*u),[4,n(a+u-Date.now())]):[2,s];case 2:e.sent(),e.label=3;case 3:return[3,0];case 4:return[2]}}))}))}((function(n){return function(t,n,r,i,o,a){return e.__awaiter(this,void 0,void 0,(function(){var s,u;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,D(a,(function(){return{e:18,tryNumber:i}}),(function(e){var t=e.status,n=e.body,r=e.bodyData,o=e.isSecret;return{e:19,tryNumber:i,status:t,body:null!=r?r:n,isSecret:o}}),(function(e){return{e:20,tryNumber:i,error:e}}),(function(){return Ie({url:t,method:"post",body:n,headers:{"Content-Type":"text/plain"},withCredentials:!0,abort:o})}))];case 1:return s=e.sent(),[3,3];case 2:return u=e.sent(),[2,new Error("AbortError"===u.name?"Network request aborted":"Network connection error")];case 3:return[2,_e(s,r)]}}))}))}(t,s,u,d++,n,i)}),r)}))];case 1:return[2,f.sent()]}var v}))}))}function Ce(e){return e.toDataURL()}function De(){var e,t,n=Ne();return(null===(t=null===(e=window[n[0]])||void 0===e?void 0:e[n[1]])||void 0===t?void 0:t[n[2]])||1073741824}function Ne(){return ke(new Uint32Array([1238629110,448276002,3812774028,808844344,1040086494,3917076003,2006609522,3391962601,1618783843,902064594,3846817827,1945380650,2587245025,908308022,938305751,2922813991,1910122279,3709215973,809499767,66414809,3983071030,916072247,3711377838,822474088,300514777,4182498348,953759295,3408360096,591258990,229539788]),[],5)}function xe(){var e=qe(),t=window[e[0]];if(!t)return!1;try{t[e[1]][e[2]](e[3],e[4],{},(function(){}))}catch(n){return!new RegExp(e[5]).test(n)}return!1}function Pe(){return e.__awaiter(this,void 0,void 0,(function(){var t,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:t=document,r=qe(),(i=t.createElement("iframe")).style.display="none",e.label=1;case 1:return t.body?[3,3]:[4,n(50)];case 2:return e.sent(),[3,1];case 3:return e.trys.push([3,,5,6]),t.body.appendChild(i),[4,Promise.race([n(20,!1),new Promise((function(e){i.contentWindow?i.contentWindow[r[6]].addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 4:return[2,e.sent()];case 5:return i.remove(),[7];case 6:return[2]}}))}))}function Le(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}function qe(){return ke(new Uint32Array([571803394,2333197341,667974149,459532809,2807590137,1996360231,241878290,3893584866,1793199716,1479125268,4262158585,1442777440,325646623,3826480888,665278571,175243026,2757050360,1760166496,1415636746,2836884200,2012960809,241499411,2840995822,1912086370,1482750223,4212860839,1726092917,359464731,3894101733,1487478637]),[],3)}var je=[[function(){return t.isChromium()},function(){return h(["ClipboardItem"in(t=window),"PerformanceEventTiming"in t,"RTCSctpTransport"in t])>=2?function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:return t=Ne(),n=navigator,r=n[t[3]],(i=n[t[4]])?[4,new Promise((function(e){i[t[5]]((function(t,n){return e(n)}))}))]:[3,2];case 1:return o=e.sent(),[3,4];case 2:return(null==r?void 0:r[t[6]])?[4,r[t[6]]().then((function(e){return e.quota}))]:[3,4];case 3:o=e.sent(),e.label=4;case 4:return o?[2,o<De()]:[2,!1]}}))}))}():function(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){return(t=window.webkitRequestFileSystem)?[2,new Promise((function(e){t(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]:[2,!1]}))}))}();var t}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return x()?t.isDesktopSafari()?[2,xe()]:[2,Pe()]:[2,Le()]}))}))}],[function(){return t.isGecko()},function(){return new Promise((function(e){try{var t=indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return t.isTrident()||t.isEdgeHTML()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function Me(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:t=0,n=je,e.label=1;case 1:return t<n.length?(r=n[t],i=r[0],o=r[1],i()?[4,o()]:[3,3]):[3,4];case 2:return[2,e.sent()];case 3:return t++,[3,1];case 4:return[2,!1]}}))}))}function Ue(e){if("InvalidAccessError"===e.name){if(/\bfrom\b.*\binsecure\b/i.test(e.message))return{s:-2,v:null};if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(e.message))return{s:-3,v:null}}throw e}function Fe(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}var Be=["MAX_TEXTURE_MAX_ANISOTROPY_EXT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","MAX_COLOR_ATTACHMENTS_WEBGL","MAX_DRAW_BUFFERS_WEBGL","DRAW_BUFFER0_WEBGL","DRAW_BUFFER1_WEBGL","VERTEX_ARRAY_BINDING_OES","TIMESTAMP_EXT","GPU_DISJOINT_EXT","MAX_VIEWS_OVR"],Ve=[10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32926,32928,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938],Ge=[32926,32928],He=["FRAGMENT_SHADER","VERTEX_SHADER"],We=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function Ke(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function Xe(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function $e(e){return Object.keys(e.__proto__).filter(Xe)}function Je(){return window.speechSynthesis}function ze(e){var t=function(e){return e.replace(/([,\\])/g,"\\$1")};return e.map((function(e){return[t(e.voiceURI),t(e.name),t(e.lang),e.localService?"1":"0",e.default?"1":"0"].join(",")})).sort()}var Ye={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},Qe={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},Ze={"en-us":e.__assign(e.__assign({},Ye),{n:["james","mary","john","patricia","robert","jennifer","michael","linda","william","elizabeth","david","barbara","richard","susan","joseph","jessica","thomas","sarah","charles","karen","christopher","nancy","daniel","lisa","matthew","margaret","anthony","betty","donald","sandra"]}),"en-gb":e.__assign(e.__assign({},Ye),{n:["oliver","george","noah","arthur","harry","leo","muhammad","jack","charlie","oscar","jacob","henry","thomas","joshua","william","olivia","amelia","isla","ava","mia","isabella","sophia","grace","lily","freya","emily","ivy","ella","rosie","charlotte"]}),"ru-ru":e.__assign(e.__assign({},Qe),{n:["aleksandr","sergej","vladimir","elena","tatana","andrej","aleksej","olga","nikolaj","natala","anna","ivan","dmitrij","irina","maria","mihail","svetlana","ekaterina","evgenij","viktor","anastasia","urij","ulia","valentin","roman","igor","anatolij","oleg","pavel","maksim"]})};Ze.default=Ze["en-us"],Ze.en=Ze["en-us"],Ze.ru=Ze["ru-ru"];var et={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function tt(n){return e.__awaiter(this,void 0,void 0,(function(){function i(){d.close(),l.close()}var o,a,s,u,c,l,d,f=this;return e.__generator(this,(function(v){return"RTCPeerConnection"in window?(o=t.isWebKit()&&!t.isDesktopSafari(),a=o?400:300,s=Math.random().toString(),u=new Map,"ABCD",c="candidate:0 1 udp 2113937151 ${addr} ${port} typ host generation 0 ufrag ABCD network-cost 999",l=new RTCPeerConnection({iceTransportPolicy:"all"}),d=l.createDataChannel(s),[2,new Promise((function(t){r((function(){t(-4),i()}),a),l.oniceconnectionstatechange=function(){return e.__awaiter(f,void 0,void 0,(function(){var n,r=this;return e.__generator(this,(function(o){return 30,"checking"===l.iceConnectionState&&(n=setInterval((function(){return e.__awaiter(r,void 0,void 0,(function(){var r,o;return e.__generator(this,(function(e){switch(e.label){case 0:return"checking"!==l.iceConnectionState?(clearInterval(n),i(),[2]):[4,l.getStats()];case 1:return r=e.sent(),o=[],r.forEach((function(e){if("remote-candidate"===e.type){var t=u.get(e.port);o.push(t)}})),o.length>0&&(clearInterval(n),t(o),i()),[2]}}))}))}),30)),[2]}))}))},l.createOffer().then((function(e){var r=e.sdp;if(r){for(var i=[],o=0;o<n.length;o++){var a=n[o],s=50003+o,d=c.replace("${addr}",a).replace("${port}",s.toString());u.set(s,a),i.push("a="+d)}var f={type:"answer",sdp:r.replace(/a=ice-ufrag:(.*?)\s{1,2}/,"a=ice-ufrag:ABCD\r\n").replace(/a=setup:(.*?)\s{1,2}/,"a=setup:active\r\n").replace(/c=IN IP4 ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/,(function(e,t){return"c=IN IP4 "+t+"\r\nb=AS:30\r\n"+i.join("\r\n")}))};return l.setLocalDescription(e),l.setRemoteDescription(f)}t(-5)}))}))]):[2,-5]}))}))}function nt(t){return e.__awaiter(this,void 0,void 0,(function(){var n,i;return e.__generator(this,(function(o){return n=new AbortController,i=document.location.protocol,[2,new Promise((function(o){t.map((function(t){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,fetch(i+"//"+t,{signal:n.signal}).catch((function(){return null})).then((function(){n.signal.aborted||(n.abort(),o(t))}))]}))}))})),r((function(){n.signal.aborted||(n.abort(),o(-4))}),100)}))]}))}))}var rt,it,ot=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion"];var at=((rt={})[0]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n,i,o;return e.__generator(this,(function(a){switch(a.label){case 0:if(n=window,!(i=n.RTCPeerConnection||n.webkitRTCPeerConnection))return[2,-3];try{o=new i({iceServers:[]})}catch(s){if("NotSupportedError"===s.name)return[2,-6];throw s}a.label=1;case 1:return a.trys.push([1,,3,4]),[4,new Promise((function(n,i){var a,u=[],c=r((function(){return n(-4)}),500),l=function(){return n(e.__spreadArrays(u))};o.onicecandidate=function(e){var t=e.candidate;if(!t)return l();if(t.candidate){if(u.push(t.candidate),u.length>=6)return l();1===u.length&&(c(),r(l,10))}},o.onicegatheringstatechange=function(){"complete"===o.iceGatheringState&&l()},o.onicecandidateerror=i;try{null===(a=o.createDataChannel)||void 0===a||a.call(o,"test")}catch(s){return void("NotSupportedError"===s.name?n(-7):i(s))}var d=function(e,t){try{return e.createOffer(t)}catch(s){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(s.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw s}}(o,t.isEdgeHTML()?{offerToReceiveAudio:!0}:void 0);void 0===d?n(-8):d.then((function(e){return o.setLocalDescription(e)}),i)}))];case 2:return[2,a.sent()];case 3:try{o.close()}catch(s){}return[7];case 4:return[2]}}))}))},rt[1]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n,r;return e.__generator(this,(function(e){switch(e.label){case 0:return t.isWebKit()?[4,tt(n=function(){for(var e=t.isWebKit()&&!t.isDesktopSafari(),n=navigator.language.toLowerCase(),r=n.slice(0,2),i=Ze[n]||Ze[r]||Ze.default,o=e?i.i.slice():i.m.slice(),a=e?et.i.slice():et.m.slice(),s=0,u=e?i.n:i.n.slice(0,15);s<u.length;s++)for(var c=u[s],l=0,d=o;l<d.length;l++){var f=d[l];a.push(f.replace("$$",c))}return a.map((function(e){return e+".local"}))}())]:[2,-2];case 1:return"number"==typeof(r=e.sent())?[2,r]:r.length===n.length?[2,-3]:r.length>1?[2,nt(r)]:1===r.length?[2,r[0]]:[2,-1]}}))}))},rt[2]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n,i;return e.__generator(this,(function(e){switch(e.label){case 0:return"function"!=typeof(null==(n=Je())?void 0:n.getVoices)?[2,-1]:(i=function(){return n.getVoices()},!n.addEventListener||t.isGecko()&&h(["AnonymousContent"in(o=window),!("AudioBuffer"in o),!("RTCPeerConnection"in o),!("geolocation"in navigator),!("ServiceWorker"in o)])>=3?[2,ze(i())]:[4,new Promise((function(e){var t,o=function(){n.removeEventListener("voiceschanged",a);var t=i();e(t.length?ze(t):-2)},a=function(){i().length?(null==t||t(),t=r(o,50)):t||(t=r(o,600))};a(),n.addEventListener("voiceschanged",a)}))]);case 1:return[2,e.sent()]}var o}))}))},rt[3]=function(){return e.__awaiter(this,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:if("function"!=typeof(r=window.ApplePaySession))return[2,{s:-1,v:null}];e.label=1;case 1:return e.trys.push([1,3,,4]),r.canMakePayments()?t.isWebKit()&&!x()?[2,{s:0,v:1}]:[4,Promise.race([r.canMakePaymentsWithActiveCard(""),n(250,!1)])]:[2,{s:0,v:0}];case 2:return[2,{s:0,v:e.sent()?3:2}];case 3:return[2,Ue(e.sent())];case 4:return[2]}}))}))},rt[4]=function(t){var n=t.storageKeyPrefix;return e.__awaiter(this,void 0,void 0,(function(){var t,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:return void 0!==(r=function(e){try{var t=localStorage.getItem(e);if(!t)return;return"1"===t}catch(n){return}}(t=n+"_i"))?[2,r]:[4,Me()];case 1:return i=e.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(t,i),[2,i]}}))}))},rt[5]=t.getScreenFrame,rt[8]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,r,i;return e.__generator(this,(function(o){switch(o.label){case 0:return(null==(t=navigator.mediaDevices)?void 0:t.enumerateDevices)?(r=function(e){return e.slice(0,32).replace(/([,\\])/g,"\\$1")},i=function(e){return[r(e.deviceId),r(e.groupId),{audioinput:"ai",audiooutput:"ao",videoinput:"vi"}[e.kind],r(e.label)].join(",")},[4,a(n(250,-2),(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,t.enumerateDevices()];case 1:return[2,e.sent().map(i)]}}))}))]):[2,-1];case 1:return[2,o.sent()]}}))}))},rt[7]=function(){var t;return e.__awaiter(this,void 0,void 0,(function(){var n,r,i,o,a,s,u=this;return e.__generator(this,(function(c){switch(c.label){case 0:if(!(n=null===(t=window.crypto)||void 0===t?void 0:t.subtle)||!n.generateKey||!n.exportKey)return[2,-1];r=function(){return e.__awaiter(u,void 0,void 0,(function(){var t,r;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,n.generateKey({name:"AES-GCM",length:128},!0,["encrypt"])];case 1:return t=e.sent(),[4,n.exportKey("raw",t)];case 2:return r=e.sent(),[2,new Uint8Array(r)]}}))}))},c.label=1;case 1:return c.trys.push([1,3,,4]),[4,Promise.all([r(),r()])];case 2:for(i=c.sent(),o=new Uint8Array(i[0].length),a=0;a<i[0].length;++a)o[a]=165^i[0][a]^i[1][a];return[2,p(o)];case 3:if("NotSupportedError"===(s=c.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},rt[6]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(r){switch(r.label){case 0:return(t=navigator).requestMediaKeySystemAccess?[4,a(n(75,-3),(function(){var n,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,5,,6]),[4,t.requestMediaKeySystemAccess("org.w3.clearkey",[{initDataTypes:["keyids","webm"],audioCapabilities:["opus","vorbis"].map((function(e){return{contentType:'audio/webm; codecs="'+e+'"'}})),videoCapabilities:["vp9","vp8"].map((function(e){return{contentType:'video/webm; codecs="'+e+'"'}}))}])];case 1:return[4,e.sent().createMediaKeys()];case 2:return n=e.sent(),(r=n.createSession()).sessionId?[3,4]:[4,new Promise((function(e){r.onmessage=e,r.generateRequest("webm",new Uint8Array([1,1,1,1]))}))];case 3:e.sent(),e.label=4;case 4:return[2,r.sessionId];case 5:if("NotSupportedError"===(i=e.sent()).name)return[2,-2];throw i;case 6:return[2]}}))}))]:[2,-1];case 1:return[2,r.sent()]}}))}))},rt[9]=function(){var t;return e.__awaiter(this,void 0,void 0,(function(){var n,r,i,o=this;return e.__generator(this,(function(a){switch(a.label){case 0:return(n=navigator.userAgentData)&&"object"==typeof n?(r={},i=[],"function"!=typeof n.getHighEntropyValues?[3,2]:[4,Promise.all(ot.map((function(t){return e.__awaiter(o,void 0,void 0,(function(){var o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,n.getHighEntropyValues([t])];case 1:return void 0!==(o=e.sent()[t])&&(r[t]="string"==typeof o?o:JSON.stringify(o)),[3,3];case 2:if("NotAllowedError"!==(a=e.sent()).name)throw a;return i.push(t),[3,3];case 3:return[2]}}))}))})))]):[2,void 0];case 1:a.sent(),a.label=2;case 2:return[2,{b:n.brands.map((function(e){return{b:e.brand,v:e.version}})),m:n.mobile,p:null!==(t=n.platform)&&void 0!==t?t:null,h:r,nah:i}]}}))}))},rt[10]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n;return e.__generator(this,(function(e){switch(e.label){case 0:return(t=navigator.permissions)?[4,t.query({name:"notifications"})]:[2,void 0];case 1:return n=e.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},rt[11]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},rt[12]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},rt[13]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},rt[14]=function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank "+String.fromCharCode(55357,56835)+" gly";n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply";for(var o=0,a=[["#f0f",50,50],["#0ff",100,50],["#ff0",75,100]];o<a.length;o++){var s=a[o],u=s[0],c=s[1],l=s[2];n.fillStyle=u,n.beginPath(),n.arc(c,l,50,0,2*Math.PI,!0),n.closePath(),n.fill()}return n.fillStyle="#f0f",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:Ce(t)}},rt[15]=function(){return void 0!==navigator.plugins},rt[16]=function(){return navigator.platform},rt[17]=function(){return void 0!==window.chrome},rt[18]=function(){return navigator.webdriver},rt[19]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},rt[20]=function(){return navigator.productSub},rt[21]=function(){return eval.toString().length},rt[22]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},rt[23]=function(){var t=window.WebAssembly;if(null==t?void 0:t.validate){for(var n=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10],r=0,i=0,o=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];i<o.length;i++){var a=o[i];r<<=1,r|=t.validate(Uint8Array.of.apply(Uint8Array,e.__spreadArrays(n,a)))?1:0}return r}},rt[24]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},rt[25]=function(){var e=window;if(!t.isChromium())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var n=document.createElement("canvas");n.width=4,n.height=4,n.style.display="inline";var r=n.toDataURL();if(""===r)return!0;for(var i=window.atob(r.split(",")[1]),o=i.length,a=new Uint8Array(o),s=0;s<o;s++)a[s]=i.charCodeAt(s);var u=v(a,[73,68,65,84,24]);if(-1===u)return!1;var c=v(a,[73,69,78,68]);return-1!==c&&1321!==a.slice(u+5,c).reduce((function(e,t){return e+t}),0)}catch(l){return!1}},rt[26]=function(){return!!Fe("dark")||!Fe("light")&&void 0},rt[27]=function(){var e=Date.now();return[e,e-6e4*(new Date).getTimezoneOffset()]},rt[28]=function(){for(var e=[],t=Math.random(),n=24575;n>=0;--n)if(n%4096==0){var r=Math.random();e.push((t-r)*Math.pow(2,31)|0),t=r}return e},rt[29]=function(){var e=window.performance;if(null==e?void 0:e.now){for(var t=1,n=1,r=e.now(),i=r,o=0;o<5e4;o++)if((r=i)<(i=e.now())){var a=i-r;a>t?a<n&&(n=a):a<t&&(n=t,t=a)}return[t,n]}},rt[30]=function(){var e,t;return null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit},rt[32]=function(){return{s:t.isWebKit()&&!t.isDesktopSafari()?x()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},rt[33]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},rt),st=((it={})[31]=function(){for(var n=document.createElement("canvas"),r=["webgl","experimental-webgl"],i=void 0,o=0;o<r.length&&!i;o++)try{i=n.getContext(r[o])}catch(s){}if(i){var a=e.__assign(e.__assign({},function(e){var n,r,i,o,a,s,u=e.getSupportedExtensions(),c=e.getExtension("WEBGL_debug_renderer_info"),l=e.getContextAttributes(),d=[],f=[],v=[],g=[];for(var h in l)Object.prototype.hasOwnProperty.call(l,h)&&d.push(h+"="+l[h]);for(var _=$e(e),m=t.isTrident(),p=0,b=_;p<b.length;p++){var w=e[O=b[p]];if(Ve.indexOf(w)>-1){var y=m&&-1===Ge.indexOf(w)?e.getParameter(w):null;f.push(O+"("+w+")="+y)}else f.push(O+"="+w)}if(u)for(var E=0,R=u;E<R.length;E++){var T=R[E],k=e.getExtension(T);if(k)for(var S=0,I=$e(k);S<I.length;S++){var O;w=k[O=I[S]],Be.indexOf(O)>0?v.push(O+"("+w+")="+e.getParameter(w)):v.push(O+"="+w)}}for(var A=0,C=He;A<C.length;A++)for(var D=C[A],N=0,x=We;N<x.length;N++){var P=x[N],L=Ke(e,D,P);g.push(D+"."+P+"="+L.join(","))}return v.sort(),f.sort(),{version:(null===(n=e.getParameter(e.VERSION))||void 0===n?void 0:n.toString())||"",vendor:(null===(r=e.getParameter(e.VENDOR))||void 0===r?void 0:r.toString())||"",vendorUnmasked:c?null===(i=e.getParameter(c.UNMASKED_VENDOR_WEBGL))||void 0===i?void 0:i.toString():"",renderer:(null===(o=e.getParameter(e.RENDERER))||void 0===o?void 0:o.toString())||"",rendererUnmasked:c?null===(a=e.getParameter(c.UNMASKED_RENDERER_WEBGL))||void 0===a?void 0:a.toString():"",shadingLanguageVersion:(null===(s=e.getParameter(e.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||"",contextAttributes:d.join("&"),parameters:f.join("&"),shaderPrecisions:g.join("&"),extensions:u?u.join(","):"",extensionParameters:v.join(",")}}(i)),{fingerprint:""});return function(e){e.clearColor(0,0,1,1);var t=e.createProgram();if(t){i(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),i(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),e.linkProgram(t),e.useProgram(t),e.enableVertexAttribArray(0);var n=e.getUniformLocation(t,"t"),r=e.createBuffer();e.bindBuffer(34962,r),e.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),e.vertexAttribPointer(0,2,5126,!1,0,0),e.clear(16384),e.uniform1f(n,3.65),e.drawArrays(4,0,3)}function i(n,r){var i=e.createShader(35633-n);t&&i&&(e.shaderSource(i,r),e.compileShader(i),e.attachShader(t,i))}}(i),a.fingerprint=n.toDataURL(),a}},it);function ut(e){return t.getComponents(at,e,[])}function ct(e){return t.getComponents(st,e,[])}function lt(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function dt(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";document.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function ft(e,t,n){var r=location.hostname;(vt(r,(function(t){!function(e,t){dt(e,"",-1,t)}(e,t)})),n<0)||vt(r,(function(r){return dt(e,t,n,r),lt(e)!==t}))&&dt(e,t,n)}function vt(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}function gt(e){return[lt(e),_t(e)]}function ht(e,t){ft(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function _t(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function mt(t,n,r,o,a){var s=this,u=a.token,c=a.region,l=void 0===c?"us":c,d=a.endpoint,f=a.tlsEndpoint,v=a.storageKey,g=void 0===v?"_vid":v,h=a.debug;var _=function(t,n,r,o,a,c,v){return e.__awaiter(s,void 0,void 0,(function(){var s,h,_,b,w,y,E,R,T,k,S;return e.__generator(this,(function(e){switch(e.label){case 0:return s=i(o).then((function(){throw new Error("Client timeout")})),[4,Promise.race([s,Promise.all([m(l,f,!!r,i(.4*o),v),p(v)])])];case 1:return h=e.sent(),_=h[0],b=h[1],w=b[0],y=b[1],E=g,R=g+"_t",[4,Ae({token:u,endpoint:Oe(l,d),components:w,componentsDuration:y,tag:t,visitorId:gt(E),visitorToken:gt(R),tls:_,linkedId:n,extendedResult:a,ipResolution:c},s,v)];case 2:return T=e.sent(),k=T[0],(S=T[1])?ht(S,R):k.visitorId&&ht(k.visitorId,E),[2,k]}}))}))},m=function(t,n,r,i,o){return e.__awaiter(s,void 0,void 0,(function(){return e.__generator(this,(function(e){return r?[2,void 0]:[2,ee(function(e,t){return t||Z[e]}(t,n),i,o).then((function(e){return{value:e}}),(function(e){return{error:e}}))]}))}))},p=function(t){return D(t,(function(){return{e:12}}),(function(e){return{e:13,result:e[0]}}),(function(e){return{e:14,error:e}}),(function(){return function(t){return e.__awaiter(this,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Date.now(),[4,t()];case 1:return[2,[e.sent(),Date.now()-n]]}}))}))}((function(){return e.__awaiter(s,void 0,void 0,(function(){var t,i,a,s,u;return e.__generator(this,(function(c){switch(c.label){case 0:return t={storageKeyPrefix:g},[4,Promise.all([n.get(),r(t)])];case 1:return i=c.sent(),a=i[0],s=i[1],[4,o(t)];case 2:return u=c.sent(),[2,e.__assign(e.__assign(e.__assign({},a.components),s),u)]}}))}))}))}))};return{get:function(n){void 0===n&&(n={});var r=h||n.debug?function(t,n,r){return function(i){return t(e.__assign(e.__assign({},i),{agentId:n,getCallId:r}))}}(R([h,n.debug&&k()]),t,y(8)):void 0;return D(r,(function(){return{e:3,options:n}}),(function(e){return{e:4,result:e}}),(function(e){return{e:5,error:e}}),(function(){var e=n.timeout,t=void 0===e?1e4:e,i=n.tag,o=n.linkedId,a=n.disableTls,s=n.extendedResult,u=n.ipResolution;return _(i,o,a,t,s,u,r)}))}}}var pt=function(n){var r=this,i=y(8);return D(n.debug,(function(){return{e:0,agentId:i,version:"3.3.2",options:n}}),(function(){return{e:1,agentId:i}}),(function(e){return{e:2,agentId:i,error:e}}),(function(){return e.__awaiter(r,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:if(!n.token||"string"!=typeof n.token)throw new Error("Token required");return function(){var e;try{null===(e=Je())||void 0===e||e.getVoices()}catch(it){}}(),[4,t.load({delayFallback:n.delayFallback})];case 1:return r=e.sent(),[2,mt(i,r,ut,ct,n)]}}))}))}))},bt={load:pt,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_WRONG_REGION:ge,ERROR_SUBSCRIPTION_NOT_ACTIVE:he,ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_FORBIDDEN_HEADER:"Not available with restricted header"};exports.ERROR_BAD_REQUEST_FORMAT="Request cannot be parsed",exports.ERROR_CLIENT_TIMEOUT="Client timeout",exports.ERROR_FORBIDDEN_HEADER="Not available with restricted header",exports.ERROR_FORBIDDEN_ORIGIN="Not available for this origin",exports.ERROR_GENERAL_SERVER_FAILURE="Request failed",exports.ERROR_NETWORK_ABORT="Network request aborted",exports.ERROR_NETWORK_CONNECTION="Network connection error",exports.ERROR_RATE_LIMIT="Too many requests, rate limit exceeded",exports.ERROR_SERVER_TIMEOUT="Request failed to process",exports.ERROR_SUBSCRIPTION_NOT_ACTIVE=he,exports.ERROR_TOKEN_EXPIRED="Token expired",exports.ERROR_TOKEN_INVALID="Token not found",exports.ERROR_TOKEN_MISSING="Token required",exports.ERROR_WRONG_REGION=ge,exports.default=bt,exports.load=pt,exports.makeConsoleDebugger=S,exports.makeDebugReportBuilder=P,exports.makeMulticastDebugger=R,exports.makeRemoteDebugger=W;
/**
* FingerprintJS Pro v3.3.1 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
* FingerprintJS Pro v3.3.2 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
*

@@ -4,0 +4,0 @@ * This software contains code from open-source projects:

/**
* FingerprintJS Pro v3.3.1 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
* FingerprintJS Pro v3.3.2 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
*

@@ -8,2 +8,2 @@ * This software contains code from open-source projects:

import{__awaiter as e,__generator as t,__assign as n,__rest as r,__spreadArrays as i}from"tslib";import{getFullscreenElement as o,murmurX64Hash128 as a,isTrident as u,isGecko as s,isChromium as c,isWebKit as l,isDesktopSafari as d,isEdgeHTML as f,getScreenFrame as v,getComponents as h,load as g}from"@fingerprintjs/fingerprintjs";function m(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function p(e,t){return new Promise((function(n){var r=document,i=function(){return r.hidden?u():a()},o=function(e,t,n){var r,i=!1,o=e,a=0,u=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&u(),{start:u,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!r.hidden,(function(){r.removeEventListener("visibilitychange",i),n(t)})),a=o.start,u=o.stop;r.addEventListener("visibilitychange",i)}))}function b(n,r){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,n()];case 1:return[2,t.sent()];case 2:return e=t.sent(),console.error(e),[2,r];case 3:return[2]}}))}))}function y(n,r){var i=this;return new Promise((function(o,a){var u=r(),s=!1;null==n||n.then(o,a).then((function(){return s=!0}));var c=function(n){return e(i,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:if(n.done)return[2,o(n.value)];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,n.value];case 2:if(e=t.sent(),!s)try{c(u.next(e))}catch(i){a(i)}return[3,4];case 3:if(r=t.sent(),!s)try{c(u.throw(r))}catch(i){a(i)}return[3,4];case 4:return[2]}}))}))};c(u.next())}))}function w(e,t){var r;return void 0===t&&(t=!1),n({name:e.name,message:e.message,stack:t?null===(r=e.stack)||void 0===r?void 0:r.split("\n"):e.stack},e)}function E(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function R(e,n){var r;return t(this,(function(t){switch(t.label){case 0:r=0,t.label=1;case 1:return[4,Math.random()*Math.min(n,e*Math.pow(2,r))];case 2:t.sent(),t.label=3;case 3:return++r,[3,1];case 4:return[2]}}))}function T(e){return e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S=k.slice(0,-2);function _(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}function I(e){if("function"==typeof TextDecoder){var t=(new TextDecoder).decode(e);if(t)return t}var n=T(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,n)))}function C(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function A(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function D(e,t){return(e-t+256)%256}function O(e){for(var t=T(e),n=t.length,r="",i=0;i<n;i+=3)r+=k[t[i]>>2]+k[(3&t[i])<<4|t[i+1]>>4]+k[(15&t[i+1])<<2|t[i+2]>>6]+k[63&t[i+2]];return n%3==2?r.slice(0,-1)+"=":n%3==1?r.slice(0,-2)+"==":r}function N(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" "+r:t+=e[n]}else t+=e[n].toUpperCase();return t}function P(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function x(e){return P(e,S)}function L(){return 256*Math.random()|0}function q(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&b((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}function j(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"Getting TLS has started";case 7:return"Getting TLS has succeeded";case 8:return"Getting TLS has failed";case 9:return"TLS request try has started";case 10:return"TLS request try has succeeded";case 11:return"TLS request try has failed";case 12:return"Getting fingerprint has started";case 13:return"Getting fingerprint has succeeded";case 14:return"Getting fingerprint has failed";case 15:return"Visitor identifier request has started";case 16:return"Visitor identifier request has succeeded";case 17:return"Visitor identifier request has failed";case 18:return"Visitor identifier request try has started";case 19:return"Visitor identifier request try has succeeded";case 20:return"Visitor identifier request try has failed"}}function M(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:case 17:case 20:console.error(F(e,t));break;case 13:var n=F(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(F(e,t))}}}var U=M;function F(e,t){var n=t.e,i=r(t,["e"]),o=""+e+(new Date).toISOString()+": "+j(n);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?w(t,!0):t instanceof ArrayBuffer?"(base64) "+O(t):t}),2)}(i)+"\n```"),o}function V(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,u=void 0!==a&&a,s=e.timeout,c=e.responseFormat,l=e.abort;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var d in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===s?0:Math.max(s,1),"binary"===c&&(a.responseType="arraybuffer"),o)a.setRequestHeader(d,o[d]);a.onload=function(){return e(function(e){return{body:e.response,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(B("TimeoutError","The request timed out"))},a.onabort=function(){return n(B("AbortError","The request is aborted"))},a.onerror=function(){return n(B("TypeError",navigator.onLine?"Connection error":"Network offline"))},a.send(function(e){var t,n=function(){try{return new Blob([]),!1}catch(t){return!0}};if(e instanceof ArrayBuffer){if(!n())return new Uint8Array(e)}else if((null===(t=e)||void 0===t?void 0:t.buffer)instanceof ArrayBuffer&&n())return e.buffer;return e}(i)),null==l||l.catch((function(){})).then((function(){a.onabort=null,a.abort()}))}))}function B(e,t){var n=new Error(t);return n.name=e,n}function G(e){var t,n=e.url,r=e.body;if(null===(t=navigator.sendBeacon)||void 0===t?void 0:t.call(navigator,n,r))return!0;var i=new XMLHttpRequest;i.open("POST",n,!function(){var e,t=null===(e=window.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),r instanceof Blob&&i.setRequestHeader("Content-Type",r.type);try{i.send(r)}catch(o){return!1}return!0}function W(n,r,i,o,a){return e(this,void 0,void 0,(function(){var e,u,s;return t(this,(function(t){switch(t.label){case 0:(u=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];n&&b((function(){var r=e.apply(void 0,t);void 0!==r&&n(r)}))})(r),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,a()];case 2:return e=t.sent(),[3,4];case 3:throw s=t.sent(),u(o,s),s;case 4:return u(i,e),[2,e]}}))}))}function $(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:x(10)}function H(){var e=window,t=navigator;return C(["maxTouchPoints"in t,"mediaCapabilities"in t,"PointerEvent"in e,"visualViewport"in e,"onafterprint"in e])>=4}var K=function(e){return new X(e).addEvent},X=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t,n=performance;if(n.timeOrigin){var r=null===(t=null===(e=n.getEntriesByType)||void 0===e?void 0:e.call(n,"navigation"))||void 0===t?void 0:t[0];if(r)return n.timeOrigin+(r.responseStart||r.unloadEventEnd)}return n.timing.domLoading||n.timing.responseStart||n.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=document.readyState,n.isPageVisible=te(),n.isFullscreen=ne(),n.network=re()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=window,r=document,i=[[r,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[r,"visibilitychange",function(){return t.handleVisibilityChange()}],[r,"pageshow",function(){return t.handlePageTransition(!0)}],[r,"pagehide",function(){return t.handlePageTransition(!1)}],[n,"unload",function(){return t.handlePageUnload()}]],o=0,a=i;o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];s.addEventListener(c,l)}var d=function(e,t){for(var n=document,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],i=0,o=r;i<o.length;i++){var a=o[i];n.addEventListener(a,e,t)}return function(){for(var i=0,o=r;i<o.length;i++){var a=o[i];n.removeEventListener(a,e,t)}}}((function(){return t.handleFullscreenChange()})),f=function(e){var t=navigator.connection;return(null==t?void 0:t.addEventListener)?(t.addEventListener("change",e),function(){t.removeEventListener("change",e)}):(addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)})}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,n=i;e<n.length;e++){var r=n[e],o=r[0],a=r[1],u=r[2];o.removeEventListener(a,u)}d(),f()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:te()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:ne()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:re()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];J(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var u=a[o],s=i.getCalls[u];J(s)||s.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,s,c,l,d,f=function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];"agentEvent"===i.type&&(t[i.event.e]=i)}return t}(e),v=(null===(n=e[e.length-1])||void 0===n?void 0:n.time)||new Date,h="null",g=0,m=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];g<m.length;g++){var p=m[g],b=p[0],y=p[1];if(f[b]){h=y;break}}return{time:(null===(r=e[e.length-1])||void 0===r?void 0:r.time)||new Date,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:E(),agentVersion:null===(i=f[0])||void 0===i?void 0:i.event.version,userAgent:navigator.userAgent,pageViewId:$(),agentId:null===(o=f[0])||void 0===o?void 0:o.event.agentId,getCallId:null===(a=f[3])||void 0===a?void 0:a.event.getCallId,requestId:null!==(s=null===(u=f[4])||void 0===u?void 0:u.event.result.requestId)&&void 0!==s?s:null===(c=f[5])||void 0===c?void 0:c.event.error.requestId,visitorId:null===(l=f[4])||void 0===l?void 0:l.event.result.visitorId,visitorToken:null===(d=f[16])||void 0===d?void 0:d.event.result[1],identificationState:h,load:z(v,f[0],f[1],f[2]),get:z(v,f[3],f[4],f[5]),tls:Z(z(v,f[6],f[7],f[8]),(function(){var t,n;return Y(e,9,10,11,(null===(t=f[7])||void 0===t?void 0:t.time)||(null===(n=f[8])||void 0===n?void 0:n.time)||v)})),fingerprint:z(v,f[12],f[13],f[14],(function(e){var t=e.event;return{failedComponents:Q(t.result),componentDurations:ee(t.result)}})),visitorIdRequest:Z(z(v,f[15],f[16],f[17]),(function(){var t,n;return Y(e,18,19,20,(null===(t=f[16])||void 0===t?void 0:t.time)||(null===(n=f[17])||void 0===n?void 0:n.time)||v)})),events:e}}(function(e,t,n){var r=[];e[t]&&(r.push.apply(r,e[t].loadEvents),void 0!==n&&r.push.apply(r,e[t].getCalls[n]||[]));return r}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function J(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function z(e,t,r,i,o){if(void 0!==t)return void 0!==r?n(n({},null==o?void 0:o(r)),{duration:r.time.getTime()-t.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-t.time.getTime(),state:"fail",error:i.event.error}:{duration:e.getTime()-t.time.getTime(),state:"incomplete"}}function Y(e,t,n,r,i){var o=function(e,t){for(var n={},r=0,i=e;r<i.length;r++){var o=i[r];if("agentEvent"===o.type&&-1!==t.indexOf(o.event.e)){var a=o.event;n[a.tryNumber]||(n[a.tryNumber]={}),n[a.tryNumber][a.e]=o}}for(var u=[],s=0,c=Object.keys(n);s<c.length;s++){var l=c[s];u.push(n[l])}return u}(e,[t,n,r]);return{triesCount:o.length,triesTotalDuration:o.reduce((function(e,o){var a=o[t],u=o[n]||o[r];return a?e+((null==u?void 0:u.time)||i).getTime()-a.time.getTime():e}),0)}}function Z(e,t){return e?n(n({},e),t()):void 0}function Q(e){return Object.keys(e).filter((function(t){return e[t].error}))}function ee(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=e[i].duration}return t}function te(){return!document.hidden}function ne(){return!!o()}function re(){var e=navigator.connection;return{online:navigator.onLine,downlink:null==e?void 0:e.downlink,downlinkMax:null==e?void 0:e.downlinkMax,effectiveType:null==e?void 0:e.effectiveType,roundTrip:null==e?void 0:e.rtt,saveData:null==e?void 0:e.saveData,type:null==e?void 0:e.type}}var ie=function(n){var r=this,i=n.clientId,o=n.token,a=n.endpoint,u=void 0===a?"https://api.rollbar.com/api/1/item/":a;return new X((function(n){return e(r,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=function(e,t,n,r){return{access_token:n,data:oe(e,t,r)}}(n,i,o),[4,de(u,e)];case 1:return t.sent(),[2]}}))}))})).addEvent};function oe(e,t,n){var r,o;void 0===n&&(n=[8,4,4,4,12].map((function(e){return P(e,"0123456789abcdef")})).join("-"));var a=ae[e.identificationState],u=a.level,s=a.message;return{environment:t,level:u,timestamp:Math.round(e.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:n,notifier:{name:"FingerprintJS Pro monitoring",version:"3.3.1"},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:i([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(o=e.fingerprint)||void 0===o?void 0:o.state)?ce(e.fingerprint.componentDurations):void 0}}],e.events.map(ue)),message:{body:s}},custom:{isInIframe:e.isInIframe,pageViewId:e.pageViewId,agentId:e.agentId,getCallId:e.getCallId,requestId:e.requestId,visitorId:e.visitorId,visitorToken:e.visitorToken,identificationState:e.identificationState,load:e.load,get:e.get,tls:e.tls,fingerprint:se(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var ae={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function ue(e){var t={type:"manual",level:"debug",source:"client",timestamp_ms:e.time.getTime()};switch(e.type){case"documentReadyState":return n(n({},t),{body:{message:'Document ready state becomes "'+e.state+'"'}});case"pageVisibilityToggle":return n(n({},t),{body:{message:"Page becomes "+(e.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return n(n({},t),{body:{message:e.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return n(n({},t),{body:{message:"Programmatic fullscreen "+(e.isFullscreen?"on":"off")}});case"networkChange":return n(n({},t),{body:n(n({},e.network),{message:"Network connection changes"})});case"pageUnload":return n(n({},t),{body:{message:"Page is about to unload (terminate)"}})}var i=e.event,o=function(o,a){void 0===a&&(a="info");for(var u=o,s=(u.e,u.agentId,u.getCallId,r(u,["e","agentId","getCallId"])),c=n(n({},t),{level:a,body:n({message:j(i.e)},s)}),l=0,d=["documentReadyState","isPageVisible","isFullscreen","network"];l<d.length;l++){var f=d[l];void 0!==e[f]&&(c.body[f]=e[f])}return c};switch(i.e){case 0:i.version;return o(r(i,["version"]));case 1:case 3:case 4:case 6:case 9:case 12:case 15:case 16:case 18:return o(i);case 2:case 5:case 8:case 11:case 14:case 17:case 20:return o(i,"error");case 7:return o(n(n({},i),{result:A(i.result,1e3)}));case 10:return o(n(n({},i),{body:A(i.body,1e3)}));case 13:return o(n(n({},i),{result:le(i.result)}));case 19:var a=i.body;if(a instanceof ArrayBuffer){a="(base64) "+(a.byteLength>1800?O(new Uint8Array(a,0,1800))+"...":O(a))}return o(n(n({},i),{body:a}))}}function se(e){if(!e||"incomplete"===e.state||"fail"===e.state)return e;e.componentDurations;var t=r(e,["componentDurations"]),i=e.failedComponents.length?","+e.failedComponents.join(",")+",":void 0;return n(n({},t),{failedComponents:i})}function ce(e,t){void 0===t&&(t="_");for(var r=n({},e),i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];if(/^\d+$/.test(a)){delete r[a];var u=a;do{u=""+t+u}while(u in r);r[u]=e[a]}}return r}function le(e){var t,r="(removed to fit into beacon)";return function(e,t){for(var r={},i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];!e[a].error&&t[a]?r[a]=n(n({},e[a]),{value:t[a](e[a].value)}):r[a]=e[a]}return r}(e,((t={plugins:function(e){return e&&r}})[14]=function(e){return n(n({},e),{data:r})},t.math=function(){return r},t.fontPreferences=function(){return r},t[31]=function(e){return e&&r},t[9]=function(e){return e&&r},t))}function de(n,r){return e(this,void 0,void 0,(function(){var e,i;return t(this,(function(t){switch(t.label){case 0:e=function(e){return JSON.stringify(e,(function(e,t){if(t instanceof Error){var n=w(t);return"string"==typeof n.stack&&(n.stack=A(n.stack,1e3)),n}return t}))}(r),i=R(1e3,1e4),t.label=1;case 1:return navigator.onLine&&G({url:n,body:e})?[3,4]:[4,m(i.next().value)];case 2:t.sent(),t.label=3;case 3:return[3,1];case 4:return[2]}}))}))}var fe={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function ve(n,r,i){return e(this,void 0,void 0,(function(){var o;return t(this,(function(a){return o=0,[2,W(i,(function(){return{e:6,endpoint:n}}),(function(e){return{e:7,result:e}}),(function(e){return{e:8,error:e}}),(function(){return function(e,n,r){void 0===r&&(r=5);var i,o=R(300,1e4);return y(null==n?void 0:n.catch((function(){})).then((function(){throw i||he("Timeout",-3)})),(function(){var a,u,s;return t(this,(function(t){switch(t.label){case 0:a=0,t.label=1;case 1:u=Date.now(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,e(n)];case 3:return[2,t.sent()];case 4:if(s=t.sent(),a>=r-1)throw s;return i=s,[3,5];case 5:return[4,m(u+o.next().value-Date.now())];case 6:t.sent(),t.label=7;case 7:return++a,[3,1];case 8:return[2]}}))}))}((function(r){return function(n,r,i,o,a){return e(this,void 0,void 0,(function(){var e,u;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,W(a,(function(){return{e:9,tryNumber:i,timeout:r}}),(function(e){var t=e.status,n=e.body;return{e:10,tryNumber:i,status:t,body:n}}),(function(e){return{e:11,tryNumber:i,error:e}}),(function(){return V({url:n,timeout:r,abort:o})}))];case 1:return e=t.sent(),[3,3];case 2:switch((u=t.sent()).name){case"AbortError":throw he(u.message,-2);case"TimeoutError":throw he(u.message,-3);case"TypeError":throw he(u.message,-4)}throw u;case 3:if(200===e.status)return[2,e.body];throw he(A(e.status+": "+e.body,255),-5)}}))}))}(n,5e3,o++,r,i)}),r)}))]}))}))}function he(e,t){var n=new Error(e);return n.__="slt",n.s=t,n}function ge(e){return"slt"===e.__}var me,pe="Client timeout",be="Network connection error",ye="Network request aborted";function we(e){var t,r,i=e.components,o=e.componentsDuration,s=e.token,c=e.visitorId,l=e.visitorToken,d=e.tls,f=e.tag,v=e.ipResolution,h=e.extendedResult,g=e.linkedId,m="full"===v?2:1;return n(n(((t={}).c=s,t.url=location.href,t.d=o,t.vid=c[0]||c[1]||void 0,t.ls=c[1]?1:void 0,t.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(f),t.i=m,t.cbd=h?1:void 0,t.lid=g,t.cr=document.referrer||void 0,t),function(e){var t,r,i,o=((t={}).j=void 0,t.je=void 0,t);if(!e)return o;if(e.error){var a=e.error,u=a.message;if(ge(a))switch(a.s){case-2:u="Abort";break;case-3:u="Timeout";break;case-4:u="Connection error"}return n(n({},o),((r={}).je=u,r))}return n(n({},o),((i={}).j=e.value,i))}(d)),((r={}).k1=Ie(i.osCpu),r.k2=Ie(i.languages),r.k3=Ie(i.colorDepth),r.k4=Ie(i.deviceMemory),r.k5=Ie(i.screenResolution),r.k6=Ie(i[11],void 0,[]),r.k7=Ie(i.hardwareConcurrency,void 0,1),r.k8=Ie(i[12]),r.k9=Ie(i[13]),r.k10=Ce(Ie(i.sessionStorage)),r.k11=Ce(Ie(i.localStorage)),r.k12=Ce(Ie(i.indexedDB)),r.k13=Ce(Ie(i.openDatabase)),r.k14=Ie(i.cpuClass),r.k15=Ie(i[16]),r.k16=function(e){if(e.error||u())return[];return e.value}(i.plugins),r.k17=function(e){if(!e)return;return n(n({},e),{data:a(e.data)})}(Ie(i[14])),r.k18=0,r.k19=Ie(i.touchSupport),r.k20=Ie(i.fonts,[]),r.k21=Ie(i.audio,-4),r.k22=Ce(Ie(i[15])),r.k23=Ie(i[20]),r.k24=Ie(i[21]),r.k25=Ce(Ie(i[22])),r.k26=Ce(Ie(i[18])),r.k27=Ie(i.vendor),r.k28=Ce(Ie(i[17])),r.k29=Ce(Ie(i[10])),r.k30=Ce(Ie(i[19])),r.k31=Ce(Ie(i[4],!1)),r.k32=Ce(Ie(i.cookiesEnabled,!1)),r.k33=Ce(Ie(i[25])),r.k35=function(e){var t=e.value;if(!t||-6===t||-7===t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return A(e,255)}))}}(i[0]),r.s1=Se(i.osCpu,-1),r.s2=Te(i.languages),r.s3=Te(i.colorDepth),r.s4=Se(i.deviceMemory,-1),r.s5=Te(i.screenResolution),r.s6=Ee(i[5],(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),r.s7=Se(i.hardwareConcurrency,-1),r.s8=_e(i[6]),r.s9=Te(i.timezone),r.s10=Te(i.sessionStorage),r.s11=Te(i.localStorage),r.s12=Se(i.indexedDB,-1),r.s13=Te(i.openDatabase),r.s14=Se(i.cpuClass,-1),r.s15=Te(i.platform),r.s16=Se(i.plugins,-1),r.s17=Ee(i.canvas,(function(e){return{s:0,v:n(n({},e),{geometry:a(e.geometry),text:a(e.text)})}})),r.s18=_e(i[7]),r.s19=Te(i.touchSupport),r.s20=Te(i.fonts),r.s21=Ee(i.audio,(function(e){return-1===e||-2===e||-3===e?{s:e,v:null}:{s:0,v:e}})),r.s22=Se(i[23],-1),r.s26=_e(i[8]),r.s27=Te(i.vendor),r.s28=Te(i.vendorFlavors),r.s30=Se(i[24],-1),r.s31=Te(i[4]),r.s32=Te(i.cookiesEnabled),r.s33=Te(i[25]),r.s34=_e(i[0],(function(e){return e.map((function(e){return A(e,255)}))})),r.s35=ke(i[3]),r.s36=Se(i.domBlockers,-1),r.s37=Se(i.colorGamut,-1),r.s38=Se(i.contrast,-1),r.s39=Se(i.forcedColors,-1),r.s40=Se(i.hdr,-1),r.s41=Se(i.invertedColors,-1),r.s42=Se(i.monochrome,-1),r.s43=Se(i.reducedMotion,-1),r.s44=Se(i[26],-1),r.s45=Te(i[27]),r.s46=Ee(i.math,(function(e){return{s:0,v:a(Object.keys(e).map((function(t){return t+"="+e[t]})).join(","))}})),r.s47=Ee(i[31],(function(e){return{s:e?0:-1,v:e?n(n({},e),{contextAttributes:a(e.contextAttributes),parameters:a(e.parameters),shaderPrecisions:a(e.shaderPrecisions),extensions:a(e.extensions),extensionParameters:a(e.extensionParameters),fingerprint:a(e.fingerprint)}):null}})),r.s48=Te(i[28]),r.s49=Se(i[29],-1),r.s50=Se(i[30],-1),r.s51=Te(i.fontPreferences),r.s52=Ee(i[2],(function(e){return{s:"number"==typeof e?e:e.length?0:1,v:"number"==typeof e?"":a(JSON.stringify(e))}})),r.s53=ke(i[32]),r.s54=_e(i[1]),r.s55=function(e){var t=e[0],n=e[1];if(void 0!==t&&void 0!==n)return{s:0,v:t||n};if(void 0!==t)return{s:1,v:t};if(void 0!==n)return{s:2,v:n};return{s:-1,v:null}}(l),r.s56=function(e){if(!e)return{s:-1,v:null};if(e.error){var t=e.error;return ge(t)?{s:t.s,v:null}:{e:t.message}}return{s:0,v:e.value}}(d),r.s57=Se(i[33],-1),r.s58=Se(i[9],-1),r))}function Ee(e,t){return e.error?{e:Re(e.error)}:t(e.value)}function Re(e){var t;try{t=""+e.message,"name"in e&&(t=e.name+": "+t)}catch(e){t="Code 3017: "+e.name+": "+e.message}return A(t,500)}function Te(e){return Ee(e,(function(e){return{s:0,v:e}}))}function ke(e){return Ee(e,(function(e){return e}))}function Se(e,t){return Ee(e,(function(e){return{s:null==e?t:0,v:null!=e?e:null}}))}function _e(e,t){return Ee(e,(function(e){return"number"==typeof e?{s:e,v:null}:{s:0,v:t?t(e):e}}))}function Ie(e,t,n){return e.error?t:void 0===e.value?n:e.value}function Ce(e){return!0===e?1:!1===e?0:e}var Ae=((me={}).TokenRequired="Token required",me.TokenNotFound="Token not found",me.TokenExpired="Token expired",me.RequestCannotBeParsed="Request cannot be parsed",me.Failed="Request failed",me.RequestTimeout="Request failed to process",me.TooManyRequests="Too many requests, rate limit exceeded",me.OriginNotAvailable="Not available for this origin",me.HeaderRestricted="Not available with restricted header",me.NotAvailableForCrawlBots="Not available for crawl bots",me.NotAvailableWithoutUA="Not available when User-Agent is unspecified",me),De=N("WrongRegion"),Oe=N("SubscriptionNotActive");function Ne(e,t){var i=e.bodyData;return void 0===i?Ue(e):function(e){return e instanceof Object&&"2"===e.v&&e.products instanceof Object}(i)?function(e,t){var r=e.notifications,i=e.requestId,o=e.error,a=e.products;if(je(r),o)return Pe(o,i,t);var u=a.identification;if(!u)throw new Error("There is no identification result in the response");if(je(u.notifications),u.error)return Pe(u.error,i,t);return[n({requestId:i},u.data.result),u.data.visitorToken]}(i,t):function(e){return e instanceof Object&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(i)?function(e){var t=e,i=t.notification,o=t.visitorToken,a=t.botProbability,u=r(t,["notification","visitorToken","botProbability"]);i&&Me(i);var s=n({},u);a&&(s.bot={probability:a});return[s,o]}(i):function(e){return e instanceof Object&&"n/a"===e.visitorId}(i)?function(e,t){var n=e.notification,r=e.reason,i=e.requestId;n&&Me(n);switch(r){case"Not available for crawl bots":return Le(i,!0,t);case"Not available when User-Agent is unspecified":return Le(i,void 0,t);case"Request failed":case"Request failed to process":case"Too many requests, rate limit exceeded":return qe(r,i);default:throw qe(r,i)}}(i,t):Ue(e)}function Pe(e,t,n){switch(e.code){case"NotAvailableForCrawlBots":return Le(t,!0,n);case"NotAvailableWithoutUA":return Le(t,void 0,n);case"Failed":case"RequestTimeout":case"TooManyRequests":return qe(xe(e),t,e);default:throw qe(xe(e),t,e)}}function xe(e){var t=e.code,n=e.message;if(void 0===t)return n;if(Object.prototype.hasOwnProperty.call(Ae,t)){var r=Ae[t];if(void 0!==r)return r}return N(t)}function Le(e,t,r){var i={requestId:e,visitorFound:!1,visitorId:""};if(!r)return[i];var o=n(n({},i),{bot:{probability:1},incognito:!1,browserName:"n/a",browserVersion:"n/a",device:"n/a",ip:"n/a",ipLocation:{},os:"n/a",osVersion:"n/a"});return void 0!==t&&(o.bot.safe=t),[o]}function qe(e,t,n){var r=new Error(e);return void 0!==t&&(r.requestId=t),void 0!==n&&(r.raw=n),r}function je(e){null==e||e.forEach(Me)}function Me(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}function Ue(e){if(e.status>=500)return new Error(e.statusText);throw new Error(e.body.byteLength>0?"Failed to parse the response: (base64) "+O(e.body):e.statusText)}function Fe(e,t,n,r,i){void 0===i&&(i=L);var o=i()%(n+1),a=function(e){if("function"==typeof TextEncoder)return(new TextEncoder).encode(e);for(var t=unescape(encodeURI(e)),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}(JSON.stringify(e)),u=1+t.length+1+o+r+a.length,s=new ArrayBuffer(u),c=new Uint8Array(s),l=0,d=i();c[l++]=d;for(var f=0,v=t;f<v.length;f++){var h=v[f];c[l++]=d+h}c[l++]=d+o;for(var g=0;g<o;++g)c[l++]=i();var m=new Uint8Array(r);for(g=0;g<r;++g)m[g]=i(),c[l++]=m[g];for(g=0;g<a.length;++g)c[l++]=a[g]^m[g%r];return s}function Ve(e,t,n){var r=function(){throw new Error("Invalid data")},i=T(e);i.length<t.length+2&&r();for(var o=0;o<t.length;++o)D(i[1+o],i[0])!==t[o]&&r();var a=1+t.length,u=D(i[a],i[0]);i.length<a+1+u+n&&r();var s=a+1+u,c=s+n,l=new Uint8Array(i.length-c);for(o=0;o<l.length;++o)l[o]=i[c+o]^i[s+o%n];return JSON.parse(I(l))}var Be=[3,7];function Ge(r){return e(this,void 0,void 0,(function(){var e,i,o;return t(this,(function(t){switch(t.label){case 0:return[4,V(n(n({},r),{body:(u=r.body,Fe(u,Be,3,7)),responseFormat:"binary"}))];case 1:e=t.sent();try{a=e.body,i=Ve(a,Be,7),o=!0}catch(yt){try{i=JSON.parse(I(e.body)),o=!1}catch(s){}}return[2,n(n({},e),{bodyData:i,isSecret:o})]}var a,u}))}))}function We(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function $e(i,o,a){var u=i.endpoint,s=i.extendedResult,c=void 0!==s&&s,l=r(i,["endpoint","extendedResult"]);return e(this,void 0,void 0,(function(){var r,i,s;return t(this,(function(d){switch(d.label){case 0:return r=(f=u)+(-1===f.indexOf("?")?"?":"&")+"cv="+encodeURIComponent("3.3.1"),i=we(n({extendedResult:c},l)),s=0,[4,W(a,(function(){return{e:15,endpoint:r,request:i}}),(function(e){return{e:16,result:e}}),(function(e){return{e:17,error:e}}),(function(){return function(e,n){var r,i=R(300,1e4);return y(null==n?void 0:n.catch((function(e){r||(r=e)})).then((function(){throw r})),(function(){var o,a,u;return t(this,(function(t){switch(t.label){case 0:return o=Date.now(),[4,e(n)];case 1:return(a=t.sent())instanceof Error?(r=a,u=i.next().value,"Too many requests, rate limit exceeded"===a.message&&(u=1e3+5*u),[4,m(o+u-Date.now())]):[2,a];case 2:t.sent(),t.label=3;case 3:return[3,0];case 4:return[2]}}))}))}((function(n){return function(n,r,i,o,a,u){return e(this,void 0,void 0,(function(){var e,s;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,W(u,(function(){return{e:18,tryNumber:o}}),(function(e){var t=e.status,n=e.body,r=e.bodyData,i=e.isSecret;return{e:19,tryNumber:o,status:t,body:null!=r?r:n,isSecret:i}}),(function(e){return{e:20,tryNumber:o,error:e}}),(function(){return Ge({url:n,method:"post",body:r,headers:{"Content-Type":"text/plain"},withCredentials:!0,abort:a})}))];case 1:return e=t.sent(),[3,3];case 2:return s=t.sent(),[2,new Error("AbortError"===s.name?"Network request aborted":"Network connection error")];case 3:return[2,Ne(e,i)]}}))}))}(r,i,c,s++,n,a)}),o)}))];case 1:return[2,d.sent()]}var f}))}))}function He(e){return e.toDataURL()}function Ke(){var e,t,n=Xe();return(null===(t=null===(e=window[n[0]])||void 0===e?void 0:e[n[1]])||void 0===t?void 0:t[n[2]])||1073741824}function Xe(){return Ve(new Uint32Array([1238629110,448276002,3812774028,808844344,1040086494,3917076003,2006609522,3391962601,1618783843,902064594,3846817827,1945380650,2587245025,908308022,938305751,2922813991,1910122279,3709215973,809499767,66414809,3983071030,916072247,3711377838,822474088,300514777,4182498348,953759295,3408360096,591258990,229539788]),[],5)}function Je(){var e=Ze(),t=window[e[0]];if(!t)return!1;try{t[e[1]][e[2]](e[3],e[4],{},(function(){}))}catch(n){return!new RegExp(e[5]).test(n)}return!1}function ze(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:e=Ze(),(n=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(n),[4,Promise.race([m(20,!1),new Promise((function(t){n.contentWindow?n.contentWindow[e[6]].addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return n.remove(),[7];case 4:return[2]}}))}))}function Ye(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}function Ze(){return Ve(new Uint32Array([571803394,2333197341,667974149,459532809,2807590137,1996360231,241878290,3893584866,1793199716,1479125268,4262158585,1442777440,325646623,3826480888,665278571,175243026,2757050360,1760166496,1415636746,2836884200,2012960809,241499411,2840995822,1912086370,1482750223,4212860839,1726092917,359464731,3894101733,1487478637]),[],3)}var Qe=[[function(){return c()},function(){return C(["ClipboardItem"in(n=window),"PerformanceEventTiming"in n,"RTCSctpTransport"in n])>=2?function(){return e(this,void 0,void 0,(function(){var e,n,r,i,o;return t(this,(function(t){switch(t.label){case 0:return e=Xe(),n=navigator,r=n[e[3]],(i=n[e[4]])?[4,new Promise((function(t){i[e[5]]((function(e,n){return t(n)}))}))]:[3,2];case 1:return o=t.sent(),[3,4];case 2:return(null==r?void 0:r[e[6]])?[4,r[e[6]]().then((function(e){return e.quota}))]:[3,4];case 3:o=t.sent(),t.label=4;case 4:return o?[2,o<Ke()]:[2,!1]}}))}))}():function(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){return(e=window.webkitRequestFileSystem)?[2,new Promise((function(t){e(0,1,(function(){return t(!1)}),(function(){return t(!0)}))}))]:[2,!1]}))}))}();var n}],[function(){return l()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return H()?d()?[2,Je()]:[2,ze()]:[2,Ye()]}))}))}],[function(){return s()},function(){return new Promise((function(e){try{var t=indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return u()||f()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function et(){return e(this,void 0,void 0,(function(){var e,n,r,i,o;return t(this,(function(t){switch(t.label){case 0:e=0,n=Qe,t.label=1;case 1:return e<n.length?(r=n[e],i=r[0],o=r[1],i()?[4,o()]:[3,3]):[3,4];case 2:return[2,t.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function tt(e){if("InvalidAccessError"===e.name){if(/\bfrom\b.*\binsecure\b/i.test(e.message))return{s:-2,v:null};if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(e.message))return{s:-3,v:null}}throw e}function nt(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}var rt=["MAX_TEXTURE_MAX_ANISOTROPY_EXT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","MAX_COLOR_ATTACHMENTS_WEBGL","MAX_DRAW_BUFFERS_WEBGL","DRAW_BUFFER0_WEBGL","DRAW_BUFFER1_WEBGL","VERTEX_ARRAY_BINDING_OES","TIMESTAMP_EXT","GPU_DISJOINT_EXT","MAX_VIEWS_OVR"],it=[10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32926,32928,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938],ot=["FRAGMENT_SHADER","VERTEX_SHADER"],at=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function ut(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function st(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function ct(e){return Object.keys(e.__proto__).filter(st)}function lt(){return window.speechSynthesis}function dt(e){var t=function(e){return e.replace(/([,\\])/g,"\\$1")};return e.map((function(e){return[t(e.voiceURI),t(e.name),t(e.lang),e.localService?"1":"0",e.default?"1":"0"].join(",")})).sort()}var ft={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},vt={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},ht={"en-us":n(n({},ft),{n:["james","mary","john","patricia","robert","jennifer","michael","linda","william","elizabeth","david","barbara","richard","susan","joseph","jessica","thomas","sarah","charles","karen","christopher","nancy","daniel","lisa","matthew","margaret","anthony","betty","donald","sandra"]}),"en-gb":n(n({},ft),{n:["oliver","george","noah","arthur","harry","leo","muhammad","jack","charlie","oscar","jacob","henry","thomas","joshua","william","olivia","amelia","isla","ava","mia","isabella","sophia","grace","lily","freya","emily","ivy","ella","rosie","charlotte"]}),"ru-ru":n(n({},vt),{n:["aleksandr","sergej","vladimir","elena","tatana","andrej","aleksej","olga","nikolaj","natala","anna","ivan","dmitrij","irina","maria","mihail","svetlana","ekaterina","evgenij","viktor","anastasia","urij","ulia","valentin","roman","igor","anatolij","oleg","pavel","maksim"]})};ht.default=ht["en-us"],ht.en=ht["en-us"],ht.ru=ht["ru-ru"];var gt={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function mt(n){return e(this,void 0,void 0,(function(){function r(){f.close(),c.close()}var i,o,a,u,s,c,f,v=this;return t(this,(function(h){return"RTCPeerConnection"in window?(i=l()&&!d(),o=i?400:300,a=Math.random().toString(),u=new Map,"ABCD",s="candidate:0 1 udp 2113937151 ${addr} ${port} typ host generation 0 ufrag ABCD network-cost 999",c=new RTCPeerConnection({iceTransportPolicy:"all"}),f=c.createDataChannel(a),[2,new Promise((function(i){setTimeout((function(){i(-4),r()}),o),c.oniceconnectionstatechange=function(){return e(v,void 0,void 0,(function(){var n,o=this;return t(this,(function(a){return 30,"checking"===c.iceConnectionState&&(n=setInterval((function(){return e(o,void 0,void 0,(function(){var e,o;return t(this,(function(t){switch(t.label){case 0:return"checking"!==c.iceConnectionState?(clearInterval(n),r(),[2]):[4,c.getStats()];case 1:return e=t.sent(),o=[],e.forEach((function(e){if("remote-candidate"===e.type){var t=u.get(e.port);o.push(t)}})),o.length>0&&(clearInterval(n),i(o),r()),[2]}}))}))}),30)),[2]}))}))},c.createOffer().then((function(e){var t=e.sdp;if(t){for(var r=[],o=0;o<n.length;o++){var a=n[o],l=50003+o,d=s.replace("${addr}",a).replace("${port}",l.toString());u.set(l,a),r.push("a="+d)}var f={type:"answer",sdp:t.replace(/a=ice-ufrag:(.*?)\s{1,2}/,"a=ice-ufrag:ABCD\r\n").replace(/a=setup:(.*?)\s{1,2}/,"a=setup:active\r\n").replace(/c=IN IP4 ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/,(function(e,t){return"c=IN IP4 "+t+"\r\nb=AS:30\r\n"+r.join("\r\n")}))};return c.setLocalDescription(e),c.setRemoteDescription(f)}i(-5)}))}))]):[2,-5]}))}))}function pt(n){return e(this,void 0,void 0,(function(){var r,i;return t(this,(function(o){return r=new AbortController,i=document.location.protocol,[2,new Promise((function(o){n.map((function(n){return e(this,void 0,void 0,(function(){return t(this,(function(e){return[2,fetch(i+"//"+n,{signal:r.signal}).catch((function(){return null})).then((function(){r.signal.aborted||(r.abort(),o(n))}))]}))}))})),setTimeout((function(){r.signal.aborted||(r.abort(),o(-4))}),100)}))]}))}))}var bt,yt,wt=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion"];var Et=((bt={})[0]=function(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:if(e=window,!(n=e.RTCPeerConnection||e.webkitRTCPeerConnection))return[2,-3];try{r=new n({iceServers:[]})}catch(o){if("NotSupportedError"===o.name)return[2,-6];throw o}t.label=1;case 1:return t.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n,a=[],u=setTimeout((function(){return e(-4)}),500),s=function(){return e(i(a))};r.onicecandidate=function(e){var t=e.candidate;if(!t)return s();if(t.candidate){if(a.push(t.candidate),a.length>=6)return s();1===a.length&&(clearTimeout(u),setTimeout(s,10))}},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&s()},r.onicecandidateerror=t;try{null===(n=r.createDataChannel)||void 0===n||n.call(r,"test")}catch(o){return void("NotSupportedError"===o.name?e(-7):t(o))}(function(e,t){try{return e.createOffer(t)}catch(o){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(o.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw o}})(r,f()?{offerToReceiveAudio:!0}:void 0).then((function(e){return r.setLocalDescription(e)}),t)}))];case 2:return[2,t.sent()];case 3:try{r.close()}catch(o){}return[7];case 4:return[2]}}))}))},bt[1]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return l()?[4,mt(e=function(){for(var e=l()&&!d(),t=navigator.language.toLowerCase(),n=t.slice(0,2),r=ht[t]||ht[n]||ht.default,i=e?r.i.slice():r.m.slice(),o=e?gt.i.slice():gt.m.slice(),a=0,u=e?r.n:r.n.slice(0,15);a<u.length;a++)for(var s=u[a],c=0,f=i;c<f.length;c++){var v=f[c];o.push(v.replace("$$",s))}return o.map((function(e){return e+".local"}))}())]:[2,-2];case 1:return"number"==typeof(n=t.sent())?[2,n]:n.length===e.length?[2,-3]:n.length>1?[2,pt(n)]:1===n.length?[2,n[0]]:[2,-1]}}))}))},bt[2]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return"function"!=typeof(null==(e=lt())?void 0:e.getVoices)?[2,-1]:(n=function(){return e.getVoices()},!e.addEventListener||s()&&C(["AnonymousContent"in(r=window),!("AudioBuffer"in r),!("RTCPeerConnection"in r),!("geolocation"in navigator),!("ServiceWorker"in r)])>=3?[2,dt(n())]:[4,new Promise((function(t){var r=-1,i=function(){e.removeEventListener("voiceschanged",o);var r=n();t(r.length?dt(r):-2)},o=function(){n().length?(clearTimeout(r),r=setTimeout(i,50)):-1===r&&(r=setTimeout(i,600))};o(),e.addEventListener("voiceschanged",o)}))]);case 1:return[2,t.sent()]}var r}))}))},bt[3]=function(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:if("function"!=typeof(e=window.ApplePaySession))return[2,{s:-1,v:null}];t.label=1;case 1:return t.trys.push([1,3,,4]),e.canMakePayments()?l()&&!H()?[2,{s:0,v:1}]:[4,Promise.race([e.canMakePaymentsWithActiveCard(""),m(250,!1)])]:[2,{s:0,v:0}];case 2:return[2,{s:0,v:t.sent()?3:2}];case 3:return[2,tt(t.sent())];case 4:return[2]}}))}))},bt[4]=function(n){var r=n.storageKeyPrefix;return e(this,void 0,void 0,(function(){var e,n,i;return t(this,(function(t){switch(t.label){case 0:return void 0!==(n=function(e){try{var t=localStorage.getItem(e);if(!t)return;return"1"===t}catch(n){return}}(e=r+"_i"))?[2,n]:[4,et()];case 1:return i=t.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(e,i),[2,i]}}))}))},bt[5]=v,bt[8]=function(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(i){switch(i.label){case 0:return(null==(e=navigator.mediaDevices)?void 0:e.enumerateDevices)?(n=function(e){return e.slice(0,32).replace(/([,\\])/g,"\\$1")},r=function(e){return[n(e.deviceId),n(e.groupId),{audioinput:"ai",audiooutput:"ao",videoinput:"vi"}[e.kind],n(e.label)].join(",")},[4,y(m(250,-2),(function(){return t(this,(function(t){switch(t.label){case 0:return[4,e.enumerateDevices()];case 1:return[2,t.sent().map(r)]}}))}))]):[2,-1];case 1:return[2,i.sent()]}}))}))},bt[7]=function(){var n;return e(this,void 0,void 0,(function(){var r,i,o,a,u,s,c=this;return t(this,(function(l){switch(l.label){case 0:if(!(r=null===(n=window.crypto)||void 0===n?void 0:n.subtle)||!r.generateKey||!r.exportKey)return[2,-1];i=function(){return e(c,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return[4,r.generateKey({name:"AES-GCM",length:128},!0,["encrypt"])];case 1:return e=t.sent(),[4,r.exportKey("raw",e)];case 2:return n=t.sent(),[2,new Uint8Array(n)]}}))}))},l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all([i(),i()])];case 2:for(o=l.sent(),a=new Uint8Array(o[0].length),u=0;u<o[0].length;++u)a[u]=165^o[0][u]^o[1][u];return[2,O(a)];case 3:if("NotSupportedError"===(s=l.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},bt[6]=function(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(n){switch(n.label){case 0:return(e=navigator).requestMediaKeySystemAccess?[4,y(m(75,-3),(function(){var n,r,i;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,5,,6]),[4,e.requestMediaKeySystemAccess("org.w3.clearkey",[{initDataTypes:["keyids","webm"],audioCapabilities:["opus","vorbis"].map((function(e){return{contentType:'audio/webm; codecs="'+e+'"'}})),videoCapabilities:["vp9","vp8"].map((function(e){return{contentType:'video/webm; codecs="'+e+'"'}}))}])];case 1:return[4,t.sent().createMediaKeys()];case 2:return n=t.sent(),(r=n.createSession()).sessionId?[3,4]:[4,new Promise((function(e){r.onmessage=e,r.generateRequest("webm",new Uint8Array([1,1,1,1]))}))];case 3:t.sent(),t.label=4;case 4:return[2,r.sessionId];case 5:if("NotSupportedError"===(i=t.sent()).name)return[2,-2];throw i;case 6:return[2]}}))}))]:[2,-1];case 1:return[2,n.sent()]}}))}))},bt[9]=function(){var n;return e(this,void 0,void 0,(function(){var r,i,o,a=this;return t(this,(function(u){switch(u.label){case 0:return(r=navigator.userAgentData)&&"object"==typeof r?(i={},o=[],"function"!=typeof r.getHighEntropyValues?[3,2]:[4,Promise.all(wt.map((function(n){return e(a,void 0,void 0,(function(){var e,a;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,r.getHighEntropyValues([n])];case 1:return void 0!==(e=t.sent()[n])&&(i[n]="string"==typeof e?e:JSON.stringify(e)),[3,3];case 2:if("NotAllowedError"!==(a=t.sent()).name)throw a;return o.push(n),[3,3];case 3:return[2]}}))}))})))]):[2,void 0];case 1:u.sent(),u.label=2;case 2:return[2,{b:r.brands.map((function(e){return{b:e.brand,v:e.version}})),m:r.mobile,p:null!==(n=r.platform)&&void 0!==n?n:null,h:i,nah:o}]}}))}))},bt[10]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return n=t.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},bt[11]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},bt[12]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},bt[13]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},bt[14]=function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank "+String.fromCharCode(55357,56835)+" gly";n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply";for(var o=0,a=[["#f0f",50,50],["#0ff",100,50],["#ff0",75,100]];o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];n.fillStyle=s,n.beginPath(),n.arc(c,l,50,0,2*Math.PI,!0),n.closePath(),n.fill()}return n.fillStyle="#f0f",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:He(t)}},bt[15]=function(){return void 0!==navigator.plugins},bt[16]=function(){return navigator.platform},bt[17]=function(){return void 0!==window.chrome},bt[18]=function(){return navigator.webdriver},bt[19]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},bt[20]=function(){return navigator.productSub},bt[21]=function(){return eval.toString().length},bt[22]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},bt[23]=function(){var e=window.WebAssembly;if(null==e?void 0:e.validate){for(var t=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10],n=0,r=0,o=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];r<o.length;r++){var a=o[r];n<<=1,n|=e.validate(Uint8Array.of.apply(Uint8Array,i(t,a)))?1:0}return n}},bt[24]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},bt[25]=function(){var e=window;if(!c())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var t=document.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var n=t.toDataURL();if(""===n)return!0;for(var r=window.atob(n.split(",")[1]),i=r.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=r.charCodeAt(a);var u=_(o,[73,68,65,84,24]);if(-1===u)return!1;var s=_(o,[73,69,78,68]);return-1!==s&&1321!==o.slice(u+5,s).reduce((function(e,t){return e+t}),0)}catch(l){return!1}},bt[26]=function(){return!!nt("dark")||!nt("light")&&void 0},bt[27]=function(){var e=Date.now();return[e,e-6e4*(new Date).getTimezoneOffset()]},bt[28]=function(){for(var e=[],t=Math.random(),n=24575;n>=0;--n)if(n%4096==0){var r=Math.random();e.push((t-r)*Math.pow(2,31)|0),t=r}return e},bt[29]=function(){var e=window.performance;if(null==e?void 0:e.now){for(var t=1,n=1,r=e.now(),i=r,o=0;o<5e4;o++)if((r=i)<(i=e.now())){var a=i-r;a>t?a<n&&(n=a):a<t&&(n=t,t=a)}return[t,n]}},bt[30]=function(){var e,t;return null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit},bt[32]=function(){return{s:l()&&!d()?H()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},bt[33]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},bt),Rt=((yt={})[31]=function(){for(var e=document.createElement("canvas"),t=["webgl","experimental-webgl"],r=void 0,i=0;i<t.length&&!r;i++)try{r=e.getContext(t[i])}catch(a){}if(r){var o=n(n({},function(e){var t,n,r,i,o,a,u=e.getSupportedExtensions(),s=e.getExtension("WEBGL_debug_renderer_info"),c=e.getContextAttributes(),l=[],d=[],f=[],v=[];for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&l.push(h+"="+c[h]);for(var g=0,m=ct(e);g<m.length;g++){var p=e[k=m[g]];it.indexOf(p)>-1?d.push(k+"("+p+")="+e.getParameter(p)):d.push(k+"="+p)}if(u)for(var b=0,y=u;b<y.length;b++){var w=y[b],E=e.getExtension(w);if(E)for(var R=0,T=ct(E);R<T.length;R++){var k;p=E[k=T[R]],rt.indexOf(k)>0?f.push(k+"("+p+")="+e.getParameter(p)):f.push(k+"="+p)}}for(var S=0,_=ot;S<_.length;S++)for(var I=_[S],C=0,A=at;C<A.length;C++){var D=A[C],O=ut(e,I,D);v.push(I+"."+D+"="+O.join(","))}return f.sort(),d.sort(),{version:(null===(t=e.getParameter(e.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=e.getParameter(e.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:s?null===(r=e.getParameter(s.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=e.getParameter(e.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:s?null===(o=e.getParameter(s.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(a=e.getParameter(e.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||"",contextAttributes:l.join("&"),parameters:d.join("&"),shaderPrecisions:v.join("&"),extensions:u?u.join(","):"",extensionParameters:f.join(",")}}(r)),{fingerprint:""});return function(e){e.clearColor(0,0,1,1);var t=e.createProgram();if(t){i(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),i(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),e.linkProgram(t),e.useProgram(t),e.enableVertexAttribArray(0);var n=e.getUniformLocation(t,"t"),r=e.createBuffer();e.bindBuffer(34962,r),e.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),e.vertexAttribPointer(0,2,5126,!1,0,0),e.clear(16384),e.uniform1f(n,3.65),e.drawArrays(4,0,3)}function i(n,r){var i=e.createShader(35633-n);t&&i&&(e.shaderSource(i,r),e.compileShader(i),e.attachShader(t,i))}}(r),o.fingerprint=e.toDataURL(),o}},yt);function Tt(e){return h(Et,e,[])}function kt(e){return h(Rt,e,[])}function St(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function _t(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";document.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function It(e,t,n){var r=location.hostname;(Ct(r,(function(t){!function(e,t){_t(e,"",-1,t)}(e,t)})),n<0)||Ct(r,(function(r){return _t(e,t,n,r),St(e)!==t}))&&_t(e,t,n)}function Ct(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}function At(e){return[St(e),Ot(e)]}function Dt(e,t){It(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Ot(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function Nt(r,i,o,a,u){var s=this,c=u.token,l=u.region,d=void 0===l?"us":l,f=u.endpoint,v=u.tlsEndpoint,h=u.storageKey,g=void 0===h?"_vid":h,m=u.debug;var b=function(n,r,i,o,a,u,l){return e(s,void 0,void 0,(function(){var e,s,h,m,b,E,R,T,k,S,_;return t(this,(function(t){switch(t.label){case 0:return e=p(o).then((function(){throw new Error("Client timeout")})),[4,Promise.race([e,Promise.all([y(d,v,!!i,p(.4*o),l),w(l)])])];case 1:return s=t.sent(),h=s[0],m=s[1],b=m[0],E=m[1],R=g,T=g+"_t",[4,$e({token:c,endpoint:We(d,f),components:b,componentsDuration:E,tag:n,visitorId:At(R),visitorToken:At(T),tls:h,linkedId:r,extendedResult:a,ipResolution:u},e,l)];case 2:return k=t.sent(),S=k[0],(_=k[1])?Dt(_,T):S.visitorId&&Dt(S.visitorId,R),[2,S]}}))}))},y=function(n,r,i,o,a){return e(s,void 0,void 0,(function(){return t(this,(function(e){return i?[2,void 0]:[2,ve(function(e,t){return t||fe[e]}(n,r),o,a).then((function(e){return{value:e}}),(function(e){return{error:e}}))]}))}))},w=function(r){return W(r,(function(){return{e:12}}),(function(e){return{e:13,result:e[0]}}),(function(e){return{e:14,error:e}}),(function(){return function(n){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=Date.now(),[4,n()];case 1:return[2,[t.sent(),Date.now()-e]]}}))}))}((function(){return e(s,void 0,void 0,(function(){var e,r,u,s,c;return t(this,(function(t){switch(t.label){case 0:return e={storageKeyPrefix:g},[4,Promise.all([i.get(),o(e)])];case 1:return r=t.sent(),u=r[0],s=r[1],[4,a(e)];case 2:return c=t.sent(),[2,n(n(n({},u.components),s),c)]}}))}))}))}))};return{get:function(e){void 0===e&&(e={});var t=m||e.debug?function(e,t,r){return function(i){return e(n(n({},i),{agentId:t,getCallId:r}))}}(q([m,e.debug&&M()]),r,x(8)):void 0;return W(t,(function(){return{e:3,options:e}}),(function(e){return{e:4,result:e}}),(function(e){return{e:5,error:e}}),(function(){var n=e.timeout,r=void 0===n?1e4:n,i=e.tag,o=e.linkedId,a=e.disableTls,u=e.extendedResult,s=e.ipResolution;return b(i,o,a,r,u,s,t)}))}}}var Pt=function(n){var r=this,i=x(8);return W(n.debug,(function(){return{e:0,agentId:i,version:"3.3.1",options:n}}),(function(){return{e:1,agentId:i}}),(function(e){return{e:2,agentId:i,error:e}}),(function(){return e(r,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:if(!n.token||"string"!=typeof n.token)throw new Error("Token required");return function(){var e;try{null===(e=lt())||void 0===e||e.getVoices()}catch(yt){}}(),[4,g({delayFallback:n.delayFallback})];case 1:return e=t.sent(),[2,Nt(i,e,Tt,kt,n)]}}))}))}))},xt="Token required",Lt="Token not found",qt="Token expired",jt="Request cannot be parsed",Mt="Request failed",Ut="Request failed to process",Ft="Too many requests, rate limit exceeded",Vt="Not available for this origin",Bt="Not available with restricted header",Gt={load:Pt,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_WRONG_REGION:De,ERROR_SUBSCRIPTION_NOT_ACTIVE:Oe,ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_FORBIDDEN_HEADER:"Not available with restricted header"};export default Gt;export{jt as ERROR_BAD_REQUEST_FORMAT,pe as ERROR_CLIENT_TIMEOUT,Bt as ERROR_FORBIDDEN_HEADER,Vt as ERROR_FORBIDDEN_ORIGIN,Mt as ERROR_GENERAL_SERVER_FAILURE,ye as ERROR_NETWORK_ABORT,be as ERROR_NETWORK_CONNECTION,Ft as ERROR_RATE_LIMIT,Ut as ERROR_SERVER_TIMEOUT,Oe as ERROR_SUBSCRIPTION_NOT_ACTIVE,qt as ERROR_TOKEN_EXPIRED,Lt as ERROR_TOKEN_INVALID,xt as ERROR_TOKEN_MISSING,De as ERROR_WRONG_REGION,Pt as load,U as makeConsoleDebugger,K as makeDebugReportBuilder,q as makeMulticastDebugger,ie as makeRemoteDebugger};
import{__awaiter as e,__generator as t,__assign as n,__rest as r,__spreadArrays as i}from"tslib";import{getFullscreenElement as o,murmurX64Hash128 as a,isTrident as u,isGecko as s,isChromium as c,isWebKit as l,isDesktopSafari as d,isEdgeHTML as f,getScreenFrame as v,getComponents as h,load as g}from"@fingerprintjs/fingerprintjs";function m(n,r){return e(this,void 0,void 0,(function(){return t(this,(function(e){return[2,new Promise((function(e){return p(e,n,r)}))]}))}))}function p(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Date.now()+t,o=0,a=function(){o=setTimeout((function(){Date.now()<i?a():e.apply(void 0,n)}),i-Date.now())};return a(),function(){return clearTimeout(o)}}function b(e,t){return new Promise((function(n){var r=document,i=function(){return r.hidden?u():a()},o=function(e,t,n){var r,i=!1,o=e,a=0,u=function(){i||r||(a=Date.now(),r=p((function(){i=!0,n()}),o))};return t&&u(),{start:u,stop:function(){!i&&r&&(r(),r=void 0,o-=Date.now()-a)}}}(e,!r.hidden,(function(){r.removeEventListener("visibilitychange",i),n(t)})),a=o.start,u=o.stop;r.addEventListener("visibilitychange",i)}))}function y(n,r){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,n()];case 1:return[2,t.sent()];case 2:return e=t.sent(),console.error(e),[2,r];case 3:return[2]}}))}))}function w(n,r){var i=this;return new Promise((function(o,a){var u=r(),s=!1;null==n||n.then(o,a).then((function(){return s=!0}));var c=function(n){return e(i,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:if(n.done)return[2,o(n.value)];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,n.value];case 2:if(e=t.sent(),!s)try{c(u.next(e))}catch(i){a(i)}return[3,4];case 3:if(r=t.sent(),!s)try{c(u.throw(r))}catch(i){a(i)}return[3,4];case 4:return[2]}}))}))};c(u.next())}))}function E(e,t){var r;return void 0===t&&(t=!1),n({name:e.name,message:e.message,stack:t?null===(r=e.stack)||void 0===r?void 0:r.split("\n"):e.stack},e)}function R(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function k(e,n){var r;return t(this,(function(t){switch(t.label){case 0:r=0,t.label=1;case 1:return[4,Math.random()*Math.min(n,e*Math.pow(2,r))];case 2:t.sent(),t.label=3;case 3:return++r,[3,1];case 4:return[2]}}))}function T(e){return e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_=S.slice(0,-2);function I(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}function C(e){if("function"==typeof TextDecoder){var t=(new TextDecoder).decode(e);if(t)return t}var n=T(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,n)))}function A(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function D(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function O(e,t){return(e-t+256)%256}function N(e){for(var t=T(e),n=t.length,r="",i=0;i<n;i+=3)r+=S[t[i]>>2]+S[(3&t[i])<<4|t[i+1]>>4]+S[(15&t[i+1])<<2|t[i+2]>>6]+S[63&t[i+2]];return n%3==2?r.slice(0,-1)+"=":n%3==1?r.slice(0,-2)+"==":r}function P(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" "+r:t+=e[n]}else t+=e[n].toUpperCase();return t}function x(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function L(e){return x(e,_)}function q(){return 256*Math.random()|0}function j(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&y((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}function M(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"Getting TLS has started";case 7:return"Getting TLS has succeeded";case 8:return"Getting TLS has failed";case 9:return"TLS request try has started";case 10:return"TLS request try has succeeded";case 11:return"TLS request try has failed";case 12:return"Getting fingerprint has started";case 13:return"Getting fingerprint has succeeded";case 14:return"Getting fingerprint has failed";case 15:return"Visitor identifier request has started";case 16:return"Visitor identifier request has succeeded";case 17:return"Visitor identifier request has failed";case 18:return"Visitor identifier request try has started";case 19:return"Visitor identifier request try has succeeded";case 20:return"Visitor identifier request try has failed"}}function U(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:case 17:case 20:console.error(V(e,t));break;case 13:var n=V(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(V(e,t))}}}var F=U;function V(e,t){var n=t.e,i=r(t,["e"]),o=""+e+(new Date).toISOString()+": "+M(n);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?E(t,!0):t instanceof ArrayBuffer?"(base64) "+N(t):t}),2)}(i)+"\n```"),o}function B(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,u=void 0!==a&&a,s=e.timeout,c=e.responseFormat,l=e.abort;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var d in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===s?0:Math.max(s,1),"binary"===c&&(a.responseType="arraybuffer"),o)a.setRequestHeader(d,o[d]);a.onload=function(){return e(function(e){return{body:e.response,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(G("TimeoutError","The request timed out"))},a.onabort=function(){return n(G("AbortError","The request is aborted"))},a.onerror=function(){return n(G("TypeError",navigator.onLine?"Connection error":"Network offline"))},a.send(function(e){var t,n=function(){try{return new Blob([]),!1}catch(t){return!0}};if(e instanceof ArrayBuffer){if(!n())return new Uint8Array(e)}else if((null===(t=e)||void 0===t?void 0:t.buffer)instanceof ArrayBuffer&&n())return e.buffer;return e}(i)),null==l||l.catch((function(){})).then((function(){a.onabort=null,a.abort()}))}))}function G(e,t){var n=new Error(t);return n.name=e,n}function W(e){var t,n=e.url,r=e.body;if(null===(t=navigator.sendBeacon)||void 0===t?void 0:t.call(navigator,n,r))return!0;var i=new XMLHttpRequest;i.open("POST",n,!function(){var e,t=null===(e=window.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),r instanceof Blob&&i.setRequestHeader("Content-Type",r.type);try{i.send(r)}catch(o){return!1}return!0}function $(n,r,i,o,a){return e(this,void 0,void 0,(function(){var e,u,s;return t(this,(function(t){switch(t.label){case 0:(u=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];n&&y((function(){var r=e.apply(void 0,t);void 0!==r&&n(r)}))})(r),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,a()];case 2:return e=t.sent(),[3,4];case 3:throw s=t.sent(),u(o,s),s;case 4:return u(i,e),[2,e]}}))}))}function H(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:L(10)}function K(){var e=window,t=navigator;return A(["maxTouchPoints"in t,"mediaCapabilities"in t,"PointerEvent"in e,"visualViewport"in e,"onafterprint"in e])>=4}var X=function(e){return new J(e).addEvent},J=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t,n=performance;if(n.timeOrigin){var r=null===(t=null===(e=n.getEntriesByType)||void 0===e?void 0:e.call(n,"navigation"))||void 0===t?void 0:t[0];if(r)return n.timeOrigin+(r.responseStart||r.unloadEventEnd)}return n.timing.domLoading||n.timing.responseStart||n.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=document.readyState,n.isPageVisible=ne(),n.isFullscreen=re(),n.network=ie()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=window,r=document,i=[[r,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[r,"visibilitychange",function(){return t.handleVisibilityChange()}],[r,"pageshow",function(){return t.handlePageTransition(!0)}],[r,"pagehide",function(){return t.handlePageTransition(!1)}],[n,"unload",function(){return t.handlePageUnload()}]],o=0,a=i;o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];s.addEventListener(c,l)}var d=function(e,t){for(var n=document,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],i=0,o=r;i<o.length;i++){var a=o[i];n.addEventListener(a,e,t)}return function(){for(var i=0,o=r;i<o.length;i++){var a=o[i];n.removeEventListener(a,e,t)}}}((function(){return t.handleFullscreenChange()})),f=function(e){var t=navigator.connection;return(null==t?void 0:t.addEventListener)?(t.addEventListener("change",e),function(){t.removeEventListener("change",e)}):(addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)})}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,n=i;e<n.length;e++){var r=n[e],o=r[0],a=r[1],u=r[2];o.removeEventListener(a,u)}d(),f()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:ne()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:re()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:ie()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];z(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var u=a[o],s=i.getCalls[u];z(s)||s.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,s,c,l,d,f=function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];"agentEvent"===i.type&&(t[i.event.e]=i)}return t}(e),v=(null===(n=e[e.length-1])||void 0===n?void 0:n.time)||new Date,h="null",g=0,m=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];g<m.length;g++){var p=m[g],b=p[0],y=p[1];if(f[b]){h=y;break}}return{time:(null===(r=e[e.length-1])||void 0===r?void 0:r.time)||new Date,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:R(),agentVersion:null===(i=f[0])||void 0===i?void 0:i.event.version,userAgent:navigator.userAgent,pageViewId:H(),agentId:null===(o=f[0])||void 0===o?void 0:o.event.agentId,getCallId:null===(a=f[3])||void 0===a?void 0:a.event.getCallId,requestId:null!==(s=null===(u=f[4])||void 0===u?void 0:u.event.result.requestId)&&void 0!==s?s:null===(c=f[5])||void 0===c?void 0:c.event.error.requestId,visitorId:null===(l=f[4])||void 0===l?void 0:l.event.result.visitorId,visitorToken:null===(d=f[16])||void 0===d?void 0:d.event.result[1],identificationState:h,load:Y(v,f[0],f[1],f[2]),get:Y(v,f[3],f[4],f[5]),tls:Q(Y(v,f[6],f[7],f[8]),(function(){var t,n;return Z(e,9,10,11,(null===(t=f[7])||void 0===t?void 0:t.time)||(null===(n=f[8])||void 0===n?void 0:n.time)||v)})),fingerprint:Y(v,f[12],f[13],f[14],(function(e){var t=e.event;return{failedComponents:ee(t.result),componentDurations:te(t.result)}})),visitorIdRequest:Q(Y(v,f[15],f[16],f[17]),(function(){var t,n;return Z(e,18,19,20,(null===(t=f[16])||void 0===t?void 0:t.time)||(null===(n=f[17])||void 0===n?void 0:n.time)||v)})),events:e}}(function(e,t,n){var r=[];e[t]&&(r.push.apply(r,e[t].loadEvents),void 0!==n&&r.push.apply(r,e[t].getCalls[n]||[]));return r}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function z(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function Y(e,t,r,i,o){if(void 0!==t)return void 0!==r?n(n({},null==o?void 0:o(r)),{duration:r.time.getTime()-t.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-t.time.getTime(),state:"fail",error:i.event.error}:{duration:e.getTime()-t.time.getTime(),state:"incomplete"}}function Z(e,t,n,r,i){var o=function(e,t){for(var n={},r=0,i=e;r<i.length;r++){var o=i[r];if("agentEvent"===o.type&&-1!==t.indexOf(o.event.e)){var a=o.event;n[a.tryNumber]||(n[a.tryNumber]={}),n[a.tryNumber][a.e]=o}}for(var u=[],s=0,c=Object.keys(n);s<c.length;s++){var l=c[s];u.push(n[l])}return u}(e,[t,n,r]);return{triesCount:o.length,triesTotalDuration:o.reduce((function(e,o){var a=o[t],u=o[n]||o[r];return a?e+((null==u?void 0:u.time)||i).getTime()-a.time.getTime():e}),0)}}function Q(e,t){return e?n(n({},e),t()):void 0}function ee(e){return Object.keys(e).filter((function(t){return e[t].error}))}function te(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=e[i].duration}return t}function ne(){return!document.hidden}function re(){return!!o()}function ie(){var e=navigator.connection;return{online:navigator.onLine,downlink:null==e?void 0:e.downlink,downlinkMax:null==e?void 0:e.downlinkMax,effectiveType:null==e?void 0:e.effectiveType,roundTrip:null==e?void 0:e.rtt,saveData:null==e?void 0:e.saveData,type:null==e?void 0:e.type}}var oe=function(n){var r=this,i=n.clientId,o=n.token,a=n.endpoint,u=void 0===a?"https://api.rollbar.com/api/1/item/":a;return new J((function(n){return e(r,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=function(e,t,n,r){return{access_token:n,data:ae(e,t,r)}}(n,i,o),[4,fe(u,e)];case 1:return t.sent(),[2]}}))}))})).addEvent};function ae(e,t,n){var r,o;void 0===n&&(n=[8,4,4,4,12].map((function(e){return x(e,"0123456789abcdef")})).join("-"));var a=ue[e.identificationState],u=a.level,s=a.message;return{environment:t,level:u,timestamp:Math.round(e.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:n,notifier:{name:"FingerprintJS Pro monitoring",version:"3.3.2"},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:i([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(o=e.fingerprint)||void 0===o?void 0:o.state)?le(e.fingerprint.componentDurations):void 0}}],e.events.map(se)),message:{body:s}},custom:{isInIframe:e.isInIframe,pageViewId:e.pageViewId,agentId:e.agentId,getCallId:e.getCallId,requestId:e.requestId,visitorId:e.visitorId,visitorToken:e.visitorToken,identificationState:e.identificationState,load:e.load,get:e.get,tls:e.tls,fingerprint:ce(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var ue={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function se(e){var t={type:"manual",level:"debug",source:"client",timestamp_ms:e.time.getTime()};switch(e.type){case"documentReadyState":return n(n({},t),{body:{message:'Document ready state becomes "'+e.state+'"'}});case"pageVisibilityToggle":return n(n({},t),{body:{message:"Page becomes "+(e.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return n(n({},t),{body:{message:e.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return n(n({},t),{body:{message:"Programmatic fullscreen "+(e.isFullscreen?"on":"off")}});case"networkChange":return n(n({},t),{body:n(n({},e.network),{message:"Network connection changes"})});case"pageUnload":return n(n({},t),{body:{message:"Page is about to unload (terminate)"}})}var i=e.event,o=function(o,a){void 0===a&&(a="info");for(var u=o,s=(u.e,u.agentId,u.getCallId,r(u,["e","agentId","getCallId"])),c=n(n({},t),{level:a,body:n({message:M(i.e)},s)}),l=0,d=["documentReadyState","isPageVisible","isFullscreen","network"];l<d.length;l++){var f=d[l];void 0!==e[f]&&(c.body[f]=e[f])}return c};switch(i.e){case 0:i.version;return o(r(i,["version"]));case 1:case 3:case 4:case 6:case 9:case 12:case 15:case 16:case 18:return o(i);case 2:case 5:case 8:case 11:case 14:case 17:case 20:return o(i,"error");case 7:return o(n(n({},i),{result:D(i.result,1e3)}));case 10:return o(n(n({},i),{body:D(i.body,1e3)}));case 13:return o(n(n({},i),{result:de(i.result)}));case 19:var a=i.body;if(a instanceof ArrayBuffer){a="(base64) "+(a.byteLength>1800?N(new Uint8Array(a,0,1800))+"...":N(a))}return o(n(n({},i),{body:a}))}}function ce(e){if(!e||"incomplete"===e.state||"fail"===e.state)return e;e.componentDurations;var t=r(e,["componentDurations"]),i=e.failedComponents.length?","+e.failedComponents.join(",")+",":void 0;return n(n({},t),{failedComponents:i})}function le(e,t){void 0===t&&(t="_");for(var r=n({},e),i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];if(/^\d+$/.test(a)){delete r[a];var u=a;do{u=""+t+u}while(u in r);r[u]=e[a]}}return r}function de(e){var t,r="(removed to fit into beacon)";return function(e,t){for(var r={},i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];!e[a].error&&t[a]?r[a]=n(n({},e[a]),{value:t[a](e[a].value)}):r[a]=e[a]}return r}(e,((t={plugins:function(e){return e&&r}})[14]=function(e){return n(n({},e),{data:r})},t.math=function(){return r},t.fontPreferences=function(){return r},t[31]=function(e){return e&&r},t[9]=function(e){return e&&r},t))}function fe(n,r){return e(this,void 0,void 0,(function(){var e,i;return t(this,(function(t){switch(t.label){case 0:e=function(e){return JSON.stringify(e,(function(e,t){if(t instanceof Error){var n=E(t);return"string"==typeof n.stack&&(n.stack=D(n.stack,1e3)),n}return t}))}(r),i=k(1e3,1e4),t.label=1;case 1:return navigator.onLine&&W({url:n,body:e})?[3,4]:[4,m(i.next().value)];case 2:t.sent(),t.label=3;case 3:return[3,1];case 4:return[2]}}))}))}var ve={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function he(n,r,i){return e(this,void 0,void 0,(function(){var o;return t(this,(function(a){return o=0,[2,$(i,(function(){return{e:6,endpoint:n}}),(function(e){return{e:7,result:e}}),(function(e){return{e:8,error:e}}),(function(){return function(e,n,r){void 0===r&&(r=5);var i,o=k(300,1e4);return w(null==n?void 0:n.catch((function(){})).then((function(){throw i||ge("Timeout",-3)})),(function(){var a,u,s;return t(this,(function(t){switch(t.label){case 0:a=0,t.label=1;case 1:u=Date.now(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,e(n)];case 3:return[2,t.sent()];case 4:if(s=t.sent(),a>=r-1)throw s;return i=s,[3,5];case 5:return[4,m(u+o.next().value-Date.now())];case 6:t.sent(),t.label=7;case 7:return++a,[3,1];case 8:return[2]}}))}))}((function(r){return function(n,r,i,o,a){return e(this,void 0,void 0,(function(){var e,u;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,$(a,(function(){return{e:9,tryNumber:i,timeout:r}}),(function(e){var t=e.status,n=e.body;return{e:10,tryNumber:i,status:t,body:n}}),(function(e){return{e:11,tryNumber:i,error:e}}),(function(){return B({url:n,timeout:r,abort:o})}))];case 1:return e=t.sent(),[3,3];case 2:switch((u=t.sent()).name){case"AbortError":throw ge(u.message,-2);case"TimeoutError":throw ge(u.message,-3);case"TypeError":throw ge(u.message,-4)}throw u;case 3:if(200===e.status)return[2,e.body];throw ge(D(e.status+": "+e.body,255),-5)}}))}))}(n,5e3,o++,r,i)}),r)}))]}))}))}function ge(e,t){var n=new Error(e);return n.__="slt",n.s=t,n}function me(e){return"slt"===e.__}var pe,be="Client timeout",ye="Network connection error",we="Network request aborted";function Ee(e){var t,r,i=e.components,o=e.componentsDuration,s=e.token,c=e.visitorId,l=e.visitorToken,d=e.tls,f=e.tag,v=e.ipResolution,h=e.extendedResult,g=e.linkedId,m="full"===v?2:1;return n(n(((t={}).c=s,t.url=location.href,t.d=o,t.vid=c[0]||c[1]||void 0,t.ls=c[1]?1:void 0,t.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(f),t.i=m,t.cbd=h?1:void 0,t.lid=g,t.cr=document.referrer||void 0,t),function(e){var t,r,i,o=((t={}).j=void 0,t.je=void 0,t);if(!e)return o;if(e.error){var a=e.error,u=a.message;if(me(a))switch(a.s){case-2:u="Abort";break;case-3:u="Timeout";break;case-4:u="Connection error"}return n(n({},o),((r={}).je=u,r))}return n(n({},o),((i={}).j=e.value,i))}(d)),((r={}).k1=Ce(i.osCpu),r.k2=Ce(i.languages),r.k3=Ce(i.colorDepth),r.k4=Ce(i.deviceMemory),r.k5=Ce(i.screenResolution),r.k6=Ce(i[11],void 0,[]),r.k7=Ce(i.hardwareConcurrency,void 0,1),r.k8=Ce(i[12]),r.k9=Ce(i[13]),r.k10=Ae(Ce(i.sessionStorage)),r.k11=Ae(Ce(i.localStorage)),r.k12=Ae(Ce(i.indexedDB)),r.k13=Ae(Ce(i.openDatabase)),r.k14=Ce(i.cpuClass),r.k15=Ce(i[16]),r.k16=function(e){if(e.error||u())return[];return e.value}(i.plugins),r.k17=function(e){if(!e)return;return n(n({},e),{data:a(e.data)})}(Ce(i[14])),r.k18=0,r.k19=Ce(i.touchSupport),r.k20=Ce(i.fonts,[]),r.k21=Ce(i.audio,-4),r.k22=Ae(Ce(i[15])),r.k23=Ce(i[20]),r.k24=Ce(i[21]),r.k25=Ae(Ce(i[22])),r.k26=Ae(Ce(i[18])),r.k27=Ce(i.vendor),r.k28=Ae(Ce(i[17])),r.k29=Ae(Ce(i[10])),r.k30=Ae(Ce(i[19])),r.k31=Ae(Ce(i[4],!1)),r.k32=Ae(Ce(i.cookiesEnabled,!1)),r.k33=Ae(Ce(i[25])),r.k35=function(e){var t=e.value;if(!t||-6===t||-7===t||-8===t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return D(e,255)}))}}(i[0]),r.s1=_e(i.osCpu,-1),r.s2=Te(i.languages),r.s3=Te(i.colorDepth),r.s4=_e(i.deviceMemory,-1),r.s5=Te(i.screenResolution),r.s6=Re(i[5],(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),r.s7=_e(i.hardwareConcurrency,-1),r.s8=Ie(i[6]),r.s9=Te(i.timezone),r.s10=Te(i.sessionStorage),r.s11=Te(i.localStorage),r.s12=_e(i.indexedDB,-1),r.s13=Te(i.openDatabase),r.s14=_e(i.cpuClass,-1),r.s15=Te(i.platform),r.s16=_e(i.plugins,-1),r.s17=Re(i.canvas,(function(e){return{s:0,v:n(n({},e),{geometry:a(e.geometry),text:a(e.text)})}})),r.s18=Ie(i[7]),r.s19=Te(i.touchSupport),r.s20=Te(i.fonts),r.s21=Re(i.audio,(function(e){return-1===e||-2===e||-3===e?{s:e,v:null}:{s:0,v:e}})),r.s22=_e(i[23],-1),r.s26=Ie(i[8]),r.s27=Te(i.vendor),r.s28=Te(i.vendorFlavors),r.s30=_e(i[24],-1),r.s31=Te(i[4]),r.s32=Te(i.cookiesEnabled),r.s33=Te(i[25]),r.s34=Ie(i[0],(function(e){return e.map((function(e){return D(e,255)}))})),r.s35=Se(i[3]),r.s36=_e(i.domBlockers,-1),r.s37=_e(i.colorGamut,-1),r.s38=_e(i.contrast,-1),r.s39=_e(i.forcedColors,-1),r.s40=_e(i.hdr,-1),r.s41=_e(i.invertedColors,-1),r.s42=_e(i.monochrome,-1),r.s43=_e(i.reducedMotion,-1),r.s44=_e(i[26],-1),r.s45=Te(i[27]),r.s46=Re(i.math,(function(e){return{s:0,v:a(Object.keys(e).map((function(t){return t+"="+e[t]})).join(","))}})),r.s47=Re(i[31],(function(e){return{s:e?0:-1,v:e?n(n({},e),{contextAttributes:a(e.contextAttributes),parameters:a(e.parameters),shaderPrecisions:a(e.shaderPrecisions),extensions:a(e.extensions),extensionParameters:a(e.extensionParameters),fingerprint:a(e.fingerprint)}):null}})),r.s48=Te(i[28]),r.s49=_e(i[29],-1),r.s50=_e(i[30],-1),r.s51=Te(i.fontPreferences),r.s52=Re(i[2],(function(e){return{s:"number"==typeof e?e:e.length?0:1,v:"number"==typeof e?"":a(JSON.stringify(e))}})),r.s53=Se(i[32]),r.s54=Ie(i[1]),r.s55=function(e){var t=e[0],n=e[1];if(void 0!==t&&void 0!==n)return{s:0,v:t||n};if(void 0!==t)return{s:1,v:t};if(void 0!==n)return{s:2,v:n};return{s:-1,v:null}}(l),r.s56=function(e){if(!e)return{s:-1,v:null};if(e.error){var t=e.error;return me(t)?{s:t.s,v:null}:{e:t.message}}return{s:0,v:e.value}}(d),r.s57=_e(i[33],-1),r.s58=_e(i[9],-1),r))}function Re(e,t){return e.error?{e:ke(e.error)}:t(e.value)}function ke(e){var t;try{t=""+e.message,"name"in e&&(t=e.name+": "+t)}catch(e){t="Code 3017: "+e.name+": "+e.message}return D(t,500)}function Te(e){return Re(e,(function(e){return{s:0,v:e}}))}function Se(e){return Re(e,(function(e){return e}))}function _e(e,t){return Re(e,(function(e){return{s:null==e?t:0,v:null!=e?e:null}}))}function Ie(e,t){return Re(e,(function(e){return"number"==typeof e?{s:e,v:null}:{s:0,v:t?t(e):e}}))}function Ce(e,t,n){return e.error?t:void 0===e.value?n:e.value}function Ae(e){return!0===e?1:!1===e?0:e}var De=((pe={}).TokenRequired="Token required",pe.TokenNotFound="Token not found",pe.TokenExpired="Token expired",pe.RequestCannotBeParsed="Request cannot be parsed",pe.Failed="Request failed",pe.RequestTimeout="Request failed to process",pe.TooManyRequests="Too many requests, rate limit exceeded",pe.OriginNotAvailable="Not available for this origin",pe.HeaderRestricted="Not available with restricted header",pe.NotAvailableForCrawlBots="Not available for crawl bots",pe.NotAvailableWithoutUA="Not available when User-Agent is unspecified",pe),Oe=P("WrongRegion"),Ne=P("SubscriptionNotActive");function Pe(e,t){var i=e.bodyData;return void 0===i?Fe(e):function(e){return e instanceof Object&&"2"===e.v&&e.products instanceof Object}(i)?function(e,t){var r=e.notifications,i=e.requestId,o=e.error,a=e.products;if(Me(r),o)return xe(o,i,t);var u=a.identification;if(!u)throw new Error("There is no identification result in the response");if(Me(u.notifications),u.error)return xe(u.error,i,t);return[n({requestId:i},u.data.result),u.data.visitorToken]}(i,t):function(e){return e instanceof Object&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(i)?function(e){var t=e,i=t.notification,o=t.visitorToken,a=t.botProbability,u=r(t,["notification","visitorToken","botProbability"]);i&&Ue(i);var s=n({},u);a&&(s.bot={probability:a});return[s,o]}(i):function(e){return e instanceof Object&&"n/a"===e.visitorId}(i)?function(e,t){var n=e.notification,r=e.reason,i=e.requestId;n&&Ue(n);switch(r){case"Not available for crawl bots":return qe(i,!0,t);case"Not available when User-Agent is unspecified":return qe(i,void 0,t);case"Request failed":case"Request failed to process":case"Too many requests, rate limit exceeded":return je(r,i);default:throw je(r,i)}}(i,t):Fe(e)}function xe(e,t,n){switch(e.code){case"NotAvailableForCrawlBots":return qe(t,!0,n);case"NotAvailableWithoutUA":return qe(t,void 0,n);case"Failed":case"RequestTimeout":case"TooManyRequests":return je(Le(e),t,e);default:throw je(Le(e),t,e)}}function Le(e){var t=e.code,n=e.message;if(void 0===t)return n;if(Object.prototype.hasOwnProperty.call(De,t)){var r=De[t];if(void 0!==r)return r}return P(t)}function qe(e,t,r){var i={requestId:e,visitorFound:!1,visitorId:""};if(!r)return[i];var o=n(n({},i),{bot:{probability:1},incognito:!1,browserName:"n/a",browserVersion:"n/a",device:"n/a",ip:"n/a",ipLocation:{},os:"n/a",osVersion:"n/a"});return void 0!==t&&(o.bot.safe=t),[o]}function je(e,t,n){var r=new Error(e);return void 0!==t&&(r.requestId=t),void 0!==n&&(r.raw=n),r}function Me(e){null==e||e.forEach(Ue)}function Ue(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}function Fe(e){if(e.status>=500)return new Error(e.statusText);throw new Error(e.body.byteLength>0?"Failed to parse the response: (base64) "+N(e.body):e.statusText)}function Ve(e,t,n,r,i){void 0===i&&(i=q);var o=i()%(n+1),a=function(e){if("function"==typeof TextEncoder)return(new TextEncoder).encode(e);for(var t=unescape(encodeURI(e)),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}(JSON.stringify(e)),u=1+t.length+1+o+r+a.length,s=new ArrayBuffer(u),c=new Uint8Array(s),l=0,d=i();c[l++]=d;for(var f=0,v=t;f<v.length;f++){var h=v[f];c[l++]=d+h}c[l++]=d+o;for(var g=0;g<o;++g)c[l++]=i();var m=new Uint8Array(r);for(g=0;g<r;++g)m[g]=i(),c[l++]=m[g];for(g=0;g<a.length;++g)c[l++]=a[g]^m[g%r];return s}function Be(e,t,n){var r=function(){throw new Error("Invalid data")},i=T(e);i.length<t.length+2&&r();for(var o=0;o<t.length;++o)O(i[1+o],i[0])!==t[o]&&r();var a=1+t.length,u=O(i[a],i[0]);i.length<a+1+u+n&&r();var s=a+1+u,c=s+n,l=new Uint8Array(i.length-c);for(o=0;o<l.length;++o)l[o]=i[c+o]^i[s+o%n];return JSON.parse(C(l))}var Ge=[3,7];function We(r){return e(this,void 0,void 0,(function(){var e,i,o;return t(this,(function(t){switch(t.label){case 0:return[4,B(n(n({},r),{body:(u=r.body,Ve(u,Ge,3,7)),responseFormat:"binary"}))];case 1:e=t.sent();try{a=e.body,i=Be(a,Ge,7),o=!0}catch(Et){try{i=JSON.parse(C(e.body)),o=!1}catch(s){}}return[2,n(n({},e),{bodyData:i,isSecret:o})]}var a,u}))}))}function $e(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function He(i,o,a){var u=i.endpoint,s=i.extendedResult,c=void 0!==s&&s,l=r(i,["endpoint","extendedResult"]);return e(this,void 0,void 0,(function(){var r,i,s;return t(this,(function(d){switch(d.label){case 0:return r=(f=u)+(-1===f.indexOf("?")?"?":"&")+"cv="+encodeURIComponent("3.3.2"),i=Ee(n({extendedResult:c},l)),s=0,[4,$(a,(function(){return{e:15,endpoint:r,request:i}}),(function(e){return{e:16,result:e}}),(function(e){return{e:17,error:e}}),(function(){return function(e,n){var r,i=k(300,1e4);return w(null==n?void 0:n.catch((function(e){r||(r=e)})).then((function(){throw r})),(function(){var o,a,u;return t(this,(function(t){switch(t.label){case 0:return o=Date.now(),[4,e(n)];case 1:return(a=t.sent())instanceof Error?(r=a,u=i.next().value,"Too many requests, rate limit exceeded"===a.message&&(u=1e3+5*u),[4,m(o+u-Date.now())]):[2,a];case 2:t.sent(),t.label=3;case 3:return[3,0];case 4:return[2]}}))}))}((function(n){return function(n,r,i,o,a,u){return e(this,void 0,void 0,(function(){var e,s;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,$(u,(function(){return{e:18,tryNumber:o}}),(function(e){var t=e.status,n=e.body,r=e.bodyData,i=e.isSecret;return{e:19,tryNumber:o,status:t,body:null!=r?r:n,isSecret:i}}),(function(e){return{e:20,tryNumber:o,error:e}}),(function(){return We({url:n,method:"post",body:r,headers:{"Content-Type":"text/plain"},withCredentials:!0,abort:a})}))];case 1:return e=t.sent(),[3,3];case 2:return s=t.sent(),[2,new Error("AbortError"===s.name?"Network request aborted":"Network connection error")];case 3:return[2,Pe(e,i)]}}))}))}(r,i,c,s++,n,a)}),o)}))];case 1:return[2,d.sent()]}var f}))}))}function Ke(e){return e.toDataURL()}function Xe(){var e,t,n=Je();return(null===(t=null===(e=window[n[0]])||void 0===e?void 0:e[n[1]])||void 0===t?void 0:t[n[2]])||1073741824}function Je(){return Be(new Uint32Array([1238629110,448276002,3812774028,808844344,1040086494,3917076003,2006609522,3391962601,1618783843,902064594,3846817827,1945380650,2587245025,908308022,938305751,2922813991,1910122279,3709215973,809499767,66414809,3983071030,916072247,3711377838,822474088,300514777,4182498348,953759295,3408360096,591258990,229539788]),[],5)}function ze(){var e=Qe(),t=window[e[0]];if(!t)return!1;try{t[e[1]][e[2]](e[3],e[4],{},(function(){}))}catch(n){return!new RegExp(e[5]).test(n)}return!1}function Ye(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:e=document,n=Qe(),(r=e.createElement("iframe")).style.display="none",t.label=1;case 1:return e.body?[3,3]:[4,m(50)];case 2:return t.sent(),[3,1];case 3:return t.trys.push([3,,5,6]),e.body.appendChild(r),[4,Promise.race([m(20,!1),new Promise((function(e){r.contentWindow?r.contentWindow[n[6]].addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 4:return[2,t.sent()];case 5:return r.remove(),[7];case 6:return[2]}}))}))}function Ze(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}function Qe(){return Be(new Uint32Array([571803394,2333197341,667974149,459532809,2807590137,1996360231,241878290,3893584866,1793199716,1479125268,4262158585,1442777440,325646623,3826480888,665278571,175243026,2757050360,1760166496,1415636746,2836884200,2012960809,241499411,2840995822,1912086370,1482750223,4212860839,1726092917,359464731,3894101733,1487478637]),[],3)}var et=[[function(){return c()},function(){return A(["ClipboardItem"in(n=window),"PerformanceEventTiming"in n,"RTCSctpTransport"in n])>=2?function(){return e(this,void 0,void 0,(function(){var e,n,r,i,o;return t(this,(function(t){switch(t.label){case 0:return e=Je(),n=navigator,r=n[e[3]],(i=n[e[4]])?[4,new Promise((function(t){i[e[5]]((function(e,n){return t(n)}))}))]:[3,2];case 1:return o=t.sent(),[3,4];case 2:return(null==r?void 0:r[e[6]])?[4,r[e[6]]().then((function(e){return e.quota}))]:[3,4];case 3:o=t.sent(),t.label=4;case 4:return o?[2,o<Xe()]:[2,!1]}}))}))}():function(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){return(e=window.webkitRequestFileSystem)?[2,new Promise((function(t){e(0,1,(function(){return t(!1)}),(function(){return t(!0)}))}))]:[2,!1]}))}))}();var n}],[function(){return l()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return K()?d()?[2,ze()]:[2,Ye()]:[2,Ze()]}))}))}],[function(){return s()},function(){return new Promise((function(e){try{var t=indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return u()||f()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function tt(){return e(this,void 0,void 0,(function(){var e,n,r,i,o;return t(this,(function(t){switch(t.label){case 0:e=0,n=et,t.label=1;case 1:return e<n.length?(r=n[e],i=r[0],o=r[1],i()?[4,o()]:[3,3]):[3,4];case 2:return[2,t.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function nt(e){if("InvalidAccessError"===e.name){if(/\bfrom\b.*\binsecure\b/i.test(e.message))return{s:-2,v:null};if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(e.message))return{s:-3,v:null}}throw e}function rt(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}var it=["MAX_TEXTURE_MAX_ANISOTROPY_EXT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","MAX_COLOR_ATTACHMENTS_WEBGL","MAX_DRAW_BUFFERS_WEBGL","DRAW_BUFFER0_WEBGL","DRAW_BUFFER1_WEBGL","VERTEX_ARRAY_BINDING_OES","TIMESTAMP_EXT","GPU_DISJOINT_EXT","MAX_VIEWS_OVR"],ot=[10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32926,32928,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938],at=[32926,32928],ut=["FRAGMENT_SHADER","VERTEX_SHADER"],st=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function ct(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function lt(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function dt(e){return Object.keys(e.__proto__).filter(lt)}function ft(){return window.speechSynthesis}function vt(e){var t=function(e){return e.replace(/([,\\])/g,"\\$1")};return e.map((function(e){return[t(e.voiceURI),t(e.name),t(e.lang),e.localService?"1":"0",e.default?"1":"0"].join(",")})).sort()}var ht={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},gt={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},mt={"en-us":n(n({},ht),{n:["james","mary","john","patricia","robert","jennifer","michael","linda","william","elizabeth","david","barbara","richard","susan","joseph","jessica","thomas","sarah","charles","karen","christopher","nancy","daniel","lisa","matthew","margaret","anthony","betty","donald","sandra"]}),"en-gb":n(n({},ht),{n:["oliver","george","noah","arthur","harry","leo","muhammad","jack","charlie","oscar","jacob","henry","thomas","joshua","william","olivia","amelia","isla","ava","mia","isabella","sophia","grace","lily","freya","emily","ivy","ella","rosie","charlotte"]}),"ru-ru":n(n({},gt),{n:["aleksandr","sergej","vladimir","elena","tatana","andrej","aleksej","olga","nikolaj","natala","anna","ivan","dmitrij","irina","maria","mihail","svetlana","ekaterina","evgenij","viktor","anastasia","urij","ulia","valentin","roman","igor","anatolij","oleg","pavel","maksim"]})};mt.default=mt["en-us"],mt.en=mt["en-us"],mt.ru=mt["ru-ru"];var pt={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function bt(n){return e(this,void 0,void 0,(function(){function r(){f.close(),c.close()}var i,o,a,u,s,c,f,v=this;return t(this,(function(h){return"RTCPeerConnection"in window?(i=l()&&!d(),o=i?400:300,a=Math.random().toString(),u=new Map,"ABCD",s="candidate:0 1 udp 2113937151 ${addr} ${port} typ host generation 0 ufrag ABCD network-cost 999",c=new RTCPeerConnection({iceTransportPolicy:"all"}),f=c.createDataChannel(a),[2,new Promise((function(i){p((function(){i(-4),r()}),o),c.oniceconnectionstatechange=function(){return e(v,void 0,void 0,(function(){var n,o=this;return t(this,(function(a){return 30,"checking"===c.iceConnectionState&&(n=setInterval((function(){return e(o,void 0,void 0,(function(){var e,o;return t(this,(function(t){switch(t.label){case 0:return"checking"!==c.iceConnectionState?(clearInterval(n),r(),[2]):[4,c.getStats()];case 1:return e=t.sent(),o=[],e.forEach((function(e){if("remote-candidate"===e.type){var t=u.get(e.port);o.push(t)}})),o.length>0&&(clearInterval(n),i(o),r()),[2]}}))}))}),30)),[2]}))}))},c.createOffer().then((function(e){var t=e.sdp;if(t){for(var r=[],o=0;o<n.length;o++){var a=n[o],l=50003+o,d=s.replace("${addr}",a).replace("${port}",l.toString());u.set(l,a),r.push("a="+d)}var f={type:"answer",sdp:t.replace(/a=ice-ufrag:(.*?)\s{1,2}/,"a=ice-ufrag:ABCD\r\n").replace(/a=setup:(.*?)\s{1,2}/,"a=setup:active\r\n").replace(/c=IN IP4 ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/,(function(e,t){return"c=IN IP4 "+t+"\r\nb=AS:30\r\n"+r.join("\r\n")}))};return c.setLocalDescription(e),c.setRemoteDescription(f)}i(-5)}))}))]):[2,-5]}))}))}function yt(n){return e(this,void 0,void 0,(function(){var r,i;return t(this,(function(o){return r=new AbortController,i=document.location.protocol,[2,new Promise((function(o){n.map((function(n){return e(this,void 0,void 0,(function(){return t(this,(function(e){return[2,fetch(i+"//"+n,{signal:r.signal}).catch((function(){return null})).then((function(){r.signal.aborted||(r.abort(),o(n))}))]}))}))})),p((function(){r.signal.aborted||(r.abort(),o(-4))}),100)}))]}))}))}var wt,Et,Rt=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion"];var kt=((wt={})[0]=function(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:if(e=window,!(n=e.RTCPeerConnection||e.webkitRTCPeerConnection))return[2,-3];try{r=new n({iceServers:[]})}catch(o){if("NotSupportedError"===o.name)return[2,-6];throw o}t.label=1;case 1:return t.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n,a=[],u=p((function(){return e(-4)}),500),s=function(){return e(i(a))};r.onicecandidate=function(e){var t=e.candidate;if(!t)return s();if(t.candidate){if(a.push(t.candidate),a.length>=6)return s();1===a.length&&(u(),p(s,10))}},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&s()},r.onicecandidateerror=t;try{null===(n=r.createDataChannel)||void 0===n||n.call(r,"test")}catch(o){return void("NotSupportedError"===o.name?e(-7):t(o))}var c=function(e,t){try{return e.createOffer(t)}catch(o){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(o.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw o}}(r,f()?{offerToReceiveAudio:!0}:void 0);void 0===c?e(-8):c.then((function(e){return r.setLocalDescription(e)}),t)}))];case 2:return[2,t.sent()];case 3:try{r.close()}catch(o){}return[7];case 4:return[2]}}))}))},wt[1]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return l()?[4,bt(e=function(){for(var e=l()&&!d(),t=navigator.language.toLowerCase(),n=t.slice(0,2),r=mt[t]||mt[n]||mt.default,i=e?r.i.slice():r.m.slice(),o=e?pt.i.slice():pt.m.slice(),a=0,u=e?r.n:r.n.slice(0,15);a<u.length;a++)for(var s=u[a],c=0,f=i;c<f.length;c++){var v=f[c];o.push(v.replace("$$",s))}return o.map((function(e){return e+".local"}))}())]:[2,-2];case 1:return"number"==typeof(n=t.sent())?[2,n]:n.length===e.length?[2,-3]:n.length>1?[2,yt(n)]:1===n.length?[2,n[0]]:[2,-1]}}))}))},wt[2]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return"function"!=typeof(null==(e=ft())?void 0:e.getVoices)?[2,-1]:(n=function(){return e.getVoices()},!e.addEventListener||s()&&A(["AnonymousContent"in(r=window),!("AudioBuffer"in r),!("RTCPeerConnection"in r),!("geolocation"in navigator),!("ServiceWorker"in r)])>=3?[2,vt(n())]:[4,new Promise((function(t){var r,i=function(){e.removeEventListener("voiceschanged",o);var r=n();t(r.length?vt(r):-2)},o=function(){n().length?(null==r||r(),r=p(i,50)):r||(r=p(i,600))};o(),e.addEventListener("voiceschanged",o)}))]);case 1:return[2,t.sent()]}var r}))}))},wt[3]=function(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:if("function"!=typeof(e=window.ApplePaySession))return[2,{s:-1,v:null}];t.label=1;case 1:return t.trys.push([1,3,,4]),e.canMakePayments()?l()&&!K()?[2,{s:0,v:1}]:[4,Promise.race([e.canMakePaymentsWithActiveCard(""),m(250,!1)])]:[2,{s:0,v:0}];case 2:return[2,{s:0,v:t.sent()?3:2}];case 3:return[2,nt(t.sent())];case 4:return[2]}}))}))},wt[4]=function(n){var r=n.storageKeyPrefix;return e(this,void 0,void 0,(function(){var e,n,i;return t(this,(function(t){switch(t.label){case 0:return void 0!==(n=function(e){try{var t=localStorage.getItem(e);if(!t)return;return"1"===t}catch(n){return}}(e=r+"_i"))?[2,n]:[4,tt()];case 1:return i=t.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(e,i),[2,i]}}))}))},wt[5]=v,wt[8]=function(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(i){switch(i.label){case 0:return(null==(e=navigator.mediaDevices)?void 0:e.enumerateDevices)?(n=function(e){return e.slice(0,32).replace(/([,\\])/g,"\\$1")},r=function(e){return[n(e.deviceId),n(e.groupId),{audioinput:"ai",audiooutput:"ao",videoinput:"vi"}[e.kind],n(e.label)].join(",")},[4,w(m(250,-2),(function(){return t(this,(function(t){switch(t.label){case 0:return[4,e.enumerateDevices()];case 1:return[2,t.sent().map(r)]}}))}))]):[2,-1];case 1:return[2,i.sent()]}}))}))},wt[7]=function(){var n;return e(this,void 0,void 0,(function(){var r,i,o,a,u,s,c=this;return t(this,(function(l){switch(l.label){case 0:if(!(r=null===(n=window.crypto)||void 0===n?void 0:n.subtle)||!r.generateKey||!r.exportKey)return[2,-1];i=function(){return e(c,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return[4,r.generateKey({name:"AES-GCM",length:128},!0,["encrypt"])];case 1:return e=t.sent(),[4,r.exportKey("raw",e)];case 2:return n=t.sent(),[2,new Uint8Array(n)]}}))}))},l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all([i(),i()])];case 2:for(o=l.sent(),a=new Uint8Array(o[0].length),u=0;u<o[0].length;++u)a[u]=165^o[0][u]^o[1][u];return[2,N(a)];case 3:if("NotSupportedError"===(s=l.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},wt[6]=function(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(n){switch(n.label){case 0:return(e=navigator).requestMediaKeySystemAccess?[4,w(m(75,-3),(function(){var n,r,i;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,5,,6]),[4,e.requestMediaKeySystemAccess("org.w3.clearkey",[{initDataTypes:["keyids","webm"],audioCapabilities:["opus","vorbis"].map((function(e){return{contentType:'audio/webm; codecs="'+e+'"'}})),videoCapabilities:["vp9","vp8"].map((function(e){return{contentType:'video/webm; codecs="'+e+'"'}}))}])];case 1:return[4,t.sent().createMediaKeys()];case 2:return n=t.sent(),(r=n.createSession()).sessionId?[3,4]:[4,new Promise((function(e){r.onmessage=e,r.generateRequest("webm",new Uint8Array([1,1,1,1]))}))];case 3:t.sent(),t.label=4;case 4:return[2,r.sessionId];case 5:if("NotSupportedError"===(i=t.sent()).name)return[2,-2];throw i;case 6:return[2]}}))}))]:[2,-1];case 1:return[2,n.sent()]}}))}))},wt[9]=function(){var n;return e(this,void 0,void 0,(function(){var r,i,o,a=this;return t(this,(function(u){switch(u.label){case 0:return(r=navigator.userAgentData)&&"object"==typeof r?(i={},o=[],"function"!=typeof r.getHighEntropyValues?[3,2]:[4,Promise.all(Rt.map((function(n){return e(a,void 0,void 0,(function(){var e,a;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,r.getHighEntropyValues([n])];case 1:return void 0!==(e=t.sent()[n])&&(i[n]="string"==typeof e?e:JSON.stringify(e)),[3,3];case 2:if("NotAllowedError"!==(a=t.sent()).name)throw a;return o.push(n),[3,3];case 3:return[2]}}))}))})))]):[2,void 0];case 1:u.sent(),u.label=2;case 2:return[2,{b:r.brands.map((function(e){return{b:e.brand,v:e.version}})),m:r.mobile,p:null!==(n=r.platform)&&void 0!==n?n:null,h:i,nah:o}]}}))}))},wt[10]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return n=t.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},wt[11]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},wt[12]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},wt[13]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},wt[14]=function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank "+String.fromCharCode(55357,56835)+" gly";n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply";for(var o=0,a=[["#f0f",50,50],["#0ff",100,50],["#ff0",75,100]];o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];n.fillStyle=s,n.beginPath(),n.arc(c,l,50,0,2*Math.PI,!0),n.closePath(),n.fill()}return n.fillStyle="#f0f",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:Ke(t)}},wt[15]=function(){return void 0!==navigator.plugins},wt[16]=function(){return navigator.platform},wt[17]=function(){return void 0!==window.chrome},wt[18]=function(){return navigator.webdriver},wt[19]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},wt[20]=function(){return navigator.productSub},wt[21]=function(){return eval.toString().length},wt[22]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},wt[23]=function(){var e=window.WebAssembly;if(null==e?void 0:e.validate){for(var t=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10],n=0,r=0,o=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];r<o.length;r++){var a=o[r];n<<=1,n|=e.validate(Uint8Array.of.apply(Uint8Array,i(t,a)))?1:0}return n}},wt[24]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},wt[25]=function(){var e=window;if(!c())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var t=document.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var n=t.toDataURL();if(""===n)return!0;for(var r=window.atob(n.split(",")[1]),i=r.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=r.charCodeAt(a);var u=I(o,[73,68,65,84,24]);if(-1===u)return!1;var s=I(o,[73,69,78,68]);return-1!==s&&1321!==o.slice(u+5,s).reduce((function(e,t){return e+t}),0)}catch(l){return!1}},wt[26]=function(){return!!rt("dark")||!rt("light")&&void 0},wt[27]=function(){var e=Date.now();return[e,e-6e4*(new Date).getTimezoneOffset()]},wt[28]=function(){for(var e=[],t=Math.random(),n=24575;n>=0;--n)if(n%4096==0){var r=Math.random();e.push((t-r)*Math.pow(2,31)|0),t=r}return e},wt[29]=function(){var e=window.performance;if(null==e?void 0:e.now){for(var t=1,n=1,r=e.now(),i=r,o=0;o<5e4;o++)if((r=i)<(i=e.now())){var a=i-r;a>t?a<n&&(n=a):a<t&&(n=t,t=a)}return[t,n]}},wt[30]=function(){var e,t;return null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit},wt[32]=function(){return{s:l()&&!d()?K()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},wt[33]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},wt),Tt=((Et={})[31]=function(){for(var e=document.createElement("canvas"),t=["webgl","experimental-webgl"],r=void 0,i=0;i<t.length&&!r;i++)try{r=e.getContext(t[i])}catch(a){}if(r){var o=n(n({},function(e){var t,n,r,i,o,a,s=e.getSupportedExtensions(),c=e.getExtension("WEBGL_debug_renderer_info"),l=e.getContextAttributes(),d=[],f=[],v=[],h=[];for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&d.push(g+"="+l[g]);for(var m=dt(e),p=u(),b=0,y=m;b<y.length;b++){var w=e[C=y[b]];if(ot.indexOf(w)>-1){var E=p&&-1===at.indexOf(w)?e.getParameter(w):null;f.push(C+"("+w+")="+E)}else f.push(C+"="+w)}if(s)for(var R=0,k=s;R<k.length;R++){var T=k[R],S=e.getExtension(T);if(S)for(var _=0,I=dt(S);_<I.length;_++){var C;w=S[C=I[_]],it.indexOf(C)>0?v.push(C+"("+w+")="+e.getParameter(w)):v.push(C+"="+w)}}for(var A=0,D=ut;A<D.length;A++)for(var O=D[A],N=0,P=st;N<P.length;N++){var x=P[N],L=ct(e,O,x);h.push(O+"."+x+"="+L.join(","))}return v.sort(),f.sort(),{version:(null===(t=e.getParameter(e.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=e.getParameter(e.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:c?null===(r=e.getParameter(c.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=e.getParameter(e.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:c?null===(o=e.getParameter(c.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(a=e.getParameter(e.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||"",contextAttributes:d.join("&"),parameters:f.join("&"),shaderPrecisions:h.join("&"),extensions:s?s.join(","):"",extensionParameters:v.join(",")}}(r)),{fingerprint:""});return function(e){e.clearColor(0,0,1,1);var t=e.createProgram();if(t){i(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),i(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),e.linkProgram(t),e.useProgram(t),e.enableVertexAttribArray(0);var n=e.getUniformLocation(t,"t"),r=e.createBuffer();e.bindBuffer(34962,r),e.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),e.vertexAttribPointer(0,2,5126,!1,0,0),e.clear(16384),e.uniform1f(n,3.65),e.drawArrays(4,0,3)}function i(n,r){var i=e.createShader(35633-n);t&&i&&(e.shaderSource(i,r),e.compileShader(i),e.attachShader(t,i))}}(r),o.fingerprint=e.toDataURL(),o}},Et);function St(e){return h(kt,e,[])}function _t(e){return h(Tt,e,[])}function It(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function Ct(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";document.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function At(e,t,n){var r=location.hostname;(Dt(r,(function(t){!function(e,t){Ct(e,"",-1,t)}(e,t)})),n<0)||Dt(r,(function(r){return Ct(e,t,n,r),It(e)!==t}))&&Ct(e,t,n)}function Dt(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}function Ot(e){return[It(e),Pt(e)]}function Nt(e,t){At(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Pt(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function xt(r,i,o,a,u){var s=this,c=u.token,l=u.region,d=void 0===l?"us":l,f=u.endpoint,v=u.tlsEndpoint,h=u.storageKey,g=void 0===h?"_vid":h,m=u.debug;var p=function(n,r,i,o,a,u,l){return e(s,void 0,void 0,(function(){var e,s,h,m,p,E,R,k,T,S,_;return t(this,(function(t){switch(t.label){case 0:return e=b(o).then((function(){throw new Error("Client timeout")})),[4,Promise.race([e,Promise.all([y(d,v,!!i,b(.4*o),l),w(l)])])];case 1:return s=t.sent(),h=s[0],m=s[1],p=m[0],E=m[1],R=g,k=g+"_t",[4,He({token:c,endpoint:$e(d,f),components:p,componentsDuration:E,tag:n,visitorId:Ot(R),visitorToken:Ot(k),tls:h,linkedId:r,extendedResult:a,ipResolution:u},e,l)];case 2:return T=t.sent(),S=T[0],(_=T[1])?Nt(_,k):S.visitorId&&Nt(S.visitorId,R),[2,S]}}))}))},y=function(n,r,i,o,a){return e(s,void 0,void 0,(function(){return t(this,(function(e){return i?[2,void 0]:[2,he(function(e,t){return t||ve[e]}(n,r),o,a).then((function(e){return{value:e}}),(function(e){return{error:e}}))]}))}))},w=function(r){return $(r,(function(){return{e:12}}),(function(e){return{e:13,result:e[0]}}),(function(e){return{e:14,error:e}}),(function(){return function(n){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=Date.now(),[4,n()];case 1:return[2,[t.sent(),Date.now()-e]]}}))}))}((function(){return e(s,void 0,void 0,(function(){var e,r,u,s,c;return t(this,(function(t){switch(t.label){case 0:return e={storageKeyPrefix:g},[4,Promise.all([i.get(),o(e)])];case 1:return r=t.sent(),u=r[0],s=r[1],[4,a(e)];case 2:return c=t.sent(),[2,n(n(n({},u.components),s),c)]}}))}))}))}))};return{get:function(e){void 0===e&&(e={});var t=m||e.debug?function(e,t,r){return function(i){return e(n(n({},i),{agentId:t,getCallId:r}))}}(j([m,e.debug&&U()]),r,L(8)):void 0;return $(t,(function(){return{e:3,options:e}}),(function(e){return{e:4,result:e}}),(function(e){return{e:5,error:e}}),(function(){var n=e.timeout,r=void 0===n?1e4:n,i=e.tag,o=e.linkedId,a=e.disableTls,u=e.extendedResult,s=e.ipResolution;return p(i,o,a,r,u,s,t)}))}}}var Lt=function(n){var r=this,i=L(8);return $(n.debug,(function(){return{e:0,agentId:i,version:"3.3.2",options:n}}),(function(){return{e:1,agentId:i}}),(function(e){return{e:2,agentId:i,error:e}}),(function(){return e(r,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:if(!n.token||"string"!=typeof n.token)throw new Error("Token required");return function(){var e;try{null===(e=ft())||void 0===e||e.getVoices()}catch(Et){}}(),[4,g({delayFallback:n.delayFallback})];case 1:return e=t.sent(),[2,xt(i,e,St,_t,n)]}}))}))}))},qt="Token required",jt="Token not found",Mt="Token expired",Ut="Request cannot be parsed",Ft="Request failed",Vt="Request failed to process",Bt="Too many requests, rate limit exceeded",Gt="Not available for this origin",Wt="Not available with restricted header",$t={load:Lt,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_WRONG_REGION:Oe,ERROR_SUBSCRIPTION_NOT_ACTIVE:Ne,ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_FORBIDDEN_HEADER:"Not available with restricted header"};export default $t;export{Ut as ERROR_BAD_REQUEST_FORMAT,be as ERROR_CLIENT_TIMEOUT,Wt as ERROR_FORBIDDEN_HEADER,Gt as ERROR_FORBIDDEN_ORIGIN,Ft as ERROR_GENERAL_SERVER_FAILURE,we as ERROR_NETWORK_ABORT,ye as ERROR_NETWORK_CONNECTION,Bt as ERROR_RATE_LIMIT,Vt as ERROR_SERVER_TIMEOUT,Ne as ERROR_SUBSCRIPTION_NOT_ACTIVE,Mt as ERROR_TOKEN_EXPIRED,jt as ERROR_TOKEN_INVALID,qt as ERROR_TOKEN_MISSING,Oe as ERROR_WRONG_REGION,Lt as load,F as makeConsoleDebugger,X as makeDebugReportBuilder,j as makeMulticastDebugger,oe as makeRemoteDebugger};
{
"name": "@fingerprintjs/fingerprintjs-pro",
"description": "FingerprintJS Pro client agent",
"version": "3.3.1",
"version": "3.3.2",
"keywords": [

@@ -40,3 +40,3 @@ "browser",

"dependencies": {
"@fingerprintjs/fingerprintjs": "3.1.1",
"@fingerprintjs/fingerprintjs": "3.1.2",
"tslib": "^2.0.1"

@@ -59,10 +59,10 @@ },

"jasmine-ajax": "^4.0.0",
"karma": "^5.2.3",
"karma": "^6.3.2",
"karma-browserstack-launcher": "^1.6.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^1.3.0",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^4.0.1",
"karma-spec-reporter": "^0.0.32",
"karma-summary-reporter": "^1.9.0",
"karma-typescript": "^5.2.0",
"karma-summary-reporter": "^2.0.2",
"karma-typescript": "^5.5.1",
"prettier": "^2.1.2",

@@ -79,3 +79,3 @@ "promise-polyfill": "^8.2.0",

"typescript": "^4.0.3",
"ua-parser-js": "^0.7.23",
"ua-parser-js": "^0.7.24",
"webpack": "^4.44.2",

@@ -82,0 +82,0 @@ "webpack-cli": "^3.3.12",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc