Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fingerprintjs/fingerprintjs-pro

Package Overview
Dependencies
Maintainers
2
Versions
69
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.0-dev.7 to 3.3.0

4

dist/fp.cjs.min.js
/**
* FingerprintJS Pro v3.3.0-dev.7 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
* FingerprintJS Pro v3.3.0 - 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"),n="3.3.0-dev.7";function r(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function i(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 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)return(new TextDecoder).decode(e);var t=l(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,t)))}function h(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function m(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function _(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 R(){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&&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(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 I=k;function S(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(C("TimeoutError","The request timed out"))},a.onabort=function(){return n(C("AbortError","The request is aborted"))},a.onerror=function(){return n(C("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 C(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 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=G(),n.isFullscreen=V(),n.network=W()),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:G()})},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:W()})},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",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: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 G(){return!document.hidden}function V(){return!!t.getFullscreenElement()}function W(){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 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,Y(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.0-dev.7"},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:m(r.result,1e3)}));case 10:return i(e.__assign(e.__assign({},r),{body:m(r.body,1e3)}));case 13:return i(e.__assign(e.__assign({},r),{result:Q(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 Q(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}})[13]=function(t){return e.__assign(e.__assign({},t),{data:r})},n.math=function(){return r},n.fontPreferences=function(){return r},n[30]=function(e){return e&&r},n))}function Y(t,n){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=m(n.stack,1e3)),n}return t}))}(n),o=c(1e3,1e4),e.label=1;case 1:return navigator.onLine&&A({url:t,body:i})?[3,4]:[4,r(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,n,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,n,i){void 0===i&&(i=5);var o,s=c(300,1e4);return a(null==n?void 0:n.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(n)];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,r(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(m(a.status+": "+a.body,255),-5)}}))}))}(t,5e3,o++,n,i)}),n)}))]}))}))}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[10],void 0,[]),i.k7=de(o.hardwareConcurrency,void 0,1),i.k8=de(o[11]),i.k9=de(o[12]),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[15]),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[13])),i.k18=0,i.k19=de(o.touchSupport),i.k20=de(o.fonts,[]),i.k21=de(o.audio,-4),i.k22=fe(de(o[14])),i.k23=de(o[19]),i.k24=de(o[20]),i.k25=fe(de(o[21])),i.k26=fe(de(o[17])),i.k27=de(o.vendor),i.k28=fe(de(o[16])),i.k29=fe(de(o[9])),i.k30=fe(de(o[18])),i.k31=fe(de(o[4],!1)),i.k32=fe(de(o.cookiesEnabled,!1)),i.k33=fe(de(o[24])),i.k35=function(e){var t=e.value;if(!t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return m(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[22],-1),i.s26=le(o[8]),i.s27=se(o.vendor),i.s28=se(o.vendorFlavors),i.s30=ce(o[23],-1),i.s31=se(o[4]),i.s32=se(o.cookiesEnabled),i.s33=se(o[24]),i.s34=le(o[0],(function(e){return e.map((function(e){return m(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[25],-1),i.s45=se(o[26]),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[30],(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[27]),i.s49=ce(o[28],-1),i.s50=ce(o[29],-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[31]),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[32],-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 m(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 me(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(ye(r),o)return _e(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 _e(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&&Re(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&&Re(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):Ee(t)}function _e(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(Re)}function Re(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) "+p(e.body):e.statusText)}var Te=[3,7];function ke(e,t){void 0===t&&(t=R);var n=t()%4,r=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)),i=1+Te.length+1+n+7+r.length,o=new ArrayBuffer(i),a=new Uint8Array(o),s=0,u=t();a[s++]=u;for(var c=0,l=Te;c<l.length;c++){var d=l[c];a[s++]=u+d}a[s++]=u+n;for(var f=0;f<n;++f)a[s++]=t();var v=new Uint8Array(7);for(f=0;f<7;++f)v[f]=t(),a[s++]=v[f];for(f=0;f<r.length;++f)a[s++]=r[f]^v[f%7];return o}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:ke(t.body),responseFormat:"binary"}))];case 1:n=o.sent();try{r=function(e){var t=function(){throw new Error("Invalid data")},n=l(e);n.length<Te.length+2&&t();for(var r=0;r<Te.length;++r)_(n[1+r],n[0])!==Te[r]&&t();var i=1+Te.length,o=_(n[i],n[0]);n.length<i+1+o+7&&t();var a=i+1+o,s=a+7,u=new Uint8Array(n.length-s);for(r=0;r<u.length;++r)u[r]=n[s+r]^n[a+r%7];return JSON.parse(g(u))}(n.body),i=!0}catch(Ze){try{r=JSON.parse(g(n.body)),i=!1}catch(a){}}return[2,e.__assign(e.__assign({},n),{bodyData:r,isSecret:i})]}}))}))}function Se(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function Oe(t,i,o){var s=t.endpoint,u=t.extendedResult,l=void 0!==u&&u,d=e.__rest(t,["endpoint","extendedResult"]);return e.__awaiter(this,void 0,void 0,(function(){var t,u,f;return e.__generator(this,(function(v){switch(v.label){case 0:return t=(g=s)+(-1===g.indexOf("?")?"?":"&")+"cv="+encodeURIComponent(n),u=ie(e.__assign({extendedResult:l},d)),f=0,[4,D(o,(function(){return{e:15,endpoint:t,request:u}}),(function(e){return{e:16,result:e}}),(function(e){return{e:17,error:e}}),(function(){return function(t,n){var i,o=c(300,1e4);return a(null==n?void 0:n.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(n)];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,r(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,me(s,r)]}}))}))}(t,u,l,f++,n,o)}),i)}))];case 1:return[2,v.sent()]}var g}))}))}function Ce(e){return e.toDataURL()}function Ae(){var e,t;return(null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit)||1073741824}function De(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r;return e.__generator(this,(function(e){switch(e.label){case 0:return t=navigator.storage,(n=navigator.webkitTemporaryStorage)?[4,new Promise((function(e){n.queryUsageAndQuota((function(t,n){return e(n)}))}))]:[3,2];case 1:return r=e.sent(),[3,4];case 2:return(null==t?void 0:t.estimate)?[4,t.estimate().then((function(e){return e.quota}))]:[3,4];case 3:r=e.sent(),e.label=4;case 4:return r?[2,r<Ae()]:[2,!1]}}))}))}function Ne(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return t.isDesktopSafari()?[2,xe()]:[2,Pe()]}))}))}function xe(){var e,t=window.safari;if(!t)return!1;try{t.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(n){return e=n,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}throw new Error("Unexpected lack of error")}function Pe(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:(t=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(t),[4,Promise.race([r(20,!1),new Promise((function(e){t.contentWindow?t.contentWindow.applicationCache.addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 2:return[2,e.sent()];case 3:return t.remove(),[7];case 4: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}}var qe=[[function(){return t.isChromium()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,De()]:[2,new Promise((function(e){window.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return x()?[2,Ne()]:[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 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],Ge=["FRAGMENT_SHADER","VERTEX_SHADER"],Ve=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function We(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function He(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Ke(e){return Object.keys(e.__proto__).filter(He)}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-$$"]},Qe={"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"]})};Qe.default=Qe["en-us"],Qe.en=Qe["en-us"],Qe.ru=Qe["ru-ru"];var Ye,Ze,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 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 nt(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 rt=((Ye={})[0]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r;return e.__generator(this,(function(i){switch(i.label){case 0:if(t=window,!(n=t.RTCPeerConnection||t.webkitRTCPeerConnection))return[2,-3];r=new n({iceServers:[]}),i.label=1;case 1:return i.trys.push([1,,3,4]),[4,new Promise((function(t,n){var i,o=[],a=setTimeout((function(){return t(-4)}),500),s=function(){return t(e.__spreadArrays(o))};r.onicecandidate=function(e){var t=e.candidate;if(!t)return s();if(t.candidate){if(o.push(t.candidate),o.length>=6)return s();1===o.length&&(clearTimeout(a),setTimeout(s,10))}},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&s()},r.onicecandidateerror=n,null===(i=r.createDataChannel)||void 0===i||i.call(r,"test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(r,{offerToReceiveAudio:!0}).then((function(e){return r.setLocalDescription(e)}),n)}))];case 2:return[2,i.sent()];case 3:return r.close(),[7];case 4:return[2]}}))}))},Ye[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=Qe[n]||Qe[r]||Qe.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]}}))}))},Ye[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(n=Xe())?(r=function(){return n.getVoices()},!n.addEventListener||t.isGecko()&&h(["AnonymousContent"in(i=window),!("AudioBuffer"in i),!("RTCDataChannel"in i),!("PointerEvent"in i),!("WebGLSync"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)}))]):[2,-1];case 1:return[2,e.sent()]}var i}))}))},Ye[3]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:if("function"!=typeof(n=window.ApplePaySession))return[2,{s:-1,v:null}];e.label=1;case 1:return e.trys.push([1,3,,4]),n.canMakePayments()?t.isWebKit()&&!x()?[2,{s:0,v:1}]:[4,Promise.race([n.canMakePaymentsWithActiveCard(""),r(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]}}))}))},Ye[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]}}))}))},Ye[5]=t.getScreenFrame,Ye[8]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,i;return e.__generator(this,(function(o){switch(o.label){case 0:return(null==(t=navigator.mediaDevices)?void 0:t.enumerateDevices)?(n=function(e){return e.slice(0,32).replace(/([,\\])/g,"\\$1")},i=function(e){return[n(e.deviceId),n(e.groupId),{audioinput:"ai",audiooutput:"ao",videoinput:"vi"}[e.kind],n(e.label)].join(",")},[4,a(r(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()]}}))}))},Ye[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]}}))}))},Ye[6]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(n){switch(n.label){case 0:return(t=navigator).requestMediaKeySystemAccess?[4,a(r(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,n.sent()]}}))}))},Ye[9]=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]}}))}))},Ye[10]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},Ye[11]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},Ye[12]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},Ye[13]=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)}},Ye[14]=function(){return void 0!==navigator.plugins},Ye[15]=function(){return navigator.platform},Ye[16]=function(){return void 0!==window.chrome},Ye[17]=function(){return navigator.webdriver},Ye[18]=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")},Ye[19]=function(){return navigator.productSub},Ye[20]=function(){return eval.toString().length},Ye[21]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},Ye[22]=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}},Ye[23]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},Ye[24]=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}},Ye[25]=function(){return!!Ue("dark")||!Ue("light")&&void 0},Ye[26]=function(){var e=Date.now();return[e,e-6e4*(new Date).getTimezoneOffset()]},Ye[27]=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},Ye[28]=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]}},Ye[29]=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},Ye[31]=function(){return{s:t.isWebKit()&&!t.isDesktopSafari()?x()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},Ye[32]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},Ye),it=((Ze={})[30]=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 R=0,E=Ke(y);R<E.length;R++){var T;_=y[T=E[R]],Fe.indexOf(T)>0?f.push(T+"("+_+")="+e.getParameter(_)):f.push(T+"="+_)}}for(var k=0,I=Ge;k<I.length;k++)for(var S=I[k],O=0,C=Ve;O<C.length;O++){var A=C[O],D=We(e,S,A);v.push(S+"."+A+"="+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}},Ze);function ot(e){return t.getComponents(rt,e,[])}function at(e){return t.getComponents(it,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 ut(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 ct(e,t,n){var r=location.hostname;(lt(r,(function(t){!function(e,t){ut(e,"",-1,t)}(e,t)})),n<0)||lt(r,(function(r){return ut(e,t,n,r),st(e)!==t}))&&ut(e,t,n)}function lt(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 dt(e){return[st(e),vt(e)]}function ft(e,t){ct(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 vt(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 gt(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 m=function(t,n,r,o,a,c,v){return e.__awaiter(s,void 0,void 0,(function(){var s,h,m,b,w,y,R,E,T,k,I;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([_(l,f,!!r,i(.4*o),v),p(v)])])];case 1:return h=e.sent(),m=h[0],b=h[1],w=b[0],y=b[1],R=g,E=g+"_t",[4,Oe({token:u,endpoint:Se(l,d),components:w,componentsDuration:y,tag:t,visitorId:dt(R),visitorToken:dt(E),tls:m,linkedId:n,extendedResult:a,ipResolution:c},s,v)];case 2:return T=e.sent(),k=T[0],(I=T[1])?ft(I,E):k.visitorId&&ft(k.visitorId,R),[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,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}))}}(E([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 m(i,o,a,t,s,u,r)}))}}}var ht=function(r){var i=this,o=y(8);return D(r.debug,(function(){return{e:0,agentId:o,version:n,options:r}}),(function(){return{e:1,agentId:o}}),(function(e){return{e:2,agentId:o,error:e}}),(function(){return e.__awaiter(i,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:if(!r.token||"string"!=typeof r.token)throw new Error("Token required");return function(){var e;try{null===(e=Xe())||void 0===e||e.getVoices()}catch(Ze){}}(),[4,t.load({delayFallback:r.delayFallback})];case 1:return n=e.sent(),[2,gt(o,n,ot,at,r)]}}))}))}))},mt={load:ht,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=mt,exports.load=ht,exports.makeConsoleDebugger=I,exports.makeDebugReportBuilder=P,exports.makeMulticastDebugger=E,exports.makeRemoteDebugger=H;
"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)return(new TextDecoder).decode(e);var t=c(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,t)))}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 R(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 E(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(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 k=T;function I(t,n){var r=n.e,i=e.__rest(n,["e"]),o=""+t+(new Date).toISOString()+": "+E(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 S(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 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 A(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=G(),n.network=V()),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:G()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:V()})},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 G(){return!!t.getFullscreenElement()}function V(){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 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:H(e,t,r)}}(t,r,i),[4,Q(a,n)];case 1:return e.sent(),[2]}}))}))})).addEvent};function H(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.0"},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:E(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}})[13]=function(t){return e.__assign(e.__assign({},t),{data:r})},n.math=function(){return r},n.fontPreferences=function(){return r},n[30]=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=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&&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 Y={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,A(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,A(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 S({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[10],void 0,[]),i.k7=le(o.hardwareConcurrency,void 0,1),i.k8=le(o[11]),i.k9=le(o[12]),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[15]),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[13])),i.k18=0,i.k19=le(o.touchSupport),i.k20=le(o.fonts,[]),i.k21=le(o.audio,-4),i.k22=de(le(o[14])),i.k23=le(o[19]),i.k24=le(o[20]),i.k25=de(le(o[21])),i.k26=de(le(o[17])),i.k27=le(o.vendor),i.k28=de(le(o[16])),i.k29=de(le(o[9])),i.k30=de(le(o[18])),i.k31=de(le(o[4],!1)),i.k32=de(le(o.cookiesEnabled,!1)),i.k33=de(le(o[24])),i.k35=function(e){var t=e.value;if(!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[22],-1),i.s26=ce(o[8]),i.s27=ae(o.vendor),i.s28=ae(o.vendorFlavors),i.s30=ue(o[23],-1),i.s31=ae(o[4]),i.s32=ae(o.cookiesEnabled),i.s33=ae(o[24]),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[25],-1),i.s45=ae(o[26]),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[30],(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[27]),i.s49=ue(o[28],-1),i.s50=ue(o[29],-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[31]),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[32],-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?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(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):Re(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 Re(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)}var Ee=[3,7];function Te(e,t){void 0===t&&(t=y);var n=t()%4,r=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)),i=1+Ee.length+1+n+7+r.length,o=new ArrayBuffer(i),a=new Uint8Array(o),s=0,u=t();a[s++]=u;for(var c=0,l=Ee;c<l.length;c++){var d=l[c];a[s++]=u+d}a[s++]=u+n;for(var f=0;f<n;++f)a[s++]=t();var v=new Uint8Array(7);for(f=0;f<7;++f)v[f]=t(),a[s++]=v[f];for(f=0;f<r.length;++f)a[s++]=r[f]^v[f%7];return o}function ke(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,S(e.__assign(e.__assign({},t),{body:Te(t.body),responseFormat:"binary"}))];case 1:n=o.sent();try{r=function(e){var t=function(){throw new Error("Invalid data")},n=c(e);n.length<Ee.length+2&&t();for(var r=0;r<Ee.length;++r)m(n[1+r],n[0])!==Ee[r]&&t();var i=1+Ee.length,o=m(n[i],n[0]);n.length<i+1+o+7&&t();var a=i+1+o,s=a+7,u=new Uint8Array(n.length-s);for(r=0;r<u.length;++r)u[r]=n[s+r]^n[a+r%7];return JSON.parse(v(u))}(n.body),i=!0}catch(Ye){try{r=JSON.parse(v(n.body)),i=!1}catch(a){}}return[2,e.__assign(e.__assign({},n),{bodyData:r,isSecret:i})]}}))}))}function Ie(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function Se(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.0"),s=re(e.__assign({extendedResult:c},l)),d=0,[4,A(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,A(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 ke({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 Oe(e){return e.toDataURL()}function Ce(){var e,t;return(null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit)||1073741824}function Ae(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r;return e.__generator(this,(function(e){switch(e.label){case 0:return t=navigator.storage,(n=navigator.webkitTemporaryStorage)?[4,new Promise((function(e){n.queryUsageAndQuota((function(t,n){return e(n)}))}))]:[3,2];case 1:return r=e.sent(),[3,4];case 2:return(null==t?void 0:t.estimate)?[4,t.estimate().then((function(e){return e.quota}))]:[3,4];case 3:r=e.sent(),e.label=4;case 4:return r?[2,r<Ce()]:[2,!1]}}))}))}function De(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return t.isDesktopSafari()?[2,Ne()]:[2,xe()]}))}))}function Ne(){var e,t=window.safari;if(!t)return!1;try{t.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(n){return e=n,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}throw new Error("Unexpected lack of error")}function xe(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:(t=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(t),[4,Promise.race([n(20,!1),new Promise((function(e){t.contentWindow?t.contentWindow.applicationCache.addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 2:return[2,e.sent()];case 3:return t.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}}var Le=[[function(){return t.isChromium()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,Ae()]:[2,new Promise((function(e){window.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return N()?[2,De()]:[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 qe(){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=Le,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 je(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 Me(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}var Ue=["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"],Fe=[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],Be=["FRAGMENT_SHADER","VERTEX_SHADER"],Ge=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function Ve(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 He(e){return Object.keys(e.__proto__).filter(We)}function Ke(){return window.speechSynthesis}function Xe(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 $e={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},Je={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},ze={"en-us":e.__assign(e.__assign({},$e),{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({},$e),{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({},Je),{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 Qe,Ye,Ze={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function et(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 tt(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 nt=((Qe={})[0]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r;return e.__generator(this,(function(i){switch(i.label){case 0:if(t=window,!(n=t.RTCPeerConnection||t.webkitRTCPeerConnection))return[2,-3];r=new n({iceServers:[]}),i.label=1;case 1:return i.trys.push([1,,3,4]),[4,new Promise((function(t,n){var i,o=[],a=setTimeout((function(){return t(-4)}),500),s=function(){return t(e.__spreadArrays(o))};r.onicecandidate=function(e){var t=e.candidate;if(!t)return s();if(t.candidate){if(o.push(t.candidate),o.length>=6)return s();1===o.length&&(clearTimeout(a),setTimeout(s,10))}},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&s()},r.onicecandidateerror=n,null===(i=r.createDataChannel)||void 0===i||i.call(r,"test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(r,{offerToReceiveAudio:!0}).then((function(e){return r.setLocalDescription(e)}),n)}))];case 2:return[2,i.sent()];case 3:return r.close(),[7];case 4:return[2]}}))}))},Qe[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,et(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?Ze.i.slice():Ze.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,tt(r)]:1===r.length?[2,r[0]]:[2,-1]}}))}))},Qe[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(n=Ke())?(r=function(){return n.getVoices()},!n.addEventListener||t.isGecko()&&g(["AnonymousContent"in(i=window),!("AudioBuffer"in i),!("RTCDataChannel"in i),!("PointerEvent"in i),!("WebGLSync"in i)])>=3?[2,Xe(r())]:[4,new Promise((function(e){var t=-1,i=function(){n.removeEventListener("voiceschanged",o);var t=r();e(t.length?Xe(t):-2)},o=function(){r().length?(clearTimeout(t),t=setTimeout(i,50)):-1===t&&(t=setTimeout(i,600))};o(),n.addEventListener("voiceschanged",o)}))]):[2,-1];case 1:return[2,e.sent()]}var i}))}))},Qe[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,je(e.sent())];case 4:return[2]}}))}))},Qe[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,qe()];case 1:return i=e.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(t,i),[2,i]}}))}))},Qe[5]=t.getScreenFrame,Qe[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()]}}))}))},Qe[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]}}))}))},Qe[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()]}}))}))},Qe[9]=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]}}))}))},Qe[10]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},Qe[11]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},Qe[12]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},Qe[13]=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:Oe(t)}},Qe[14]=function(){return void 0!==navigator.plugins},Qe[15]=function(){return navigator.platform},Qe[16]=function(){return void 0!==window.chrome},Qe[17]=function(){return navigator.webdriver},Qe[18]=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")},Qe[19]=function(){return navigator.productSub},Qe[20]=function(){return eval.toString().length},Qe[21]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},Qe[22]=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}},Qe[23]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},Qe[24]=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}},Qe[25]=function(){return!!Me("dark")||!Me("light")&&void 0},Qe[26]=function(){var e=Date.now();return[e,e-6e4*(new Date).getTimezoneOffset()]},Qe[27]=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},Qe[28]=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]}},Qe[29]=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},Qe[31]=function(){return{s:t.isWebKit()&&!t.isDesktopSafari()?N()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},Qe[32]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},Qe),rt=((Ye={})[30]=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=He(e);h<m.length;h++){var _=e[T=m[h]];Fe.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 R=0,E=He(y);R<E.length;R++){var T;_=y[T=E[R]],Ue.indexOf(T)>0?f.push(T+"("+_+")="+e.getParameter(_)):f.push(T+"="+_)}}for(var k=0,I=Be;k<I.length;k++)for(var S=I[k],O=0,C=Ge;O<C.length;O++){var A=C[O],D=Ve(e,S,A);v.push(S+"."+A+"="+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}},Ye);function it(e){return t.getComponents(nt,e,[])}function ot(e){return t.getComponents(rt,e,[])}function at(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 st(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 ut(e,t,n){var r=location.hostname;(ct(r,(function(t){!function(e,t){st(e,"",-1,t)}(e,t)})),n<0)||ct(r,(function(r){return st(e,t,n,r),at(e)!==t}))&&st(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 lt(e){return[at(e),ft(e)]}function dt(e,t){ut(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 ft(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 vt(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,R,E,T,k,I;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],R=g,E=g+"_t",[4,Se({token:u,endpoint:Ie(l,d),components:w,componentsDuration:y,tag:t,visitorId:lt(R),visitorToken:lt(E),tls:m,linkedId:n,extendedResult:a,ipResolution:c},s,v)];case 2:return T=e.sent(),k=T[0],(I=T[1])?dt(I,E):k.visitorId&&dt(k.visitorId,R),[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||Y[e]}(t,n),i,o).then((function(e){return{value:e}}),(function(e){return{error:e}}))]}))}))},p=function(t){return A(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}))}}(R([h,n.debug&&T()]),t,w(8)):void 0;return A(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 gt=function(n){var r=this,i=w(8);return A(n.debug,(function(){return{e:0,agentId:i,version:"3.3.0",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=Ke())||void 0===e||e.getVoices()}catch(Ye){}}(),[4,t.load({delayFallback:n.delayFallback})];case 1:return r=e.sent(),[2,vt(i,r,it,ot,n)]}}))}))}))},ht={load:gt,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=ht,exports.load=gt,exports.makeConsoleDebugger=k,exports.makeDebugReportBuilder=x,exports.makeMulticastDebugger=R,exports.makeRemoteDebugger=W;
/**
* FingerprintJS Pro v3.3.0-dev.7 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
* FingerprintJS Pro v3.3.0 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
*

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

/**
* FingerprintJS Pro v3.3.0-dev.7 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com)
* FingerprintJS Pro v3.3.0 - 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";var m="3.3.0-dev.7";function p(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}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||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 w(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 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 T(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 k(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)return(new TextDecoder).decode(e);var t=k(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,t)))}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 P(e){for(var t=k(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 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 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&&w((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(B(e,t));break;case 13:var n=B(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(B(e,t))}}}var F=U;function B(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) "+P(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(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&&w((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],w=p[1];if(f[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: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:Z(Y(v,f[6],f[7],f[8]),(function(){var t,n;return Q(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:Z(Y(v,f[15],f[16],f[17]),(function(){var t,n;return Q(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 Q(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 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.0-dev.7"},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?P(new Uint8Array(a,0,1800))+"...":P(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}})[13]=function(e){return n(n({},e),{data:r})},t.math=function(){return r},t.fontPreferences=function(){return r},t[30]=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=T(1e3,1e4),t.label=1;case 1:return navigator.onLine&&W({url:n,body:e})?[3,4]:[4,p(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=T(300,1e4);return y(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,p(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 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 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",we="Network connection error",ye="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[10],void 0,[]),r.k7=Ce(i.hardwareConcurrency,void 0,1),r.k8=Ce(i[11]),r.k9=Ce(i[12]),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[15]),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[13])),r.k18=0,r.k19=Ce(i.touchSupport),r.k20=Ce(i.fonts,[]),r.k21=Ce(i.audio,-4),r.k22=Ae(Ce(i[14])),r.k23=Ce(i[19]),r.k24=Ce(i[20]),r.k25=Ae(Ce(i[21])),r.k26=Ae(Ce(i[17])),r.k27=Ce(i.vendor),r.k28=Ae(Ce(i[16])),r.k29=Ae(Ce(i[9])),r.k30=Ae(Ce(i[18])),r.k31=Ae(Ce(i[4],!1)),r.k32=Ae(Ce(i.cookiesEnabled,!1)),r.k33=Ae(Ce(i[24])),r.k35=function(e){var t=e.value;if(!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=ke(i.languages),r.s3=ke(i.colorDepth),r.s4=_e(i.deviceMemory,-1),r.s5=ke(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=ke(i.timezone),r.s10=ke(i.sessionStorage),r.s11=ke(i.localStorage),r.s12=_e(i.indexedDB,-1),r.s13=ke(i.openDatabase),r.s14=_e(i.cpuClass,-1),r.s15=ke(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=ke(i.touchSupport),r.s20=ke(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[22],-1),r.s26=Ie(i[8]),r.s27=ke(i.vendor),r.s28=ke(i.vendorFlavors),r.s30=_e(i[23],-1),r.s31=ke(i[4]),r.s32=ke(i.cookiesEnabled),r.s33=ke(i[24]),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[25],-1),r.s45=ke(i[26]),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[30],(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=ke(i[27]),r.s49=_e(i[28],-1),r.s50=_e(i[29],-1),r.s51=ke(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[31]),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[32],-1),r))}function Re(e,t){return e.error?{e:Te(e.error)}:t(e.value)}function Te(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 ke(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=N("WrongRegion"),Pe=N("SubscriptionNotActive");function Ne(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 N(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) "+P(e.body):e.statusText)}var Be=[3,7];function Ve(e,t){void 0===t&&(t=q);var n=t()%4,r=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)),i=1+Be.length+1+n+7+r.length,o=new ArrayBuffer(i),a=new Uint8Array(o),u=0,s=t();a[u++]=s;for(var c=0,l=Be;c<l.length;c++){var d=l[c];a[u++]=s+d}a[u++]=s+n;for(var f=0;f<n;++f)a[u++]=t();var v=new Uint8Array(7);for(f=0;f<7;++f)v[f]=t(),a[u++]=v[f];for(f=0;f<r.length;++f)a[u++]=r[f]^v[f%7];return o}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:Ve(r.body),responseFormat:"binary"}))];case 1:e=t.sent();try{i=function(e){var t=function(){throw new Error("Invalid data")},n=k(e);n.length<Be.length+2&&t();for(var r=0;r<Be.length;++r)O(n[1+r],n[0])!==Be[r]&&t();var i=1+Be.length,o=O(n[i],n[0]);n.length<i+1+o+7&&t();var a=i+1+o,u=a+7,s=new Uint8Array(n.length-u);for(r=0;r<s.length;++r)s[r]=n[u+r]^n[a+r%7];return JSON.parse(C(s))}(e.body),o=!0}catch(mt){try{i=JSON.parse(C(e.body)),o=!1}catch(a){}}return[2,n(n({},e),{bodyData:i,isSecret:o})]}}))}))}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(m),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=T(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,p(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 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;return(null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit)||1073741824}function Xe(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:return e=navigator.storage,(n=navigator.webkitTemporaryStorage)?[4,new Promise((function(e){n.queryUsageAndQuota((function(t,n){return e(n)}))}))]:[3,2];case 1:return r=t.sent(),[3,4];case 2:return(null==e?void 0:e.estimate)?[4,e.estimate().then((function(e){return e.quota}))]:[3,4];case 3:r=t.sent(),t.label=4;case 4:return r?[2,r<Ke()]:[2,!1]}}))}))}function Je(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return d()?[2,ze()]:[2,Ye()]}))}))}function ze(){var e,t=window.safari;if(!t)return!1;try{t.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(n){return e=n,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}throw new Error("Unexpected lack of error")}function Ye(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([p(20,!1),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function Qe(){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}}var Ze=[[function(){return c()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,Xe()]:[2,new Promise((function(e){window.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return l()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return K()?[2,Je()]:[2,Qe()]}))}))}],[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=Ze,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,mt,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){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 wt(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 yt=((gt={})[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];r=new n({iceServers:[]}),t.label=1;case 1:return t.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n,o=[],a=setTimeout((function(){return e(-4)}),500),u=function(){return e(i(o))};r.onicecandidate=function(e){var t=e.candidate;if(!t)return u();if(t.candidate){if(o.push(t.candidate),o.length>=6)return u();1===o.length&&(clearTimeout(a),setTimeout(u,10))}},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&u()},r.onicecandidateerror=t,null===(n=r.createDataChannel)||void 0===n||n.call(r,"test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(r,{offerToReceiveAudio:!0}).then((function(e){return r.setLocalDescription(e)}),t)}))];case 2:return[2,t.sent()];case 3:return r.close(),[7];case 4:return[2]}}))}))},gt[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=ht[t]||ht[n]||ht.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,wt(n)]:1===n.length?[2,n[0]]:[2,-1]}}))}))},gt[2]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return(e=lt())?(n=function(){return e.getVoices()},!e.addEventListener||s()&&A(["AnonymousContent"in(r=window),!("AudioBuffer"in r),!("RTCDataChannel"in r),!("PointerEvent"in r),!("WebGLSync"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)}))]):[2,-1];case 1:return[2,t.sent()]}var r}))}))},gt[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(""),p(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]}}))}))},gt[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]}}))}))},gt[5]=v,gt[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(p(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()]}}))}))},gt[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,P(a)];case 3:if("NotSupportedError"===(s=l.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},gt[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(p(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()]}}))}))},gt[9]=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]}}))}))},gt[10]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},gt[11]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},gt[12]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},gt[13]=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)}},gt[14]=function(){return void 0!==navigator.plugins},gt[15]=function(){return navigator.platform},gt[16]=function(){return void 0!==window.chrome},gt[17]=function(){return navigator.webdriver},gt[18]=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")},gt[19]=function(){return navigator.productSub},gt[20]=function(){return eval.toString().length},gt[21]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},gt[22]=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}},gt[23]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},gt[24]=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}},gt[25]=function(){return!!nt("dark")||!nt("light")&&void 0},gt[26]=function(){var e=Date.now();return[e,e-6e4*(new Date).getTimezoneOffset()]},gt[27]=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},gt[28]=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]}},gt[29]=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},gt[31]=function(){return{s:l()&&!d()?K()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},gt[32]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},gt),Et=((mt={})[30]=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,w=u;b<w.length;b++){var y=w[b],E=e.getExtension(y);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}},mt);function Rt(e){return h(yt,e,[])}function Tt(e){return h(Et,e,[])}function kt(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 St(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 _t(e,t,n){var r=location.hostname;(It(r,(function(t){!function(e,t){St(e,"",-1,t)}(e,t)})),n<0)||It(r,(function(r){return St(e,t,n,r),kt(e)!==t}))&&St(e,t,n)}function It(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 Ct(e){return[kt(e),Dt(e)]}function At(e,t){_t(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 Dt(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 Ot(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,T,k,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([w(d,v,!!i,b(.4*o),l),y(l)])])];case 1:return s=t.sent(),h=s[0],m=s[1],p=m[0],E=m[1],R=g,T=g+"_t",[4,$e({token:c,endpoint:We(d,f),components:p,componentsDuration:E,tag:n,visitorId:Ct(R),visitorToken:Ct(T),tls:h,linkedId:r,extendedResult:a,ipResolution:u},e,l)];case 2:return k=t.sent(),S=k[0],(_=k[1])?At(_,T):S.visitorId&&At(S.visitorId,R),[2,S]}}))}))},w=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}}))]}))}))},y=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 Pt=function(n){var r=this,i=L(8);return $(n.debug,(function(){return{e:0,agentId:i,version:m,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(mt){}}(),[4,g({delayFallback:n.delayFallback})];case 1:return e=t.sent(),[2,Ot(i,e,Rt,Tt,n)]}}))}))}))},Nt="Token required",xt="Token not found",Lt="Token expired",qt="Request cannot be parsed",jt="Request failed",Mt="Request failed to process",Ut="Too many requests, rate limit exceeded",Ft="Not available for this origin",Bt="Not available with restricted header",Vt={load:Pt,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:Pe,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 Vt;export{qt as ERROR_BAD_REQUEST_FORMAT,be as ERROR_CLIENT_TIMEOUT,Bt as ERROR_FORBIDDEN_HEADER,Ft as ERROR_FORBIDDEN_ORIGIN,jt as ERROR_GENERAL_SERVER_FAILURE,ye as ERROR_NETWORK_ABORT,we as ERROR_NETWORK_CONNECTION,Ut as ERROR_RATE_LIMIT,Mt as ERROR_SERVER_TIMEOUT,Pe as ERROR_SUBSCRIPTION_NOT_ACTIVE,Lt as ERROR_TOKEN_EXPIRED,xt as ERROR_TOKEN_INVALID,Nt as ERROR_TOKEN_MISSING,Oe as ERROR_WRONG_REGION,Pt as load,F as makeConsoleDebugger,X as makeDebugReportBuilder,j as makeMulticastDebugger,oe 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(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 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 y(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)return(new TextDecoder).decode(e);var t=T(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,t)))}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 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 N(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function x(e){return N(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?y(t,!0):t instanceof ArrayBuffer?"(base64) "+O(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(V("TimeoutError","The request timed out"))},a.onabort=function(){return n(V("AbortError","The request is aborted"))},a.onerror=function(){return n(V("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 V(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],w=p[1];if(f[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: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:Q(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:Z(t.result),componentDurations:ee(t.result)}})),visitorIdRequest:Q(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 Q(e,t){return e?n(n({},e),t()):void 0}function Z(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 N(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.0"},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}})[13]=function(e){return n(n({},e),{data:r})},t.math=function(){return r},t.fontPreferences=function(){return r},t[30]=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=y(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 w(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 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 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",we="Network request aborted";function ye(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[10],void 0,[]),r.k7=Ie(i.hardwareConcurrency,void 0,1),r.k8=Ie(i[11]),r.k9=Ie(i[12]),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[15]),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[13])),r.k18=0,r.k19=Ie(i.touchSupport),r.k20=Ie(i.fonts,[]),r.k21=Ie(i.audio,-4),r.k22=Ce(Ie(i[14])),r.k23=Ie(i[19]),r.k24=Ie(i[20]),r.k25=Ce(Ie(i[21])),r.k26=Ce(Ie(i[17])),r.k27=Ie(i.vendor),r.k28=Ce(Ie(i[16])),r.k29=Ce(Ie(i[9])),r.k30=Ce(Ie(i[18])),r.k31=Ce(Ie(i[4],!1)),r.k32=Ce(Ie(i.cookiesEnabled,!1)),r.k33=Ce(Ie(i[24])),r.k35=function(e){var t=e.value;if(!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[22],-1),r.s26=_e(i[8]),r.s27=Te(i.vendor),r.s28=Te(i.vendorFlavors),r.s30=Se(i[23],-1),r.s31=Te(i[4]),r.s32=Te(i.cookiesEnabled),r.s33=Te(i[24]),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[25],-1),r.s45=Te(i[26]),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[30],(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[27]),r.s49=Se(i[28],-1),r.s50=Se(i[29],-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[31]),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[32],-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=P("WrongRegion"),Oe=P("SubscriptionNotActive");function Pe(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 Ne(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 Ne(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 Ne(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 P(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)}var Fe=[3,7];function Be(e,t){void 0===t&&(t=L);var n=t()%4,r=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)),i=1+Fe.length+1+n+7+r.length,o=new ArrayBuffer(i),a=new Uint8Array(o),u=0,s=t();a[u++]=s;for(var c=0,l=Fe;c<l.length;c++){var d=l[c];a[u++]=s+d}a[u++]=s+n;for(var f=0;f<n;++f)a[u++]=t();var v=new Uint8Array(7);for(f=0;f<7;++f)v[f]=t(),a[u++]=v[f];for(f=0;f<r.length;++f)a[u++]=r[f]^v[f%7];return o}function Ve(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:Be(r.body),responseFormat:"binary"}))];case 1:e=t.sent();try{i=function(e){var t=function(){throw new Error("Invalid data")},n=T(e);n.length<Fe.length+2&&t();for(var r=0;r<Fe.length;++r)D(n[1+r],n[0])!==Fe[r]&&t();var i=1+Fe.length,o=D(n[i],n[0]);n.length<i+1+o+7&&t();var a=i+1+o,u=a+7,s=new Uint8Array(n.length-u);for(r=0;r<s.length;++r)s[r]=n[u+r]^n[a+r%7];return JSON.parse(I(s))}(e.body),o=!0}catch(gt){try{i=JSON.parse(I(e.body)),o=!1}catch(a){}}return[2,n(n({},e),{bodyData:i,isSecret:o})]}}))}))}function Ge(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function We(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.0"),i=ye(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 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,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 Ve({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 $e(e){return e.toDataURL()}function He(){var e,t;return(null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit)||1073741824}function Ke(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:return e=navigator.storage,(n=navigator.webkitTemporaryStorage)?[4,new Promise((function(e){n.queryUsageAndQuota((function(t,n){return e(n)}))}))]:[3,2];case 1:return r=t.sent(),[3,4];case 2:return(null==e?void 0:e.estimate)?[4,e.estimate().then((function(e){return e.quota}))]:[3,4];case 3:r=t.sent(),t.label=4;case 4:return r?[2,r<He()]:[2,!1]}}))}))}function Xe(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return d()?[2,Je()]:[2,ze()]}))}))}function Je(){var e,t=window.safari;if(!t)return!1;try{t.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(n){return e=n,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}throw new Error("Unexpected lack of error")}function ze(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([m(20,!1),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.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}}var Qe=[[function(){return c()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,Ke()]:[2,new Promise((function(e){window.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return l()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return H()?[2,Xe()]:[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 Ze(){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 et(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 tt(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}var nt=["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"],rt=[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],it=["FRAGMENT_SHADER","VERTEX_SHADER"],ot=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function at(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function ut(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function st(e){return Object.keys(e.__proto__).filter(ut)}function ct(){return window.speechSynthesis}function lt(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 dt={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},ft={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},vt={"en-us":n(n({},dt),{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({},dt),{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({},ft),{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"]})};vt.default=vt["en-us"],vt.en=vt["en-us"],vt.ru=vt["ru-ru"];var ht,gt,mt={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function pt(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 bt(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 wt=((ht={})[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];r=new n({iceServers:[]}),t.label=1;case 1:return t.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n,o=[],a=setTimeout((function(){return e(-4)}),500),u=function(){return e(i(o))};r.onicecandidate=function(e){var t=e.candidate;if(!t)return u();if(t.candidate){if(o.push(t.candidate),o.length>=6)return u();1===o.length&&(clearTimeout(a),setTimeout(u,10))}},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&u()},r.onicecandidateerror=t,null===(n=r.createDataChannel)||void 0===n||n.call(r,"test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(r,{offerToReceiveAudio:!0}).then((function(e){return r.setLocalDescription(e)}),t)}))];case 2:return[2,t.sent()];case 3:return r.close(),[7];case 4:return[2]}}))}))},ht[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,pt(e=function(){for(var e=l()&&!d(),t=navigator.language.toLowerCase(),n=t.slice(0,2),r=vt[t]||vt[n]||vt.default,i=e?r.i.slice():r.m.slice(),o=e?mt.i.slice():mt.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,bt(n)]:1===n.length?[2,n[0]]:[2,-1]}}))}))},ht[2]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return(e=ct())?(n=function(){return e.getVoices()},!e.addEventListener||s()&&C(["AnonymousContent"in(r=window),!("AudioBuffer"in r),!("RTCDataChannel"in r),!("PointerEvent"in r),!("WebGLSync"in r)])>=3?[2,lt(n())]:[4,new Promise((function(t){var r=-1,i=function(){e.removeEventListener("voiceschanged",o);var r=n();t(r.length?lt(r):-2)},o=function(){n().length?(clearTimeout(r),r=setTimeout(i,50)):-1===r&&(r=setTimeout(i,600))};o(),e.addEventListener("voiceschanged",o)}))]):[2,-1];case 1:return[2,t.sent()]}var r}))}))},ht[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,et(t.sent())];case 4:return[2]}}))}))},ht[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,Ze()];case 1:return i=t.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(e,i),[2,i]}}))}))},ht[5]=v,ht[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()]}}))}))},ht[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]}}))}))},ht[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()]}}))}))},ht[9]=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]}}))}))},ht[10]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},ht[11]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},ht[12]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},ht[13]=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:$e(t)}},ht[14]=function(){return void 0!==navigator.plugins},ht[15]=function(){return navigator.platform},ht[16]=function(){return void 0!==window.chrome},ht[17]=function(){return navigator.webdriver},ht[18]=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")},ht[19]=function(){return navigator.productSub},ht[20]=function(){return eval.toString().length},ht[21]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},ht[22]=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}},ht[23]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},ht[24]=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}},ht[25]=function(){return!!tt("dark")||!tt("light")&&void 0},ht[26]=function(){var e=Date.now();return[e,e-6e4*(new Date).getTimezoneOffset()]},ht[27]=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},ht[28]=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]}},ht[29]=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},ht[31]=function(){return{s:l()&&!d()?H()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},ht[32]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},ht),yt=((gt={})[30]=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=st(e);g<m.length;g++){var p=e[k=m[g]];rt.indexOf(p)>-1?d.push(k+"("+p+")="+e.getParameter(p)):d.push(k+"="+p)}if(u)for(var b=0,w=u;b<w.length;b++){var y=w[b],E=e.getExtension(y);if(E)for(var R=0,T=st(E);R<T.length;R++){var k;p=E[k=T[R]],nt.indexOf(k)>0?f.push(k+"("+p+")="+e.getParameter(p)):f.push(k+"="+p)}}for(var S=0,_=it;S<_.length;S++)for(var I=_[S],C=0,A=ot;C<A.length;C++){var D=A[C],O=at(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}},gt);function Et(e){return h(wt,e,[])}function Rt(e){return h(yt,e,[])}function Tt(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 kt(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 St(e,t,n){var r=location.hostname;(_t(r,(function(t){!function(e,t){kt(e,"",-1,t)}(e,t)})),n<0)||_t(r,(function(r){return kt(e,t,n,r),Tt(e)!==t}))&&kt(e,t,n)}function _t(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 It(e){return[Tt(e),At(e)]}function Ct(e,t){St(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 At(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 Dt(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([w(d,v,!!i,p(.4*o),l),y(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,We({token:c,endpoint:Ge(d,f),components:b,componentsDuration:E,tag:n,visitorId:It(R),visitorToken:It(T),tls:h,linkedId:r,extendedResult:a,ipResolution:u},e,l)];case 2:return k=t.sent(),S=k[0],(_=k[1])?Ct(_,T):S.visitorId&&Ct(S.visitorId,R),[2,S]}}))}))},w=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}}))]}))}))},y=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 Ot=function(n){var r=this,i=x(8);return W(n.debug,(function(){return{e:0,agentId:i,version:"3.3.0",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=ct())||void 0===e||e.getVoices()}catch(gt){}}(),[4,g({delayFallback:n.delayFallback})];case 1:return e=t.sent(),[2,Dt(i,e,Et,Rt,n)]}}))}))}))},Pt="Token required",Nt="Token not found",xt="Token expired",Lt="Request cannot be parsed",qt="Request failed",jt="Request failed to process",Mt="Too many requests, rate limit exceeded",Ut="Not available for this origin",Ft="Not available with restricted header",Bt={load:Ot,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 Bt;export{Lt as ERROR_BAD_REQUEST_FORMAT,pe as ERROR_CLIENT_TIMEOUT,Ft as ERROR_FORBIDDEN_HEADER,Ut as ERROR_FORBIDDEN_ORIGIN,qt as ERROR_GENERAL_SERVER_FAILURE,we as ERROR_NETWORK_ABORT,be as ERROR_NETWORK_CONNECTION,Mt as ERROR_RATE_LIMIT,jt as ERROR_SERVER_TIMEOUT,Oe as ERROR_SUBSCRIPTION_NOT_ACTIVE,xt as ERROR_TOKEN_EXPIRED,Nt as ERROR_TOKEN_INVALID,Pt as ERROR_TOKEN_MISSING,De as ERROR_WRONG_REGION,Ot as load,U as makeConsoleDebugger,K as makeDebugReportBuilder,q as makeMulticastDebugger,ie as makeRemoteDebugger};
{
"name": "@fingerprintjs/fingerprintjs-pro",
"description": "FingerprintJS Pro client agent",
"version": "3.3.0-dev.7",
"version": "3.3.0",
"keywords": [

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

"dependencies": {
"@fingerprintjs/fingerprintjs": "3.1.0-dev.5",
"@fingerprintjs/fingerprintjs": "3.1.0",
"tslib": "^2.0.1"

@@ -43,0 +43,0 @@ },

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