@fingerprintjs/fingerprintjs-pro
Advanced tools
Comparing version 3.4.0-dev.1 to 3.4.0
/** | ||
* FingerprintJS Pro v3.4.0-dev.1 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* FingerprintJS Pro v3.4.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.4.0-dev.1";function r(e,t){return new Promise((function(n){return i(n,e,t)}))}function i(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Date.now()+t,o=0,a=function(){o=setTimeout((function(){Date.now()<i?a():e.apply(void 0,n)}),i-Date.now())};return a(),function(){return clearTimeout(o)}}function o(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var a,s=!1,u=e,c=0,l=function(){s||a||(c=Date.now(),a=i((function(){s=!0,n.apply(void 0,r)}),u))},f=function(){!s&&a&&(a(),a=void 0,u-=Date.now()-c)};return t&&l(),{start:l,stop:f}}function a(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=document,a="visibilitychange",s=function(){return i.hidden?l():c()},u=o(t,!i.hidden,(function(){i.removeEventListener(a,s),e.apply(void 0,n)})),c=u.start,l=u.stop;return i.addEventListener(a,s),function(){i.removeEventListener(a,s),l()}}function s(e,t){return new Promise((function(n){return a(n,e,t)}))}function u(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 c(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 l(t,n){return e.__awaiter(this,void 0,void 0,(function(){var r,i,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:try{r=n().then((function(e){return i=[!0,e]}),(function(e){return i=[!1,e]}))}catch(s){i=[!1,s]}return a=t.then((function(e){return o=[!0,e]}),(function(e){return o=[!1,e]})),[4,Promise.race([r,a])];case 1:return e.sent(),[2,function(){if(i){if(i[0])return i[1];throw i[1]}if(o){if(o[0])return o[1];throw o[1]}throw new Error("96375")}]}}))}))}function f(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 d(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function v(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 g(e){return e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=h.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 p(e){if("function"==typeof TextDecoder){var t=(new TextDecoder).decode(e);if(t)return t}var n=g(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,n)))}function b(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function w(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function y(e,t){return(e-t+256)%256}function R(e){for(var t=g(e),n=t.length,r="",i=0;i<n;i+=3)r+=h[t[i]>>2]+h[(3&t[i])<<4|t[i+1]>>4]+h[(15&t[i+1])<<2|t[i+2]>>6]+h[63&t[i+2]];return n%3==2?r.slice(0,-1)+"=":n%3==1?r.slice(0,-2)+"==":r}function E(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 T(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function k(e){return T(e,m)}function S(){return 256*Math.random()|0}function I(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"}}var O=function(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(A(e,t));break;case 13:var n=A(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(A(e,t))}}};function A(t,n){var r=n.e,i=e.__rest(n,["e"]),o=""+t+(new Date).toISOString()+": "+I(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?f(t,!0):t instanceof ArrayBuffer?"(base64) "+R(t):t}),2)}(i)+"\n```"),o}function D(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 f 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(f,o[f]);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 N(e){var t,n=e.url,r=e.body;try{if(null===(t=navigator.sendBeacon)||void 0===t?void 0:t.call(navigator,n,r))return!0}catch(o){if("Illegal invocation"!==o.message)throw o}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(a){return!1}return!0}function x(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e&&u((function(){var r=t.apply(void 0,n);void 0!==r&&e(r)}))}function P(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:x(t,n),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,o()];case 2:return a=e.sent(),[3,4];case 3:throw s=e.sent(),x(t,i,s),s;case 4:return x(t,r,a),[2,a]}}))}))}function L(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:k(10)}function j(){var e=window,t=navigator;return b(["maxTouchPoints"in t,"mediaCapabilities"in t,"PointerEvent"in e,"visualViewport"in e,"onafterprint"in e])>=4}var M=function(e){return new q(e).addEvent},q=function(){function t(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&&(n.documentReadyState=document.readyState,n.isPageVisible=K(),n.isFullscreen=X(),n.network=$()),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 f=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()})),d=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)}f(),d()}}return t.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},t.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:K()})},t.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},t.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:X()})},t.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:$()})},t.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];F(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},t.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;if(this.events[n]||(this.events[n]={commonEvents:[],getCalls:{}}),function(e){return"string"==typeof e.getCallId}(t)){var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}else this.events[n].commonEvents.push(e)},t.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t];this.events[r].commonEvents.push(e)}},t.prototype.submitReport=function(t,n){var r=function(t,n){for(var r,i,o,a,s,u,c,l,f,v,g=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}(t),h=(null===(r=t[t.length-1])||void 0===r?void 0:r.time)||new Date,m="null",_=0,p=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];_<p.length;_++){var b=p[_],w=b[0],y=b[1];if(g[w]){m=y;break}}return{time:(null===(i=t[t.length-1])||void 0===i?void 0:i.time)||new Date,pageUrl:location.href,pageStartTime:new Date(n),isInIframe:d(),agentVersion:null===(o=g[0])||void 0===o?void 0:o.event.version,userAgent:navigator.userAgent,pageViewId:L(),agentId:null===(a=g[0])||void 0===a?void 0:a.event.agentId,getCallId:null===(s=g[3])||void 0===s?void 0:s.event.getCallId,requestId:null!==(c=null===(u=g[4])||void 0===u?void 0:u.event.result.requestId)&&void 0!==c?c:null===(l=g[5])||void 0===l?void 0:l.event.error.requestId,visitorId:null===(f=g[4])||void 0===f?void 0:f.event.result.visitorId,visitorToken:null===(v=g[16])||void 0===v?void 0:v.event.result[1],identificationState:m,timeBetweenLoadAndGet:U(g[1],g[3]),load:B(h,g[0],g[1],g[2]),get:B(h,g[3],g[4],g[5]),tls:G(B(h,g[6],g[7],g[8]),(function(){var n,r;return e.__assign(e.__assign({},V(t,9,10,11,(null===(n=g[7])||void 0===n?void 0:n.time)||(null===(r=g[8])||void 0===r?void 0:r.time)||h)),{getPhaseDuration:U(g[3],g[7]||g[8],h)})})),fingerprint:G(B(h,g[12],g[13],g[14],(function(e){var t=e.event;return{failedComponents:H(t.result),componentDurations:W(t.result)}})),(function(){return{getPhaseDuration:U(g[3],g[13]||g[14],h)}})),visitorIdRequest:G(B(h,g[15],g[16],g[17]),(function(){var e,n;return V(t,18,19,20,(null===(e=g[16])||void 0===e?void 0:e.time)||(null===(n=g[17])||void 0===n?void 0:n.time)||h)})),events:t}}(function(e,t,n){var r=[];e[t]&&(r.push.apply(r,e[t].commonEvents),void 0!==n&&r.push.apply(r,e[t].getCalls[n]||[]));return r.sort((function(e,t){return e.time.getTime()-t.time.getTime()})),r}(this.events,t,n),this.pageStartTimestamp);try{this.onReportReady(r)}catch(i){console.error(i)}},t}();function U(e,t,n){var r=null==e?void 0:e.time,i=(null==t?void 0:t.time)||n;return r&&i&&i.getTime()-r.getTime()}function F(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function B(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 V(e,t,n,r,i){for(var o=i.getTime(),a=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]),s={triesCount:0,triesTotalDuration:0,completeTriesCount:0,completeTriesTotalDuration:0},u=0,c=a;u<c.length;u++){var l=c[u],f=l[t],d=l[n]||l[r];if(f){if(f.time.getTime()>=o)break;var v=d&&d.time.getTime()<=o,g=((null==d?void 0:d.time)||i).getTime()-f.time.getTime();s.triesCount++,s.triesTotalDuration+=g,v&&(s.completeTriesCount++,s.completeTriesTotalDuration+=g)}}return s}function G(t,n){return t?e.__assign(e.__assign({},t),n()):void 0}function H(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i].error;o&&(t[i]=o)}return t}function W(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 K(){return!document.hidden}function X(){return!!t.getFullscreenElement()}function $(){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 J=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 q((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:z(e,t,r)}}(t,r,i),[4,ne(a,n)];case 1:return e.sent(),[2]}}))}))})).addEvent};function z(t,n,r){var i,o;void 0===r&&(r=[8,4,4,4,12].map((function(e){return T(e,"0123456789abcdef")})).join("-"));var a=Y[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.4.0-dev.1"},request:{url:t.pageUrl,query_string:(null!==(i=/\?.*$/.exec(t.pageUrl))&&void 0!==i?i:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:t.userAgent,code_version:t.agentVersion}},person:void 0===t.visitorId?void 0:{id:"visitorId:"+t.visitorId},body:{telemetry:e.__spreadArrays([{level:"debug",source:"client",timestamp_ms:t.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(o=t.fingerprint)||void 0===o?void 0:o.state)?ee(t.fingerprint.componentDurations):void 0}}],t.events.map(Q)),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,timeBetweenLoadAndGet:t.timeBetweenLoadAndGet,load:t.load,get:t.get,tls:t.tls,fingerprint:Z(t.fingerprint),visitorIdRequest:t.visitorIdRequest}}}var Y={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 Q(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:I(r.e)},s)}),c=0,l=["documentReadyState","isPageVisible","isFullscreen","network"];c<l.length;c++){var f=l[c];void 0!==t[f]&&(u.body[f]=t[f])}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:w(r.result,1e3)}));case 10:return i(e.__assign(e.__assign({},r),{body:w(r.body,1e3)}));case 13:return i(e.__assign(e.__assign({},r),{result:te(r.result)}));case 19:var o=r.body;if(o instanceof ArrayBuffer){o="(base64) "+(o.byteLength>1800?R(new Uint8Array(o,0,1800))+"...":R(o))}return i(e.__assign(e.__assign({},r),{body:o}))}}function Z(t){if(!t||"incomplete"===t.state||"fail"===t.state)return t;t.componentDurations;var n=e.__rest(t,["componentDurations"]),r=Object.keys(t.failedComponents),i=r.length?","+r.join(",")+",":void 0;return e.__assign(e.__assign({},n),{failedComponents:i})}function ee(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 te(t){var n,r="(removed to fit into beacon)";return function(t,n){for(var r={},i=0,o=Object.keys(t);i<o.length;i++){var a=o[i];!t[a].error&&n[a]?r[a]=e.__assign(e.__assign({},t[a]),{value:n[a](t[a].value)}):r[a]=t[a]}return r}(t,((n={plugins:function(e){return e&&r}})[14]=function(t){return e.__assign(e.__assign({},t),{data:r})},n.math=function(){return r},n.fontPreferences=function(){return r},n.j=function(e){return e&&r},n[9]=function(e){return e&&r},n))}function ne(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=f(t);return"string"==typeof n.stack&&(n.stack=w(n.stack,1e3)),n}return t}))}(n),o=v(1e3,1e4),e.label=1;case 1:return navigator.onLine&&N({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 re={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function ie(t,n,i){var o,a=function(t,n,i,o){void 0===i&&(i=1/0);var a=v(300,1e4);return c(null==o?void 0:o.then((function(){}),(function(){})),(function(){var s,u,c;return e.__generator(this,(function(e){switch(e.label){case 0:s=0,e.label=1;case 1:if(!(s<i))return[3,8];u=Date.now(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t(s,o)];case 3:return[2,e.sent()];case 4:return c=e.sent(),n(c),[3,5];case 5:return[4,r(u+a.next().value-Date.now())];case 6:e.sent(),e.label=7;case 7:return++s,[3,1];case 8:return[2,void 0]}}))}))}((function(n,r){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,P(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 D({url:t,timeout:n,abort:i})}))];case 1:return a=e.sent(),[3,3];case 2:switch((s=e.sent()).name){case"AbortError":throw oe(s.message,-2);case"TimeoutError":throw oe(s.message,-3);case"TypeError":throw oe(s.message,-4)}throw s;case 3:if(200===a.status)return[2,a.body];throw oe(w(a.status+": "+a.body,255),-5)}}))}))}(t,5e3,n,r,i)}),(function(e){return o=e}),10,n);return a.catch((function(){})),function(e){return void 0===e&&(e=new Promise((function(){}))),Promise.race([e.then((function(){}),(function(){})),a]).then((function(e){if(void 0!==e)return e;throw o||oe("Timeout",-3)}))}}function oe(e,t){var n=new Error(e);return n.__="slt",n.s=t,n}function ae(e){return"slt"===e.__}var se;function ue(n){var r,i,o=n.components,a=n.componentsDuration,s=n.token,u=n.visitorId,c=n.visitorToken,l=n.tls,f=n.tag,d=n.ipResolution,v=n.extendedResult,g=n.linkedId,h="full"===d?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}}(f),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(ae(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=he(o.osCpu),i.k2=he(o.languages),i.k3=he(o.colorDepth),i.k4=he(o.deviceMemory),i.k5=function(e){if(e.error)return;return e.value.map((function(e){return null===e?-1:e}))}(o.screenResolution),i.k6=he(o[11],void 0,[]),i.k7=he(o.hardwareConcurrency,void 0,1),i.k8=he(o[12]),i.k9=he(o[13]),i.k10=me(he(o.sessionStorage)),i.k11=me(he(o.localStorage)),i.k12=me(he(o.indexedDB)),i.k13=me(he(o.openDatabase)),i.k14=he(o.cpuClass),i.k15=he(o[16]),i.k16=function(e){if(e.error||t.isTrident())return[];return e.value}(o.plugins),i.k17=function(n){if(!n)return;return e.__assign(e.__assign({},n),{data:t.murmurX64Hash128(n.data)})}(he(o[14])),i.k18=0,i.k19=he(o.touchSupport),i.k20=he(o.fonts,[]),i.k21=he(o.audio,-4),i.k22=me(he(o[15])),i.k23=he(o[20]),i.k24=he(o[21]),i.k25=me(he(o[22])),i.k26=me(he(o[18])),i.k27=he(o.vendor),i.k28=me(he(o[17])),i.k29=me(he(o[10])),i.k30=me(he(o[19])),i.k31=me(he(o[4],!1)),i.k32=me(he(o.cookiesEnabled,!1)),i.k33=me(he(o[25])),i.k35=function(e){var t=e.value;if(!t||-6===t||-7===t||-8===t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return w(e,255)}))}}(o[0]),i.s1=ve(o.osCpu,-1),i.s2=fe(o.languages),i.s3=fe(o.colorDepth),i.s4=ve(o.deviceMemory,-1),i.s5=ce(o.screenResolution,(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),i.s6=ce(o[5],(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),i.s7=ve(o.hardwareConcurrency,-1),i.s8=ge(o[6]),i.s9=fe(o.timezone),i.s10=fe(o.sessionStorage),i.s11=fe(o.localStorage),i.s12=ve(o.indexedDB,-1),i.s13=fe(o.openDatabase),i.s14=ve(o.cpuClass,-1),i.s15=fe(o.platform),i.s16=ve(o.plugins,-1),i.s17=ce(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=ge(o[7]),i.s19=fe(o.touchSupport),i.s20=fe(o.fonts),i.s21=ce(o.audio,(function(e){return-1===e||-2===e||-3===e?{s:e,v:null}:{s:0,v:e}})),i.s22=ve(o[23],-1),i.s26=ge(o[8]),i.s27=fe(o.vendor),i.s28=fe(o.vendorFlavors),i.s30=ve(o[24],-1),i.s31=fe(o[4]),i.s32=fe(o.cookiesEnabled),i.s33=fe(o[25]),i.s34=ge(o[0],(function(e){return e.map((function(e){return w(e,255)}))})),i.s35=de(o[3]),i.s36=ve(o.domBlockers,-1),i.s37=ve(o.colorGamut,-1),i.s38=ve(o.contrast,-1),i.s39=ve(o.forcedColors,-1),i.s40=ve(o.hdr,-1),i.s41=ve(o.invertedColors,-1),i.s42=ve(o.monochrome,-1),i.s43=ve(o.reducedMotion,-1),i.s44=ve(o[26],-1),i.s45=fe(o[27]),i.s46=ce(o.math,(function(e){return{s:0,v:t.murmurX64Hash128(Object.keys(e).map((function(t){return t+"="+e[t]})).join(","))}})),i.s47=ce(o.j,(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=fe(o[28]),i.s49=ve(o[29],-1),i.s50=ve(o[30],-1),i.s51=fe(o.fontPreferences),i.s52=ce(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=de(o[31]),i.s54=ge(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 ae(t)?{s:t.s,v:null}:{e:t.message}}return{s:0,v:e.value}}(l),i.s57=ve(o[32],-1),i.s58=ve(o[9],-1),i.s59=fe(o[33]),i.s60=fe(o[34]),i.s61=fe(o[35]),i.s62=fe(o[36]),i.s63=fe(o[37]),i.s64=fe(o[38]),i.s65=fe(o[39]),i))}function ce(e,t){return e.error?{e:le(e.error)}:t(e.value)}function le(e){var t;try{t=""+e.message,"name"in e&&(t=e.name+": "+t)}catch(e){t="Code 3017: "+e.name+": "+e.message}return w(t,500)}function fe(e){return ce(e,(function(e){return{s:0,v:e}}))}function de(e){return ce(e,(function(e){return e}))}function ve(e,t){return ce(e,(function(e){return{s:null==e?t:0,v:null!=e?e:null}}))}function ge(e,t){return ce(e,(function(e){return"number"==typeof e?{s:e,v:null}:{s:0,v:t?t(e):e}}))}function he(e,t,n){return e.error?t:void 0===e.value?n:e.value}function me(e){return!0===e?1:!1===e?0:e}var _e=((se={}).TokenRequired="Token required",se.TokenNotFound="Token not found",se.TokenExpired="Token expired",se.RequestCannotBeParsed="Request cannot be parsed",se.Failed="Request failed",se.RequestTimeout="Request failed to process",se.TooManyRequests="Too many requests, rate limit exceeded",se.OriginNotAvailable="Not available for this origin",se.HeaderRestricted="Not available with restricted header",se.NotAvailableForCrawlBots="Not available for crawl bots",se.NotAvailableWithoutUA="Not available when User-Agent is unspecified",se),pe=E("WrongRegion"),be=E("SubscriptionNotActive");function we(t,n){var r=t.bodyData;return void 0===r?Ie(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(ke(r),o)return ye(o,i,n);var s=a.identification;if(!s)throw new Error("There is no identification result in the response");if(ke(s.notifications),s.error)return ye(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&&Se(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&&Se(n);switch(r){case"Not available for crawl bots":return Ee(i,!0,t);case"Not available when User-Agent is unspecified":return Ee(i,void 0,t);case"Request failed":case"Request failed to process":case"Too many requests, rate limit exceeded":return Te(r,i);default:throw Te(r,i)}}(r,n):Ie(t)}function ye(e,t,n){switch(e.code){case"NotAvailableForCrawlBots":return Ee(t,!0,n);case"NotAvailableWithoutUA":return Ee(t,void 0,n);case"Failed":case"RequestTimeout":case"TooManyRequests":return Te(Re(e),t,e);default:throw Te(Re(e),t,e)}}function Re(e){var t=e.code,n=e.message;if(void 0===t)return n;if(Object.prototype.hasOwnProperty.call(_e,t)){var r=_e[t];if(void 0!==r)return r}return E(t)}function Ee(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 Te(e,t,n){var r=new Error(e);return void 0!==t&&(r.requestId=t),void 0!==n&&(r.raw=n),r}function ke(e){null==e||e.forEach(Se)}function Se(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}function Ie(e){var t=Te("Response cannot be parsed",void 0,{statusText:e.statusText,bodyBase64:R(e.body)});if(e.status>=500)return t;throw t}function Oe(e,t,n,r,i){void 0===i&&(i=S);var o=i()%(n+1),a=function(e){if("function"==typeof TextEncoder)return(new TextEncoder).encode(e);for(var t=unescape(encodeURI(e)),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}(JSON.stringify(e)),s=1+t.length+1+o+r+a.length,u=new ArrayBuffer(s),c=new Uint8Array(u),l=0,f=i();c[l++]=f;for(var d=0,v=t;d<v.length;d++){var g=v[d];c[l++]=f+g}c[l++]=f+o;for(var h=0;h<o;++h)c[l++]=i();var m=new Uint8Array(r);for(h=0;h<r;++h)m[h]=i(),c[l++]=m[h];for(h=0;h<a.length;++h)c[l++]=a[h]^m[h%r];return u}function Ae(e,t,n){var r=function(){throw new Error("Invalid data")},i=g(e);i.length<t.length+2&&r();for(var o=0;o<t.length;++o)y(i[1+o],i[0])!==t[o]&&r();var a=1+t.length,s=y(i[a],i[0]);i.length<a+1+s+n&&r();var u=a+1+s,c=u+n,l=new Uint8Array(i.length-c);for(o=0;o<l.length;++o)l[o]=i[c+o]^i[u+o%n];return JSON.parse(p(l))}var De=[3,7];function Ce(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,D(e.__assign(e.__assign({},t),{body:(s=t.body,Oe(s,De,3,7)),responseFormat:"binary"}))];case 1:n=o.sent();try{a=n.body,r=Ae(a,De,7),i=!0}catch(lt){try{r=JSON.parse(p(n.body)),i=!1}catch(u){}}return[2,e.__assign(e.__assign({},n),{bodyData:r,isSecret:i})]}var a,s}))}))}function Ne(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function xe(t,i,o){var a=t.endpoint,s=t.extendedResult,u=void 0!==s&&s,l=e.__rest(t,["endpoint","extendedResult"]);return e.__awaiter(this,void 0,void 0,(function(){var t,s,f;return e.__generator(this,(function(d){switch(d.label){case 0:return t=(g=a)+(-1===g.indexOf("?")?"?":"&")+"cv="+encodeURIComponent(n),s=ue(e.__assign({extendedResult:u},l)),f=0,[4,P(o,(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,n){var i,o=v(300,1e4);return c(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,P(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 Ce({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,we(s,r)]}}))}))}(t,s,u,f++,n,o)}),i)}))];case 1:return[2,d.sent()]}var g}))}))}function Pe(e){return e.toDataURL()}function Le(){var e,t,n=je();return(null===(t=null===(e=window[n[0]])||void 0===e?void 0:e[n[1]])||void 0===t?void 0:t[n[2]])||1073741824}function je(){return Ae(new Uint32Array([1238629110,448276002,3812774028,808844344,1040086494,3917076003,2006609522,3391962601,1618783843,902064594,3846817827,1945380650,2587245025,908308022,938305751,2922813991,1910122279,3709215973,809499767,66414809,3983071030,916072247,3711377838,822474088,300514777,4182498348,953759295,3408360096,591258990,229539788]),[],5)}function Me(){var e=Fe(),t=window[e[0]];if(!t)return!1;try{t[e[1]][e[2]](e[3],e[4],{},(function(){}))}catch(n){return!new RegExp(e[5]).test(n)}return!1}function qe(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,i;return e.__generator(this,(function(e){switch(e.label){case 0:t=document,n=Fe(),(i=t.createElement("iframe")).style.display="none",e.label=1;case 1:return t.body?[3,3]:[4,r(50)];case 2:return e.sent(),[3,1];case 3:return e.trys.push([3,,5,6]),t.body.appendChild(i),[4,Promise.race([r(20,!1),new Promise((function(e){i.contentWindow?i.contentWindow[n[6]].addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 4:return[2,e.sent()];case 5:return i.remove(),[7];case 6:return[2]}}))}))}function Ue(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}function Fe(){return Ae(new Uint32Array([571803394,2333197341,667974149,459532809,2807590137,1996360231,241878290,3893584866,1793199716,1479125268,4262158585,1442777440,325646623,3826480888,665278571,175243026,2757050360,1760166496,1415636746,2836884200,2012960809,241499411,2840995822,1912086370,1482750223,4212860839,1726092917,359464731,3894101733,1487478637]),[],3)}var Be=[[function(){return t.isChromium()},function(){return b(["ClipboardItem"in(t=window),"PerformanceEventTiming"in t,"RTCSctpTransport"in t])>=2?function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:return t=je(),n=navigator,r=n[t[3]],(i=n[t[4]])?[4,new Promise((function(e){i[t[5]]((function(t,n){return e(n)}))}))]:[3,2];case 1:return o=e.sent(),[3,4];case 2:return(null==r?void 0:r[t[6]])?[4,r[t[6]]().then((function(e){return e.quota}))]:[3,4];case 3:o=e.sent(),e.label=4;case 4:return o?[2,o<Le()]:[2,!1]}}))}))}():function(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return(t=window.webkitRequestFileSystem)?[4,new Promise((function(e){t(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]:[2,!1];case 1:return[2,e.sent()]}}))}))}();var t}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return j()?t.isDesktopSafari()?[2,Me()]:[2,qe()]:[2,Ue()]}))}))}],[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 Ve(){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=Be,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 Ge(){return e.__awaiter(this,void 0,void 0,(function(){var n,r,i;return e.__generator(this,(function(o){switch(o.label){case 0:if(n=window,!(r=n.RTCPeerConnection||n.webkitRTCPeerConnection))return[2,-3];try{i=new r({iceServers:[]})}catch(s){if("NotSupportedError"===s.name)return[2,-6];throw s}o.label=1;case 1:return o.trys.push([1,,3,4]),[4,new Promise((function(n,r){var o,u=[],c=function(){return n(e.__spreadArrays(u))};i.onicecandidate=function(e){var t=e.candidate;if(!t)return c();if(t.candidate){if(u.push(t.candidate),u.length>=6)return c();1===u.length&&a(c,10)}},i.onicegatheringstatechange=function(){"complete"===i.iceGatheringState&&c()},i.onicecandidateerror=r;try{null===(o=i.createDataChannel)||void 0===o||o.call(i,"test")}catch(s){return void("NotSupportedError"===s.name?n(-7):r(s))}var l=function(e,t){try{return e.createOffer(t)}catch(s){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(s.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw s}}(i,t.isEdgeHTML()?{offerToReceiveAudio:!0}:void 0);void 0===l?n(-8):l.then((function(e){return i.setLocalDescription(e)}),r)}))];case 2:return[2,o.sent()];case 3:try{i.close()}catch(s){}return[7];case 4:return[2]}}))}))}function He(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 We(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}function Ke(e){var t=Number(e);return isNaN(t)?-1:t}var Xe=["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"],$e=[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],Je=[32926,32928],ze=["FRAGMENT_SHADER","VERTEX_SHADER"],Ye=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function Qe(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function Ze(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function et(e){return Object.keys(e.__proto__).filter(Ze)}function tt(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 nt={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},rt={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},it={"en-us":e.__assign(e.__assign({},nt),{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({},nt),{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({},rt),{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"]})};it.default=it["en-us"],it.en=it["en-us"],it.ru=it["ru-ru"];var ot={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function at(t){return e.__awaiter(this,void 0,void 0,(function(){var n,r,i,o,s,u,c,l,f=this;return e.__generator(this,(function(d){switch(d.label){case 0:if(!(n=window.RTCPeerConnection))return[2,-5];r=Math.random().toString(),i=new Map,s="candidate:0 1 udp 2113937151 ${addr} ${port} typ host generation 0 ufrag "+(o="ABCD")+" network-cost 999",u=new n({iceTransportPolicy:"all"}),c=u.createDataChannel(r),l=0,d.label=1;case 1:return d.trys.push([1,,3,4]),[4,new Promise((function(n,r){a((function(){return n(-4)}),1e3),u.oniceconnectionstatechange=function(){"checking"===u.iceConnectionState&&(l=setInterval((function(){return e.__awaiter(f,void 0,void 0,(function(){var t,r;return e.__generator(this,(function(e){switch(e.label){case 0:return"checking"!==u.iceConnectionState?[2,n([])]:[4,u.getStats()];case 1:return t=e.sent(),r=[],t.forEach((function(e){if("remote-candidate"===e.type){var t=i.get(e.port);r.push(t)}})),r.length>0&&n(r),[2]}}))}))}),30))},u.createOffer().then((function(e){var r=e.sdp;if(!r)return n(-5);for(var a=[],c=0;c<t.length;c++){var l=t[c],f=50003+c,d=s.replace("${addr}",l).replace("${port}",f.toString());i.set(f,l),a.push("a="+d)}var v={type:"answer",sdp:r.replace(/a=ice-ufrag:(.*?)\s{1,2}/,"a=ice-ufrag:"+o+"\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"+a.join("\r\n")}))};return u.setLocalDescription(e),u.setRemoteDescription(v)}),r)}))];case 2:return[2,d.sent()];case 3:return c.close(),u.close(),clearInterval(l),[7];case 4:return[2]}}))}))}function st(t){return e.__awaiter(this,void 0,void 0,(function(){var n,r=this;return e.__generator(this,(function(i){switch(i.label){case 0:n=new AbortController,i.label=1;case 1:return i.trys.push([1,,3,4]),[4,Promise.race(e.__spreadArrays(t.map((function(t){return e.__awaiter(r,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,fetch("http"+("http:"===location.protocol?"":"s")+"://"+t,{signal:n.signal})];case 1:return e.sent(),[3,3];case 2:return e.sent(),[3,3];case 3:return[2,t]}}))}))})),[s(500,-4)]))];case 2:return[2,i.sent()];case 3:return n.abort(),[7];case 4:return[2]}}))}))}function ut(n){return e.__awaiter(this,void 0,void 0,(function(){var r,i;return e.__generator(this,(function(e){switch(e.label){case 0:return t.isWebKit()?[4,at(r=function(){for(var e=!t.isDesktopSafari(),n=navigator.language.toLowerCase(),r=n.slice(0,2),i=it[n]||it[r]||it.default,o=e?i.i.slice():i.m.slice(),a=e?ot.i.slice():ot.m.slice(),s=0,u=e?i.n:i.n.slice(0,15);s<u.length;s++)for(var c=u[s],l=0,f=o;l<f.length;l++){var d=f[l];a.push(d.replace("$$",c))}return a.map((function(e){return e+".local"}))}())]:[2,-2];case 1:return i=e.sent(),null==n||n(),"number"==typeof i?[2,i]:i.length===r.length?[2,-3]:i.length>1?[2,st(i)]:1===i.length?[2,i[0]]:[2,-1]}}))}))}var ct,lt,ft=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion"];var dt=((ct={})[0]=function(){return l(s(510,-4),Ge)},ct[1]=function(){var e,n,r,i=((r=new Promise((function(t,r){e=t,n=r}))).resolve=e,r.reject=n,r),o=s(t.isDesktopSafari()?310:410);return l(Promise.race([i,o]).then((function(e){if(void 0!==e)return s(e+100-Date.now())})).then((function(){return-4})),(function(){return ut((function(){return i.resolve(Date.now())}))}))},ct[2]=function(){var n=window.speechSynthesis;if("function"!=typeof(null==n?void 0:n.getVoices))return-1;var r,o=function(){return n.getVoices()};return!n.addEventListener||t.isGecko()&&b(["AnonymousContent"in(r=window),!("AudioBuffer"in r),!("RTCPeerConnection"in r),!("geolocation"in navigator),!("ServiceWorker"in r)])>=3?tt(o()):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 e.trys.push([0,,2,3]),[4,new Promise((function(e,r){var o,s=function(){t.getVoices().length?(null==o||o(),o=i(e,50)):o||(o=a(e,600))};n=function(){try{s()}catch(e){r(e)}},s(),t.addEventListener("voiceschanged",n)}))];case 1:return[2,e.sent()];case 2:return n&&t.removeEventListener("voiceschanged",n),[7];case 3:return[2]}}))}))}(n).then((function(){return function(){var e=o();return e.length?tt(e):-2}}))},ct[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()&&!j()?[2,{s:0,v:1}]:[4,Promise.race([n.canMakePaymentsWithActiveCard(""),s(250,!1)])]:[2,{s:0,v:0}];case 2:return[2,{s:0,v:e.sent()?3:2}];case 3:return[2,He(e.sent())];case 4:return[2]}}))}))},ct[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,Ve()];case 1:return i=e.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(t,i),[2,i]}}))}))},ct[5]=t.getScreenFrame,ct[8]=function(){var t=this;return l(r(250,-2),(function(){return e.__awaiter(t,void 0,void 0,(function(){var t,n,r;return e.__generator(this,(function(e){switch(e.label){case 0:return(null==(t=navigator.mediaDevices)?void 0:t.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,t.enumerateDevices()]):[2,-1];case 1:return[2,e.sent().map(r)]}}))}))}))},ct[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,R(o)];case 3:if("NotSupportedError"===(s=c.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},ct[6]=function(){var t=this;return l(r(75,-3),(function(){return e.__awaiter(t,void 0,void 0,(function(){var t,n,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:if(!(t=navigator).requestMediaKeySystemAccess)return[2,-1];e.label=1;case 1:return e.trys.push([1,6,,7]),[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 2:return[4,e.sent().createMediaKeys()];case 3:return n=e.sent(),(r=n.createSession()).sessionId?[3,5]:[4,new Promise((function(e){r.onmessage=e,r.generateRequest("webm",new Uint8Array([1,1,1,1]))}))];case 4:e.sent(),e.label=5;case 5:return[2,r.sessionId];case 6:if("NotSupportedError"===(i=e.sent()).name)return[2,-2];throw i;case 7:return[2]}}))}))}))},ct[9]=function(){var t;return e.__awaiter(this,void 0,void 0,(function(){var n,r,i,o=this;return e.__generator(this,(function(a){switch(a.label){case 0:return(n=navigator.userAgentData)&&"object"==typeof n?(r={},i=[],"function"!=typeof n.getHighEntropyValues?[3,2]:[4,Promise.all(ft.map((function(t){return e.__awaiter(o,void 0,void 0,(function(){var o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,n.getHighEntropyValues([t])];case 1:return void 0!==(o=e.sent()[t])&&(r[t]="string"==typeof o?o:JSON.stringify(o)),[3,3];case 2:if("NotAllowedError"!==(a=e.sent()).name)throw a;return i.push(t),[3,3];case 3:return[2]}}))}))})))]):[2,void 0];case 1:a.sent(),a.label=2;case 2:return[2,{b:n.brands.map((function(e){return{b:e.brand,v:e.version}})),m:n.mobile,p:null!==(t=n.platform)&&void 0!==t?t:null,h:r,nah:i}]}}))}))},ct[10]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n;return e.__generator(this,(function(e){switch(e.label){case 0:return(t=navigator.permissions)?[4,t.query({name:"notifications"})]:[2,void 0];case 1:return n=e.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},ct[11]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},ct[12]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},ct[13]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},ct[14]=function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank "+String.fromCharCode(55357,56835)+" gly";n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply";for(var o=0,a=[["#f0f",50,50],["#0ff",100,50],["#ff0",75,100]];o<a.length;o++){var s=a[o],u=s[0],c=s[1],l=s[2];n.fillStyle=u,n.beginPath(),n.arc(c,l,50,0,2*Math.PI,!0),n.closePath(),n.fill()}return n.fillStyle="#f0f",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:Pe(t)}},ct[15]=function(){return void 0!==navigator.plugins},ct[16]=function(){return navigator.platform},ct[17]=function(){return void 0!==window.chrome},ct[18]=function(){return navigator.webdriver},ct[19]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},ct[20]=function(){return navigator.productSub},ct[21]=function(){return eval.toString().length},ct[22]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},ct[23]=function(){var t=window.WebAssembly;if(null==t?void 0:t.validate){for(var n=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10],r=0,i=0,o=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];i<o.length;i++){var a=o[i];r<<=1,r|=t.validate(Uint8Array.of.apply(Uint8Array,e.__spreadArrays(n,a)))?1:0}return r}},ct[24]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},ct[25]=function(){var e=window;if(!t.isChromium())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var n=document.createElement("canvas");n.width=4,n.height=4,n.style.display="inline";var r=n.toDataURL();if(""===r)return!0;for(var i=window.atob(r.split(",")[1]),o=i.length,a=new Uint8Array(o),s=0;s<o;s++)a[s]=i.charCodeAt(s);var u=_(a,[73,68,65,84,24]);if(-1===u)return!1;var c=_(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}},ct[26]=function(){return!!We("dark")||!We("light")&&void 0},ct[27]=function(){var e=Date.now();return[Ke(e),Ke(e-6e4*(new Date).getTimezoneOffset())]},ct[28]=function(){for(var e=[],t=Math.random(),n=24575;n>=0;--n)if(n%4096==0){var r=Math.random();e.push((t-r)*Math.pow(2,31)|0),t=r}return e},ct[29]=function(){var e=window.performance;if(null==e?void 0:e.now){for(var t=1,n=1,r=e.now(),i=r,o=0;o<5e4;o++)if((r=i)<(i=e.now())){var a=i-r;a>t?a<n&&(n=a):a<t&&(n=t,t=a)}return[t,n]}},ct[30]=function(){var e,t;return null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit},ct[31]=function(){return{s:t.isWebKit()&&!t.isDesktopSafari()?j()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},ct[32]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},ct[33]=t.isTrident,ct[34]=t.isEdgeHTML,ct[35]=t.isChromium,ct[36]=t.isWebKit,ct[37]=t.isDesktopSafari,ct[38]=t.isGecko,ct[39]=t.isAndroid,ct),vt=((lt={}).j=function(){for(var n=document.createElement("canvas"),r=["webgl","experimental-webgl"],i=void 0,o=0;o<r.length&&!i;o++)try{i=n.getContext(r[o])}catch(s){}if(i){var a=e.__assign(e.__assign({},function(e){var n,r,i,o,a,s,u=e.getSupportedExtensions(),c=e.getExtension("WEBGL_debug_renderer_info"),l=e.getContextAttributes(),f=[],d=[],v=[],g=[];for(var h in l)Object.prototype.hasOwnProperty.call(l,h)&&f.push(h+"="+l[h]);for(var m=et(e),_=t.isTrident(),p=0,b=m;p<b.length;p++){var w=e[O=b[p]];if($e.indexOf(w)>-1){var y=_&&-1===Je.indexOf(w)?e.getParameter(w):null;d.push(O+"("+w+")="+y)}else d.push(O+"="+w)}if(u)for(var R=0,E=u;R<E.length;R++){var T=E[R],k=e.getExtension(T);if(k)for(var S=0,I=et(k);S<I.length;S++){var O;w=k[O=I[S]],Xe.indexOf(O)>0?v.push(O+"("+w+")="+e.getParameter(w)):v.push(O+"="+w)}}for(var A=0,D=ze;A<D.length;A++)for(var C=D[A],N=0,x=Ye;N<x.length;N++){var P=x[N],L=Qe(e,C,P);g.push(C+"."+P+"="+L.join(","))}return v.sort(),d.sort(),{version:(null===(n=e.getParameter(e.VERSION))||void 0===n?void 0:n.toString())||"",vendor:(null===(r=e.getParameter(e.VENDOR))||void 0===r?void 0:r.toString())||"",vendorUnmasked:c?null===(i=e.getParameter(c.UNMASKED_VENDOR_WEBGL))||void 0===i?void 0:i.toString():"",renderer:(null===(o=e.getParameter(e.RENDERER))||void 0===o?void 0:o.toString())||"",rendererUnmasked:c?null===(a=e.getParameter(c.UNMASKED_RENDERER_WEBGL))||void 0===a?void 0:a.toString():"",shadingLanguageVersion:(null===(s=e.getParameter(e.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||"",contextAttributes:f.join("&"),parameters:d.join("&"),shaderPrecisions:g.join("&"),extensions:u?u.join(","):"",extensionParameters:v.join(",")}}(i)),{fingerprint:""});return function(e){e.clearColor(0,0,1,1);var t=e.createProgram();if(t){i(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),i(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),e.linkProgram(t),e.useProgram(t),e.enableVertexAttribArray(0);var n=e.getUniformLocation(t,"t"),r=e.createBuffer();e.bindBuffer(34962,r),e.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),e.vertexAttribPointer(0,2,5126,!1,0,0),e.clear(16384),e.uniform1f(n,3.65),e.drawArrays(4,0,3)}function i(n,r){var i=e.createShader(35633-n);t&&i&&(e.shaderSource(i,r),e.compileShader(i),e.attachShader(t,i))}}(i),a.fingerprint=n.toDataURL(),a}},lt);function gt(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 ht(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 mt(e,t,n){var r=location.hostname;(_t(r,(function(t){!function(e,t){ht(e,"",-1,t)}(e,t)})),n<0)||_t(r,(function(r){return ht(e,t,n,r),gt(e)!==t}))&&ht(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 pt(e){return[gt(e),wt(e)]}function bt(e,t){mt(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 wt(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 yt(e,t,n,r,i){if(!t){var o=function(e,t){return t||re[e]}(e,n);return x(i,(function(){return{e:6,endpoint:o}})),[ie(o,r,i),Date.now()]}}function Rt(t,n,r,i,o,a,u){var c=this;var l=function(t,n,u,l,v,g,h){return e.__awaiter(c,void 0,void 0,(function(){var c,m,_,p,b,w,y,R,E;return e.__generator(this,(function(e){switch(e.label){case 0:return c=s(l).then((function(){throw new Error("Client timeout")})),[4,Promise.race([c,Promise.all([d(h),f(l,u,h)])])];case 1:return m=e.sent(),_=m[0],p=m[1],b=a,w=a+"_t",[4,xe({token:r,endpoint:Ne(i,o),components:_,componentsDuration:0,tag:t,visitorId:pt(b),visitorToken:pt(w),tls:p,linkedId:n,extendedResult:v,ipResolution:g},c,h)];case 2:return y=e.sent(),R=y[0],(E=y[1])?bt(E,w):R.visitorId&&bt(R.visitorId,b),[2,R]}}))}))},f=function(t,r,i){return e.__awaiter(c,void 0,void 0,(function(){var o,a,u,c,l;return e.__generator(this,(function(e){switch(e.label){case 0:if(!n||r)return[2,void 0];o=n[0],a=n[1],u=Math.min(Math.max(.1*t,a+1e4-Date.now()),.4*t),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,o(s(u))];case 2:return c=e.sent(),x(i,(function(){return{e:7,result:c}})),[2,{value:c}];case 3:return l=e.sent(),x(i,(function(){return{e:8,error:l}})),[2,{error:l}];case 4:return[2]}}))}))},d=function(n){return e.__awaiter(c,void 0,void 0,(function(){var r,i;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t()];case 1:return r=e.sent(),x(n,(function(){return{e:13,result:r}})),[2,r];case 2:throw i=e.sent(),x(n,(function(){return{e:14,error:i}})),i;case 3:return[2]}}))}))};return{get:function(t){void 0===t&&(t={});var n=u&&function(t,n){return function(r){return t(e.__assign(e.__assign({},r),{getCallId:n}))}}(u,k(8));return P(n,(function(){return{e:3,options:t}}),(function(e){return{e:4,result:e}}),(function(e){return{e:5,error:e}}),(function(){var e=t.timeout,r=void 0===e?1e4:e,i=t.tag,o=t.linkedId,a=t.disableTls,s=t.extendedResult,u=t.ipResolution;return l(i,o,a,r,s,u,n)}))}}}var Et=function(r,i,o){var a=this,s=o.debug&&function(t,n){return function(r){return t(e.__assign(e.__assign({},r),{agentId:n}))}}(o.debug,k(8));return P(s,(function(){return{e:0,version:n,options:o}}),(function(){return{e:1}}),(function(e){return{e:2,error:e}}),(function(){return e.__awaiter(a,void 0,void 0,(function(){var n,a,u,c,l,f,d,v,g,h;return e.__generator(this,(function(e){switch(e.label){case 0:if(n=o.token,a=o.region,u=void 0===a?"us":a,c=o.tlsEndpoint,l=o.disableTls,f=o.storageKey,d=void 0===f?"_vid":f,v=o.endpoint,g=o.delayFallback,!n||"string"!=typeof n)throw new Error("Token required");return h=yt(u,l,c,i,s),[4,t.prepareForSources(g)];case 1:return e.sent(),x(s,(function(){return{e:12}})),[2,Rt(r({storageKeyPrefix:d}),h,n,u,v,d,s)]}}))}))}))}.bind(null,(function(n){t.sources.screenFrame;var r=e.__rest(t.sources,["screenFrame"]);return t.loadSources(e.__assign(e.__assign(e.__assign({},dt),r),vt),n,[])}),void 0),Tt={load:Et,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_WRONG_REGION:pe,ERROR_SUBSCRIPTION_NOT_ACTIVE:be,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_BAD_RESPONSE_FORMAT:"Response 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_BAD_RESPONSE_FORMAT="Response 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=be,exports.ERROR_TOKEN_EXPIRED="Token expired",exports.ERROR_TOKEN_INVALID="Token not found",exports.ERROR_TOKEN_MISSING="Token required",exports.ERROR_WRONG_REGION=pe,exports.default=Tt,exports.load=Et,exports.makeConsoleDebugger=O,exports.makeDebugReportBuilder=M,exports.makeMulticastDebugger=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&u((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}},exports.makeRemoteDebugger=J; | ||
"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 r(n,e,t)}))}function r(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Date.now()+t,o=0,a=function(){o=setTimeout((function(){Date.now()<i?a():e.apply(void 0,n)}),i-Date.now())};return a(),function(){return clearTimeout(o)}}function i(e,t,n){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var a,s=!1,u=e,c=0,l=function(){s||a||(c=Date.now(),a=r((function(){s=!0,n.apply(void 0,i)}),u))},f=function(){!s&&a&&(a(),a=void 0,u-=Date.now()-c)};return t&&l(),{start:l,stop:f}}function o(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=document,a="visibilitychange",s=function(){return o.hidden?l():c()},u=i(t,!o.hidden,(function(){o.removeEventListener(a,s),e.apply(void 0,n)})),c=u.start,l=u.stop;return o.addEventListener(a,s),function(){o.removeEventListener(a,s),l()}}function a(e,t){return new Promise((function(n){return o(n,e,t)}))}function s(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 u(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 c(t,n){return e.__awaiter(this,void 0,void 0,(function(){var r,i,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:try{r=n().then((function(e){return i=[!0,e]}),(function(e){return i=[!1,e]}))}catch(s){i=[!1,s]}return a=t.then((function(e){return o=[!0,e]}),(function(e){return o=[!1,e]})),[4,Promise.race([r,a])];case 1:return e.sent(),[2,function(){if(i){if(i[0])return i[1];throw i[1]}if(o){if(o[0])return o[1];throw o[1]}throw new Error("96375")}]}}))}))}function l(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 f(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function d(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 v(e){return e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=g.slice(0,-2);function m(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 _(e){if("function"==typeof TextDecoder){var t=(new TextDecoder).decode(e);if(t)return t}var n=v(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,n)))}function p(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function b(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function w(e,t){return(e-t+256)%256}function y(e){for(var t=v(e),n=t.length,r="",i=0;i<n;i+=3)r+=g[t[i]>>2]+g[(3&t[i])<<4|t[i+1]>>4]+g[(15&t[i+1])<<2|t[i+2]>>6]+g[63&t[i+2]];return n%3==2?r.slice(0,-1)+"=":n%3==1?r.slice(0,-2)+"==":r}function R(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 E(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function T(e){return E(e,h)}function k(){return 256*Math.random()|0}function S(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"}}var I=function(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(O(e,t));break;case 13:var n=O(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(O(e,t))}}};function O(t,n){var r=n.e,i=e.__rest(n,["e"]),o=""+t+(new Date).toISOString()+": "+S(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?l(t,!0):t instanceof ArrayBuffer?"(base64) "+y(t):t}),2)}(i)+"\n```"),o}function A(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 f 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(f,o[f]);a.onload=function(){return e(function(e){return{body:e.response,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(D("TimeoutError","The request timed out"))},a.onabort=function(){return n(D("AbortError","The request is aborted"))},a.onerror=function(){return n(D("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 D(e,t){var n=new Error(t);return n.name=e,n}function C(e){var t,n=e.url,r=e.body;try{if(null===(t=navigator.sendBeacon)||void 0===t?void 0:t.call(navigator,n,r))return!0}catch(o){if("Illegal invocation"!==o.message)throw o}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(a){return!1}return!0}function N(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e&&s((function(){var r=t.apply(void 0,n);void 0!==r&&e(r)}))}function P(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:N(t,n),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,o()];case 2:return a=e.sent(),[3,4];case 3:throw s=e.sent(),N(t,i,s),s;case 4:return N(t,r,a),[2,a]}}))}))}function x(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:T(10)}function L(){var e=window,t=navigator;return p(["maxTouchPoints"in t,"mediaCapabilities"in t,"PointerEvent"in e,"visualViewport"in e,"onafterprint"in e])>=4}var j=function(e){return new M(e).addEvent},M=function(){function t(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&&(n.documentReadyState=document.readyState,n.isPageVisible=W(),n.isFullscreen=K(),n.network=X()),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 f=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()})),d=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)}f(),d()}}return t.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},t.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:W()})},t.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},t.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:K()})},t.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:X()})},t.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];U(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},t.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;if(this.events[n]||(this.events[n]={commonEvents:[],getCalls:{}}),function(e){return"string"==typeof e.getCallId}(t)){var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}else this.events[n].commonEvents.push(e)},t.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t];this.events[r].commonEvents.push(e)}},t.prototype.submitReport=function(t,n){var r=function(t,n){for(var r,i,o,a,s,u,c,l,d,v,g=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}(t),h=(null===(r=t[t.length-1])||void 0===r?void 0:r.time)||new Date,m="null",_=0,p=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];_<p.length;_++){var b=p[_],w=b[0],y=b[1];if(g[w]){m=y;break}}return{time:(null===(i=t[t.length-1])||void 0===i?void 0:i.time)||new Date,pageUrl:location.href,pageStartTime:new Date(n),isInIframe:f(),agentVersion:null===(o=g[0])||void 0===o?void 0:o.event.version,userAgent:navigator.userAgent,pageViewId:x(),agentId:null===(a=g[0])||void 0===a?void 0:a.event.agentId,getCallId:null===(s=g[3])||void 0===s?void 0:s.event.getCallId,requestId:null!==(c=null===(u=g[4])||void 0===u?void 0:u.event.result.requestId)&&void 0!==c?c:null===(l=g[5])||void 0===l?void 0:l.event.error.requestId,visitorId:null===(d=g[4])||void 0===d?void 0:d.event.result.visitorId,visitorToken:null===(v=g[16])||void 0===v?void 0:v.event.result[1],identificationState:m,timeBetweenLoadAndGet:q(g[1],g[3]),load:F(h,g[0],g[1],g[2]),get:F(h,g[3],g[4],g[5]),tls:V(F(h,g[6],g[7],g[8]),(function(){var n,r;return e.__assign(e.__assign({},B(t,9,10,11,(null===(n=g[7])||void 0===n?void 0:n.time)||(null===(r=g[8])||void 0===r?void 0:r.time)||h)),{getPhaseDuration:q(g[3],g[7]||g[8],h)})})),fingerprint:V(F(h,g[12],g[13],g[14],(function(e){var t=e.event;return{failedComponents:G(t.result),componentDurations:H(t.result)}})),(function(){return{getPhaseDuration:q(g[3],g[13]||g[14],h)}})),visitorIdRequest:V(F(h,g[15],g[16],g[17]),(function(){var e,n;return B(t,18,19,20,(null===(e=g[16])||void 0===e?void 0:e.time)||(null===(n=g[17])||void 0===n?void 0:n.time)||h)})),events:t}}(function(e,t,n){var r=[];e[t]&&(r.push.apply(r,e[t].commonEvents),void 0!==n&&r.push.apply(r,e[t].getCalls[n]||[]));return r.sort((function(e,t){return e.time.getTime()-t.time.getTime()})),r}(this.events,t,n),this.pageStartTimestamp);try{this.onReportReady(r)}catch(i){console.error(i)}},t}();function q(e,t,n){var r=null==e?void 0:e.time,i=(null==t?void 0:t.time)||n;return r&&i&&i.getTime()-r.getTime()}function U(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function F(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 B(e,t,n,r,i){for(var o=i.getTime(),a=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]),s={triesCount:0,triesTotalDuration:0,completeTriesCount:0,completeTriesTotalDuration:0},u=0,c=a;u<c.length;u++){var l=c[u],f=l[t],d=l[n]||l[r];if(f){if(f.time.getTime()>=o)break;var v=d&&d.time.getTime()<=o,g=((null==d?void 0:d.time)||i).getTime()-f.time.getTime();s.triesCount++,s.triesTotalDuration+=g,v&&(s.completeTriesCount++,s.completeTriesTotalDuration+=g)}}return s}function V(t,n){return t?e.__assign(e.__assign({},t),n()):void 0}function G(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i].error;o&&(t[i]=o)}return t}function H(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 W(){return!document.hidden}function K(){return!!t.getFullscreenElement()}function X(){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 $=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 M((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:J(e,t,r)}}(t,r,i),[4,te(a,n)];case 1:return e.sent(),[2]}}))}))})).addEvent};function J(t,n,r){var i,o;void 0===r&&(r=[8,4,4,4,12].map((function(e){return E(e,"0123456789abcdef")})).join("-"));var a=z[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.4.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)?Z(t.fingerprint.componentDurations):void 0}}],t.events.map(Y)),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,timeBetweenLoadAndGet:t.timeBetweenLoadAndGet,load:t.load,get:t.get,tls:t.tls,fingerprint:Q(t.fingerprint),visitorIdRequest:t.visitorIdRequest}}}var z={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 Y(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:S(r.e)},s)}),c=0,l=["documentReadyState","isPageVisible","isFullscreen","network"];c<l.length;c++){var f=l[c];void 0!==t[f]&&(u.body[f]=t[f])}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:b(r.result,1e3)}));case 10:return i(e.__assign(e.__assign({},r),{body:b(r.body,1e3)}));case 13:return i(e.__assign(e.__assign({},r),{result:ee(r.result)}));case 19:var o=r.body;if(o instanceof ArrayBuffer){o="(base64) "+(o.byteLength>1800?y(new Uint8Array(o,0,1800))+"...":y(o))}return i(e.__assign(e.__assign({},r),{body:o}))}}function Q(t){if(!t||"incomplete"===t.state||"fail"===t.state)return t;t.componentDurations;var n=e.__rest(t,["componentDurations"]),r=Object.keys(t.failedComponents),i=r.length?","+r.join(",")+",":void 0;return e.__assign(e.__assign({},n),{failedComponents:i})}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 ee(t){var n,r="(removed to fit into beacon)";return function(t,n){for(var r={},i=0,o=Object.keys(t);i<o.length;i++){var a=o[i];!t[a].error&&n[a]?r[a]=e.__assign(e.__assign({},t[a]),{value:n[a](t[a].value)}):r[a]=t[a]}return r}(t,((n={plugins:function(e){return e&&r}})[14]=function(t){return e.__assign(e.__assign({},t),{data:r})},n.math=function(){return r},n.fontPreferences=function(){return r},n.j=function(e){return e&&r},n[9]=function(e){return e&&r},n))}function te(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=l(t);return"string"==typeof n.stack&&(n.stack=b(n.stack,1e3)),n}return t}))}(r),o=d(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 ne={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function re(t,r,i){var o,a=function(t,r,i,o){void 0===i&&(i=1/0);var a=d(300,1e4);return u(null==o?void 0:o.then((function(){}),(function(){})),(function(){var s,u,c;return e.__generator(this,(function(e){switch(e.label){case 0:s=0,e.label=1;case 1:if(!(s<i))return[3,8];u=Date.now(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t(s,o)];case 3:return[2,e.sent()];case 4:return c=e.sent(),r(c),[3,5];case 5:return[4,n(u+a.next().value-Date.now())];case 6:e.sent(),e.label=7;case 7:return++s,[3,1];case 8:return[2,void 0]}}))}))}((function(n,r){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,P(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 A({url:t,timeout:n,abort:i})}))];case 1:return a=e.sent(),[3,3];case 2:switch((s=e.sent()).name){case"AbortError":throw ie(s.message,-2);case"TimeoutError":throw ie(s.message,-3);case"TypeError":throw ie(s.message,-4)}throw s;case 3:if(200===a.status)return[2,a.body];throw ie(b(a.status+": "+a.body,255),-5)}}))}))}(t,5e3,n,r,i)}),(function(e){return o=e}),10,r);return a.catch((function(){})),function(e){return void 0===e&&(e=new Promise((function(){}))),Promise.race([e.then((function(){}),(function(){})),a]).then((function(e){if(void 0!==e)return e;throw o||ie("Timeout",-3)}))}}function ie(e,t){var n=new Error(e);return n.__="slt",n.s=t,n}function oe(e){return"slt"===e.__}var ae;function se(n){var r,i,o=n.components,a=n.componentsDuration,s=n.token,u=n.visitorId,c=n.visitorToken,l=n.tls,f=n.tag,d=n.ipResolution,v=n.extendedResult,g=n.linkedId,h="full"===d?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}}(f),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(oe(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=ge(o.osCpu),i.k2=ge(o.languages),i.k3=ge(o.colorDepth),i.k4=ge(o.deviceMemory),i.k5=function(e){if(e.error)return;return e.value.map((function(e){return null===e?-1:e}))}(o.screenResolution),i.k6=ge(o[11],void 0,[]),i.k7=ge(o.hardwareConcurrency,void 0,1),i.k8=ge(o[12]),i.k9=ge(o[13]),i.k10=he(ge(o.sessionStorage)),i.k11=he(ge(o.localStorage)),i.k12=he(ge(o.indexedDB)),i.k13=he(ge(o.openDatabase)),i.k14=ge(o.cpuClass),i.k15=ge(o[16]),i.k16=function(e){if(e.error||t.isTrident())return[];return e.value}(o.plugins),i.k17=function(n){if(!n)return;return e.__assign(e.__assign({},n),{data:t.murmurX64Hash128(n.data)})}(ge(o[14])),i.k18=0,i.k19=ge(o.touchSupport),i.k20=ge(o.fonts,[]),i.k21=ge(o.audio,-4),i.k22=he(ge(o[15])),i.k23=ge(o[20]),i.k24=ge(o[21]),i.k25=he(ge(o[22])),i.k26=he(ge(o[18])),i.k27=ge(o.vendor),i.k28=he(ge(o[17])),i.k29=he(ge(o[10])),i.k30=he(ge(o[19])),i.k31=he(ge(o[4],!1)),i.k32=he(ge(o.cookiesEnabled,!1)),i.k33=he(ge(o[25])),i.k35=function(e){var t=e.value;if(!t||-6===t||-7===t||-8===t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return b(e,255)}))}}(o[0]),i.s1=de(o.osCpu,-1),i.s2=le(o.languages),i.s3=le(o.colorDepth),i.s4=de(o.deviceMemory,-1),i.s5=ue(o.screenResolution,(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),i.s6=ue(o[5],(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),i.s7=de(o.hardwareConcurrency,-1),i.s8=ve(o[6]),i.s9=le(o.timezone),i.s10=le(o.sessionStorage),i.s11=le(o.localStorage),i.s12=de(o.indexedDB,-1),i.s13=le(o.openDatabase),i.s14=de(o.cpuClass,-1),i.s15=le(o.platform),i.s16=de(o.plugins,-1),i.s17=ue(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=ve(o[7]),i.s19=le(o.touchSupport),i.s20=le(o.fonts),i.s21=ue(o.audio,(function(e){return-1===e||-2===e||-3===e?{s:e,v:null}:{s:0,v:e}})),i.s22=de(o[23],-1),i.s26=ve(o[8]),i.s27=le(o.vendor),i.s28=le(o.vendorFlavors),i.s30=de(o[24],-1),i.s31=le(o[4]),i.s32=le(o.cookiesEnabled),i.s33=le(o[25]),i.s34=ve(o[0],(function(e){return e.map((function(e){return b(e,255)}))})),i.s35=fe(o[3]),i.s36=de(o.domBlockers,-1),i.s37=de(o.colorGamut,-1),i.s38=de(o.contrast,-1),i.s39=de(o.forcedColors,-1),i.s40=de(o.hdr,-1),i.s41=de(o.invertedColors,-1),i.s42=de(o.monochrome,-1),i.s43=de(o.reducedMotion,-1),i.s44=de(o[26],-1),i.s45=le(o[27]),i.s46=ue(o.math,(function(e){return{s:0,v:t.murmurX64Hash128(Object.keys(e).map((function(t){return t+"="+e[t]})).join(","))}})),i.s47=ue(o.j,(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=le(o[28]),i.s49=de(o[29],-1),i.s50=de(o[30],-1),i.s51=le(o.fontPreferences),i.s52=ue(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=fe(o[31]),i.s54=ve(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 oe(t)?{s:t.s,v:null}:{e:t.message}}return{s:0,v:e.value}}(l),i.s57=de(o[32],-1),i.s58=de(o[9],-1),i.s59=le(o[33]),i.s60=le(o[34]),i.s61=le(o[35]),i.s62=le(o[36]),i.s63=le(o[37]),i.s64=le(o[38]),i.s65=le(o[39]),i))}function ue(e,t){return e.error?{e:ce(e.error)}:t(e.value)}function ce(e){var t;try{t=""+e.message,"name"in e&&(t=e.name+": "+t)}catch(e){t="Code 3017: "+e.name+": "+e.message}return b(t,500)}function le(e){return ue(e,(function(e){return{s:0,v:e}}))}function fe(e){return ue(e,(function(e){return e}))}function de(e,t){return ue(e,(function(e){return{s:null==e?t:0,v:null!=e?e:null}}))}function ve(e,t){return ue(e,(function(e){return"number"==typeof e?{s:e,v:null}:{s:0,v:t?t(e):e}}))}function ge(e,t,n){return e.error?t:void 0===e.value?n:e.value}function he(e){return!0===e?1:!1===e?0:e}var me=((ae={}).TokenRequired="Token required",ae.TokenNotFound="Token not found",ae.TokenExpired="Token expired",ae.RequestCannotBeParsed="Request cannot be parsed",ae.Failed="Request failed",ae.RequestTimeout="Request failed to process",ae.TooManyRequests="Too many requests, rate limit exceeded",ae.OriginNotAvailable="Not available for this origin",ae.HeaderRestricted="Not available with restricted header",ae.NotAvailableForCrawlBots="Not available for crawl bots",ae.NotAvailableWithoutUA="Not available when User-Agent is unspecified",ae),_e=R("WrongRegion"),pe=R("SubscriptionNotActive");function be(t,n){var r=t.bodyData;return void 0===r?Se(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(Te(r),o)return we(o,i,n);var s=a.identification;if(!s)throw new Error("There is no identification result in the response");if(Te(s.notifications),s.error)return we(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&&ke(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&&ke(n);switch(r){case"Not available for crawl bots":return Re(i,!0,t);case"Not available when User-Agent is unspecified":return Re(i,void 0,t);case"Request failed":case"Request failed to process":case"Too many requests, rate limit exceeded":return Ee(r,i);default:throw Ee(r,i)}}(r,n):Se(t)}function we(e,t,n){switch(e.code){case"NotAvailableForCrawlBots":return Re(t,!0,n);case"NotAvailableWithoutUA":return Re(t,void 0,n);case"Failed":case"RequestTimeout":case"TooManyRequests":return Ee(ye(e),t,e);default:throw Ee(ye(e),t,e)}}function ye(e){var t=e.code,n=e.message;if(void 0===t)return n;if(Object.prototype.hasOwnProperty.call(me,t)){var r=me[t];if(void 0!==r)return r}return R(t)}function Re(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 Ee(e,t,n){var r=new Error(e);return void 0!==t&&(r.requestId=t),void 0!==n&&(r.raw=n),r}function Te(e){null==e||e.forEach(ke)}function ke(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}function Se(e){var t=Ee("Response cannot be parsed",void 0,{httpStatusCode:e.status,bodyBase64:y(e.body)});if(e.status>=500)return t;throw t}function Ie(e,t,n,r,i){void 0===i&&(i=k);var o=i()%(n+1),a=function(e){if("function"==typeof TextEncoder)return(new TextEncoder).encode(e);for(var t=unescape(encodeURI(e)),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}(JSON.stringify(e)),s=1+t.length+1+o+r+a.length,u=new ArrayBuffer(s),c=new Uint8Array(u),l=0,f=i();c[l++]=f;for(var d=0,v=t;d<v.length;d++){var g=v[d];c[l++]=f+g}c[l++]=f+o;for(var h=0;h<o;++h)c[l++]=i();var m=new Uint8Array(r);for(h=0;h<r;++h)m[h]=i(),c[l++]=m[h];for(h=0;h<a.length;++h)c[l++]=a[h]^m[h%r];return u}function Oe(e,t,n){var r=function(){throw new Error("Invalid data")},i=v(e);i.length<t.length+2&&r();for(var o=0;o<t.length;++o)w(i[1+o],i[0])!==t[o]&&r();var a=1+t.length,s=w(i[a],i[0]);i.length<a+1+s+n&&r();var u=a+1+s,c=u+n,l=new Uint8Array(i.length-c);for(o=0;o<l.length;++o)l[o]=i[c+o]^i[u+o%n];return JSON.parse(_(l))}var Ae=[3,7];function De(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,A(e.__assign(e.__assign({},t),{body:(s=t.body,Ie(s,Ae,3,7)),responseFormat:"binary"}))];case 1:n=o.sent();try{a=n.body,r=Oe(a,Ae,7),i=!0}catch(ct){try{r=JSON.parse(_(n.body)),i=!1}catch(u){}}return[2,e.__assign(e.__assign({},n),{bodyData:r,isSecret:i})]}var a,s}))}))}function Ce(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function Ne(t,r,i){var o=t.endpoint,a=t.extendedResult,s=void 0!==a&&a,c=e.__rest(t,["endpoint","extendedResult"]);return e.__awaiter(this,void 0,void 0,(function(){var t,a,l;return e.__generator(this,(function(f){switch(f.label){case 0:return t=(v=o)+(-1===v.indexOf("?")?"?":"&")+"cv="+encodeURIComponent("3.4.0"),a=se(e.__assign({extendedResult:s},c)),l=0,[4,P(i,(function(){return{e:15,endpoint:t,request:a}}),(function(e){return{e:16,result:e}}),(function(e){return{e:17,error:e}}),(function(){return function(t,r){var i,o=d(300,1e4);return u(null==r?void 0:r.catch((function(e){i||(i=e)})).then((function(){throw i})),(function(){var a,s,u;return e.__generator(this,(function(e){switch(e.label){case 0:return a=Date.now(),[4,t(r)];case 1:return(s=e.sent())instanceof Error?(i=s,u=o.next().value,"Too many requests, rate limit exceeded"===s.message&&(u=1e3+5*u),[4,n(a+u-Date.now())]):[2,s];case 2:e.sent(),e.label=3;case 3:return[3,0];case 4:return[2]}}))}))}((function(n){return function(t,n,r,i,o,a){return e.__awaiter(this,void 0,void 0,(function(){var s,u;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,P(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 De({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,be(s,r)]}}))}))}(t,a,s,l++,n,i)}),r)}))];case 1:return[2,f.sent()]}var v}))}))}function Pe(e){return e.toDataURL()}function xe(){var e,t,n=Le();return(null===(t=null===(e=window[n[0]])||void 0===e?void 0:e[n[1]])||void 0===t?void 0:t[n[2]])||1073741824}function Le(){return Oe(new Uint32Array([1238629110,448276002,3812774028,808844344,1040086494,3917076003,2006609522,3391962601,1618783843,902064594,3846817827,1945380650,2587245025,908308022,938305751,2922813991,1910122279,3709215973,809499767,66414809,3983071030,916072247,3711377838,822474088,300514777,4182498348,953759295,3408360096,591258990,229539788]),[],5)}function je(){var e=Ue(),t=window[e[0]];if(!t)return!1;try{t[e[1]][e[2]](e[3],e[4],{},(function(){}))}catch(n){return!new RegExp(e[5]).test(n)}return!1}function Me(){return e.__awaiter(this,void 0,void 0,(function(){var t,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:t=document,r=Ue(),(i=t.createElement("iframe")).style.display="none",e.label=1;case 1:return t.body?[3,3]:[4,n(50)];case 2:return e.sent(),[3,1];case 3:return e.trys.push([3,,5,6]),t.body.appendChild(i),[4,Promise.race([n(20,!1),new Promise((function(e){i.contentWindow?i.contentWindow[r[6]].addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 4:return[2,e.sent()];case 5:return i.remove(),[7];case 6:return[2]}}))}))}function 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}}function Ue(){return Oe(new Uint32Array([571803394,2333197341,667974149,459532809,2807590137,1996360231,241878290,3893584866,1793199716,1479125268,4262158585,1442777440,325646623,3826480888,665278571,175243026,2757050360,1760166496,1415636746,2836884200,2012960809,241499411,2840995822,1912086370,1482750223,4212860839,1726092917,359464731,3894101733,1487478637]),[],3)}var Fe=[[function(){return t.isChromium()},function(){return p(["ClipboardItem"in(t=window),"PerformanceEventTiming"in t,"RTCSctpTransport"in t])>=2?function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:return t=Le(),n=navigator,r=n[t[3]],(i=n[t[4]])?[4,new Promise((function(e){i[t[5]]((function(t,n){return e(n)}))}))]:[3,2];case 1:return o=e.sent(),[3,4];case 2:return(null==r?void 0:r[t[6]])?[4,r[t[6]]().then((function(e){return e.quota}))]:[3,4];case 3:o=e.sent(),e.label=4;case 4:return o?[2,o<xe()]:[2,!1]}}))}))}():function(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return(t=window.webkitRequestFileSystem)?[4,new Promise((function(e){t(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]:[2,!1];case 1:return[2,e.sent()]}}))}))}();var t}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return L()?t.isDesktopSafari()?[2,je()]:[2,Me()]:[2,qe()]}))}))}],[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 Be(){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=Fe,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 Ve(){return e.__awaiter(this,void 0,void 0,(function(){var n,r,i;return e.__generator(this,(function(a){switch(a.label){case 0:if(n=window,!(r=n.RTCPeerConnection||n.webkitRTCPeerConnection))return[2,-3];try{i=new r({iceServers:[]})}catch(s){if("NotSupportedError"===s.name)return[2,-6];throw s}a.label=1;case 1:return a.trys.push([1,,3,4]),[4,new Promise((function(n,r){var a,u=[],c=function(){return n(e.__spreadArrays(u))};i.onicecandidate=function(e){var t=e.candidate;if(!t)return c();if(t.candidate){if(u.push(t.candidate),u.length>=6)return c();1===u.length&&o(c,10)}},i.onicegatheringstatechange=function(){"complete"===i.iceGatheringState&&c()},i.onicecandidateerror=r;try{null===(a=i.createDataChannel)||void 0===a||a.call(i,"test")}catch(s){return void("NotSupportedError"===s.name?n(-7):r(s))}var l=function(e,t){try{return e.createOffer(t)}catch(s){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(s.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw s}}(i,t.isEdgeHTML()?{offerToReceiveAudio:!0}:void 0);void 0===l?n(-8):l.then((function(e){return i.setLocalDescription(e)}),r)}))];case 2:return[2,a.sent()];case 3:try{i.close()}catch(s){}return[7];case 4:return[2]}}))}))}function Ge(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 He(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}function We(e){var t=Number(e);return isNaN(t)?-1:t}var Ke=["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"],Xe=[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],$e=[32926,32928],Je=["FRAGMENT_SHADER","VERTEX_SHADER"],ze=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function Ye(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function Qe(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Ze(e){return Object.keys(e.__proto__).filter(Qe)}function et(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 tt={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},nt={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},rt={"en-us":e.__assign(e.__assign({},tt),{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({},tt),{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({},nt),{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"]})};rt.default=rt["en-us"],rt.en=rt["en-us"],rt.ru=rt["ru-ru"];var it={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function ot(t){return e.__awaiter(this,void 0,void 0,(function(){var n,r,i,a,s,u,c,l,f=this;return e.__generator(this,(function(d){switch(d.label){case 0:if(!(n=window.RTCPeerConnection))return[2,-5];r=Math.random().toString(),i=new Map,s="candidate:0 1 udp 2113937151 ${addr} ${port} typ host generation 0 ufrag "+(a="ABCD")+" network-cost 999",u=new n({iceTransportPolicy:"all"}),c=u.createDataChannel(r),l=0,d.label=1;case 1:return d.trys.push([1,,3,4]),[4,new Promise((function(n,r){o((function(){return n(-4)}),1e3),u.oniceconnectionstatechange=function(){"checking"===u.iceConnectionState&&(l=setInterval((function(){return e.__awaiter(f,void 0,void 0,(function(){var t,r;return e.__generator(this,(function(e){switch(e.label){case 0:return"checking"!==u.iceConnectionState?[2,n([])]:[4,u.getStats()];case 1:return t=e.sent(),r=[],t.forEach((function(e){if("remote-candidate"===e.type){var t=i.get(e.port);r.push(t)}})),r.length>0&&n(r),[2]}}))}))}),30))},u.createOffer().then((function(e){var r=e.sdp;if(!r)return n(-5);for(var o=[],c=0;c<t.length;c++){var l=t[c],f=50003+c,d=s.replace("${addr}",l).replace("${port}",f.toString());i.set(f,l),o.push("a="+d)}var v={type:"answer",sdp:r.replace(/a=ice-ufrag:(.*?)\s{1,2}/,"a=ice-ufrag:"+a+"\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"+o.join("\r\n")}))};return u.setLocalDescription(e),u.setRemoteDescription(v)}),r)}))];case 2:return[2,d.sent()];case 3:return c.close(),u.close(),clearInterval(l),[7];case 4:return[2]}}))}))}function at(t){return e.__awaiter(this,void 0,void 0,(function(){var n,r=this;return e.__generator(this,(function(i){switch(i.label){case 0:n=new AbortController,i.label=1;case 1:return i.trys.push([1,,3,4]),[4,Promise.race(e.__spreadArrays(t.map((function(t){return e.__awaiter(r,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,fetch("http"+("http:"===location.protocol?"":"s")+"://"+t,{signal:n.signal})];case 1:return e.sent(),[3,3];case 2:return e.sent(),[3,3];case 3:return[2,t]}}))}))})),[a(500,-4)]))];case 2:return[2,i.sent()];case 3:return n.abort(),[7];case 4:return[2]}}))}))}function st(n){return e.__awaiter(this,void 0,void 0,(function(){var r,i;return e.__generator(this,(function(e){switch(e.label){case 0:return t.isWebKit()?[4,ot(r=function(){for(var e=!t.isDesktopSafari(),n=navigator.language.toLowerCase(),r=n.slice(0,2),i=rt[n]||rt[r]||rt.default,o=e?i.i.slice():i.m.slice(),a=e?it.i.slice():it.m.slice(),s=0,u=e?i.n:i.n.slice(0,15);s<u.length;s++)for(var c=u[s],l=0,f=o;l<f.length;l++){var d=f[l];a.push(d.replace("$$",c))}return a.map((function(e){return e+".local"}))}())]:[2,-2];case 1:return i=e.sent(),null==n||n(),"number"==typeof i?[2,i]:i.length===r.length?[2,-3]:i.length>1?[2,at(i)]:1===i.length?[2,i[0]]:[2,-1]}}))}))}var ut,ct,lt=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion"];var ft=((ut={})[0]=function(){return c(a(510,-4),Ve)},ut[1]=function(){var e,n,r,i=((r=new Promise((function(t,r){e=t,n=r}))).resolve=e,r.reject=n,r),o=a(t.isDesktopSafari()?310:410);return c(Promise.race([i,o]).then((function(e){if(void 0!==e)return a(e+100-Date.now())})).then((function(){return-4})),(function(){return st((function(){return i.resolve(Date.now())}))}))},ut[2]=function(){var n=window.speechSynthesis;if("function"!=typeof(null==n?void 0:n.getVoices))return-1;var i,a=function(){return n.getVoices()};return!n.addEventListener||t.isGecko()&&p(["AnonymousContent"in(i=window),!("AudioBuffer"in i),!("RTCPeerConnection"in i),!("geolocation"in navigator),!("ServiceWorker"in i)])>=3?et(a()):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 e.trys.push([0,,2,3]),[4,new Promise((function(e,i){var a,s=function(){t.getVoices().length?(null==a||a(),a=r(e,50)):a||(a=o(e,600))};n=function(){try{s()}catch(e){i(e)}},s(),t.addEventListener("voiceschanged",n)}))];case 1:return[2,e.sent()];case 2:return n&&t.removeEventListener("voiceschanged",n),[7];case 3:return[2]}}))}))}(n).then((function(){return function(){var e=a();return e.length?et(e):-2}}))},ut[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()&&!L()?[2,{s:0,v:1}]:[4,Promise.race([n.canMakePaymentsWithActiveCard(""),a(250,!1)])]:[2,{s:0,v:0}];case 2:return[2,{s:0,v:e.sent()?3:2}];case 3:return[2,Ge(e.sent())];case 4:return[2]}}))}))},ut[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,Be()];case 1:return i=e.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(t,i),[2,i]}}))}))},ut[5]=t.getScreenFrame,ut[8]=function(){var t=this;return c(n(250,-2),(function(){return e.__awaiter(t,void 0,void 0,(function(){var t,n,r;return e.__generator(this,(function(e){switch(e.label){case 0:return(null==(t=navigator.mediaDevices)?void 0:t.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,t.enumerateDevices()]):[2,-1];case 1:return[2,e.sent().map(r)]}}))}))}))},ut[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,y(o)];case 3:if("NotSupportedError"===(s=c.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},ut[6]=function(){var t=this;return c(n(75,-3),(function(){return e.__awaiter(t,void 0,void 0,(function(){var t,n,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:if(!(t=navigator).requestMediaKeySystemAccess)return[2,-1];e.label=1;case 1:return e.trys.push([1,6,,7]),[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 2:return[4,e.sent().createMediaKeys()];case 3:return n=e.sent(),(r=n.createSession()).sessionId?[3,5]:[4,new Promise((function(e){r.onmessage=e,r.generateRequest("webm",new Uint8Array([1,1,1,1]))}))];case 4:e.sent(),e.label=5;case 5:return[2,r.sessionId];case 6:if("NotSupportedError"===(i=e.sent()).name)return[2,-2];throw i;case 7:return[2]}}))}))}))},ut[9]=function(){var t;return e.__awaiter(this,void 0,void 0,(function(){var n,r,i,o=this;return e.__generator(this,(function(a){switch(a.label){case 0:return(n=navigator.userAgentData)&&"object"==typeof n?(r={},i=[],"function"!=typeof n.getHighEntropyValues?[3,2]:[4,Promise.all(lt.map((function(t){return e.__awaiter(o,void 0,void 0,(function(){var o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,n.getHighEntropyValues([t])];case 1:return void 0!==(o=e.sent()[t])&&(r[t]="string"==typeof o?o:JSON.stringify(o)),[3,3];case 2:if("NotAllowedError"!==(a=e.sent()).name)throw a;return i.push(t),[3,3];case 3:return[2]}}))}))})))]):[2,void 0];case 1:a.sent(),a.label=2;case 2:return[2,{b:n.brands.map((function(e){return{b:e.brand,v:e.version}})),m:n.mobile,p:null!==(t=n.platform)&&void 0!==t?t:null,h:r,nah:i}]}}))}))},ut[10]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n;return e.__generator(this,(function(e){switch(e.label){case 0:return(t=navigator.permissions)?[4,t.query({name:"notifications"})]:[2,void 0];case 1:return n=e.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},ut[11]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},ut[12]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},ut[13]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},ut[14]=function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank "+String.fromCharCode(55357,56835)+" gly";n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply";for(var o=0,a=[["#f0f",50,50],["#0ff",100,50],["#ff0",75,100]];o<a.length;o++){var s=a[o],u=s[0],c=s[1],l=s[2];n.fillStyle=u,n.beginPath(),n.arc(c,l,50,0,2*Math.PI,!0),n.closePath(),n.fill()}return n.fillStyle="#f0f",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:Pe(t)}},ut[15]=function(){return void 0!==navigator.plugins},ut[16]=function(){return navigator.platform},ut[17]=function(){return void 0!==window.chrome},ut[18]=function(){return navigator.webdriver},ut[19]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},ut[20]=function(){return navigator.productSub},ut[21]=function(){return eval.toString().length},ut[22]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},ut[23]=function(){var t=window.WebAssembly;if(null==t?void 0:t.validate){for(var n=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10],r=0,i=0,o=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];i<o.length;i++){var a=o[i];r<<=1,r|=t.validate(Uint8Array.of.apply(Uint8Array,e.__spreadArrays(n,a)))?1:0}return r}},ut[24]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},ut[25]=function(){var e=window;if(!t.isChromium())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var n=document.createElement("canvas");n.width=4,n.height=4,n.style.display="inline";var r=n.toDataURL();if(""===r)return!0;for(var i=window.atob(r.split(",")[1]),o=i.length,a=new Uint8Array(o),s=0;s<o;s++)a[s]=i.charCodeAt(s);var u=m(a,[73,68,65,84,24]);if(-1===u)return!1;var c=m(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}},ut[26]=function(){return!!He("dark")||!He("light")&&void 0},ut[27]=function(){var e=Date.now();return[We(e),We(e-6e4*(new Date).getTimezoneOffset())]},ut[28]=function(){for(var e=[],t=Math.random(),n=24575;n>=0;--n)if(n%4096==0){var r=Math.random();e.push((t-r)*Math.pow(2,31)|0),t=r}return e},ut[29]=function(){var e=window.performance;if(null==e?void 0:e.now){for(var t=1,n=1,r=e.now(),i=r,o=0;o<5e4;o++)if((r=i)<(i=e.now())){var a=i-r;a>t?a<n&&(n=a):a<t&&(n=t,t=a)}return[t,n]}},ut[30]=function(){var e,t;return null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit},ut[31]=function(){return{s:t.isWebKit()&&!t.isDesktopSafari()?L()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},ut[32]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},ut[33]=t.isTrident,ut[34]=t.isEdgeHTML,ut[35]=t.isChromium,ut[36]=t.isWebKit,ut[37]=t.isDesktopSafari,ut[38]=t.isGecko,ut[39]=t.isAndroid,ut),dt=((ct={}).j=function(){for(var n=document.createElement("canvas"),r=["webgl","experimental-webgl"],i=void 0,o=0;o<r.length&&!i;o++)try{i=n.getContext(r[o])}catch(s){}if(i){var a=e.__assign(e.__assign({},function(e){var n,r,i,o,a,s,u=e.getSupportedExtensions(),c=e.getExtension("WEBGL_debug_renderer_info"),l=e.getContextAttributes(),f=[],d=[],v=[],g=[];for(var h in l)Object.prototype.hasOwnProperty.call(l,h)&&f.push(h+"="+l[h]);for(var m=Ze(e),_=t.isTrident(),p=0,b=m;p<b.length;p++){var w=e[O=b[p]];if(Xe.indexOf(w)>-1){var y=_&&-1===$e.indexOf(w)?e.getParameter(w):null;d.push(O+"("+w+")="+y)}else d.push(O+"="+w)}if(u)for(var R=0,E=u;R<E.length;R++){var T=E[R],k=e.getExtension(T);if(k)for(var S=0,I=Ze(k);S<I.length;S++){var O;w=k[O=I[S]],Ke.indexOf(O)>0?v.push(O+"("+w+")="+e.getParameter(w)):v.push(O+"="+w)}}for(var A=0,D=Je;A<D.length;A++)for(var C=D[A],N=0,P=ze;N<P.length;N++){var x=P[N],L=Ye(e,C,x);g.push(C+"."+x+"="+L.join(","))}return v.sort(),d.sort(),{version:(null===(n=e.getParameter(e.VERSION))||void 0===n?void 0:n.toString())||"",vendor:(null===(r=e.getParameter(e.VENDOR))||void 0===r?void 0:r.toString())||"",vendorUnmasked:c?null===(i=e.getParameter(c.UNMASKED_VENDOR_WEBGL))||void 0===i?void 0:i.toString():"",renderer:(null===(o=e.getParameter(e.RENDERER))||void 0===o?void 0:o.toString())||"",rendererUnmasked:c?null===(a=e.getParameter(c.UNMASKED_RENDERER_WEBGL))||void 0===a?void 0:a.toString():"",shadingLanguageVersion:(null===(s=e.getParameter(e.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||"",contextAttributes:f.join("&"),parameters:d.join("&"),shaderPrecisions:g.join("&"),extensions:u?u.join(","):"",extensionParameters:v.join(",")}}(i)),{fingerprint:""});return function(e){e.clearColor(0,0,1,1);var t=e.createProgram();if(t){i(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),i(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),e.linkProgram(t),e.useProgram(t),e.enableVertexAttribArray(0);var n=e.getUniformLocation(t,"t"),r=e.createBuffer();e.bindBuffer(34962,r),e.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),e.vertexAttribPointer(0,2,5126,!1,0,0),e.clear(16384),e.uniform1f(n,3.65),e.drawArrays(4,0,3)}function i(n,r){var i=e.createShader(35633-n);t&&i&&(e.shaderSource(i,r),e.compileShader(i),e.attachShader(t,i))}}(i),a.fingerprint=n.toDataURL(),a}},ct);function vt(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 gt(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 ht(e,t,n){var r=location.hostname;(mt(r,(function(t){!function(e,t){gt(e,"",-1,t)}(e,t)})),n<0)||mt(r,(function(r){return gt(e,t,n,r),vt(e)!==t}))&>(e,t,n)}function mt(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 _t(e){return[vt(e),bt(e)]}function pt(e,t){ht(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 bt(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 wt(e,t,n,r,i){if(!t){var o=function(e,t){return t||ne[e]}(e,n);return N(i,(function(){return{e:6,endpoint:o}})),[re(o,r,i),Date.now()]}}function yt(t,n,r,i,o,s,u){var c=this;var l=function(t,n,u,l,v,g,h){return e.__awaiter(c,void 0,void 0,(function(){var c,m,_,p,b,w,y,R,E;return e.__generator(this,(function(e){switch(e.label){case 0:return c=a(l).then((function(){throw new Error("Client timeout")})),[4,Promise.race([c,Promise.all([d(h),f(l,u,h)])])];case 1:return m=e.sent(),_=m[0],p=m[1],b=s,w=s+"_t",[4,Ne({token:r,endpoint:Ce(i,o),components:_,componentsDuration:0,tag:t,visitorId:_t(b),visitorToken:_t(w),tls:p,linkedId:n,extendedResult:v,ipResolution:g},c,h)];case 2:return y=e.sent(),R=y[0],(E=y[1])?pt(E,w):R.visitorId&&pt(R.visitorId,b),[2,R]}}))}))},f=function(t,r,i){return e.__awaiter(c,void 0,void 0,(function(){var o,s,u,c,l;return e.__generator(this,(function(e){switch(e.label){case 0:if(!n||r)return[2,void 0];o=n[0],s=n[1],u=Math.min(Math.max(.1*t,s+1e4-Date.now()),.4*t),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,o(a(u))];case 2:return c=e.sent(),N(i,(function(){return{e:7,result:c}})),[2,{value:c}];case 3:return l=e.sent(),N(i,(function(){return{e:8,error:l}})),[2,{error:l}];case 4:return[2]}}))}))},d=function(n){return e.__awaiter(c,void 0,void 0,(function(){var r,i;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t()];case 1:return r=e.sent(),N(n,(function(){return{e:13,result:r}})),[2,r];case 2:throw i=e.sent(),N(n,(function(){return{e:14,error:i}})),i;case 3:return[2]}}))}))};return{get:function(t){void 0===t&&(t={});var n=u&&function(t,n){return function(r){return t(e.__assign(e.__assign({},r),{getCallId:n}))}}(u,T(8));return P(n,(function(){return{e:3,options:t}}),(function(e){return{e:4,result:e}}),(function(e){return{e:5,error:e}}),(function(){var e=t.timeout,r=void 0===e?1e4:e,i=t.tag,o=t.linkedId,a=t.disableTls,s=t.extendedResult,u=t.ipResolution;return l(i,o,a,r,s,u,n)}))}}}var Rt=function(n,r,i){var o=this,a=i.debug&&function(t,n){return function(r){return t(e.__assign(e.__assign({},r),{agentId:n}))}}(i.debug,T(8));return P(a,(function(){return{e:0,version:"3.4.0",options:i}}),(function(){return{e:1}}),(function(e){return{e:2,error:e}}),(function(){return e.__awaiter(o,void 0,void 0,(function(){var o,s,u,c,l,f,d,v,g,h;return e.__generator(this,(function(e){switch(e.label){case 0:if(o=i.token,s=i.region,u=void 0===s?"us":s,c=i.tlsEndpoint,l=i.disableTls,f=i.storageKey,d=void 0===f?"_vid":f,v=i.endpoint,g=i.delayFallback,!o||"string"!=typeof o)throw new Error("Token required");return h=wt(u,l,c,r,a),[4,t.prepareForSources(g)];case 1:return e.sent(),N(a,(function(){return{e:12}})),[2,yt(n({storageKeyPrefix:d}),h,o,u,v,d,a)]}}))}))}))}.bind(null,(function(n){t.sources.screenFrame;var r=e.__rest(t.sources,["screenFrame"]);return t.loadSources(e.__assign(e.__assign(e.__assign({},ft),r),dt),n,[])}),void 0),Et={load:Rt,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_WRONG_REGION:_e,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_BAD_RESPONSE_FORMAT:"Response 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_BAD_RESPONSE_FORMAT="Response 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=pe,exports.ERROR_TOKEN_EXPIRED="Token expired",exports.ERROR_TOKEN_INVALID="Token not found",exports.ERROR_TOKEN_MISSING="Token required",exports.ERROR_WRONG_REGION=_e,exports.default=Et,exports.load=Rt,exports.makeConsoleDebugger=I,exports.makeDebugReportBuilder=j,exports.makeMulticastDebugger=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&s((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}},exports.makeRemoteDebugger=$; |
/** | ||
* FingerprintJS Pro v3.4.0-dev.1 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* FingerprintJS Pro v3.4.0 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* | ||
@@ -4,0 +4,0 @@ * This software contains code from open-source projects: |
/** | ||
* FingerprintJS Pro v3.4.0-dev.1 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* FingerprintJS Pro v3.4.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 f,isEdgeHTML as d,getScreenFrame as v,isAndroid as h,sources as g,loadSources as m,prepareForSources as p}from"@fingerprintjs/fingerprintjs";var b="3.4.0-dev.1";function w(e,t){return new Promise((function(n){return y(n,e,t)}))}function y(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Date.now()+t,o=0,a=function(){o=setTimeout((function(){Date.now()<i?a():e.apply(void 0,n)}),i-Date.now())};return a(),function(){return clearTimeout(o)}}function E(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var o,a=!1,u=e,s=0,c=function(){a||o||(s=Date.now(),o=y((function(){a=!0,n.apply(void 0,r)}),u))},l=function(){!a&&o&&(o(),o=void 0,u-=Date.now()-s)};return t&&c(),{start:c,stop:l}}function R(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=document,o="visibilitychange",a=function(){return i.hidden?c():s()},u=E(t,!i.hidden,(function(){i.removeEventListener(o,a),e.apply(void 0,n)})),s=u.start,c=u.stop;return i.addEventListener(o,a),function(){i.removeEventListener(o,a),c()}}function T(e,t){return new Promise((function(n){return R(n,e,t)}))}function k(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 S(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 _(n,r){return e(this,void 0,void 0,(function(){var e,i,o,a;return t(this,(function(t){switch(t.label){case 0:try{e=r().then((function(e){return i=[!0,e]}),(function(e){return i=[!1,e]}))}catch(u){i=[!1,u]}return a=n.then((function(e){return o=[!0,e]}),(function(e){return o=[!1,e]})),[4,Promise.race([e,a])];case 1:return t.sent(),[2,function(){if(i){if(i[0])return i[1];throw i[1]}if(o){if(o[0])return o[1];throw o[1]}throw new Error("96375")}]}}))}))}function I(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 A(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function C(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 D(e){return e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var O="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=O.slice(0,-2);function N(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 x(e){if("function"==typeof TextDecoder){var t=(new TextDecoder).decode(e);if(t)return t}var n=D(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,n)))}function L(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function j(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function q(e,t){return(e-t+256)%256}function M(e){for(var t=D(e),n=t.length,r="",i=0;i<n;i+=3)r+=O[t[i]>>2]+O[(3&t[i])<<4|t[i+1]>>4]+O[(15&t[i+1])<<2|t[i+2]>>6]+O[63&t[i+2]];return n%3==2?r.slice(0,-1)+"=":n%3==1?r.slice(0,-2)+"==":r}function U(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 F(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function B(e){return F(e,P)}function V(){return 256*Math.random()|0}function G(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&k((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}function W(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"}}var $=function(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(H(e,t));break;case 13:var n=H(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(H(e,t))}}};function H(e,t){var n=t.e,i=r(t,["e"]),o=""+e+(new Date).toISOString()+": "+W(n);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?I(t,!0):t instanceof ArrayBuffer?"(base64) "+M(t):t}),2)}(i)+"\n```"),o}function K(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 f 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(f,o[f]);a.onload=function(){return e(function(e){return{body:e.response,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(X("TimeoutError","The request timed out"))},a.onabort=function(){return n(X("AbortError","The request is aborted"))},a.onerror=function(){return n(X("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 X(e,t){var n=new Error(t);return n.name=e,n}function J(e){var t,n=e.url,r=e.body;try{if(null===(t=navigator.sendBeacon)||void 0===t?void 0:t.call(navigator,n,r))return!0}catch(o){if("Illegal invocation"!==o.message)throw o}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(a){return!1}return!0}function z(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e&&k((function(){var r=t.apply(void 0,n);void 0!==r&&e(r)}))}function Y(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:z(n,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 u=t.sent(),z(n,o,u),u;case 4:return z(n,i,e),[2,e]}}))}))}function Z(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:B(10)}function Q(){var e=window,t=navigator;return L(["maxTouchPoints"in t,"mediaCapabilities"in t,"PointerEvent"in e,"visualViewport"in e,"onafterprint"in e])>=4}var ee=function(e){return new te(e).addEvent},te=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&&(n.documentReadyState=document.readyState,n.isPageVisible=ce(),n.isFullscreen=le(),n.network=fe()),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 f=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()})),d=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)}f(),d()}}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:ce()})},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:le()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:fe()})},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];re(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;if(this.events[n]||(this.events[n]={commonEvents:[],getCalls:{}}),function(e){return"string"==typeof e.getCallId}(t)){var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}else this.events[n].commonEvents.push(e)},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t];this.events[r].commonEvents.push(e)}},e.prototype.submitReport=function(e,t){var r=function(e,t){for(var r,i,o,a,u,s,c,l,f,d,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),h=(null===(r=e[e.length-1])||void 0===r?void 0:r.time)||new Date,g="null",m=0,p=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];m<p.length;m++){var b=p[m],w=b[0],y=b[1];if(v[w]){g=y;break}}return{time:(null===(i=e[e.length-1])||void 0===i?void 0:i.time)||new Date,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:A(),agentVersion:null===(o=v[0])||void 0===o?void 0:o.event.version,userAgent:navigator.userAgent,pageViewId:Z(),agentId:null===(a=v[0])||void 0===a?void 0:a.event.agentId,getCallId:null===(u=v[3])||void 0===u?void 0:u.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===(f=v[4])||void 0===f?void 0:f.event.result.visitorId,visitorToken:null===(d=v[16])||void 0===d?void 0:d.event.result[1],identificationState:g,timeBetweenLoadAndGet:ne(v[1],v[3]),load:ie(h,v[0],v[1],v[2]),get:ie(h,v[3],v[4],v[5]),tls:ae(ie(h,v[6],v[7],v[8]),(function(){var t,r;return n(n({},oe(e,9,10,11,(null===(t=v[7])||void 0===t?void 0:t.time)||(null===(r=v[8])||void 0===r?void 0:r.time)||h)),{getPhaseDuration:ne(v[3],v[7]||v[8],h)})})),fingerprint:ae(ie(h,v[12],v[13],v[14],(function(e){var t=e.event;return{failedComponents:ue(t.result),componentDurations:se(t.result)}})),(function(){return{getPhaseDuration:ne(v[3],v[13]||v[14],h)}})),visitorIdRequest:ae(ie(h,v[15],v[16],v[17]),(function(){var t,n;return oe(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)||h)})),events:e}}(function(e,t,n){var r=[];e[t]&&(r.push.apply(r,e[t].commonEvents),void 0!==n&&r.push.apply(r,e[t].getCalls[n]||[]));return r.sort((function(e,t){return e.time.getTime()-t.time.getTime()})),r}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(r)}catch(i){console.error(i)}},e}();function ne(e,t,n){var r=null==e?void 0:e.time,i=(null==t?void 0:t.time)||n;return r&&i&&i.getTime()-r.getTime()}function re(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function ie(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 oe(e,t,n,r,i){for(var o=i.getTime(),a=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]),u={triesCount:0,triesTotalDuration:0,completeTriesCount:0,completeTriesTotalDuration:0},s=0,c=a;s<c.length;s++){var l=c[s],f=l[t],d=l[n]||l[r];if(f){if(f.time.getTime()>=o)break;var v=d&&d.time.getTime()<=o,h=((null==d?void 0:d.time)||i).getTime()-f.time.getTime();u.triesCount++,u.triesTotalDuration+=h,v&&(u.completeTriesCount++,u.completeTriesTotalDuration+=h)}}return u}function ae(e,t){return e?n(n({},e),t()):void 0}function ue(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i].error;o&&(t[i]=o)}return t}function se(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 ce(){return!document.hidden}function le(){return!!o()}function fe(){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 de=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 te((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:ve(e,t,r)}}(n,i,o),[4,we(u,e)];case 1:return t.sent(),[2]}}))}))})).addEvent};function ve(e,t,n){var r,o;void 0===n&&(n=[8,4,4,4,12].map((function(e){return F(e,"0123456789abcdef")})).join("-"));var a=he[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.4.0-dev.1"},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:i([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(o=e.fingerprint)||void 0===o?void 0:o.state)?pe(e.fingerprint.componentDurations):void 0}}],e.events.map(ge)),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,timeBetweenLoadAndGet:e.timeBetweenLoadAndGet,load:e.load,get:e.get,tls:e.tls,fingerprint:me(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var he={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 ge(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:W(i.e)},s)}),l=0,f=["documentReadyState","isPageVisible","isFullscreen","network"];l<f.length;l++){var d=f[l];void 0!==e[d]&&(c.body[d]=e[d])}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:j(i.result,1e3)}));case 10:return o(n(n({},i),{body:j(i.body,1e3)}));case 13:return o(n(n({},i),{result:be(i.result)}));case 19:var a=i.body;if(a instanceof ArrayBuffer){a="(base64) "+(a.byteLength>1800?M(new Uint8Array(a,0,1800))+"...":M(a))}return o(n(n({},i),{body:a}))}}function me(e){if(!e||"incomplete"===e.state||"fail"===e.state)return e;e.componentDurations;var t=r(e,["componentDurations"]),i=Object.keys(e.failedComponents),o=i.length?","+i.join(",")+",":void 0;return n(n({},t),{failedComponents:o})}function pe(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 be(e){var t,r="(removed to fit into beacon)";return function(e,t){for(var r={},i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];!e[a].error&&t[a]?r[a]=n(n({},e[a]),{value:t[a](e[a].value)}):r[a]=e[a]}return r}(e,((t={plugins:function(e){return e&&r}})[14]=function(e){return n(n({},e),{data:r})},t.math=function(){return r},t.fontPreferences=function(){return r},t.j=function(e){return e&&r},t[9]=function(e){return e&&r},t))}function we(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=I(t);return"string"==typeof n.stack&&(n.stack=j(n.stack,1e3)),n}return t}))}(r),i=C(1e3,1e4),t.label=1;case 1:return navigator.onLine&&J({url:n,body:e})?[3,4]:[4,w(i.next().value)];case 2:t.sent(),t.label=3;case 3:return[3,1];case 4:return[2]}}))}))}var ye={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function Ee(n,r,i){var o,a=function(e,n,r,i){void 0===r&&(r=1/0);var o=C(300,1e4);return S(null==i?void 0:i.then((function(){}),(function(){})),(function(){var a,u,s;return t(this,(function(t){switch(t.label){case 0:a=0,t.label=1;case 1:if(!(a<r))return[3,8];u=Date.now(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,e(a,i)];case 3:return[2,t.sent()];case 4:return s=t.sent(),n(s),[3,5];case 5:return[4,w(u+o.next().value-Date.now())];case 6:t.sent(),t.label=7;case 7:return++a,[3,1];case 8:return[2,void 0]}}))}))}((function(r,o){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,Y(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 K({url:n,timeout:r,abort:o})}))];case 1:return e=t.sent(),[3,3];case 2:switch((u=t.sent()).name){case"AbortError":throw Re(u.message,-2);case"TimeoutError":throw Re(u.message,-3);case"TypeError":throw Re(u.message,-4)}throw u;case 3:if(200===e.status)return[2,e.body];throw Re(j(e.status+": "+e.body,255),-5)}}))}))}(n,5e3,r,o,i)}),(function(e){return o=e}),10,r);return a.catch((function(){})),function(e){return void 0===e&&(e=new Promise((function(){}))),Promise.race([e.then((function(){}),(function(){})),a]).then((function(e){if(void 0!==e)return e;throw o||Re("Timeout",-3)}))}}function Re(e,t){var n=new Error(e);return n.__="slt",n.s=t,n}function Te(e){return"slt"===e.__}var ke,Se="Client timeout",_e="Network connection error",Ie="Network request aborted",Ae="Response cannot be parsed";function Ce(e){var t,r,i=e.components,o=e.componentsDuration,s=e.token,c=e.visitorId,l=e.visitorToken,f=e.tls,d=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}}(d),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(Te(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))}(f)),((r={}).k1=je(i.osCpu),r.k2=je(i.languages),r.k3=je(i.colorDepth),r.k4=je(i.deviceMemory),r.k5=function(e){if(e.error)return;return e.value.map((function(e){return null===e?-1:e}))}(i.screenResolution),r.k6=je(i[11],void 0,[]),r.k7=je(i.hardwareConcurrency,void 0,1),r.k8=je(i[12]),r.k9=je(i[13]),r.k10=qe(je(i.sessionStorage)),r.k11=qe(je(i.localStorage)),r.k12=qe(je(i.indexedDB)),r.k13=qe(je(i.openDatabase)),r.k14=je(i.cpuClass),r.k15=je(i[16]),r.k16=function(e){if(e.error||u())return[];return e.value}(i.plugins),r.k17=function(e){if(!e)return;return n(n({},e),{data:a(e.data)})}(je(i[14])),r.k18=0,r.k19=je(i.touchSupport),r.k20=je(i.fonts,[]),r.k21=je(i.audio,-4),r.k22=qe(je(i[15])),r.k23=je(i[20]),r.k24=je(i[21]),r.k25=qe(je(i[22])),r.k26=qe(je(i[18])),r.k27=je(i.vendor),r.k28=qe(je(i[17])),r.k29=qe(je(i[10])),r.k30=qe(je(i[19])),r.k31=qe(je(i[4],!1)),r.k32=qe(je(i.cookiesEnabled,!1)),r.k33=qe(je(i[25])),r.k35=function(e){var t=e.value;if(!t||-6===t||-7===t||-8===t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return j(e,255)}))}}(i[0]),r.s1=xe(i.osCpu,-1),r.s2=Pe(i.languages),r.s3=Pe(i.colorDepth),r.s4=xe(i.deviceMemory,-1),r.s5=De(i.screenResolution,(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),r.s6=De(i[5],(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),r.s7=xe(i.hardwareConcurrency,-1),r.s8=Le(i[6]),r.s9=Pe(i.timezone),r.s10=Pe(i.sessionStorage),r.s11=Pe(i.localStorage),r.s12=xe(i.indexedDB,-1),r.s13=Pe(i.openDatabase),r.s14=xe(i.cpuClass,-1),r.s15=Pe(i.platform),r.s16=xe(i.plugins,-1),r.s17=De(i.canvas,(function(e){return{s:0,v:n(n({},e),{geometry:a(e.geometry),text:a(e.text)})}})),r.s18=Le(i[7]),r.s19=Pe(i.touchSupport),r.s20=Pe(i.fonts),r.s21=De(i.audio,(function(e){return-1===e||-2===e||-3===e?{s:e,v:null}:{s:0,v:e}})),r.s22=xe(i[23],-1),r.s26=Le(i[8]),r.s27=Pe(i.vendor),r.s28=Pe(i.vendorFlavors),r.s30=xe(i[24],-1),r.s31=Pe(i[4]),r.s32=Pe(i.cookiesEnabled),r.s33=Pe(i[25]),r.s34=Le(i[0],(function(e){return e.map((function(e){return j(e,255)}))})),r.s35=Ne(i[3]),r.s36=xe(i.domBlockers,-1),r.s37=xe(i.colorGamut,-1),r.s38=xe(i.contrast,-1),r.s39=xe(i.forcedColors,-1),r.s40=xe(i.hdr,-1),r.s41=xe(i.invertedColors,-1),r.s42=xe(i.monochrome,-1),r.s43=xe(i.reducedMotion,-1),r.s44=xe(i[26],-1),r.s45=Pe(i[27]),r.s46=De(i.math,(function(e){return{s:0,v:a(Object.keys(e).map((function(t){return t+"="+e[t]})).join(","))}})),r.s47=De(i.j,(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=Pe(i[28]),r.s49=xe(i[29],-1),r.s50=xe(i[30],-1),r.s51=Pe(i.fontPreferences),r.s52=De(i[2],(function(e){return{s:"number"==typeof e?e:e.length?0:1,v:"number"==typeof e?"":a(JSON.stringify(e))}})),r.s53=Ne(i[31]),r.s54=Le(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 Te(t)?{s:t.s,v:null}:{e:t.message}}return{s:0,v:e.value}}(f),r.s57=xe(i[32],-1),r.s58=xe(i[9],-1),r.s59=Pe(i[33]),r.s60=Pe(i[34]),r.s61=Pe(i[35]),r.s62=Pe(i[36]),r.s63=Pe(i[37]),r.s64=Pe(i[38]),r.s65=Pe(i[39]),r))}function De(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 j(t,500)}function Pe(e){return De(e,(function(e){return{s:0,v:e}}))}function Ne(e){return De(e,(function(e){return e}))}function xe(e,t){return De(e,(function(e){return{s:null==e?t:0,v:null!=e?e:null}}))}function Le(e,t){return De(e,(function(e){return"number"==typeof e?{s:e,v:null}:{s:0,v:t?t(e):e}}))}function je(e,t,n){return e.error?t:void 0===e.value?n:e.value}function qe(e){return!0===e?1:!1===e?0:e}var Me=((ke={}).TokenRequired="Token required",ke.TokenNotFound="Token not found",ke.TokenExpired="Token expired",ke.RequestCannotBeParsed="Request cannot be parsed",ke.Failed="Request failed",ke.RequestTimeout="Request failed to process",ke.TooManyRequests="Too many requests, rate limit exceeded",ke.OriginNotAvailable="Not available for this origin",ke.HeaderRestricted="Not available with restricted header",ke.NotAvailableForCrawlBots="Not available for crawl bots",ke.NotAvailableWithoutUA="Not available when User-Agent is unspecified",ke),Ue=U("WrongRegion"),Fe=U("SubscriptionNotActive");function Be(e,t){var i=e.bodyData;return void 0===i?Xe(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(He(r),o)return Ve(o,i,t);var u=a.identification;if(!u)throw new Error("There is no identification result in the response");if(He(u.notifications),u.error)return Ve(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&&Ke(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&&Ke(n);switch(r){case"Not available for crawl bots":return We(i,!0,t);case"Not available when User-Agent is unspecified":return We(i,void 0,t);case"Request failed":case"Request failed to process":case"Too many requests, rate limit exceeded":return $e(r,i);default:throw $e(r,i)}}(i,t):Xe(e)}function Ve(e,t,n){switch(e.code){case"NotAvailableForCrawlBots":return We(t,!0,n);case"NotAvailableWithoutUA":return We(t,void 0,n);case"Failed":case"RequestTimeout":case"TooManyRequests":return $e(Ge(e),t,e);default:throw $e(Ge(e),t,e)}}function Ge(e){var t=e.code,n=e.message;if(void 0===t)return n;if(Object.prototype.hasOwnProperty.call(Me,t)){var r=Me[t];if(void 0!==r)return r}return U(t)}function We(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 $e(e,t,n){var r=new Error(e);return void 0!==t&&(r.requestId=t),void 0!==n&&(r.raw=n),r}function He(e){null==e||e.forEach(Ke)}function Ke(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}function Xe(e){var t=$e("Response cannot be parsed",void 0,{statusText:e.statusText,bodyBase64:M(e.body)});if(e.status>=500)return t;throw t}function Je(e,t,n,r,i){void 0===i&&(i=V);var o=i()%(n+1),a=function(e){if("function"==typeof TextEncoder)return(new TextEncoder).encode(e);for(var t=unescape(encodeURI(e)),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}(JSON.stringify(e)),u=1+t.length+1+o+r+a.length,s=new ArrayBuffer(u),c=new Uint8Array(s),l=0,f=i();c[l++]=f;for(var d=0,v=t;d<v.length;d++){var h=v[d];c[l++]=f+h}c[l++]=f+o;for(var g=0;g<o;++g)c[l++]=i();var m=new Uint8Array(r);for(g=0;g<r;++g)m[g]=i(),c[l++]=m[g];for(g=0;g<a.length;++g)c[l++]=a[g]^m[g%r];return s}function ze(e,t,n){var r=function(){throw new Error("Invalid data")},i=D(e);i.length<t.length+2&&r();for(var o=0;o<t.length;++o)q(i[1+o],i[0])!==t[o]&&r();var a=1+t.length,u=q(i[a],i[0]);i.length<a+1+u+n&&r();var s=a+1+u,c=s+n,l=new Uint8Array(i.length-c);for(o=0;o<l.length;++o)l[o]=i[c+o]^i[s+o%n];return JSON.parse(x(l))}var Ye=[3,7];function Ze(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,K(n(n({},r),{body:(u=r.body,Je(u,Ye,3,7)),responseFormat:"binary"}))];case 1:e=t.sent();try{a=e.body,i=ze(a,Ye,7),o=!0}catch(Ot){try{i=JSON.parse(x(e.body)),o=!1}catch(s){}}return[2,n(n({},e),{bodyData:i,isSecret:o})]}var a,u}))}))}function Qe(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function et(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(f){switch(f.label){case 0:return r=(d=u)+(-1===d.indexOf("?")?"?":"&")+"cv="+encodeURIComponent(b),i=Ce(n({extendedResult:c},l)),s=0,[4,Y(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=C(300,1e4);return S(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,w(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,Y(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 Ze({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,Be(e,i)]}}))}))}(r,i,c,s++,n,a)}),o)}))];case 1:return[2,f.sent()]}var d}))}))}function tt(e){return e.toDataURL()}function nt(){var e,t,n=rt();return(null===(t=null===(e=window[n[0]])||void 0===e?void 0:e[n[1]])||void 0===t?void 0:t[n[2]])||1073741824}function rt(){return ze(new Uint32Array([1238629110,448276002,3812774028,808844344,1040086494,3917076003,2006609522,3391962601,1618783843,902064594,3846817827,1945380650,2587245025,908308022,938305751,2922813991,1910122279,3709215973,809499767,66414809,3983071030,916072247,3711377838,822474088,300514777,4182498348,953759295,3408360096,591258990,229539788]),[],5)}function it(){var e=ut(),t=window[e[0]];if(!t)return!1;try{t[e[1]][e[2]](e[3],e[4],{},(function(){}))}catch(n){return!new RegExp(e[5]).test(n)}return!1}function ot(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:e=document,n=ut(),(r=e.createElement("iframe")).style.display="none",t.label=1;case 1:return e.body?[3,3]:[4,w(50)];case 2:return t.sent(),[3,1];case 3:return t.trys.push([3,,5,6]),e.body.appendChild(r),[4,Promise.race([w(20,!1),new Promise((function(e){r.contentWindow?r.contentWindow[n[6]].addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 4:return[2,t.sent()];case 5:return r.remove(),[7];case 6:return[2]}}))}))}function at(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}function ut(){return ze(new Uint32Array([571803394,2333197341,667974149,459532809,2807590137,1996360231,241878290,3893584866,1793199716,1479125268,4262158585,1442777440,325646623,3826480888,665278571,175243026,2757050360,1760166496,1415636746,2836884200,2012960809,241499411,2840995822,1912086370,1482750223,4212860839,1726092917,359464731,3894101733,1487478637]),[],3)}var st=[[function(){return c()},function(){return L(["ClipboardItem"in(n=window),"PerformanceEventTiming"in n,"RTCSctpTransport"in n])>=2?function(){return e(this,void 0,void 0,(function(){var e,n,r,i,o;return t(this,(function(t){switch(t.label){case 0:return e=rt(),n=navigator,r=n[e[3]],(i=n[e[4]])?[4,new Promise((function(t){i[e[5]]((function(e,n){return t(n)}))}))]:[3,2];case 1:return o=t.sent(),[3,4];case 2:return(null==r?void 0:r[e[6]])?[4,r[e[6]]().then((function(e){return e.quota}))]:[3,4];case 3:o=t.sent(),t.label=4;case 4:return o?[2,o<nt()]:[2,!1]}}))}))}():function(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return(e=window.webkitRequestFileSystem)?[4,new Promise((function(t){e(0,1,(function(){return t(!1)}),(function(){return t(!0)}))}))]:[2,!1];case 1:return[2,t.sent()]}}))}))}();var n}],[function(){return l()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return Q()?f()?[2,it()]:[2,ot()]:[2,at()]}))}))}],[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()||d()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function ct(){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=st,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 lt(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:if(e=window,!(n=e.RTCPeerConnection||e.webkitRTCPeerConnection))return[2,-3];try{r=new n({iceServers:[]})}catch(o){if("NotSupportedError"===o.name)return[2,-6];throw o}t.label=1;case 1:return t.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n,a=[],u=function(){return e(i(a))};r.onicecandidate=function(e){var t=e.candidate;if(!t)return u();if(t.candidate){if(a.push(t.candidate),a.length>=6)return u();1===a.length&&R(u,10)}},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&u()},r.onicecandidateerror=t;try{null===(n=r.createDataChannel)||void 0===n||n.call(r,"test")}catch(o){return void("NotSupportedError"===o.name?e(-7):t(o))}var s=function(e,t){try{return e.createOffer(t)}catch(o){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(o.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw o}}(r,d()?{offerToReceiveAudio:!0}:void 0);void 0===s?e(-8):s.then((function(e){return r.setLocalDescription(e)}),t)}))];case 2:return[2,t.sent()];case 3:try{r.close()}catch(o){}return[7];case 4:return[2]}}))}))}function ft(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 dt(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}function vt(e){var t=Number(e);return isNaN(t)?-1:t}var ht=["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"],gt=[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],mt=[32926,32928],pt=["FRAGMENT_SHADER","VERTEX_SHADER"],bt=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function wt(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function yt(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Et(e){return Object.keys(e.__proto__).filter(yt)}function Rt(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 Tt={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},kt={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},St={"en-us":n(n({},Tt),{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({},Tt),{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({},kt),{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"]})};St.default=St["en-us"],St.en=St["en-us"],St.ru=St["ru-ru"];var _t={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function It(n){return e(this,void 0,void 0,(function(){var r,i,o,a,u,s,c,l,f=this;return t(this,(function(d){switch(d.label){case 0:if(!(r=window.RTCPeerConnection))return[2,-5];i=Math.random().toString(),o=new Map,u="candidate:0 1 udp 2113937151 ${addr} ${port} typ host generation 0 ufrag "+(a="ABCD")+" network-cost 999",s=new r({iceTransportPolicy:"all"}),c=s.createDataChannel(i),l=0,d.label=1;case 1:return d.trys.push([1,,3,4]),[4,new Promise((function(r,i){R((function(){return r(-4)}),1e3),s.oniceconnectionstatechange=function(){"checking"===s.iceConnectionState&&(l=setInterval((function(){return e(f,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return"checking"!==s.iceConnectionState?[2,r([])]:[4,s.getStats()];case 1:return e=t.sent(),n=[],e.forEach((function(e){if("remote-candidate"===e.type){var t=o.get(e.port);n.push(t)}})),n.length>0&&r(n),[2]}}))}))}),30))},s.createOffer().then((function(e){var t=e.sdp;if(!t)return r(-5);for(var i=[],c=0;c<n.length;c++){var l=n[c],f=50003+c,d=u.replace("${addr}",l).replace("${port}",f.toString());o.set(f,l),i.push("a="+d)}var v={type:"answer",sdp:t.replace(/a=ice-ufrag:(.*?)\s{1,2}/,"a=ice-ufrag:"+a+"\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 s.setLocalDescription(e),s.setRemoteDescription(v)}),i)}))];case 2:return[2,d.sent()];case 3:return c.close(),s.close(),clearInterval(l),[7];case 4:return[2]}}))}))}function At(n){return e(this,void 0,void 0,(function(){var r,o=this;return t(this,(function(a){switch(a.label){case 0:r=new AbortController,a.label=1;case 1:return a.trys.push([1,,3,4]),[4,Promise.race(i(n.map((function(n){return e(o,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,fetch("http"+("http:"===location.protocol?"":"s")+"://"+n,{signal:r.signal})];case 1:return e.sent(),[3,3];case 2:return e.sent(),[3,3];case 3:return[2,n]}}))}))})),[T(500,-4)]))];case 2:return[2,a.sent()];case 3:return r.abort(),[7];case 4:return[2]}}))}))}function Ct(n){return e(this,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return l()?[4,It(e=function(){for(var e=!f(),t=navigator.language.toLowerCase(),n=t.slice(0,2),r=St[t]||St[n]||St.default,i=e?r.i.slice():r.m.slice(),o=e?_t.i.slice():_t.m.slice(),a=0,u=e?r.n:r.n.slice(0,15);a<u.length;a++)for(var s=u[a],c=0,l=i;c<l.length;c++){var d=l[c];o.push(d.replace("$$",s))}return o.map((function(e){return e+".local"}))}())]:[2,-2];case 1:return r=t.sent(),null==n||n(),"number"==typeof r?[2,r]:r.length===e.length?[2,-3]:r.length>1?[2,At(r)]:1===r.length?[2,r[0]]:[2,-1]}}))}))}var Dt,Ot,Pt=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion"];var Nt=((Dt={})[0]=function(){return _(T(510,-4),lt)},Dt[1]=function(){var e,t,n,r=((n=new Promise((function(n,r){e=n,t=r}))).resolve=e,n.reject=t,n),i=T(f()?310:410);return _(Promise.race([r,i]).then((function(e){if(void 0!==e)return T(e+100-Date.now())})).then((function(){return-4})),(function(){return Ct((function(){return r.resolve(Date.now())}))}))},Dt[2]=function(){var n=window.speechSynthesis;if("function"!=typeof(null==n?void 0:n.getVoices))return-1;var r,i=function(){return n.getVoices()};return!n.addEventListener||s()&&L(["AnonymousContent"in(r=window),!("AudioBuffer"in r),!("RTCPeerConnection"in r),!("geolocation"in navigator),!("ServiceWorker"in r)])>=3?Rt(i()):function(n){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,new Promise((function(t,r){var i,o=function(){n.getVoices().length?(null==i||i(),i=y(t,50)):i||(i=R(t,600))};e=function(){try{o()}catch(e){r(e)}},o(),n.addEventListener("voiceschanged",e)}))];case 1:return[2,t.sent()];case 2:return e&&n.removeEventListener("voiceschanged",e),[7];case 3:return[2]}}))}))}(n).then((function(){return function(){var e=i();return e.length?Rt(e):-2}}))},Dt[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()&&!Q()?[2,{s:0,v:1}]:[4,Promise.race([e.canMakePaymentsWithActiveCard(""),T(250,!1)])]:[2,{s:0,v:0}];case 2:return[2,{s:0,v:t.sent()?3:2}];case 3:return[2,ft(t.sent())];case 4:return[2]}}))}))},Dt[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,ct()];case 1:return i=t.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(e,i),[2,i]}}))}))},Dt[5]=v,Dt[8]=function(){var n=this;return _(w(250,-2),(function(){return e(n,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.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,e.enumerateDevices()]):[2,-1];case 1:return[2,t.sent().map(r)]}}))}))}))},Dt[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,M(a)];case 3:if("NotSupportedError"===(s=l.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},Dt[6]=function(){var n=this;return _(w(75,-3),(function(){return e(n,void 0,void 0,(function(){var e,n,r,i;return t(this,(function(t){switch(t.label){case 0:if(!(e=navigator).requestMediaKeySystemAccess)return[2,-1];t.label=1;case 1:return t.trys.push([1,6,,7]),[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 2:return[4,t.sent().createMediaKeys()];case 3:return n=t.sent(),(r=n.createSession()).sessionId?[3,5]:[4,new Promise((function(e){r.onmessage=e,r.generateRequest("webm",new Uint8Array([1,1,1,1]))}))];case 4:t.sent(),t.label=5;case 5:return[2,r.sessionId];case 6:if("NotSupportedError"===(i=t.sent()).name)return[2,-2];throw i;case 7:return[2]}}))}))}))},Dt[9]=function(){var n;return e(this,void 0,void 0,(function(){var r,i,o,a=this;return t(this,(function(u){switch(u.label){case 0:return(r=navigator.userAgentData)&&"object"==typeof r?(i={},o=[],"function"!=typeof r.getHighEntropyValues?[3,2]:[4,Promise.all(Pt.map((function(n){return e(a,void 0,void 0,(function(){var e,a;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,r.getHighEntropyValues([n])];case 1:return void 0!==(e=t.sent()[n])&&(i[n]="string"==typeof e?e:JSON.stringify(e)),[3,3];case 2:if("NotAllowedError"!==(a=t.sent()).name)throw a;return o.push(n),[3,3];case 3:return[2]}}))}))})))]):[2,void 0];case 1:u.sent(),u.label=2;case 2:return[2,{b:r.brands.map((function(e){return{b:e.brand,v:e.version}})),m:r.mobile,p:null!==(n=r.platform)&&void 0!==n?n:null,h:i,nah:o}]}}))}))},Dt[10]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return n=t.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},Dt[11]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},Dt[12]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},Dt[13]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},Dt[14]=function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank "+String.fromCharCode(55357,56835)+" gly";n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply";for(var o=0,a=[["#f0f",50,50],["#0ff",100,50],["#ff0",75,100]];o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];n.fillStyle=s,n.beginPath(),n.arc(c,l,50,0,2*Math.PI,!0),n.closePath(),n.fill()}return n.fillStyle="#f0f",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:tt(t)}},Dt[15]=function(){return void 0!==navigator.plugins},Dt[16]=function(){return navigator.platform},Dt[17]=function(){return void 0!==window.chrome},Dt[18]=function(){return navigator.webdriver},Dt[19]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},Dt[20]=function(){return navigator.productSub},Dt[21]=function(){return eval.toString().length},Dt[22]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},Dt[23]=function(){var e=window.WebAssembly;if(null==e?void 0:e.validate){for(var t=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10],n=0,r=0,o=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];r<o.length;r++){var a=o[r];n<<=1,n|=e.validate(Uint8Array.of.apply(Uint8Array,i(t,a)))?1:0}return n}},Dt[24]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},Dt[25]=function(){var e=window;if(!c())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var t=document.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var n=t.toDataURL();if(""===n)return!0;for(var r=window.atob(n.split(",")[1]),i=r.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=r.charCodeAt(a);var u=N(o,[73,68,65,84,24]);if(-1===u)return!1;var s=N(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}},Dt[26]=function(){return!!dt("dark")||!dt("light")&&void 0},Dt[27]=function(){var e=Date.now();return[vt(e),vt(e-6e4*(new Date).getTimezoneOffset())]},Dt[28]=function(){for(var e=[],t=Math.random(),n=24575;n>=0;--n)if(n%4096==0){var r=Math.random();e.push((t-r)*Math.pow(2,31)|0),t=r}return e},Dt[29]=function(){var e=window.performance;if(null==e?void 0:e.now){for(var t=1,n=1,r=e.now(),i=r,o=0;o<5e4;o++)if((r=i)<(i=e.now())){var a=i-r;a>t?a<n&&(n=a):a<t&&(n=t,t=a)}return[t,n]}},Dt[30]=function(){var e,t;return null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit},Dt[31]=function(){return{s:l()&&!f()?Q()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},Dt[32]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},Dt[33]=u,Dt[34]=d,Dt[35]=c,Dt[36]=l,Dt[37]=f,Dt[38]=s,Dt[39]=h,Dt),xt=((Ot={}).j=function(){for(var e=document.createElement("canvas"),t=["webgl","experimental-webgl"],r=void 0,i=0;i<t.length&&!r;i++)try{r=e.getContext(t[i])}catch(a){}if(r){var o=n(n({},function(e){var t,n,r,i,o,a,s=e.getSupportedExtensions(),c=e.getExtension("WEBGL_debug_renderer_info"),l=e.getContextAttributes(),f=[],d=[],v=[],h=[];for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&f.push(g+"="+l[g]);for(var m=Et(e),p=u(),b=0,w=m;b<w.length;b++){var y=e[A=w[b]];if(gt.indexOf(y)>-1){var E=p&&-1===mt.indexOf(y)?e.getParameter(y):null;d.push(A+"("+y+")="+E)}else d.push(A+"="+y)}if(s)for(var R=0,T=s;R<T.length;R++){var k=T[R],S=e.getExtension(k);if(S)for(var _=0,I=Et(S);_<I.length;_++){var A;y=S[A=I[_]],ht.indexOf(A)>0?v.push(A+"("+y+")="+e.getParameter(y)):v.push(A+"="+y)}}for(var C=0,D=pt;C<D.length;C++)for(var O=D[C],P=0,N=bt;P<N.length;P++){var x=N[P],L=wt(e,O,x);h.push(O+"."+x+"="+L.join(","))}return v.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:c?null===(r=e.getParameter(c.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=e.getParameter(e.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:c?null===(o=e.getParameter(c.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(a=e.getParameter(e.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||"",contextAttributes:f.join("&"),parameters:d.join("&"),shaderPrecisions:h.join("&"),extensions:s?s.join(","):"",extensionParameters:v.join(",")}}(r)),{fingerprint:""});return function(e){e.clearColor(0,0,1,1);var t=e.createProgram();if(t){i(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),i(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),e.linkProgram(t),e.useProgram(t),e.enableVertexAttribArray(0);var n=e.getUniformLocation(t,"t"),r=e.createBuffer();e.bindBuffer(34962,r),e.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),e.vertexAttribPointer(0,2,5126,!1,0,0),e.clear(16384),e.uniform1f(n,3.65),e.drawArrays(4,0,3)}function i(n,r){var i=e.createShader(35633-n);t&&i&&(e.shaderSource(i,r),e.compileShader(i),e.attachShader(t,i))}}(r),o.fingerprint=e.toDataURL(),o}},Ot);function Lt(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function jt(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 qt(e,t,n){var r=location.hostname;(Mt(r,(function(t){!function(e,t){jt(e,"",-1,t)}(e,t)})),n<0)||Mt(r,(function(r){return jt(e,t,n,r),Lt(e)!==t}))&&jt(e,t,n)}function Mt(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 Ut(e){return[Lt(e),Bt(e)]}function Ft(e,t){qt(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 Bt(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(e,t,n,r,i){if(!t){var o=function(e,t){return t||ye[e]}(e,n);return z(i,(function(){return{e:6,endpoint:o}})),[Ee(o,r,i),Date.now()]}}function Gt(r,i,o,a,u,s,c){var l=this;var f=function(n,r,i,c,f,h,g){return e(l,void 0,void 0,(function(){var e,l,m,p,b,w,y,E,R;return t(this,(function(t){switch(t.label){case 0:return e=T(c).then((function(){throw new Error("Client timeout")})),[4,Promise.race([e,Promise.all([v(g),d(c,i,g)])])];case 1:return l=t.sent(),m=l[0],p=l[1],b=s,w=s+"_t",[4,et({token:o,endpoint:Qe(a,u),components:m,componentsDuration:0,tag:n,visitorId:Ut(b),visitorToken:Ut(w),tls:p,linkedId:r,extendedResult:f,ipResolution:h},e,g)];case 2:return y=t.sent(),E=y[0],(R=y[1])?Ft(R,w):E.visitorId&&Ft(E.visitorId,b),[2,E]}}))}))},d=function(n,r,o){return e(l,void 0,void 0,(function(){var e,a,u,s,c;return t(this,(function(t){switch(t.label){case 0:if(!i||r)return[2,void 0];e=i[0],a=i[1],u=Math.min(Math.max(.1*n,a+1e4-Date.now()),.4*n),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e(T(u))];case 2:return s=t.sent(),z(o,(function(){return{e:7,result:s}})),[2,{value:s}];case 3:return c=t.sent(),z(o,(function(){return{e:8,error:c}})),[2,{error:c}];case 4:return[2]}}))}))},v=function(n){return e(l,void 0,void 0,(function(){var e,i;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,r()];case 1:return e=t.sent(),z(n,(function(){return{e:13,result:e}})),[2,e];case 2:throw i=t.sent(),z(n,(function(){return{e:14,error:i}})),i;case 3:return[2]}}))}))};return{get:function(e){void 0===e&&(e={});var t=c&&function(e,t){return function(r){return e(n(n({},r),{getCallId:t}))}}(c,B(8));return Y(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 f(i,o,a,r,u,s,t)}))}}}var Wt=function(r,i,o){var a=this,u=o.debug&&function(e,t){return function(r){return e(n(n({},r),{agentId:t}))}}(o.debug,B(8));return Y(u,(function(){return{e:0,version:b,options:o}}),(function(){return{e:1}}),(function(e){return{e:2,error:e}}),(function(){return e(a,void 0,void 0,(function(){var e,n,a,s,c,l,f,d,v,h;return t(this,(function(t){switch(t.label){case 0:if(e=o.token,n=o.region,a=void 0===n?"us":n,s=o.tlsEndpoint,c=o.disableTls,l=o.storageKey,f=void 0===l?"_vid":l,d=o.endpoint,v=o.delayFallback,!e||"string"!=typeof e)throw new Error("Token required");return h=Vt(a,c,s,i,u),[4,p(v)];case 1:return t.sent(),z(u,(function(){return{e:12}})),[2,Gt(r({storageKeyPrefix:f}),h,e,a,d,f,u)]}}))}))}))}.bind(null,(function(e){g.screenFrame;var t=r(g,["screenFrame"]);return m(n(n(n({},Nt),t),xt),e,[])}),void 0),$t="Token required",Ht="Token not found",Kt="Token expired",Xt="Request cannot be parsed",Jt="Request failed",zt="Request failed to process",Yt="Too many requests, rate limit exceeded",Zt="Not available for this origin",Qt="Not available with restricted header",en={load:Wt,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_WRONG_REGION:Ue,ERROR_SUBSCRIPTION_NOT_ACTIVE:Fe,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_BAD_RESPONSE_FORMAT:"Response 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 en;export{Xt as ERROR_BAD_REQUEST_FORMAT,Ae as ERROR_BAD_RESPONSE_FORMAT,Se as ERROR_CLIENT_TIMEOUT,Qt as ERROR_FORBIDDEN_HEADER,Zt as ERROR_FORBIDDEN_ORIGIN,Jt as ERROR_GENERAL_SERVER_FAILURE,Ie as ERROR_NETWORK_ABORT,_e as ERROR_NETWORK_CONNECTION,Yt as ERROR_RATE_LIMIT,zt as ERROR_SERVER_TIMEOUT,Fe as ERROR_SUBSCRIPTION_NOT_ACTIVE,Kt as ERROR_TOKEN_EXPIRED,Ht as ERROR_TOKEN_INVALID,$t as ERROR_TOKEN_MISSING,Ue as ERROR_WRONG_REGION,Wt as load,$ as makeConsoleDebugger,ee as makeDebugReportBuilder,G as makeMulticastDebugger,de 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 f,isEdgeHTML as d,getScreenFrame as v,isAndroid as h,sources as g,loadSources as m,prepareForSources as p}from"@fingerprintjs/fingerprintjs";function b(e,t){return new Promise((function(n){return w(n,e,t)}))}function w(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Date.now()+t,o=0,a=function(){o=setTimeout((function(){Date.now()<i?a():e.apply(void 0,n)}),i-Date.now())};return a(),function(){return clearTimeout(o)}}function y(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var o,a=!1,u=e,s=0,c=function(){a||o||(s=Date.now(),o=w((function(){a=!0,n.apply(void 0,r)}),u))},l=function(){!a&&o&&(o(),o=void 0,u-=Date.now()-s)};return t&&c(),{start:c,stop:l}}function E(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=document,o="visibilitychange",a=function(){return i.hidden?c():s()},u=y(t,!i.hidden,(function(){i.removeEventListener(o,a),e.apply(void 0,n)})),s=u.start,c=u.stop;return i.addEventListener(o,a),function(){i.removeEventListener(o,a),c()}}function R(e,t){return new Promise((function(n){return E(n,e,t)}))}function T(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 k(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 S(n,r){return e(this,void 0,void 0,(function(){var e,i,o,a;return t(this,(function(t){switch(t.label){case 0:try{e=r().then((function(e){return i=[!0,e]}),(function(e){return i=[!1,e]}))}catch(u){i=[!1,u]}return a=n.then((function(e){return o=[!0,e]}),(function(e){return o=[!1,e]})),[4,Promise.race([e,a])];case 1:return t.sent(),[2,function(){if(i){if(i[0])return i[1];throw i[1]}if(o){if(o[0])return o[1];throw o[1]}throw new Error("96375")}]}}))}))}function _(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 I(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function A(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 C(e){return e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var D="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O=D.slice(0,-2);function P(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 N(e){if("function"==typeof TextDecoder){var t=(new TextDecoder).decode(e);if(t)return t}var n=C(e);return decodeURIComponent(escape(String.fromCharCode.apply(null,n)))}function x(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function L(e,t,n){return void 0===n&&(n="..."),e.length<=t?e:""+e.slice(0,Math.max(0,t-n.length))+n}function j(e,t){return(e-t+256)%256}function q(e){for(var t=C(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 M(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 U(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function F(e){return U(e,O)}function B(){return 256*Math.random()|0}function V(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&T((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}function G(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"}}var W=function(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($(e,t));break;case 13:var n=$(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($(e,t))}}};function $(e,t){var n=t.e,i=r(t,["e"]),o=""+e+(new Date).toISOString()+": "+G(n);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?_(t,!0):t instanceof ArrayBuffer?"(base64) "+q(t):t}),2)}(i)+"\n```"),o}function H(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 f 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(f,o[f]);a.onload=function(){return e(function(e){return{body:e.response,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(K("TimeoutError","The request timed out"))},a.onabort=function(){return n(K("AbortError","The request is aborted"))},a.onerror=function(){return n(K("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 K(e,t){var n=new Error(t);return n.name=e,n}function X(e){var t,n=e.url,r=e.body;try{if(null===(t=navigator.sendBeacon)||void 0===t?void 0:t.call(navigator,n,r))return!0}catch(o){if("Illegal invocation"!==o.message)throw o}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(a){return!1}return!0}function J(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e&&T((function(){var r=t.apply(void 0,n);void 0!==r&&e(r)}))}function z(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:J(n,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 u=t.sent(),J(n,o,u),u;case 4:return J(n,i,e),[2,e]}}))}))}function Y(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:F(10)}function Z(){var e=window,t=navigator;return x(["maxTouchPoints"in t,"mediaCapabilities"in t,"PointerEvent"in e,"visualViewport"in e,"onafterprint"in e])>=4}var Q=function(e){return new ee(e).addEvent},ee=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&&(n.documentReadyState=document.readyState,n.isPageVisible=se(),n.isFullscreen=ce(),n.network=le()),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 f=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()})),d=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)}f(),d()}}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:se()})},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:ce()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:le()})},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];ne(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;if(this.events[n]||(this.events[n]={commonEvents:[],getCalls:{}}),function(e){return"string"==typeof e.getCallId}(t)){var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}else this.events[n].commonEvents.push(e)},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t];this.events[r].commonEvents.push(e)}},e.prototype.submitReport=function(e,t){var r=function(e,t){for(var r,i,o,a,u,s,c,l,f,d,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),h=(null===(r=e[e.length-1])||void 0===r?void 0:r.time)||new Date,g="null",m=0,p=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];m<p.length;m++){var b=p[m],w=b[0],y=b[1];if(v[w]){g=y;break}}return{time:(null===(i=e[e.length-1])||void 0===i?void 0:i.time)||new Date,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:I(),agentVersion:null===(o=v[0])||void 0===o?void 0:o.event.version,userAgent:navigator.userAgent,pageViewId:Y(),agentId:null===(a=v[0])||void 0===a?void 0:a.event.agentId,getCallId:null===(u=v[3])||void 0===u?void 0:u.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===(f=v[4])||void 0===f?void 0:f.event.result.visitorId,visitorToken:null===(d=v[16])||void 0===d?void 0:d.event.result[1],identificationState:g,timeBetweenLoadAndGet:te(v[1],v[3]),load:re(h,v[0],v[1],v[2]),get:re(h,v[3],v[4],v[5]),tls:oe(re(h,v[6],v[7],v[8]),(function(){var t,r;return n(n({},ie(e,9,10,11,(null===(t=v[7])||void 0===t?void 0:t.time)||(null===(r=v[8])||void 0===r?void 0:r.time)||h)),{getPhaseDuration:te(v[3],v[7]||v[8],h)})})),fingerprint:oe(re(h,v[12],v[13],v[14],(function(e){var t=e.event;return{failedComponents:ae(t.result),componentDurations:ue(t.result)}})),(function(){return{getPhaseDuration:te(v[3],v[13]||v[14],h)}})),visitorIdRequest:oe(re(h,v[15],v[16],v[17]),(function(){var t,n;return ie(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)||h)})),events:e}}(function(e,t,n){var r=[];e[t]&&(r.push.apply(r,e[t].commonEvents),void 0!==n&&r.push.apply(r,e[t].getCalls[n]||[]));return r.sort((function(e,t){return e.time.getTime()-t.time.getTime()})),r}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(r)}catch(i){console.error(i)}},e}();function te(e,t,n){var r=null==e?void 0:e.time,i=(null==t?void 0:t.time)||n;return r&&i&&i.getTime()-r.getTime()}function ne(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function re(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 ie(e,t,n,r,i){for(var o=i.getTime(),a=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]),u={triesCount:0,triesTotalDuration:0,completeTriesCount:0,completeTriesTotalDuration:0},s=0,c=a;s<c.length;s++){var l=c[s],f=l[t],d=l[n]||l[r];if(f){if(f.time.getTime()>=o)break;var v=d&&d.time.getTime()<=o,h=((null==d?void 0:d.time)||i).getTime()-f.time.getTime();u.triesCount++,u.triesTotalDuration+=h,v&&(u.completeTriesCount++,u.completeTriesTotalDuration+=h)}}return u}function oe(e,t){return e?n(n({},e),t()):void 0}function ae(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i].error;o&&(t[i]=o)}return t}function ue(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 se(){return!document.hidden}function ce(){return!!o()}function le(){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 fe=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 ee((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:de(e,t,r)}}(n,i,o),[4,be(u,e)];case 1:return t.sent(),[2]}}))}))})).addEvent};function de(e,t,n){var r,o;void 0===n&&(n=[8,4,4,4,12].map((function(e){return U(e,"0123456789abcdef")})).join("-"));var a=ve[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.4.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)?me(e.fingerprint.componentDurations):void 0}}],e.events.map(he)),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,timeBetweenLoadAndGet:e.timeBetweenLoadAndGet,load:e.load,get:e.get,tls:e.tls,fingerprint:ge(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var ve={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 he(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:G(i.e)},s)}),l=0,f=["documentReadyState","isPageVisible","isFullscreen","network"];l<f.length;l++){var d=f[l];void 0!==e[d]&&(c.body[d]=e[d])}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:L(i.result,1e3)}));case 10:return o(n(n({},i),{body:L(i.body,1e3)}));case 13:return o(n(n({},i),{result:pe(i.result)}));case 19:var a=i.body;if(a instanceof ArrayBuffer){a="(base64) "+(a.byteLength>1800?q(new Uint8Array(a,0,1800))+"...":q(a))}return o(n(n({},i),{body:a}))}}function ge(e){if(!e||"incomplete"===e.state||"fail"===e.state)return e;e.componentDurations;var t=r(e,["componentDurations"]),i=Object.keys(e.failedComponents),o=i.length?","+i.join(",")+",":void 0;return n(n({},t),{failedComponents:o})}function me(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 pe(e){var t,r="(removed to fit into beacon)";return function(e,t){for(var r={},i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];!e[a].error&&t[a]?r[a]=n(n({},e[a]),{value:t[a](e[a].value)}):r[a]=e[a]}return r}(e,((t={plugins:function(e){return e&&r}})[14]=function(e){return n(n({},e),{data:r})},t.math=function(){return r},t.fontPreferences=function(){return r},t.j=function(e){return e&&r},t[9]=function(e){return e&&r},t))}function be(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=_(t);return"string"==typeof n.stack&&(n.stack=L(n.stack,1e3)),n}return t}))}(r),i=A(1e3,1e4),t.label=1;case 1:return navigator.onLine&&X({url:n,body:e})?[3,4]:[4,b(i.next().value)];case 2:t.sent(),t.label=3;case 3:return[3,1];case 4:return[2]}}))}))}var we={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function ye(n,r,i){var o,a=function(e,n,r,i){void 0===r&&(r=1/0);var o=A(300,1e4);return k(null==i?void 0:i.then((function(){}),(function(){})),(function(){var a,u,s;return t(this,(function(t){switch(t.label){case 0:a=0,t.label=1;case 1:if(!(a<r))return[3,8];u=Date.now(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,e(a,i)];case 3:return[2,t.sent()];case 4:return s=t.sent(),n(s),[3,5];case 5:return[4,b(u+o.next().value-Date.now())];case 6:t.sent(),t.label=7;case 7:return++a,[3,1];case 8:return[2,void 0]}}))}))}((function(r,o){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,z(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 H({url:n,timeout:r,abort:o})}))];case 1:return e=t.sent(),[3,3];case 2:switch((u=t.sent()).name){case"AbortError":throw Ee(u.message,-2);case"TimeoutError":throw Ee(u.message,-3);case"TypeError":throw Ee(u.message,-4)}throw u;case 3:if(200===e.status)return[2,e.body];throw Ee(L(e.status+": "+e.body,255),-5)}}))}))}(n,5e3,r,o,i)}),(function(e){return o=e}),10,r);return a.catch((function(){})),function(e){return void 0===e&&(e=new Promise((function(){}))),Promise.race([e.then((function(){}),(function(){})),a]).then((function(e){if(void 0!==e)return e;throw o||Ee("Timeout",-3)}))}}function Ee(e,t){var n=new Error(e);return n.__="slt",n.s=t,n}function Re(e){return"slt"===e.__}var Te,ke="Client timeout",Se="Network connection error",_e="Network request aborted",Ie="Response cannot be parsed";function Ae(e){var t,r,i=e.components,o=e.componentsDuration,s=e.token,c=e.visitorId,l=e.visitorToken,f=e.tls,d=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}}(d),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(Re(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))}(f)),((r={}).k1=Le(i.osCpu),r.k2=Le(i.languages),r.k3=Le(i.colorDepth),r.k4=Le(i.deviceMemory),r.k5=function(e){if(e.error)return;return e.value.map((function(e){return null===e?-1:e}))}(i.screenResolution),r.k6=Le(i[11],void 0,[]),r.k7=Le(i.hardwareConcurrency,void 0,1),r.k8=Le(i[12]),r.k9=Le(i[13]),r.k10=je(Le(i.sessionStorage)),r.k11=je(Le(i.localStorage)),r.k12=je(Le(i.indexedDB)),r.k13=je(Le(i.openDatabase)),r.k14=Le(i.cpuClass),r.k15=Le(i[16]),r.k16=function(e){if(e.error||u())return[];return e.value}(i.plugins),r.k17=function(e){if(!e)return;return n(n({},e),{data:a(e.data)})}(Le(i[14])),r.k18=0,r.k19=Le(i.touchSupport),r.k20=Le(i.fonts,[]),r.k21=Le(i.audio,-4),r.k22=je(Le(i[15])),r.k23=Le(i[20]),r.k24=Le(i[21]),r.k25=je(Le(i[22])),r.k26=je(Le(i[18])),r.k27=Le(i.vendor),r.k28=je(Le(i[17])),r.k29=je(Le(i[10])),r.k30=je(Le(i[19])),r.k31=je(Le(i[4],!1)),r.k32=je(Le(i.cookiesEnabled,!1)),r.k33=je(Le(i[25])),r.k35=function(e){var t=e.value;if(!t||-6===t||-7===t||-8===t)return;if("number"==typeof t)return{s:t,v:null};return{s:0,v:t.map((function(e){return L(e,255)}))}}(i[0]),r.s1=Ne(i.osCpu,-1),r.s2=Oe(i.languages),r.s3=Oe(i.colorDepth),r.s4=Ne(i.deviceMemory,-1),r.s5=Ce(i.screenResolution,(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),r.s6=Ce(i[5],(function(e){return{s:0,v:e.map((function(e){return null===e?-1:e}))}})),r.s7=Ne(i.hardwareConcurrency,-1),r.s8=xe(i[6]),r.s9=Oe(i.timezone),r.s10=Oe(i.sessionStorage),r.s11=Oe(i.localStorage),r.s12=Ne(i.indexedDB,-1),r.s13=Oe(i.openDatabase),r.s14=Ne(i.cpuClass,-1),r.s15=Oe(i.platform),r.s16=Ne(i.plugins,-1),r.s17=Ce(i.canvas,(function(e){return{s:0,v:n(n({},e),{geometry:a(e.geometry),text:a(e.text)})}})),r.s18=xe(i[7]),r.s19=Oe(i.touchSupport),r.s20=Oe(i.fonts),r.s21=Ce(i.audio,(function(e){return-1===e||-2===e||-3===e?{s:e,v:null}:{s:0,v:e}})),r.s22=Ne(i[23],-1),r.s26=xe(i[8]),r.s27=Oe(i.vendor),r.s28=Oe(i.vendorFlavors),r.s30=Ne(i[24],-1),r.s31=Oe(i[4]),r.s32=Oe(i.cookiesEnabled),r.s33=Oe(i[25]),r.s34=xe(i[0],(function(e){return e.map((function(e){return L(e,255)}))})),r.s35=Pe(i[3]),r.s36=Ne(i.domBlockers,-1),r.s37=Ne(i.colorGamut,-1),r.s38=Ne(i.contrast,-1),r.s39=Ne(i.forcedColors,-1),r.s40=Ne(i.hdr,-1),r.s41=Ne(i.invertedColors,-1),r.s42=Ne(i.monochrome,-1),r.s43=Ne(i.reducedMotion,-1),r.s44=Ne(i[26],-1),r.s45=Oe(i[27]),r.s46=Ce(i.math,(function(e){return{s:0,v:a(Object.keys(e).map((function(t){return t+"="+e[t]})).join(","))}})),r.s47=Ce(i.j,(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=Oe(i[28]),r.s49=Ne(i[29],-1),r.s50=Ne(i[30],-1),r.s51=Oe(i.fontPreferences),r.s52=Ce(i[2],(function(e){return{s:"number"==typeof e?e:e.length?0:1,v:"number"==typeof e?"":a(JSON.stringify(e))}})),r.s53=Pe(i[31]),r.s54=xe(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 Re(t)?{s:t.s,v:null}:{e:t.message}}return{s:0,v:e.value}}(f),r.s57=Ne(i[32],-1),r.s58=Ne(i[9],-1),r.s59=Oe(i[33]),r.s60=Oe(i[34]),r.s61=Oe(i[35]),r.s62=Oe(i[36]),r.s63=Oe(i[37]),r.s64=Oe(i[38]),r.s65=Oe(i[39]),r))}function Ce(e,t){return e.error?{e:De(e.error)}:t(e.value)}function De(e){var t;try{t=""+e.message,"name"in e&&(t=e.name+": "+t)}catch(e){t="Code 3017: "+e.name+": "+e.message}return L(t,500)}function Oe(e){return Ce(e,(function(e){return{s:0,v:e}}))}function Pe(e){return Ce(e,(function(e){return e}))}function Ne(e,t){return Ce(e,(function(e){return{s:null==e?t:0,v:null!=e?e:null}}))}function xe(e,t){return Ce(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 je(e){return!0===e?1:!1===e?0:e}var qe=((Te={}).TokenRequired="Token required",Te.TokenNotFound="Token not found",Te.TokenExpired="Token expired",Te.RequestCannotBeParsed="Request cannot be parsed",Te.Failed="Request failed",Te.RequestTimeout="Request failed to process",Te.TooManyRequests="Too many requests, rate limit exceeded",Te.OriginNotAvailable="Not available for this origin",Te.HeaderRestricted="Not available with restricted header",Te.NotAvailableForCrawlBots="Not available for crawl bots",Te.NotAvailableWithoutUA="Not available when User-Agent is unspecified",Te),Me=M("WrongRegion"),Ue=M("SubscriptionNotActive");function Fe(e,t){var i=e.bodyData;return void 0===i?Ke(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($e(r),o)return Be(o,i,t);var u=a.identification;if(!u)throw new Error("There is no identification result in the response");if($e(u.notifications),u.error)return Be(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&&He(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&&He(n);switch(r){case"Not available for crawl bots":return Ge(i,!0,t);case"Not available when User-Agent is unspecified":return Ge(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)}}(i,t):Ke(e)}function Be(e,t,n){switch(e.code){case"NotAvailableForCrawlBots":return Ge(t,!0,n);case"NotAvailableWithoutUA":return Ge(t,void 0,n);case"Failed":case"RequestTimeout":case"TooManyRequests":return We(Ve(e),t,e);default:throw We(Ve(e),t,e)}}function Ve(e){var t=e.code,n=e.message;if(void 0===t)return n;if(Object.prototype.hasOwnProperty.call(qe,t)){var r=qe[t];if(void 0!==r)return r}return M(t)}function Ge(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 We(e,t,n){var r=new Error(e);return void 0!==t&&(r.requestId=t),void 0!==n&&(r.raw=n),r}function $e(e){null==e||e.forEach(He)}function He(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}function Ke(e){var t=We("Response cannot be parsed",void 0,{httpStatusCode:e.status,bodyBase64:q(e.body)});if(e.status>=500)return t;throw t}function Xe(e,t,n,r,i){void 0===i&&(i=B);var o=i()%(n+1),a=function(e){if("function"==typeof TextEncoder)return(new TextEncoder).encode(e);for(var t=unescape(encodeURI(e)),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}(JSON.stringify(e)),u=1+t.length+1+o+r+a.length,s=new ArrayBuffer(u),c=new Uint8Array(s),l=0,f=i();c[l++]=f;for(var d=0,v=t;d<v.length;d++){var h=v[d];c[l++]=f+h}c[l++]=f+o;for(var g=0;g<o;++g)c[l++]=i();var m=new Uint8Array(r);for(g=0;g<r;++g)m[g]=i(),c[l++]=m[g];for(g=0;g<a.length;++g)c[l++]=a[g]^m[g%r];return s}function Je(e,t,n){var r=function(){throw new Error("Invalid data")},i=C(e);i.length<t.length+2&&r();for(var o=0;o<t.length;++o)j(i[1+o],i[0])!==t[o]&&r();var a=1+t.length,u=j(i[a],i[0]);i.length<a+1+u+n&&r();var s=a+1+u,c=s+n,l=new Uint8Array(i.length-c);for(o=0;o<l.length;++o)l[o]=i[c+o]^i[s+o%n];return JSON.parse(N(l))}var ze=[3,7];function Ye(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,H(n(n({},r),{body:(u=r.body,Xe(u,ze,3,7)),responseFormat:"binary"}))];case 1:e=t.sent();try{a=e.body,i=Je(a,ze,7),o=!0}catch(Dt){try{i=JSON.parse(N(e.body)),o=!1}catch(s){}}return[2,n(n({},e),{bodyData:i,isSecret:o})]}var a,u}))}))}function Ze(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function Qe(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(f){switch(f.label){case 0:return r=(d=u)+(-1===d.indexOf("?")?"?":"&")+"cv="+encodeURIComponent("3.4.0"),i=Ae(n({extendedResult:c},l)),s=0,[4,z(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=A(300,1e4);return k(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,b(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,z(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 Ye({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,Fe(e,i)]}}))}))}(r,i,c,s++,n,a)}),o)}))];case 1:return[2,f.sent()]}var d}))}))}function et(e){return e.toDataURL()}function tt(){var e,t,n=nt();return(null===(t=null===(e=window[n[0]])||void 0===e?void 0:e[n[1]])||void 0===t?void 0:t[n[2]])||1073741824}function nt(){return Je(new Uint32Array([1238629110,448276002,3812774028,808844344,1040086494,3917076003,2006609522,3391962601,1618783843,902064594,3846817827,1945380650,2587245025,908308022,938305751,2922813991,1910122279,3709215973,809499767,66414809,3983071030,916072247,3711377838,822474088,300514777,4182498348,953759295,3408360096,591258990,229539788]),[],5)}function rt(){var e=at(),t=window[e[0]];if(!t)return!1;try{t[e[1]][e[2]](e[3],e[4],{},(function(){}))}catch(n){return!new RegExp(e[5]).test(n)}return!1}function it(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:e=document,n=at(),(r=e.createElement("iframe")).style.display="none",t.label=1;case 1:return e.body?[3,3]:[4,b(50)];case 2:return t.sent(),[3,1];case 3:return t.trys.push([3,,5,6]),e.body.appendChild(r),[4,Promise.race([b(20,!1),new Promise((function(e){r.contentWindow?r.contentWindow[n[6]].addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 4:return[2,t.sent()];case 5:return r.remove(),[7];case 6:return[2]}}))}))}function ot(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}function at(){return Je(new Uint32Array([571803394,2333197341,667974149,459532809,2807590137,1996360231,241878290,3893584866,1793199716,1479125268,4262158585,1442777440,325646623,3826480888,665278571,175243026,2757050360,1760166496,1415636746,2836884200,2012960809,241499411,2840995822,1912086370,1482750223,4212860839,1726092917,359464731,3894101733,1487478637]),[],3)}var ut=[[function(){return c()},function(){return x(["ClipboardItem"in(n=window),"PerformanceEventTiming"in n,"RTCSctpTransport"in n])>=2?function(){return e(this,void 0,void 0,(function(){var e,n,r,i,o;return t(this,(function(t){switch(t.label){case 0:return e=nt(),n=navigator,r=n[e[3]],(i=n[e[4]])?[4,new Promise((function(t){i[e[5]]((function(e,n){return t(n)}))}))]:[3,2];case 1:return o=t.sent(),[3,4];case 2:return(null==r?void 0:r[e[6]])?[4,r[e[6]]().then((function(e){return e.quota}))]:[3,4];case 3:o=t.sent(),t.label=4;case 4:return o?[2,o<tt()]:[2,!1]}}))}))}():function(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return(e=window.webkitRequestFileSystem)?[4,new Promise((function(t){e(0,1,(function(){return t(!1)}),(function(){return t(!0)}))}))]:[2,!1];case 1:return[2,t.sent()]}}))}))}();var n}],[function(){return l()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return Z()?f()?[2,rt()]:[2,it()]:[2,ot()]}))}))}],[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()||d()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function st(){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=ut,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 ct(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:if(e=window,!(n=e.RTCPeerConnection||e.webkitRTCPeerConnection))return[2,-3];try{r=new n({iceServers:[]})}catch(o){if("NotSupportedError"===o.name)return[2,-6];throw o}t.label=1;case 1:return t.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n,a=[],u=function(){return e(i(a))};r.onicecandidate=function(e){var t=e.candidate;if(!t)return u();if(t.candidate){if(a.push(t.candidate),a.length>=6)return u();1===a.length&&E(u,10)}},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&u()},r.onicecandidateerror=t;try{null===(n=r.createDataChannel)||void 0===n||n.call(r,"test")}catch(o){return void("NotSupportedError"===o.name?e(-7):t(o))}var s=function(e,t){try{return e.createOffer(t)}catch(o){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(o.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw o}}(r,d()?{offerToReceiveAudio:!0}:void 0);void 0===s?e(-8):s.then((function(e){return r.setLocalDescription(e)}),t)}))];case 2:return[2,t.sent()];case 3:try{r.close()}catch(o){}return[7];case 4:return[2]}}))}))}function lt(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 ft(e){return matchMedia("(prefers-color-scheme: "+e+")").matches}function dt(e){var t=Number(e);return isNaN(t)?-1:t}var vt=["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"],ht=[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],gt=[32926,32928],mt=["FRAGMENT_SHADER","VERTEX_SHADER"],pt=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function bt(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function wt(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function yt(e){return Object.keys(e.__proto__).filter(wt)}function Et(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 Rt={m:["$$s-macbook-pro","$$s-macbook-air","$$s-mac-mini"],i:["$$s-iphone"]},Tt={m:["macbook-pro-$$","macbook-air-$$","mac-mini-$$"],i:["iphone-$$"]},kt={"en-us":n(n({},Rt),{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({},Rt),{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({},Tt),{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"]})};kt.default=kt["en-us"],kt.en=kt["en-us"],kt.ru=kt["ru-ru"];var St={m:["macbook-pro","macbook-air","mac-mini","mac-pro"],i:["iphone","iphone-2"]};function _t(n){return e(this,void 0,void 0,(function(){var r,i,o,a,u,s,c,l,f=this;return t(this,(function(d){switch(d.label){case 0:if(!(r=window.RTCPeerConnection))return[2,-5];i=Math.random().toString(),o=new Map,u="candidate:0 1 udp 2113937151 ${addr} ${port} typ host generation 0 ufrag "+(a="ABCD")+" network-cost 999",s=new r({iceTransportPolicy:"all"}),c=s.createDataChannel(i),l=0,d.label=1;case 1:return d.trys.push([1,,3,4]),[4,new Promise((function(r,i){E((function(){return r(-4)}),1e3),s.oniceconnectionstatechange=function(){"checking"===s.iceConnectionState&&(l=setInterval((function(){return e(f,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return"checking"!==s.iceConnectionState?[2,r([])]:[4,s.getStats()];case 1:return e=t.sent(),n=[],e.forEach((function(e){if("remote-candidate"===e.type){var t=o.get(e.port);n.push(t)}})),n.length>0&&r(n),[2]}}))}))}),30))},s.createOffer().then((function(e){var t=e.sdp;if(!t)return r(-5);for(var i=[],c=0;c<n.length;c++){var l=n[c],f=50003+c,d=u.replace("${addr}",l).replace("${port}",f.toString());o.set(f,l),i.push("a="+d)}var v={type:"answer",sdp:t.replace(/a=ice-ufrag:(.*?)\s{1,2}/,"a=ice-ufrag:"+a+"\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 s.setLocalDescription(e),s.setRemoteDescription(v)}),i)}))];case 2:return[2,d.sent()];case 3:return c.close(),s.close(),clearInterval(l),[7];case 4:return[2]}}))}))}function It(n){return e(this,void 0,void 0,(function(){var r,o=this;return t(this,(function(a){switch(a.label){case 0:r=new AbortController,a.label=1;case 1:return a.trys.push([1,,3,4]),[4,Promise.race(i(n.map((function(n){return e(o,void 0,void 0,(function(){return t(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,fetch("http"+("http:"===location.protocol?"":"s")+"://"+n,{signal:r.signal})];case 1:return e.sent(),[3,3];case 2:return e.sent(),[3,3];case 3:return[2,n]}}))}))})),[R(500,-4)]))];case 2:return[2,a.sent()];case 3:return r.abort(),[7];case 4:return[2]}}))}))}function At(n){return e(this,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return l()?[4,_t(e=function(){for(var e=!f(),t=navigator.language.toLowerCase(),n=t.slice(0,2),r=kt[t]||kt[n]||kt.default,i=e?r.i.slice():r.m.slice(),o=e?St.i.slice():St.m.slice(),a=0,u=e?r.n:r.n.slice(0,15);a<u.length;a++)for(var s=u[a],c=0,l=i;c<l.length;c++){var d=l[c];o.push(d.replace("$$",s))}return o.map((function(e){return e+".local"}))}())]:[2,-2];case 1:return r=t.sent(),null==n||n(),"number"==typeof r?[2,r]:r.length===e.length?[2,-3]:r.length>1?[2,It(r)]:1===r.length?[2,r[0]]:[2,-1]}}))}))}var Ct,Dt,Ot=["brands","mobile","platform","platformVersion","architecture","bitness","model","uaFullVersion"];var Pt=((Ct={})[0]=function(){return S(R(510,-4),ct)},Ct[1]=function(){var e,t,n,r=((n=new Promise((function(n,r){e=n,t=r}))).resolve=e,n.reject=t,n),i=R(f()?310:410);return S(Promise.race([r,i]).then((function(e){if(void 0!==e)return R(e+100-Date.now())})).then((function(){return-4})),(function(){return At((function(){return r.resolve(Date.now())}))}))},Ct[2]=function(){var n=window.speechSynthesis;if("function"!=typeof(null==n?void 0:n.getVoices))return-1;var r,i=function(){return n.getVoices()};return!n.addEventListener||s()&&x(["AnonymousContent"in(r=window),!("AudioBuffer"in r),!("RTCPeerConnection"in r),!("geolocation"in navigator),!("ServiceWorker"in r)])>=3?Et(i()):function(n){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,new Promise((function(t,r){var i,o=function(){n.getVoices().length?(null==i||i(),i=w(t,50)):i||(i=E(t,600))};e=function(){try{o()}catch(e){r(e)}},o(),n.addEventListener("voiceschanged",e)}))];case 1:return[2,t.sent()];case 2:return e&&n.removeEventListener("voiceschanged",e),[7];case 3:return[2]}}))}))}(n).then((function(){return function(){var e=i();return e.length?Et(e):-2}}))},Ct[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()&&!Z()?[2,{s:0,v:1}]:[4,Promise.race([e.canMakePaymentsWithActiveCard(""),R(250,!1)])]:[2,{s:0,v:0}];case 2:return[2,{s:0,v:t.sent()?3:2}];case 3:return[2,lt(t.sent())];case 4:return[2]}}))}))},Ct[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,st()];case 1:return i=t.sent(),function(e,t){try{localStorage.setItem(e,t?"1":"0")}catch(n){}}(e,i),[2,i]}}))}))},Ct[5]=v,Ct[8]=function(){var n=this;return S(b(250,-2),(function(){return e(n,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.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,e.enumerateDevices()]):[2,-1];case 1:return[2,t.sent().map(r)]}}))}))}))},Ct[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,q(a)];case 3:if("NotSupportedError"===(s=l.sent()).name)return[2,-2];throw s;case 4:return[2]}}))}))},Ct[6]=function(){var n=this;return S(b(75,-3),(function(){return e(n,void 0,void 0,(function(){var e,n,r,i;return t(this,(function(t){switch(t.label){case 0:if(!(e=navigator).requestMediaKeySystemAccess)return[2,-1];t.label=1;case 1:return t.trys.push([1,6,,7]),[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 2:return[4,t.sent().createMediaKeys()];case 3:return n=t.sent(),(r=n.createSession()).sessionId?[3,5]:[4,new Promise((function(e){r.onmessage=e,r.generateRequest("webm",new Uint8Array([1,1,1,1]))}))];case 4:t.sent(),t.label=5;case 5:return[2,r.sessionId];case 6:if("NotSupportedError"===(i=t.sent()).name)return[2,-2];throw i;case 7:return[2]}}))}))}))},Ct[9]=function(){var n;return e(this,void 0,void 0,(function(){var r,i,o,a=this;return t(this,(function(u){switch(u.label){case 0:return(r=navigator.userAgentData)&&"object"==typeof r?(i={},o=[],"function"!=typeof r.getHighEntropyValues?[3,2]:[4,Promise.all(Ot.map((function(n){return e(a,void 0,void 0,(function(){var e,a;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,r.getHighEntropyValues([n])];case 1:return void 0!==(e=t.sent()[n])&&(i[n]="string"==typeof e?e:JSON.stringify(e)),[3,3];case 2:if("NotAllowedError"!==(a=t.sent()).name)throw a;return o.push(n),[3,3];case 3:return[2]}}))}))})))]):[2,void 0];case 1:u.sent(),u.label=2;case 2:return[2,{b:r.brands.map((function(e){return{b:e.brand,v:e.version}})),m:r.mobile,p:null!==(n=r.platform)&&void 0!==n?n:null,h:i,nah:o}]}}))}))},Ct[10]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return n=t.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},Ct[11]=function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[0|e.availWidth,0|e.availHeight];return t.sort().reverse(),t}},Ct[12]=function(){var e=(new Date).getFullYear();return Math.max(+new Date(e,0,1).getTimezoneOffset(),+new Date(e,6,1).getTimezoneOffset())},Ct[13]=function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},Ct[14]=function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank "+String.fromCharCode(55357,56835)+" gly";n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply";for(var o=0,a=[["#f0f",50,50],["#0ff",100,50],["#ff0",75,100]];o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];n.fillStyle=s,n.beginPath(),n.arc(c,l,50,0,2*Math.PI,!0),n.closePath(),n.fill()}return n.fillStyle="#f0f",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:et(t)}},Ct[15]=function(){return void 0!==navigator.plugins},Ct[16]=function(){return navigator.platform},Ct[17]=function(){return void 0!==window.chrome},Ct[18]=function(){return navigator.webdriver},Ct[19]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},Ct[20]=function(){return navigator.productSub},Ct[21]=function(){return eval.toString().length},Ct[22]=function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},Ct[23]=function(){var e=window.WebAssembly;if(null==e?void 0:e.validate){for(var t=[0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10],n=0,r=0,o=[[9,1,7,0,65,0,253,15,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[240,67,0,0,0,12,1,10,0,252,2,3,1,1,0,0,110,26,11,161,10],[6,1,4,0,18,0,11,0,10,4,110,97,109,101,2,3,1,0,0],[8,1,6,0,65,0,192,26,11,0,10,4,110,97,109,101,2,3,1,0,0],[7,1,5,0,208,112,26,11,0,10,4,110,97,109,101,2,3,1,0,0]];r<o.length;r++){var a=o[r];n<<=1,n|=e.validate(Uint8Array.of.apply(Uint8Array,i(t,a)))?1:0}return n}},Ct[24]=function(){var e;return null!==(e=navigator.doNotTrack)&&void 0!==e?e:void 0},Ct[25]=function(){var e=window;if(!c())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var t=document.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var n=t.toDataURL();if(""===n)return!0;for(var r=window.atob(n.split(",")[1]),i=r.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=r.charCodeAt(a);var u=P(o,[73,68,65,84,24]);if(-1===u)return!1;var s=P(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}},Ct[26]=function(){return!!ft("dark")||!ft("light")&&void 0},Ct[27]=function(){var e=Date.now();return[dt(e),dt(e-6e4*(new Date).getTimezoneOffset())]},Ct[28]=function(){for(var e=[],t=Math.random(),n=24575;n>=0;--n)if(n%4096==0){var r=Math.random();e.push((t-r)*Math.pow(2,31)|0),t=r}return e},Ct[29]=function(){var e=window.performance;if(null==e?void 0:e.now){for(var t=1,n=1,r=e.now(),i=r,o=0;o<5e4;o++)if((r=i)<(i=e.now())){var a=i-r;a>t?a<n&&(n=a):a<t&&(n=t,t=a)}return[t,n]}},Ct[30]=function(){var e,t;return null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit},Ct[31]=function(){return{s:l()&&!f()?Z()?0:1:2,v:[(typeof SourceBuffer).slice(0,3),(typeof SourceBufferList).slice(0,3)]}},Ct[32]=function(){var e;return null!==(e=window.devicePixelRatio)&&void 0!==e?e:void 0},Ct[33]=u,Ct[34]=d,Ct[35]=c,Ct[36]=l,Ct[37]=f,Ct[38]=s,Ct[39]=h,Ct),Nt=((Dt={}).j=function(){for(var e=document.createElement("canvas"),t=["webgl","experimental-webgl"],r=void 0,i=0;i<t.length&&!r;i++)try{r=e.getContext(t[i])}catch(a){}if(r){var o=n(n({},function(e){var t,n,r,i,o,a,s=e.getSupportedExtensions(),c=e.getExtension("WEBGL_debug_renderer_info"),l=e.getContextAttributes(),f=[],d=[],v=[],h=[];for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&f.push(g+"="+l[g]);for(var m=yt(e),p=u(),b=0,w=m;b<w.length;b++){var y=e[A=w[b]];if(ht.indexOf(y)>-1){var E=p&&-1===gt.indexOf(y)?e.getParameter(y):null;d.push(A+"("+y+")="+E)}else d.push(A+"="+y)}if(s)for(var R=0,T=s;R<T.length;R++){var k=T[R],S=e.getExtension(k);if(S)for(var _=0,I=yt(S);_<I.length;_++){var A;y=S[A=I[_]],vt.indexOf(A)>0?v.push(A+"("+y+")="+e.getParameter(y)):v.push(A+"="+y)}}for(var C=0,D=mt;C<D.length;C++)for(var O=D[C],P=0,N=pt;P<N.length;P++){var x=N[P],L=bt(e,O,x);h.push(O+"."+x+"="+L.join(","))}return v.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:c?null===(r=e.getParameter(c.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=e.getParameter(e.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:c?null===(o=e.getParameter(c.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(a=e.getParameter(e.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||"",contextAttributes:f.join("&"),parameters:d.join("&"),shaderPrecisions:h.join("&"),extensions:s?s.join(","):"",extensionParameters:v.join(",")}}(r)),{fingerprint:""});return function(e){e.clearColor(0,0,1,1);var t=e.createProgram();if(t){i(0,"attribute vec2 p;uniform float t;void main(){float s=sin(t);float c=cos(t);gl_Position=vec4(p*mat2(c,s,-s,c),1,1);}"),i(1,"void main(){gl_FragColor=vec4(1,0,0,1);}"),e.linkProgram(t),e.useProgram(t),e.enableVertexAttribArray(0);var n=e.getUniformLocation(t,"t"),r=e.createBuffer();e.bindBuffer(34962,r),e.bufferData(34962,new Float32Array([0,1,-1,-1,1,-1]),35044),e.vertexAttribPointer(0,2,5126,!1,0,0),e.clear(16384),e.uniform1f(n,3.65),e.drawArrays(4,0,3)}function i(n,r){var i=e.createShader(35633-n);t&&i&&(e.shaderSource(i,r),e.compileShader(i),e.attachShader(t,i))}}(r),o.fingerprint=e.toDataURL(),o}},Dt);function xt(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 Lt(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 jt(e,t,n){var r=location.hostname;(qt(r,(function(t){!function(e,t){Lt(e,"",-1,t)}(e,t)})),n<0)||qt(r,(function(r){return Lt(e,t,n,r),xt(e)!==t}))&&Lt(e,t,n)}function qt(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 Mt(e){return[xt(e),Ft(e)]}function Ut(e,t){jt(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 Bt(e,t,n,r,i){if(!t){var o=function(e,t){return t||we[e]}(e,n);return J(i,(function(){return{e:6,endpoint:o}})),[ye(o,r,i),Date.now()]}}function Vt(r,i,o,a,u,s,c){var l=this;var f=function(n,r,i,c,f,h,g){return e(l,void 0,void 0,(function(){var e,l,m,p,b,w,y,E,T;return t(this,(function(t){switch(t.label){case 0:return e=R(c).then((function(){throw new Error("Client timeout")})),[4,Promise.race([e,Promise.all([v(g),d(c,i,g)])])];case 1:return l=t.sent(),m=l[0],p=l[1],b=s,w=s+"_t",[4,Qe({token:o,endpoint:Ze(a,u),components:m,componentsDuration:0,tag:n,visitorId:Mt(b),visitorToken:Mt(w),tls:p,linkedId:r,extendedResult:f,ipResolution:h},e,g)];case 2:return y=t.sent(),E=y[0],(T=y[1])?Ut(T,w):E.visitorId&&Ut(E.visitorId,b),[2,E]}}))}))},d=function(n,r,o){return e(l,void 0,void 0,(function(){var e,a,u,s,c;return t(this,(function(t){switch(t.label){case 0:if(!i||r)return[2,void 0];e=i[0],a=i[1],u=Math.min(Math.max(.1*n,a+1e4-Date.now()),.4*n),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e(R(u))];case 2:return s=t.sent(),J(o,(function(){return{e:7,result:s}})),[2,{value:s}];case 3:return c=t.sent(),J(o,(function(){return{e:8,error:c}})),[2,{error:c}];case 4:return[2]}}))}))},v=function(n){return e(l,void 0,void 0,(function(){var e,i;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,r()];case 1:return e=t.sent(),J(n,(function(){return{e:13,result:e}})),[2,e];case 2:throw i=t.sent(),J(n,(function(){return{e:14,error:i}})),i;case 3:return[2]}}))}))};return{get:function(e){void 0===e&&(e={});var t=c&&function(e,t){return function(r){return e(n(n({},r),{getCallId:t}))}}(c,F(8));return z(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 f(i,o,a,r,u,s,t)}))}}}var Gt=function(r,i,o){var a=this,u=o.debug&&function(e,t){return function(r){return e(n(n({},r),{agentId:t}))}}(o.debug,F(8));return z(u,(function(){return{e:0,version:"3.4.0",options:o}}),(function(){return{e:1}}),(function(e){return{e:2,error:e}}),(function(){return e(a,void 0,void 0,(function(){var e,n,a,s,c,l,f,d,v,h;return t(this,(function(t){switch(t.label){case 0:if(e=o.token,n=o.region,a=void 0===n?"us":n,s=o.tlsEndpoint,c=o.disableTls,l=o.storageKey,f=void 0===l?"_vid":l,d=o.endpoint,v=o.delayFallback,!e||"string"!=typeof e)throw new Error("Token required");return h=Bt(a,c,s,i,u),[4,p(v)];case 1:return t.sent(),J(u,(function(){return{e:12}})),[2,Vt(r({storageKeyPrefix:f}),h,e,a,d,f,u)]}}))}))}))}.bind(null,(function(e){g.screenFrame;var t=r(g,["screenFrame"]);return m(n(n(n({},Pt),t),Nt),e,[])}),void 0),Wt="Token required",$t="Token not found",Ht="Token expired",Kt="Request cannot be parsed",Xt="Request failed",Jt="Request failed to process",zt="Too many requests, rate limit exceeded",Yt="Not available for this origin",Zt="Not available with restricted header",Qt={load:Gt,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_WRONG_REGION:Me,ERROR_SUBSCRIPTION_NOT_ACTIVE:Ue,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_BAD_RESPONSE_FORMAT:"Response 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 Qt;export{Kt as ERROR_BAD_REQUEST_FORMAT,Ie as ERROR_BAD_RESPONSE_FORMAT,ke as ERROR_CLIENT_TIMEOUT,Zt as ERROR_FORBIDDEN_HEADER,Yt as ERROR_FORBIDDEN_ORIGIN,Xt as ERROR_GENERAL_SERVER_FAILURE,_e as ERROR_NETWORK_ABORT,Se as ERROR_NETWORK_CONNECTION,zt as ERROR_RATE_LIMIT,Jt as ERROR_SERVER_TIMEOUT,Ue as ERROR_SUBSCRIPTION_NOT_ACTIVE,Ht as ERROR_TOKEN_EXPIRED,$t as ERROR_TOKEN_INVALID,Wt as ERROR_TOKEN_MISSING,Me as ERROR_WRONG_REGION,Gt as load,W as makeConsoleDebugger,Q as makeDebugReportBuilder,V as makeMulticastDebugger,fe as makeRemoteDebugger}; |
{ | ||
"name": "@fingerprintjs/fingerprintjs-pro", | ||
"description": "FingerprintJS Pro client agent", | ||
"version": "3.4.0-dev.1", | ||
"version": "3.4.0", | ||
"keywords": [ | ||
@@ -40,3 +40,3 @@ "browser", | ||
"dependencies": { | ||
"@fingerprintjs/fingerprintjs": "3.2.0-dev.0", | ||
"@fingerprintjs/fingerprintjs": "3.2.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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
324623
+ Added@fingerprintjs/fingerprintjs@3.2.0(transitive)
- Removed@fingerprintjs/fingerprintjs@3.2.0-dev.0(transitive)