Socket
Socket
Sign inDemoInstall

@fingerprintjs/fingerprintjs-pro

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fingerprintjs/fingerprintjs-pro - npm Package Compare versions

Comparing version 3.0.3 to 3.1.0

4

dist/fp.cjs.min.js
/**
* FingerprintJS Pro v3.0.3 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
* FingerprintJS Pro v3.1.0 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
*

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("@fingerprintjs/fingerprintjs");function r(e,t){return new Promise((function(r){return setTimeout((function(){return r(t)}),e)}))}function n(t,n,o){return e.__awaiter(this,void 0,void 0,(function(){var i;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Promise.race([r(n,[!0]),("function"==typeof t?t():t).then((function(e){return[!1,e]}))])];case 1:return(i=e.sent())[0]?[2,null==o?void 0:o()]:[2,i[1]]}}))}))}function o(e){var t=e.url,r=e.method,n=void 0===r?"get":r,o=e.body,a=e.headers,u=e.withCredentials,s=void 0!==u&&u,c=e.timeout;return new Promise((function(e,r){var u=new XMLHttpRequest;for(var d in u.open(n,t,!0),u.withCredentials=s,u.timeout=void 0===c?0:Math.max(c,1),a)u.setRequestHeader(d,a[d]);u.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(u))},u.ontimeout=function(){return r(i("TimeoutError","The request timed out"))},u.onabort=function(){return r(i("AbortError","The request is aborted"))},u.onerror=function(){return r(i("TypeError","Connection error"))},u.send(o)}))}function i(e,t){var r=new Error(t);return r.name=e,r}function a(t){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,o({url:"https://api.sjpf.io",timeout:t})];case 1:return r=e.sent(),[3,3];case 2:switch(e.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===r.status)return[2,r.text];throw new Error(r.text.slice(0,255))}}))}))}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",s=u.length;function c(e,t){if(void 0===e&&(e="us"),t)return t;var r="api.fpjs.io";return"us"!==e&&(r=e+"."+r),"https://"+r}function d(r){var n=r.endpoint,o=r.extendedResult,i=r.debug,a=e.__rest(r,["endpoint","extendedResult","debug"]);return e.__awaiter(this,void 0,void 0,(function(){var r,c;return e.__generator(this,(function(d){switch(d.label){case 0:return r=function(e){for(var t="",r=0;r<e;r++)t+=u.charAt(Math.random()*s);return t}(20),c=function(r){var n,o=r.components,i=r.token,a=r.visitorId,u=r.tag,s=r.ipResolution,c=r.extendedResult,d=r.linkedId,l=r.tls,f=r.tlsError,h=r.requestId,g=Object.keys(o).reduce((function(e,t){return e+o[t].duration}),0),p="full"===s?2:1;return(n={}).rid=h,n.cv="3.0.3",n.c=i,n.url=location.href,n.d=g,n.vid=a[0]||a[1]||void 0,n.ls=a[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(u),n.i=p,n.cbd=c?1:void 0,n.lid=d,n.cr=document.referrer||void 0,n.j=l,n.je=null==f?void 0:f.message,n.k1=v(o.osCpu),n.k2=v(o.languages),n.k3=v(o.colorDepth),n.k4=v(o.deviceMemory),n.k5=v(o.screenResolution),n.k6=v(o.availableScreenResolution,void 0,[]),n.k7=v(o.hardwareConcurrency),n.k8=v(o.timezoneOffset),n.k9=v(o.timezone),n.k10=_(v(o.sessionStorage)),n.k11=_(v(o.localStorage)),n.k12=_(v(o.indexedDB)),n.k13=_(v(o.openDatabase)),n.k14=v(o.cpuClass),n.k15=v(o.platform),n.k16=v(o.plugins,[]),n.k17=function(r){var n=r.value;if(!n)return;return e.__assign(e.__assign({},n),{data:t.murmurX64Hash128(n.data)})}(o.canvas),n.k18=0,n.k19=v(o.touchSupport),n.k20=v(o.fonts,[]),n.k21=v(o.audio,-1),n.k22=_(v(o.pluginsSupport)),n.k23=v(o.productSub),n.k24=v(o.emptyEvalLength),n.k25=_(v(o.errorFF)),n.k26=_(v(o[0])),n.k27=v(o.vendor),n.k28=_(v(o.chrome)),n.k29=_(v(o[1])),n.k30=_(v(o[2])),n.k31=_(v(o[3],!1)),n.k32=_(v(o.cookiesEnabled,!1)),n.k33=_(v(o[4])),n}(e.__assign({extendedResult:o,requestId:r},a)),[4,l(n,c,i)];case 1:return[2,f(d.sent(),r,o,i)]}}))}))}function l(t,r,n){return e.__awaiter(this,void 0,void 0,(function(){var i;return e.__generator(this,(function(e){switch(e.label){case 0:n&&console.log("Visitor request:\n```json\n"+JSON.stringify(r,void 0,2)+"\n```"),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,o({url:t,method:"post",body:JSON.stringify(r),headers:{"Content-Type":"text/plain"},withCredentials:!0})];case 2:return[2,e.sent()];case 3:throw i=e.sent(),new Error("AbortError"===i.name?"Network request aborted":"Network connection error");case 4:return[2]}}))}))}function f(t,r,n,o){return e.__awaiter(this,void 0,void 0,(function(){var i;return e.__generator(this,(function(e){try{i=JSON.parse(t.text)}catch(a){}if(o&&console.log("Visitor response status: "+t.status+"\nVisitor response body:\n```json\n"+(void 0===i?t.text:JSON.stringify(i,void 0,2))+"\n```"),404===t.status||t.status>=500)throw new Error(t.statusText);if(void 0===i)throw new Error(t.text);if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(i))return[2,h(i)];if(function(e){return e&&"object"==typeof e&&"n/a"===e.visitorId}(i)){if("Not available for crawl bots"===i.reason||"Not available when User-Agent is unspecified"===i.reason)return[2,g(i.reason,r,n)];throw new Error(i.reason)}throw new Error(t.text)}))}))}function v(e,t,r){return e.error?t:void 0===e.value?r:e.value}function _(e){return!0===e?1:!1===e?0:e}function h(t){var r=t,n=r.botProbability,o=e.__rest(r,["botProbability"]),i=e.__assign({},o);return n&&(i.bot={probability:n}),i}function g(t,r,n){var o={requestId:r,visitorFound:!1,visitorId:""};if(!n)return o;var i=e.__assign(e.__assign({},o),{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"Not available for crawl bots"===t&&(i.bot.safe=!0),i}var p=window,w=document;var R=window;var m=navigator,E=window;function b(){var e,t,r,n=(null===(e=m.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=m.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),o=(null===(r=m.userAgent)||void 0===r?void 0:r.indexOf("CrOS"))>0;return n||o?3221225472:1073741824}function k(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return"storage"in m&&"estimate"in m.storage?[4,m.storage.estimate()]:[3,2];case 1:return[2,!!(t=e.sent().quota)&&t<b()];case 2:return[2,!1]}}))}))}var O=window;function y(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return t.isDesktopSafari()?[2,T()]:[2,x()]}))}))}function T(){try{O.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function x(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:(t=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(t),[4,n(new Promise((function(e){t.contentWindow?t.contentWindow.applicationCache.addEventListener("error",(function(){return e(!0)})):e(!1)})),20,(function(){return!1}))];case 2:return[2,e.sent()];case 3:return t.remove(),[7];case 4:return[2]}}))}))}function I(){try{O.openDatabase(null,null,null,null)}catch(e){return!0}try{return O.localStorage.setItem("test","1"),O.localStorage.removeItem("test"),!1}catch(e){return!0}}var N=[[function(){return t.isChromium()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=m.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,k()]:[2,new Promise((function(e){E.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),r=t[0],n=t[1],o=t[2];return{major:r,minor:n,patch:o}}().major<13?[2,I()]:[2,y()]}))}))}],[function(){return t.isGecko()},function(){return new Promise((function(e){try{var t=R.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(r){return e(!0)}}))}],[function(){return t.isTrident()||t.isEdgeHTML()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function S(){return e.__awaiter(this,void 0,void 0,(function(){var t,r,n,o,i;return e.__generator(this,(function(e){switch(e.label){case 0:t=0,r=N,e.label=1;case 1:return t<r.length?(n=r[t],o=n[0],i=n[1],o()?[4,i()]:[3,3]):[3,4];case 2:return[2,e.sent()];case 3:return t++,[3,1];case 4:return[2,!1]}}))}))}function A(e,t){if(0==t.length||t.length>e.length)return-1;for(var r=0;r<e.length;r++){for(var n=0,o=0;o<t.length;o++){if(e[r+o]!==t[o]){n=0;break}n++}if(n==t.length)return r}return-1}var C,q=window,j=document;var D=((C={})[0]=function(){return void 0!==navigator.webdriver},C[1]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,r;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 r=e.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===r.state]}}))}))},C[2]=function(){var e=w.documentElement;return"webdriver"in p||"_Selenium_IDE_Recorder"in p||"callSelenium"in p||"_selenium"in p||"__webdriver_script_fn"in w||"__driver_evaluate"in w||"__webdriver_evaluate"in w||"__selenium_evaluate"in w||"__fxdriver_evaluate"in w||"__driver_unwrapped"in w||"__webdriver_unwrapped"in w||"__selenium_unwrapped"in w||"__fxdriver_unwrapped"in w||"__webdriver_script_func"in w||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},C[3]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,r;return e.__generator(this,(function(e){switch(e.label){case 0:if(void 0!==(t=function(){try{var e=localStorage.getItem("_inc");if(!e)return;return"1"===e}catch(t){return}}()))return[2,t];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,S()];case 2:return function(e){try{localStorage.setItem("_inc",e?"1":"0")}catch(t){}}(r=e.sent()),[2,r];case 3:return e.sent(),[2,!1];case 4:return[2]}}))}))},C[4]=function(){if(!t.isChromium())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in q)return!0;var e=j.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var r=e.toDataURL();if(""===r)return!0;for(var n=window.atob(r.split(",")[1]),o=n.length,i=new Uint8Array(o),a=0;a<o;a++)i[a]=n.charCodeAt(a);var u=A(i,[73,68,65,84,24]);if(-1===u)return!1;var s=A(i,[73,69,78,68]);return-1!==u&&1321!==i.slice(u+5,s).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},C);var M=document,L=location;function U(e){for(var t=e+"=",r=0,n=M.cookie.split(";");r<n.length;r++){for(var o=n[r],i=0;" "===o[i]&&i<o.length;)++i;if(o.indexOf(t)===i)return o.slice(i+t.length)}}function P(e,t,r,n){var o=e+"="+t,i="expires="+new Date(Date.now()+24*r*60*60*1e3).toUTCString(),a=n?"domain="+n:"";M.cookie=[o,"path=/",i,a].join("; ")}function K(e,t,r){var n=L.hostname;V(n,(function(t){!function(e,t){P(e,"",-1,t)}(e,t)})),V(n,(function(n){return P(e,t,r,n),U(e)!==t}))&&P(e,t,r)}function V(e,t){var r=e.length;do{if(r=r>0?e.lastIndexOf(".",r-1):-1,!1===t(e.slice(r+1)))return!1}while(r>=0);return!0}function F(e){return void 0===e&&(e="_vid"),[U(e),G(e)]}function B(e,t){void 0===t&&(t="_vid"),K(t,e,365),function(e,t){var r;try{null===(r=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===r||r.call(localStorage,e,t)}catch(n){}}(t,e)}function G(e){var t,r;try{return null!==(r=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==r?r:void 0}catch(n){}}function J(r,o,i,u,s){var l=this;var f=function(t,r){return e.__awaiter(l,void 0,void 0,(function(){return e.__generator(this,(function(e){return r?[2,void 0]:[2,a(t).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},v=function(){return e.__awaiter(l,void 0,void 0,(function(){var n,o;return e.__generator(this,(function(i){switch(i.label){case 0:return[4,r.get()];case 1:return n=i.sent(),[4,t.getComponents(D,void 0,[])];case 2:return o=i.sent(),[2,e.__assign(e.__assign({},n.components),o)]}}))}))},_=function(e){var t={token:o,region:i,endpoint:u,storageKey:s};console.log("Getting the visitor identifier:\n```\nversion: 3.0.3\ninitOptions: "+JSON.stringify(t,void 0,2)+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\n```")},h=function(t){for(var r={},n=0,o=Object.keys(t);n<o.length;n++){var i=o[n];t[i].error&&(r[i]=t[i].error)}Object.keys(r).length&&console.warn("Visitor data source errors:\n```\n"+JSON.stringify(r,(function(t,r){var n;return r instanceof Error?e.__assign(e.__assign({},r),{message:r.message,stack:null===(n=r.stack)||void 0===n?void 0:n.split("\n")}):r}),2)+"\n```")};return{get:function(t){var r=this;void 0===t&&(t={});var a,l=t.timeout,g=void 0===l?1e4:l,p=t.tag,w=t.linkedId,R=t.disableTls,m=t.extendedResult,E=t.ipResolution,b=t.debug;return b&&_(t),a="Client timeout",n((function(){return e.__awaiter(r,void 0,void 0,(function(){var t,r,n,a;return e.__generator(this,(function(l){switch(l.label){case 0:return[4,Promise.all([f(g/2,R),v()])];case 1:return t=l.sent(),r=t[0],n=t[1],b&&h(n),[4,d(e.__assign(e.__assign({token:o,endpoint:c(i,u)},r),{components:n,tag:p,visitorId:F(s),linkedId:w,extendedResult:m,ipResolution:E,debug:b}))];case 2:return B((a=l.sent()).visitorId,s),[2,a]}}))}))}),g,(function(){throw new Error(a)}))}}}function W(r){var n=r.token,o=r.region,i=r.endpoint,a=r.storageKey,u=r.delayFallback;return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:if(!n||"string"!=typeof n)throw new Error("Token required");return[4,t.load({delayFallback:u})];case 1:return[2,J(e.sent(),n,o,i,a)]}}))}))}var H={load:W,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded"};exports.ERROR_BAD_REQUEST_FORMAT="Request cannot be parsed",exports.ERROR_CLIENT_TIMEOUT="Client timeout",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_TOKEN_EXPIRED="Token expired",exports.ERROR_TOKEN_INVALID="Token not found",exports.ERROR_TOKEN_MISSING="Token required",exports.default=H,exports.load=W;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("@fingerprintjs/fingerprintjs"),r=document;function n(e,t){return new Promise((function(n){var i=function(){return r.hidden?u():a()},o=function(e,t,r){var n,i=!1,o=e,a=0,u=function(){i||void 0!==n||(a=Date.now(),n=setTimeout((function(){i=!0,r()}),o))};return t&&u(),{start:u,stop:function(){i||void 0===n||(clearTimeout(n),n=void 0,o-=Date.now()-a)}}}(e,!r.hidden,(function(){r.removeEventListener("visibilitychange",i),n(t)})),a=o.start,u=o.stop;r.addEventListener("visibilitychange",i)}))}function i(e){var t=e.url,r=e.method,n=void 0===r?"get":r,i=e.body,a=e.headers,u=e.withCredentials,s=void 0!==u&&u,c=e.timeout;return new Promise((function(e,r){var u=new XMLHttpRequest;for(var d in u.open(n,t,!0),u.withCredentials=s,u.timeout=void 0===c?0:Math.max(c,1),a)u.setRequestHeader(d,a[d]);u.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(u))},u.ontimeout=function(){return r(o("TimeoutError","The request timed out"))},u.onabort=function(){return r(o("AbortError","The request is aborted"))},u.onerror=function(){return r(o("TypeError","Connection error"))},u.send(i)}))}function o(e,t){var r=new Error(t);return r.name=e,r}var a={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function u(t,r){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,i({url:t,timeout:r})];case 1:return n=e.sent(),[3,3];case 2:switch(e.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===n.status)return[2,n.text];throw new Error(n.text.slice(0,255))}}))}))}var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",c=s.length;function d(e,t){if(t)return t;var r="api.fpjs.io";return"us"!==e&&(r=e+"."+r),"https://"+r}function l(r){var n=r.endpoint,i=r.extendedResult,o=r.debug,a=e.__rest(r,["endpoint","extendedResult","debug"]);return e.__awaiter(this,void 0,void 0,(function(){var r,u;return e.__generator(this,(function(d){switch(d.label){case 0:return r=function(e){for(var t="",r=0;r<e;r++)t+=s.charAt(Math.random()*c);return t}(20),u=function(r){var n,i=r.components,o=r.token,a=r.visitorId,u=r.tag,s=r.ipResolution,c=r.extendedResult,d=r.linkedId,l=r.tls,f=r.tlsError,v=r.requestId,p=Object.keys(i).reduce((function(e,t){return e+i[t].duration}),0),g="full"===s?2:1;return(n={}).rid=v,n.cv="3.1.0",n.c=o,n.url=location.href,n.d=p,n.vid=a[0]||a[1]||void 0,n.ls=a[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(u),n.i=g,n.cbd=c?1:void 0,n.lid=d,n.cr=document.referrer||void 0,n.j=l,n.je=null==f?void 0:f.message,n.k1=_(i.osCpu),n.k2=_(i.languages),n.k3=_(i.colorDepth),n.k4=_(i.deviceMemory),n.k5=_(i.screenResolution),n.k6=_(i.availableScreenResolution,void 0,[]),n.k7=_(i.hardwareConcurrency),n.k8=_(i.timezoneOffset),n.k9=_(i.timezone),n.k10=h(_(i.sessionStorage)),n.k11=h(_(i.localStorage)),n.k12=h(_(i.indexedDB)),n.k13=h(_(i.openDatabase)),n.k14=_(i.cpuClass),n.k15=_(i.platform),n.k16=_(i.plugins,[]),n.k17=function(r){var n=r.value;if(!n)return;return e.__assign(e.__assign({},n),{data:t.murmurX64Hash128(n.data)})}(i.canvas),n.k18=0,n.k19=_(i.touchSupport),n.k20=_(i.fonts,[]),n.k21=_(i.audio,-4),n.k22=h(_(i.pluginsSupport)),n.k23=_(i.productSub),n.k24=_(i.emptyEvalLength),n.k25=h(_(i.errorFF)),n.k26=h(_(i[0])),n.k27=_(i.vendor),n.k28=h(_(i.chrome)),n.k29=h(_(i[1])),n.k30=h(_(i[2])),n.k31=h(_(i[3],!1)),n.k32=h(_(i.cookiesEnabled,!1)),n.k33=h(_(i[4])),n}(e.__assign({extendedResult:i,requestId:r},a)),[4,f(n,u,o)];case 1:return[2,v(d.sent(),r,i,o)]}}))}))}function f(t,r,n){return e.__awaiter(this,void 0,void 0,(function(){var o;return e.__generator(this,(function(e){switch(e.label){case 0:n&&console.log("Visitor request:\n```json\n"+JSON.stringify(r,void 0,2)+"\n```"),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,i({url:t,method:"post",body:JSON.stringify(r),headers:{"Content-Type":"text/plain"},withCredentials:!0})];case 2:return[2,e.sent()];case 3:throw o=e.sent(),new Error("AbortError"===o.name?"Network request aborted":"Network connection error");case 4:return[2]}}))}))}function v(t,r,n,i){return e.__awaiter(this,void 0,void 0,(function(){var o;return e.__generator(this,(function(e){try{o=JSON.parse(t.text)}catch(a){}if(i&&console.log("Visitor response status: "+t.status+"\nVisitor response body:\n```json\n"+(void 0===o?t.text:JSON.stringify(o,void 0,2))+"\n```"),404===t.status||t.status>=500)throw new Error(t.statusText);if(void 0===o)throw new Error(t.text);if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(o))return[2,p(o)];if(function(e){return e&&"object"==typeof e&&"n/a"===e.visitorId}(o)){if("Not available for crawl bots"===o.reason||"Not available when User-Agent is unspecified"===o.reason)return[2,g(o.reason,r,n)];throw new Error(o.reason)}throw new Error(t.text)}))}))}function _(e,t,r){return e.error?t:void 0===e.value?r:e.value}function h(e){return!0===e?1:!1===e?0:e}function p(t){var r=t,n=r.botProbability,i=e.__rest(r,["botProbability"]),o=e.__assign({},i);return n&&(o.bot={probability:n}),o}function g(t,r,n){var i={requestId:r,visitorFound:!1,visitorId:""};if(!n)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"Not available for crawl bots"===t&&(o.bot.safe=!0),o}var w=window,R=document;var m=window;var E=navigator,b=window;function k(){var e,t,r,n=(null===(e=E.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=E.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),i=(null===(r=E.userAgent)||void 0===r?void 0:r.indexOf("CrOS"))>0;return n||i?3221225472:1073741824}function O(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return"storage"in E&&"estimate"in E.storage?[4,E.storage.estimate()]:[3,2];case 1:return[2,!!(t=e.sent().quota)&&t<k()];case 2:return[2,!1]}}))}))}var y=window;function T(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return t.isDesktopSafari()?[2,x()]:[2,I()]}))}))}function x(){try{y.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function I(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:(t=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(t),[4,Promise.race([(r=20,n=!1,new Promise((function(e){return setTimeout((function(){return e(n)}),r)}))),new Promise((function(e){t.contentWindow?t.contentWindow.applicationCache.addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 2:return[2,e.sent()];case 3:return t.remove(),[7];case 4:return[2]}var r,n}))}))}function N(){try{y.openDatabase(null,null,null,null)}catch(e){return!0}try{return y.localStorage.setItem("test","1"),y.localStorage.removeItem("test"),!1}catch(e){return!0}}var S=[[function(){return t.isChromium()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=E.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,O()]:[2,new Promise((function(e){b.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),r=t[0],n=t[1],i=t[2];return{major:r,minor:n,patch:i}}().major<13?[2,N()]:[2,T()]}))}))}],[function(){return t.isGecko()},function(){return new Promise((function(e){try{var t=m.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(r){return e(!0)}}))}],[function(){return t.isTrident()||t.isEdgeHTML()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function A(){return e.__awaiter(this,void 0,void 0,(function(){var t,r,n,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:t=0,r=S,e.label=1;case 1:return t<r.length?(n=r[t],i=n[0],o=n[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 C(e,t){if(0==t.length||t.length>e.length)return-1;for(var r=0;r<e.length;r++){for(var n=0,i=0;i<t.length;i++){if(e[r+i]!==t[i]){n=0;break}n++}if(n==t.length)return r}return-1}var q,j=window,D=document;var L=((q={})[0]=function(){return void 0!==navigator.webdriver},q[1]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,r;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 r=e.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===r.state]}}))}))},q[2]=function(){var e=R.documentElement;return"webdriver"in w||"_Selenium_IDE_Recorder"in w||"callSelenium"in w||"_selenium"in w||"__webdriver_script_fn"in R||"__driver_evaluate"in R||"__webdriver_evaluate"in R||"__selenium_evaluate"in R||"__fxdriver_evaluate"in R||"__driver_unwrapped"in R||"__webdriver_unwrapped"in R||"__selenium_unwrapped"in R||"__fxdriver_unwrapped"in R||"__webdriver_script_func"in R||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},q[3]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,r;return e.__generator(this,(function(e){switch(e.label){case 0:if(void 0!==(t=function(){try{var e=localStorage.getItem("_inc");if(!e)return;return"1"===e}catch(t){return}}()))return[2,t];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,A()];case 2:return function(e){try{localStorage.setItem("_inc",e?"1":"0")}catch(t){}}(r=e.sent()),[2,r];case 3:return e.sent(),[2,!1];case 4:return[2]}}))}))},q[4]=function(){if(!t.isChromium())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in j)return!0;var e=D.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var r=e.toDataURL();if(""===r)return!0;for(var n=window.atob(r.split(",")[1]),i=n.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=n.charCodeAt(a);var u=C(o,[73,68,65,84,24]);if(-1===u)return!1;var s=C(o,[73,69,78,68]);return-1!==u&&1321!==o.slice(u+5,s).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},q);var M=document,P=location;function U(e){for(var t=e+"=",r=0,n=M.cookie.split(";");r<n.length;r++){for(var i=n[r],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function K(e,t,r,n){var i=e+"="+t,o="expires="+new Date(Date.now()+24*r*60*60*1e3).toUTCString(),a=n?"domain="+n:"";M.cookie=[i,"path=/",o,a].join("; ")}function V(e,t,r){var n=P.hostname;F(n,(function(t){!function(e,t){K(e,"",-1,t)}(e,t)})),F(n,(function(n){return K(e,t,r,n),U(e)!==t}))&&K(e,t,r)}function F(e,t){var r=e.length;do{if(r=r>0?e.lastIndexOf(".",r-1):-1,!1===t(e.slice(r+1)))return!1}while(r>=0);return!0}function B(e){return void 0===e&&(e="_vid"),[U(e),J(e)]}function G(e,t){void 0===t&&(t="_vid"),V(t,e,365),function(e,t){var r;try{null===(r=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===r||r.call(localStorage,e,t)}catch(n){}}(t,e)}function J(e){var t,r;try{return null!==(r=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==r?r:void 0}catch(n){}}function W(r,i,o,s,c,f){var v=this;void 0===o&&(o="us");var _=function(t,r,n,i){return e.__awaiter(v,void 0,void 0,(function(){return e.__generator(this,(function(e){return i?[2,void 0]:[2,u(function(e,t){return t||a[e]}(t,r),n).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},h=function(){return e.__awaiter(v,void 0,void 0,(function(){var n,i;return e.__generator(this,(function(o){switch(o.label){case 0:return[4,r.get()];case 1:return n=o.sent(),[4,t.getComponents(L,void 0,[])];case 2:return i=o.sent(),[2,e.__assign(e.__assign({},n.components),i)]}}))}))},p=function(e){var t={token:i,region:o,endpoint:s,storageKey:f};console.log("Getting the visitor identifier:\n```\nversion: 3.1.0\ninitOptions: "+JSON.stringify(t,void 0,2)+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\n```")},g=function(t){for(var r={},n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];t[o].error&&(r[o]=t[o].error)}Object.keys(r).length&&console.warn("Visitor data source errors:\n```\n"+JSON.stringify(r,(function(t,r){var n;return r instanceof Error?e.__assign(e.__assign({},r),{message:r.message,stack:null===(n=r.stack)||void 0===n?void 0:n.split("\n")}):r}),2)+"\n```")};return{get:function(t){var r=this;void 0===t&&(t={});var a=t.timeout,u=void 0===a?1e4:a,v=t.tag,w=t.linkedId,R=t.disableTls,m=t.extendedResult,E=t.ipResolution,b=t.debug;return b&&p(t),Promise.race([n(u).then((function(){throw new Error("Client timeout")})),e.__awaiter(r,void 0,void 0,(function(){var t,r,n,a;return e.__generator(this,(function(p){switch(p.label){case 0:return[4,Promise.all([_(o,c,u/2,R),h()])];case 1:return t=p.sent(),r=t[0],n=t[1],b&&g(n),[4,l(e.__assign(e.__assign({token:i,endpoint:d(o,s)},r),{components:n,tag:v,visitorId:B(f),linkedId:w,extendedResult:m,ipResolution:E,debug:b}))];case 2:return G((a=p.sent()).visitorId,f),[2,a]}}))}))])}}}function H(r){var n=r.token,i=r.region,o=r.endpoint,a=r.tlsEndpoint,u=r.storageKey,s=r.delayFallback;return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:if(!n||"string"!=typeof n)throw new Error("Token required");return[4,t.load({delayFallback:s})];case 1:return[2,W(e.sent(),n,i,o,a,u)]}}))}))}var X={load:H,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded"};exports.ERROR_BAD_REQUEST_FORMAT="Request cannot be parsed",exports.ERROR_CLIENT_TIMEOUT="Client timeout",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_TOKEN_EXPIRED="Token expired",exports.ERROR_TOKEN_INVALID="Token not found",exports.ERROR_TOKEN_MISSING="Token required",exports.default=X,exports.load=H;
/**
* FingerprintJS Pro v3.0.3 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
* FingerprintJS Pro v3.1.0 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
*

@@ -37,3 +37,3 @@ * This software contains code from open-source projects:

/**
* Your custom API endpoint. Must contain protocol.
* Your custom API endpoint for getting visitor data. Must contain a protocol.
* @example

@@ -44,2 +44,8 @@ * 'https://fp.example.com'

/**
* Your custom TLS endpoint. Must include protocol.
* @example
* 'https://tls.fp.example.com'
*/
tlsEndpoint?: string;
/**
* Override storages name (cookies, localStorage, etc).

@@ -57,3 +63,4 @@ * Should only be used when the default name conflicts with some of your existing names.

* Controls client-side timeout. Client timeout controls total time (both client-side and server-side) that any
* identification event is allowed to run. The value is in milliseconds.
* identification event is allowed to run. It doesn't include time when the page is in background (not visible).
* The value is in milliseconds.
* @default 10000

@@ -78,3 +85,3 @@ */

/**
* Disables the extra server request for getting a TLS identification
* Disables the extra TLS request
*/

@@ -344,3 +351,3 @@ disableTls?: boolean;

*/
declare function load({ token, region, endpoint, storageKey, delayFallback, }: Readonly<LoadOptions>): Promise<Agent>;
declare function load({ token, region, endpoint, tlsEndpoint, storageKey, delayFallback, }: Readonly<LoadOptions>): Promise<Agent>;

@@ -347,0 +354,0 @@ declare const ERROR_CLIENT_TIMEOUT = "Client timeout";

/**
* FingerprintJS Pro v3.0.3 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
* FingerprintJS Pro v3.1.0 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
*

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

import{__awaiter as t,__generator as e,__rest as n,__assign as r}from"tslib";import{murmurX64Hash128 as o,isGecko as i,isChromium as u,isWebKit as a,isDesktopSafari as s,isTrident as c,isEdgeHTML as d,getComponents as l,load as f}from"@fingerprintjs/fingerprintjs";function v(t,e){return new Promise((function(n){return setTimeout((function(){return n(e)}),t)}))}function h(n,r,o){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,Promise.race([v(r,[!0]),("function"==typeof n?n():n).then((function(t){return[!1,t]}))])];case 1:return(t=e.sent())[0]?[2,null==o?void 0:o()]:[2,t[1]]}}))}))}function p(t){var e=t.url,n=t.method,r=void 0===n?"get":n,o=t.body,i=t.headers,u=t.withCredentials,a=void 0!==u&&u,s=t.timeout;return new Promise((function(t,n){var u=new XMLHttpRequest;for(var c in u.open(r,e,!0),u.withCredentials=a,u.timeout=void 0===s?0:Math.max(s,1),i)u.setRequestHeader(c,i[c]);u.onload=function(){return t(function(t){return{text:t.responseText,status:t.status,statusText:t.statusText}}(u))},u.ontimeout=function(){return n(m("TimeoutError","The request timed out"))},u.onabort=function(){return n(m("AbortError","The request is aborted"))},u.onerror=function(){return n(m("TypeError","Connection error"))},u.send(o)}))}function m(t,e){var n=new Error(e);return n.name=t,n}function w(n){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,p({url:"https://api.sjpf.io",timeout:n})];case 1:return t=e.sent(),[3,3];case 2:switch(e.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===t.status)return[2,t.text];throw new Error(t.text.slice(0,255))}}))}))}var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",b=g.length;var k="Client timeout",R="Network connection error",E="Network request aborted";function _(t,e){if(void 0===t&&(t="us"),e)return e;var n="api.fpjs.io";return"us"!==t&&(n=t+"."+n),"https://"+n}function y(i){var u=i.endpoint,a=i.extendedResult,s=i.debug,c=n(i,["endpoint","extendedResult","debug"]);return t(this,void 0,void 0,(function(){var t,n;return e(this,(function(e){switch(e.label){case 0:return t=function(t){for(var e="",n=0;n<t;n++)e+=g.charAt(Math.random()*b);return e}(20),n=function(t){var e,n=t.components,i=t.token,u=t.visitorId,a=t.tag,s=t.ipResolution,c=t.extendedResult,d=t.linkedId,l=t.tls,f=t.tlsError,v=t.requestId,h=Object.keys(n).reduce((function(t,e){return t+n[e].duration}),0),p="full"===s?2:1;return(e={}).rid=v,e.cv="3.0.3",e.c=i,e.url=location.href,e.d=h,e.vid=u[0]||u[1]||void 0,e.ls=u[1]?1:void 0,e.t=function(t){if(t&&"object"==typeof t)return t;if(null==t)return;return{tag:t}}(a),e.i=p,e.cbd=c?1:void 0,e.lid=d,e.cr=document.referrer||void 0,e.j=l,e.je=null==f?void 0:f.message,e.k1=x(n.osCpu),e.k2=x(n.languages),e.k3=x(n.colorDepth),e.k4=x(n.deviceMemory),e.k5=x(n.screenResolution),e.k6=x(n.availableScreenResolution,void 0,[]),e.k7=x(n.hardwareConcurrency),e.k8=x(n.timezoneOffset),e.k9=x(n.timezone),e.k10=T(x(n.sessionStorage)),e.k11=T(x(n.localStorage)),e.k12=T(x(n.indexedDB)),e.k13=T(x(n.openDatabase)),e.k14=x(n.cpuClass),e.k15=x(n.platform),e.k16=x(n.plugins,[]),e.k17=function(t){var e=t.value;if(!e)return;return r(r({},e),{data:o(e.data)})}(n.canvas),e.k18=0,e.k19=x(n.touchSupport),e.k20=x(n.fonts,[]),e.k21=x(n.audio,-1),e.k22=T(x(n.pluginsSupport)),e.k23=x(n.productSub),e.k24=x(n.emptyEvalLength),e.k25=T(x(n.errorFF)),e.k26=T(x(n[0])),e.k27=x(n.vendor),e.k28=T(x(n.chrome)),e.k29=T(x(n[1])),e.k30=T(x(n[2])),e.k31=T(x(n[3],!1)),e.k32=T(x(n.cookiesEnabled,!1)),e.k33=T(x(n[4])),e}(r({extendedResult:a,requestId:t},c)),[4,O(u,n,s)];case 1:return[2,S(e.sent(),t,a,s)]}}))}))}function O(n,r,o){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:o&&console.log("Visitor request:\n```json\n"+JSON.stringify(r,void 0,2)+"\n```"),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,p({url:n,method:"post",body:JSON.stringify(r),headers:{"Content-Type":"text/plain"},withCredentials:!0})];case 2:return[2,e.sent()];case 3:throw t=e.sent(),new Error("AbortError"===t.name?"Network request aborted":"Network connection error");case 4:return[2]}}))}))}function S(n,r,o,i){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){try{t=JSON.parse(n.text)}catch(u){}if(i&&console.log("Visitor response status: "+n.status+"\nVisitor response body:\n```json\n"+(void 0===t?n.text:JSON.stringify(t,void 0,2))+"\n```"),404===n.status||n.status>=500)throw new Error(n.statusText);if(void 0===t)throw new Error(n.text);if(function(t){return t&&"object"==typeof t&&"string"==typeof t.visitorId&&"n/a"!==t.visitorId}(t))return[2,I(t)];if(function(t){return t&&"object"==typeof t&&"n/a"===t.visitorId}(t)){if("Not available for crawl bots"===t.reason||"Not available when User-Agent is unspecified"===t.reason)return[2,N(t.reason,r,o)];throw new Error(t.reason)}throw new Error(n.text)}))}))}function x(t,e,n){return t.error?e:void 0===t.value?n:t.value}function T(t){return!0===t?1:!1===t?0:t}function I(t){var e=t,o=e.botProbability,i=n(e,["botProbability"]),u=r({},i);return o&&(u.bot={probability:o}),u}function N(t,e,n){var o={requestId:e,visitorFound:!1,visitorId:""};if(!n)return o;var i=r(r({},o),{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"Not available for crawl bots"===t&&(i.bot.safe=!0),i}var q=window,C=document;var A=window;var j=navigator,D=window;function P(){var t,e,n,r=(null===(t=j.userAgent)||void 0===t?void 0:t.indexOf("Mac OS"))>0&&-1===(null===(e=j.userAgent)||void 0===e?void 0:e.indexOf("iPhone")),o=(null===(n=j.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||o?3221225472:1073741824}function U(){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return"storage"in j&&"estimate"in j.storage?[4,j.storage.estimate()]:[3,2];case 1:return[2,!!(t=e.sent().quota)&&t<P()];case 2:return[2,!1]}}))}))}var L=window;function M(){return t(this,void 0,void 0,(function(){return e(this,(function(t){return s()?[2,V()]:[2,F()]}))}))}function V(){try{L.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(e){return t=e,!new RegExp([103,101,115,116,117,114,101].map((function(t){return String.fromCharCode(t)})).join("")).test(t)}var t;throw new Error("Unexpected lack of error")}function F(){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:(t=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(t),[4,h(new Promise((function(e){t.contentWindow?t.contentWindow.applicationCache.addEventListener("error",(function(){return e(!0)})):e(!1)})),20,(function(){return!1}))];case 2:return[2,e.sent()];case 3:return t.remove(),[7];case 4:return[2]}}))}))}function J(){try{L.openDatabase(null,null,null,null)}catch(t){return!0}try{return L.localStorage.setItem("test","1"),L.localStorage.removeItem("test"),!1}catch(t){return!0}}var K=[[function(){return u()},function(){return t(this,void 0,void 0,(function(){return e(this,(function(t){return function(){var t=j.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!t)throw"UserAgent is not Google Chrome";return parseInt(t[2],10)}()>=76?[2,U()]:[2,new Promise((function(t){D.webkitRequestFileSystem(0,1,(function(){return t(!1)}),(function(){return t(!0)}))}))]}))}))}],[function(){return a()},function(){return t(this,void 0,void 0,(function(){return e(this,(function(t){return function(){var t=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!t)throw new Error("UserAgent is not Safari");var e=t[1].split(".").map((function(t){return isNaN(parseInt(t))?0:parseInt(t)})),n=e[0],r=e[1],o=e[2];return{major:n,minor:r,patch:o}}().major<13?[2,J()]:[2,M()]}))}))}],[function(){return i()},function(){return new Promise((function(t){try{var e=A.indexedDB.open("test");e.onerror=function(){return t(!0)},e.onsuccess=function(){return t(!1)}}catch(n){return t(!0)}}))}],[function(){return c()||d()},function(){try{if(!window.indexedDB)return!0}catch(t){return!0}return!1}]];function B(){return t(this,void 0,void 0,(function(){var t,n,r,o,i;return e(this,(function(e){switch(e.label){case 0:t=0,n=K,e.label=1;case 1:return t<n.length?(r=n[t],o=r[0],i=r[1],o()?[4,i()]:[3,3]):[3,4];case 2:return[2,e.sent()];case 3:return t++,[3,1];case 4:return[2,!1]}}))}))}function G(t,e){if(0==e.length||e.length>t.length)return-1;for(var n=0;n<t.length;n++){for(var r=0,o=0;o<e.length;o++){if(t[n+o]!==e[o]){r=0;break}r++}if(r==e.length)return n}return-1}var W,z=window,H=document;var X=((W={})[0]=function(){return void 0!==navigator.webdriver},W[1]=function(){return t(this,void 0,void 0,(function(){var t,n;return e(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]}}))}))},W[2]=function(){var t=C.documentElement;return"webdriver"in q||"_Selenium_IDE_Recorder"in q||"callSelenium"in q||"_selenium"in q||"__webdriver_script_fn"in C||"__driver_evaluate"in C||"__webdriver_evaluate"in C||"__selenium_evaluate"in C||"__fxdriver_evaluate"in C||"__driver_unwrapped"in C||"__webdriver_unwrapped"in C||"__selenium_unwrapped"in C||"__fxdriver_unwrapped"in C||"__webdriver_script_func"in C||null!==t.getAttribute("selenium")||null!==t.getAttribute("webdriver")||null!==t.getAttribute("driver")},W[3]=function(){return t(this,void 0,void 0,(function(){var t,n;return e(this,(function(e){switch(e.label){case 0:if(void 0!==(t=function(){try{var t=localStorage.getItem("_inc");if(!t)return;return"1"===t}catch(e){return}}()))return[2,t];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,B()];case 2:return function(t){try{localStorage.setItem("_inc",t?"1":"0")}catch(e){}}(n=e.sent()),[2,n];case 3:return e.sent(),[2,!1];case 4:return[2]}}))}))},W[4]=function(){if(!u())return!1;try{if([66,114,97,118,101].map((function(t){return String.fromCharCode(t)})).join("")in z)return!0;var t=H.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var e=t.toDataURL();if(""===e)return!0;for(var n=window.atob(e.split(",")[1]),r=n.length,o=new Uint8Array(r),i=0;i<r;i++)o[i]=n.charCodeAt(i);var a=G(o,[73,68,65,84,24]);if(-1===a)return!1;var s=G(o,[73,69,78,68]);return-1!==a&&1321!==o.slice(a+5,s).reduce((function(t,e){return t+e}),0)}catch(c){return!1}},W);function Q(){return l(X,void 0,[])}var Y=document,Z=location;function $(t){for(var e=t+"=",n=0,r=Y.cookie.split(";");n<r.length;n++){for(var o=r[n],i=0;" "===o[i]&&i<o.length;)++i;if(o.indexOf(e)===i)return o.slice(i+e.length)}}function tt(t,e,n,r){var o=t+"="+e,i="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),u=r?"domain="+r:"";Y.cookie=[o,"path=/",i,u].join("; ")}function et(t,e,n){var r=Z.hostname;nt(r,(function(e){!function(t,e){tt(t,"",-1,e)}(t,e)})),nt(r,(function(r){return tt(t,e,n,r),$(t)!==e}))&&tt(t,e,n)}function nt(t,e){var n=t.length;do{if(n=n>0?t.lastIndexOf(".",n-1):-1,!1===e(t.slice(n+1)))return!1}while(n>=0);return!0}function rt(t){return void 0===t&&(t="_vid"),[$(t),it(t)]}function ot(t,e){void 0===e&&(e="_vid"),et(e,t,365),function(t,e){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,t,e)}catch(r){}}(e,t)}function it(t){var e,n;try{return null!==(n=null===(e=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===e?void 0:e.call(localStorage,t))&&void 0!==n?n:void 0}catch(r){}}function ut(n,o,i,u,a){var s=this;var c=function(n,r){return t(s,void 0,void 0,(function(){return e(this,(function(t){return r?[2,void 0]:[2,w(n).then((function(t){return{tls:t}}),(function(t){return{tlsError:t}}))]}))}))},d=function(){return t(s,void 0,void 0,(function(){var t,o;return e(this,(function(e){switch(e.label){case 0:return[4,n.get()];case 1:return t=e.sent(),[4,Q()];case 2:return o=e.sent(),[2,r(r({},t.components),o)]}}))}))},l=function(t){var e={token:o,region:i,endpoint:u,storageKey:a};console.log("Getting the visitor identifier:\n```\nversion: 3.0.3\ninitOptions: "+JSON.stringify(e,void 0,2)+"\ngetOptions: "+JSON.stringify(t,void 0,2)+"\n```")},f=function(t){for(var e={},n=0,o=Object.keys(t);n<o.length;n++){var i=o[n];t[i].error&&(e[i]=t[i].error)}Object.keys(e).length&&console.warn("Visitor data source errors:\n```\n"+JSON.stringify(e,(function(t,e){var n;return e instanceof Error?r(r({},e),{message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")}):e}),2)+"\n```")};return{get:function(n){var s=this;void 0===n&&(n={});var v,p=n.timeout,m=void 0===p?1e4:p,w=n.tag,g=n.linkedId,b=n.disableTls,k=n.extendedResult,R=n.ipResolution,E=n.debug;return E&&l(n),v="Client timeout",h((function(){return t(s,void 0,void 0,(function(){var t,n,s,l;return e(this,(function(e){switch(e.label){case 0:return[4,Promise.all([c(m/2,b),d()])];case 1:return t=e.sent(),n=t[0],s=t[1],E&&f(s),[4,y(r(r({token:o,endpoint:_(i,u)},n),{components:s,tag:w,visitorId:rt(a),linkedId:g,extendedResult:k,ipResolution:R,debug:E}))];case 2:return ot((l=e.sent()).visitorId,a),[2,l]}}))}))}),m,(function(){throw new Error(v)}))}}}function at(n){var r=n.token,o=n.region,i=n.endpoint,u=n.storageKey,a=n.delayFallback;return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:if(!r||"string"!=typeof r)throw new Error("Token required");return[4,f({delayFallback:a})];case 1:return[2,ut(t.sent(),r,o,i,u)]}}))}))}var st="Token required",ct="Token not found",dt="Token expired",lt="Request cannot be parsed",ft="Request failed",vt="Request failed to process",ht="Too many requests, rate limit exceeded",pt={load:at,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded"};export default pt;export{lt as ERROR_BAD_REQUEST_FORMAT,k as ERROR_CLIENT_TIMEOUT,ft as ERROR_GENERAL_SERVER_FAILURE,E as ERROR_NETWORK_ABORT,R as ERROR_NETWORK_CONNECTION,ht as ERROR_RATE_LIMIT,vt as ERROR_SERVER_TIMEOUT,dt as ERROR_TOKEN_EXPIRED,ct as ERROR_TOKEN_INVALID,st as ERROR_TOKEN_MISSING,at as load};
import{__awaiter as t,__generator as e,__rest as n,__assign as r}from"tslib";import{murmurX64Hash128 as o,isGecko as i,isChromium as u,isWebKit as a,isDesktopSafari as s,isTrident as c,isEdgeHTML as d,getComponents as l,load as f}from"@fingerprintjs/fingerprintjs";var v=document;function h(t,e){return new Promise((function(n){var r=function(){return v.hidden?u():i()},o=function(t,e,n){var r,o=!1,i=t,u=0,a=function(){o||void 0!==r||(u=Date.now(),r=setTimeout((function(){o=!0,n()}),i))};return e&&a(),{start:a,stop:function(){o||void 0===r||(clearTimeout(r),r=void 0,i-=Date.now()-u)}}}(t,!v.hidden,(function(){v.removeEventListener("visibilitychange",r),n(e)})),i=o.start,u=o.stop;v.addEventListener("visibilitychange",r)}))}function p(t){var e=t.url,n=t.method,r=void 0===n?"get":n,o=t.body,i=t.headers,u=t.withCredentials,a=void 0!==u&&u,s=t.timeout;return new Promise((function(t,n){var u=new XMLHttpRequest;for(var c in u.open(r,e,!0),u.withCredentials=a,u.timeout=void 0===s?0:Math.max(s,1),i)u.setRequestHeader(c,i[c]);u.onload=function(){return t(function(t){return{text:t.responseText,status:t.status,statusText:t.statusText}}(u))},u.ontimeout=function(){return n(m("TimeoutError","The request timed out"))},u.onabort=function(){return n(m("AbortError","The request is aborted"))},u.onerror=function(){return n(m("TypeError","Connection error"))},u.send(o)}))}function m(t,e){var n=new Error(e);return n.name=t,n}var w={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function g(n,r){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,p({url:n,timeout:r})];case 1:return t=e.sent(),[3,3];case 2:switch(e.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===t.status)return[2,t.text];throw new Error(t.text.slice(0,255))}}))}))}var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",k=b.length;var R="Client timeout",E="Network connection error",_="Network request aborted";function y(t,e){if(e)return e;var n="api.fpjs.io";return"us"!==t&&(n=t+"."+n),"https://"+n}function O(i){var u=i.endpoint,a=i.extendedResult,s=i.debug,c=n(i,["endpoint","extendedResult","debug"]);return t(this,void 0,void 0,(function(){var t,n;return e(this,(function(e){switch(e.label){case 0:return t=function(t){for(var e="",n=0;n<t;n++)e+=b.charAt(Math.random()*k);return e}(20),n=function(t){var e,n=t.components,i=t.token,u=t.visitorId,a=t.tag,s=t.ipResolution,c=t.extendedResult,d=t.linkedId,l=t.tls,f=t.tlsError,v=t.requestId,h=Object.keys(n).reduce((function(t,e){return t+n[e].duration}),0),p="full"===s?2:1;return(e={}).rid=v,e.cv="3.1.0",e.c=i,e.url=location.href,e.d=h,e.vid=u[0]||u[1]||void 0,e.ls=u[1]?1:void 0,e.t=function(t){if(t&&"object"==typeof t)return t;if(null==t)return;return{tag:t}}(a),e.i=p,e.cbd=c?1:void 0,e.lid=d,e.cr=document.referrer||void 0,e.j=l,e.je=null==f?void 0:f.message,e.k1=x(n.osCpu),e.k2=x(n.languages),e.k3=x(n.colorDepth),e.k4=x(n.deviceMemory),e.k5=x(n.screenResolution),e.k6=x(n.availableScreenResolution,void 0,[]),e.k7=x(n.hardwareConcurrency),e.k8=x(n.timezoneOffset),e.k9=x(n.timezone),e.k10=I(x(n.sessionStorage)),e.k11=I(x(n.localStorage)),e.k12=I(x(n.indexedDB)),e.k13=I(x(n.openDatabase)),e.k14=x(n.cpuClass),e.k15=x(n.platform),e.k16=x(n.plugins,[]),e.k17=function(t){var e=t.value;if(!e)return;return r(r({},e),{data:o(e.data)})}(n.canvas),e.k18=0,e.k19=x(n.touchSupport),e.k20=x(n.fonts,[]),e.k21=x(n.audio,-4),e.k22=I(x(n.pluginsSupport)),e.k23=x(n.productSub),e.k24=x(n.emptyEvalLength),e.k25=I(x(n.errorFF)),e.k26=I(x(n[0])),e.k27=x(n.vendor),e.k28=I(x(n.chrome)),e.k29=I(x(n[1])),e.k30=I(x(n[2])),e.k31=I(x(n[3],!1)),e.k32=I(x(n.cookiesEnabled,!1)),e.k33=I(x(n[4])),e}(r({extendedResult:a,requestId:t},c)),[4,T(u,n,s)];case 1:return[2,S(e.sent(),t,a,s)]}}))}))}function T(n,r,o){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:o&&console.log("Visitor request:\n```json\n"+JSON.stringify(r,void 0,2)+"\n```"),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,p({url:n,method:"post",body:JSON.stringify(r),headers:{"Content-Type":"text/plain"},withCredentials:!0})];case 2:return[2,e.sent()];case 3:throw t=e.sent(),new Error("AbortError"===t.name?"Network request aborted":"Network connection error");case 4:return[2]}}))}))}function S(n,r,o,i){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){try{t=JSON.parse(n.text)}catch(u){}if(i&&console.log("Visitor response status: "+n.status+"\nVisitor response body:\n```json\n"+(void 0===t?n.text:JSON.stringify(t,void 0,2))+"\n```"),404===n.status||n.status>=500)throw new Error(n.statusText);if(void 0===t)throw new Error(n.text);if(function(t){return t&&"object"==typeof t&&"string"==typeof t.visitorId&&"n/a"!==t.visitorId}(t))return[2,N(t)];if(function(t){return t&&"object"==typeof t&&"n/a"===t.visitorId}(t)){if("Not available for crawl bots"===t.reason||"Not available when User-Agent is unspecified"===t.reason)return[2,q(t.reason,r,o)];throw new Error(t.reason)}throw new Error(n.text)}))}))}function x(t,e,n){return t.error?e:void 0===t.value?n:t.value}function I(t){return!0===t?1:!1===t?0:t}function N(t){var e=t,o=e.botProbability,i=n(e,["botProbability"]),u=r({},i);return o&&(u.bot={probability:o}),u}function q(t,e,n){var o={requestId:e,visitorFound:!1,visitorId:""};if(!n)return o;var i=r(r({},o),{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"Not available for crawl bots"===t&&(i.bot.safe=!0),i}var C=window,A=document;var j=window;var D=navigator,P=window;function L(){var t,e,n,r=(null===(t=D.userAgent)||void 0===t?void 0:t.indexOf("Mac OS"))>0&&-1===(null===(e=D.userAgent)||void 0===e?void 0:e.indexOf("iPhone")),o=(null===(n=D.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||o?3221225472:1073741824}function U(){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return"storage"in D&&"estimate"in D.storage?[4,D.storage.estimate()]:[3,2];case 1:return[2,!!(t=e.sent().quota)&&t<L()];case 2:return[2,!1]}}))}))}var M=window;function V(){return t(this,void 0,void 0,(function(){return e(this,(function(t){return s()?[2,F()]:[2,J()]}))}))}function F(){try{M.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(e){return t=e,!new RegExp([103,101,115,116,117,114,101].map((function(t){return String.fromCharCode(t)})).join("")).test(t)}var t;throw new Error("Unexpected lack of error")}function J(){return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:(t=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(t),[4,Promise.race([(n=20,r=!1,new Promise((function(t){return setTimeout((function(){return t(r)}),n)}))),new Promise((function(e){t.contentWindow?t.contentWindow.applicationCache.addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 2:return[2,e.sent()];case 3:return t.remove(),[7];case 4:return[2]}var n,r}))}))}function K(){try{M.openDatabase(null,null,null,null)}catch(t){return!0}try{return M.localStorage.setItem("test","1"),M.localStorage.removeItem("test"),!1}catch(t){return!0}}var B=[[function(){return u()},function(){return t(this,void 0,void 0,(function(){return e(this,(function(t){return function(){var t=D.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!t)throw"UserAgent is not Google Chrome";return parseInt(t[2],10)}()>=76?[2,U()]:[2,new Promise((function(t){P.webkitRequestFileSystem(0,1,(function(){return t(!1)}),(function(){return t(!0)}))}))]}))}))}],[function(){return a()},function(){return t(this,void 0,void 0,(function(){return e(this,(function(t){return function(){var t=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!t)throw new Error("UserAgent is not Safari");var e=t[1].split(".").map((function(t){return isNaN(parseInt(t))?0:parseInt(t)})),n=e[0],r=e[1],o=e[2];return{major:n,minor:r,patch:o}}().major<13?[2,K()]:[2,V()]}))}))}],[function(){return i()},function(){return new Promise((function(t){try{var e=j.indexedDB.open("test");e.onerror=function(){return t(!0)},e.onsuccess=function(){return t(!1)}}catch(n){return t(!0)}}))}],[function(){return c()||d()},function(){try{if(!window.indexedDB)return!0}catch(t){return!0}return!1}]];function G(){return t(this,void 0,void 0,(function(){var t,n,r,o,i;return e(this,(function(e){switch(e.label){case 0:t=0,n=B,e.label=1;case 1:return t<n.length?(r=n[t],o=r[0],i=r[1],o()?[4,i()]:[3,3]):[3,4];case 2:return[2,e.sent()];case 3:return t++,[3,1];case 4:return[2,!1]}}))}))}function W(t,e){if(0==e.length||e.length>t.length)return-1;for(var n=0;n<t.length;n++){for(var r=0,o=0;o<e.length;o++){if(t[n+o]!==e[o]){r=0;break}r++}if(r==e.length)return n}return-1}var z,H=window,X=document;var Q=((z={})[0]=function(){return void 0!==navigator.webdriver},z[1]=function(){return t(this,void 0,void 0,(function(){var t,n;return e(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]}}))}))},z[2]=function(){var t=A.documentElement;return"webdriver"in C||"_Selenium_IDE_Recorder"in C||"callSelenium"in C||"_selenium"in C||"__webdriver_script_fn"in A||"__driver_evaluate"in A||"__webdriver_evaluate"in A||"__selenium_evaluate"in A||"__fxdriver_evaluate"in A||"__driver_unwrapped"in A||"__webdriver_unwrapped"in A||"__selenium_unwrapped"in A||"__fxdriver_unwrapped"in A||"__webdriver_script_func"in A||null!==t.getAttribute("selenium")||null!==t.getAttribute("webdriver")||null!==t.getAttribute("driver")},z[3]=function(){return t(this,void 0,void 0,(function(){var t,n;return e(this,(function(e){switch(e.label){case 0:if(void 0!==(t=function(){try{var t=localStorage.getItem("_inc");if(!t)return;return"1"===t}catch(e){return}}()))return[2,t];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,G()];case 2:return function(t){try{localStorage.setItem("_inc",t?"1":"0")}catch(e){}}(n=e.sent()),[2,n];case 3:return e.sent(),[2,!1];case 4:return[2]}}))}))},z[4]=function(){if(!u())return!1;try{if([66,114,97,118,101].map((function(t){return String.fromCharCode(t)})).join("")in H)return!0;var t=X.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var e=t.toDataURL();if(""===e)return!0;for(var n=window.atob(e.split(",")[1]),r=n.length,o=new Uint8Array(r),i=0;i<r;i++)o[i]=n.charCodeAt(i);var a=W(o,[73,68,65,84,24]);if(-1===a)return!1;var s=W(o,[73,69,78,68]);return-1!==a&&1321!==o.slice(a+5,s).reduce((function(t,e){return t+e}),0)}catch(c){return!1}},z);function Y(){return l(Q,void 0,[])}var Z=document,$=location;function tt(t){for(var e=t+"=",n=0,r=Z.cookie.split(";");n<r.length;n++){for(var o=r[n],i=0;" "===o[i]&&i<o.length;)++i;if(o.indexOf(e)===i)return o.slice(i+e.length)}}function et(t,e,n,r){var o=t+"="+e,i="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),u=r?"domain="+r:"";Z.cookie=[o,"path=/",i,u].join("; ")}function nt(t,e,n){var r=$.hostname;rt(r,(function(e){!function(t,e){et(t,"",-1,e)}(t,e)})),rt(r,(function(r){return et(t,e,n,r),tt(t)!==e}))&&et(t,e,n)}function rt(t,e){var n=t.length;do{if(n=n>0?t.lastIndexOf(".",n-1):-1,!1===e(t.slice(n+1)))return!1}while(n>=0);return!0}function ot(t){return void 0===t&&(t="_vid"),[tt(t),ut(t)]}function it(t,e){void 0===e&&(e="_vid"),nt(e,t,365),function(t,e){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,t,e)}catch(r){}}(e,t)}function ut(t){var e,n;try{return null!==(n=null===(e=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===e?void 0:e.call(localStorage,t))&&void 0!==n?n:void 0}catch(r){}}function at(n,o,i,u,a,s){var c=this;void 0===i&&(i="us");var d=function(n,r,o,i){return t(c,void 0,void 0,(function(){return e(this,(function(t){return i?[2,void 0]:[2,g(function(t,e){return e||w[t]}(n,r),o).then((function(t){return{tls:t}}),(function(t){return{tlsError:t}}))]}))}))},l=function(){return t(c,void 0,void 0,(function(){var t,o;return e(this,(function(e){switch(e.label){case 0:return[4,n.get()];case 1:return t=e.sent(),[4,Y()];case 2:return o=e.sent(),[2,r(r({},t.components),o)]}}))}))},f=function(t){var e={token:o,region:i,endpoint:u,storageKey:s};console.log("Getting the visitor identifier:\n```\nversion: 3.1.0\ninitOptions: "+JSON.stringify(e,void 0,2)+"\ngetOptions: "+JSON.stringify(t,void 0,2)+"\n```")},v=function(t){for(var e={},n=0,o=Object.keys(t);n<o.length;n++){var i=o[n];t[i].error&&(e[i]=t[i].error)}Object.keys(e).length&&console.warn("Visitor data source errors:\n```\n"+JSON.stringify(e,(function(t,e){var n;return e instanceof Error?r(r({},e),{message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")}):e}),2)+"\n```")};return{get:function(n){var c=this;void 0===n&&(n={});var p=n.timeout,m=void 0===p?1e4:p,w=n.tag,g=n.linkedId,b=n.disableTls,k=n.extendedResult,R=n.ipResolution,E=n.debug;return E&&f(n),Promise.race([h(m).then((function(){throw new Error("Client timeout")})),t(c,void 0,void 0,(function(){var t,n,c,f;return e(this,(function(e){switch(e.label){case 0:return[4,Promise.all([d(i,a,m/2,b),l()])];case 1:return t=e.sent(),n=t[0],c=t[1],E&&v(c),[4,O(r(r({token:o,endpoint:y(i,u)},n),{components:c,tag:w,visitorId:ot(s),linkedId:g,extendedResult:k,ipResolution:R,debug:E}))];case 2:return it((f=e.sent()).visitorId,s),[2,f]}}))}))])}}}function st(n){var r=n.token,o=n.region,i=n.endpoint,u=n.tlsEndpoint,a=n.storageKey,s=n.delayFallback;return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:if(!r||"string"!=typeof r)throw new Error("Token required");return[4,f({delayFallback:s})];case 1:return[2,at(t.sent(),r,o,i,u,a)]}}))}))}var ct="Token required",dt="Token not found",lt="Token expired",ft="Request cannot be parsed",vt="Request failed",ht="Request failed to process",pt="Too many requests, rate limit exceeded",mt={load:st,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded"};export default mt;export{ft as ERROR_BAD_REQUEST_FORMAT,R as ERROR_CLIENT_TIMEOUT,vt as ERROR_GENERAL_SERVER_FAILURE,_ as ERROR_NETWORK_ABORT,E as ERROR_NETWORK_CONNECTION,pt as ERROR_RATE_LIMIT,ht as ERROR_SERVER_TIMEOUT,lt as ERROR_TOKEN_EXPIRED,dt as ERROR_TOKEN_INVALID,ct as ERROR_TOKEN_MISSING,st as load};
/**
* FingerprintJS Pro v3.0.3 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
* FingerprintJS Pro v3.1.0 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
*

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

var FingerprintJS=function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function u(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}c((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function i(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function a(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function c(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function s(e,t){return[e[0]^t[0],e[1]^t[1]]}function l(e){return e=s(e,[0,e[0]>>>1]),e=s(e=a(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=s(e=a(e,[3301882366,444984403]),[0,e[0]>>>1])}function f(e,t){t=t||0;var n,r=(e=e||"").length%16,o=e.length-r,f=[0,t],d=[0,t],v=[0,0],h=[0,0],p=[2277735313,289559509],g=[1291169091,658871167];for(n=0;n<o;n+=16)v=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],h=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],v=u(v=a(v,p),31),f=i(f=u(f=s(f,v=a(v,g)),27),d),f=i(a(f,[0,5]),[0,1390208809]),h=u(h=a(h,g),33),d=i(d=u(d=s(d,h=a(h,p)),31),f),d=i(a(d,[0,5]),[0,944331445]);switch(v=[0,0],h=[0,0],r){case 15:h=s(h,c([0,e.charCodeAt(n+14)],48));case 14:h=s(h,c([0,e.charCodeAt(n+13)],40));case 13:h=s(h,c([0,e.charCodeAt(n+12)],32));case 12:h=s(h,c([0,e.charCodeAt(n+11)],24));case 11:h=s(h,c([0,e.charCodeAt(n+10)],16));case 10:h=s(h,c([0,e.charCodeAt(n+9)],8));case 9:h=a(h=s(h,[0,e.charCodeAt(n+8)]),g),d=s(d,h=a(h=u(h,33),p));case 8:v=s(v,c([0,e.charCodeAt(n+7)],56));case 7:v=s(v,c([0,e.charCodeAt(n+6)],48));case 6:v=s(v,c([0,e.charCodeAt(n+5)],40));case 5:v=s(v,c([0,e.charCodeAt(n+4)],32));case 4:v=s(v,c([0,e.charCodeAt(n+3)],24));case 3:v=s(v,c([0,e.charCodeAt(n+2)],16));case 2:v=s(v,c([0,e.charCodeAt(n+1)],8));case 1:v=a(v=s(v,[0,e.charCodeAt(n)]),p),f=s(f,v=a(v=u(v,31),g))}return f=i(f=s(f,[0,e.length]),d=s(d,[0,e.length])),d=i(d,f),f=i(f=l(f),d=l(d)),d=i(d,f),("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)}function d(e){return"number"==typeof e?0|e:parseInt(e)}function v(e){return"number"==typeof e?e:parseFloat(e)}function h(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}var p=navigator,g=window;function m(e){return e&&"function"==typeof e.setValueAtTime}var w=document,b=["monospace","sans-serif","serif"],y=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],R={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};var S=window,E=navigator,O=document;function k(){return h(["MSCSSMatrix"in S,"msSetImmediate"in S,"msIndexedDB"in S,"msMaxTouchPoints"in E,"msPointerEnabled"in E])>=4}function C(){return h(["msWriteProfilerMark"in S,"MSStream"in S,"msLaunchUri"in E,"msSaveBlob"in E])>=3&&!k()}function T(){return h(["webkitPersistentStorage"in E,"webkitTemporaryStorage"in E,0===E.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in S,"BatteryManager"in S,"webkitMediaStream"in S,"webkitSpeechGrammar"in S])>=5}function A(e){return e.toDataURL()}var _=navigator,I=window;var x=navigator;var M=window;var N=window;var P=window;var D=document;var L={osCpu:function(){return navigator.oscpu},languages:function(){var e=[],t=x.language||x.userLanguage||x.browserLanguage||x.systemLanguage;if(void 0!==t&&e.push([t]),Array.isArray(x.languages))T()&&h([!("MediaSettingsRange"in S),"RTCEncodedAudioFrame"in S,""+S.Intl=="[object Intl]",""+S.Reflect=="[object Reflect]"])>=3||e.push(x.languages);else if("string"==typeof x.languages){var n=x.languages;n&&e.push(n.split(","))}return e},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return navigator.deviceMemory},screenResolution:function(){var e=[d(M.screen.width),d(M.screen.height)];return e.sort().reverse(),e},availableScreenResolution:function(){if(N.screen.availWidth&&N.screen.availHeight){var e=[d(N.screen.availWidth),d(N.screen.availHeight)];return e.sort().reverse(),e}},hardwareConcurrency:function(){try{var e=d(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(v(new Date(e,0,1).getTimezoneOffset()),v(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e;if(null===(e=P.Intl)||void 0===e?void 0:e.DateTimeFormat)return(new P.Intl.DateTimeFormat).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!k()&&!C())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(k())return[];if(navigator.plugins){for(var e=[],t=0;t<navigator.plugins.length;++t){var n=navigator.plugins[t];if(n){for(var r=[],o=0;o<n.length;++o){var i=n[o];r.push({type:i.type,suffixes:i.suffixes})}e.push({name:n.name,description:n.description,mimeTypes:r})}}return e}},canvas: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 o="Cwm fjordbank 😃 gly";return n.fillText(o,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(o,4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",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:A(t)}},touchSupport:function(){var e,t=0;void 0!==_.maxTouchPoints?t=d(_.maxTouchPoints):void 0!==_.msMaxTouchPoints&&(t=_.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(n){e=!1}return{maxTouchPoints:t,touchEvent:e,touchStart:"ontouchstart"in I}},fonts:function(){var e=w.body,t=w.createElement("div"),n=w.createElement("div"),r={},o={},i=function(){var e=w.createElement("span");e.textContent="mmMwWLliI0O&1";for(var t=0,n=Object.keys(R);t<n.length;t++){var r=n[t];e.style[r]=R[r]}return e},a=function(e){return b.some((function(t,n){return e[n].offsetWidth!==r[t]||e[n].offsetHeight!==o[t]}))},u=b.map((function(e){var n=i();return n.style.fontFamily=e,t.appendChild(n),n}));e.appendChild(t);for(var c=0,s=b.length;c<s;c++)r[b[c]]=u[c].offsetWidth,o[b[c]]=u[c].offsetHeight;var l=function(){for(var e={},t=function(t){e[t]=b.map((function(e){var r=function(e,t){var n=i();return n.style.fontFamily="'"+e+"',"+t,n}(t,e);return n.appendChild(r),r}))},r=0,o=y;r<o.length;r++){t(o[r])}return e}();e.appendChild(n);for(var f=[],d=0,v=y.length;d<v;d++)a(l[y[d]])&&f.push(y[d]);return e.removeChild(n),e.removeChild(t),f},audio:function(){return r(this,void 0,void 0,(function(){var e,t,n,r,i,a,u,c,s,l;return o(this,(function(o){if(p.userAgent.match(/OS 11.+Version\/11.+Safari/))return[2,-1];if(!(e=g.OfflineAudioContext||g.webkitOfflineAudioContext))return[2,-2];for(t=new e(1,44100,44100),(n=t.createOscillator()).type="triangle",n.frequency.setValueAtTime(1e4,t.currentTime),r=t.createDynamicsCompressor(),i=0,a=[["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]];i<a.length;i++)c=(u=a[i])[0],s=u[1],m(l=r[c])&&l.setValueAtTime(s,t.currentTime);return n.connect(r),r.connect(t.destination),n.start(0),t.startRendering(),[2,new Promise((function(e){var o=setTimeout((function(){t.oncomplete=null,e(-3)}),1e3);t.oncomplete=function(t){var i;try{clearTimeout(o),i=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0),n.disconnect(),r.disconnect()}catch(a){return void e(-4)}e(i)}}))]}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){try{D.cookie="cookietest=1";var e=-1!==D.cookie.indexOf("cookietest=");return D.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}}};function j(e,n,i){return r(this,void 0,void 0,(function(){var r,a,u,c,s,l,f,d,v;return o(this,(function(o){switch(o.label){case 0:r=Date.now(),a={},u=0,c=Object.keys(e),o.label=1;case 1:if(!(u<c.length))return[3,7];if(s=c[u],function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(i,s))return[3,6];l=void 0,o.label=2;case 2:return o.trys.push([2,4,,5]),v={},[4,e[s](n)];case 3:return v.value=o.sent(),l=v,[3,5];case 4:return f=o.sent(),l=f&&"object"==typeof f&&"message"in f?{error:f}:{error:{message:f}},[3,5];case 5:d=Date.now(),a[s]=t(t({},l),{duration:d-r}),r=d,o.label=6;case 6:return u++,[3,1];case 7:return[2,a]}}))}))}function B(e){return f(function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=e[o],a=i.error?"error":JSON.stringify(i.value);t+=(t?"|":"")+o.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}var F=function(){function e(){}return e.prototype.get=function(e){return void 0===e&&(e={}),r(this,void 0,void 0,(function(){var n,r;return o(this,(function(o){switch(o.label){case 0:return[4,j(L,void 0,[])];case 1:return n=o.sent(),r=function(e){var t;return{components:e,get visitorId(){return void 0===t&&(t=B(this.components)),t},set visitorId(e){t=e}}}(n),e.debug&&console.log("Copy the text below to get the debug data:\n\n```\nversion: 3.0.1\ngetOptions: "+JSON.stringify(e,void 0,2)+"\nvisitorId: "+r.visitorId+"\ncomponents: "+function(e){return JSON.stringify(e,(function(e,n){var r;return n instanceof Error?t(t({},n),{message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")}):n}),2)}(n)+"\n```"),[2,r]}}))}))},e}();function U(e){var t=(void 0===e?{}:e).delayFallback,n=void 0===t?50:t;return r(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,(t=n,new Promise((function(e){window.requestIdleCallback?window.requestIdleCallback((function(){return e()})):setTimeout(e,t)})))];case 1:return e.sent(),[2,new F]}var t}))}))}var q=f,V="3.0.3";function G(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function W(e,t,n){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){switch(o.label){case 0:return[4,Promise.race([G(t,[!0]),("function"==typeof e?e():e).then((function(e){return[!1,e]}))])];case 1:return(r=o.sent())[0]?[2,null==n?void 0:n()]:[2,r[1]]}}))}))}function K(e){var t=e.url,n=e.method,r=void 0===n?"get":n,o=e.body,i=e.headers,a=e.withCredentials,u=void 0!==a&&a,c=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var s in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===c?0:Math.max(c,1),i)a.setRequestHeader(s,i[s]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(H("TimeoutError","The request timed out"))},a.onabort=function(){return n(H("AbortError","The request is aborted"))},a.onerror=function(){return n(H("TypeError","Connection error"))},a.send(o)}))}function H(e,t){var n=new Error(t);return n.name=e,n}function J(e){return r(this,void 0,void 0,(function(){var t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,K({url:"https://api.sjpf.io",timeout:e})];case 1:return t=n.sent(),[3,3];case 2:switch(n.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===t.status)return[2,t.text];throw new Error(t.text.slice(0,255))}}))}))}var z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",X=z.length;var Q="Client timeout",Y="Network connection error",Z="Network request aborted",$="n/a";function ee(e,t){if(void 0===e&&(e="us"),t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function te(e){var i=e.endpoint,a=e.extendedResult,u=e.debug,c=n(e,["endpoint","extendedResult","debug"]);return r(this,void 0,void 0,(function(){var e,n;return o(this,(function(r){switch(r.label){case 0:return e=function(e){for(var t="",n=0;n<e;n++)t+=z.charAt(Math.random()*X);return t}(20),n=function(e){var n,r=e.components,o=e.token,i=e.visitorId,a=e.tag,u=e.ipResolution,c=e.extendedResult,s=e.linkedId,l=e.tls,f=e.tlsError,d=e.requestId,v=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),h="full"===u?2:1;return(n={}).rid=d,n.cv=V,n.c=o,n.url=location.href,n.d=v,n.vid=i[0]||i[1]||void 0,n.ls=i[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(a),n.i=h,n.cbd=c?1:void 0,n.lid=s,n.cr=document.referrer||void 0,n.j=l,n.je=null==f?void 0:f.message,n.k1=oe(r.osCpu),n.k2=oe(r.languages),n.k3=oe(r.colorDepth),n.k4=oe(r.deviceMemory),n.k5=oe(r.screenResolution),n.k6=oe(r.availableScreenResolution,void 0,[]),n.k7=oe(r.hardwareConcurrency),n.k8=oe(r.timezoneOffset),n.k9=oe(r.timezone),n.k10=ie(oe(r.sessionStorage)),n.k11=ie(oe(r.localStorage)),n.k12=ie(oe(r.indexedDB)),n.k13=ie(oe(r.openDatabase)),n.k14=oe(r.cpuClass),n.k15=oe(r.platform),n.k16=oe(r.plugins,[]),n.k17=function(e){var n=e.value;if(!n)return;return t(t({},n),{data:q(n.data)})}(r.canvas),n.k18=0,n.k19=oe(r.touchSupport),n.k20=oe(r.fonts,[]),n.k21=oe(r.audio,-1),n.k22=ie(oe(r.pluginsSupport)),n.k23=oe(r.productSub),n.k24=oe(r.emptyEvalLength),n.k25=ie(oe(r.errorFF)),n.k26=ie(oe(r[0])),n.k27=oe(r.vendor),n.k28=ie(oe(r.chrome)),n.k29=ie(oe(r[1])),n.k30=ie(oe(r[2])),n.k31=ie(oe(r[3],!1)),n.k32=ie(oe(r.cookiesEnabled,!1)),n.k33=ie(oe(r[4])),n}(t({extendedResult:a,requestId:e},c)),[4,ne(i,n,u)];case 1:return[2,re(r.sent(),e,a,u)]}}))}))}function ne(e,t,n){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){switch(o.label){case 0:n&&console.log("Visitor request:\n```json\n"+JSON.stringify(t,void 0,2)+"\n```"),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,K({url:e,method:"post",body:JSON.stringify(t),headers:{"Content-Type":"text/plain"},withCredentials:!0})];case 2:return[2,o.sent()];case 3:throw r=o.sent(),new Error("AbortError"===r.name?Z:Y);case 4:return[2]}}))}))}function re(e,t,n,i){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){try{r=JSON.parse(e.text)}catch(a){}if(i&&console.log("Visitor response status: "+e.status+"\nVisitor response body:\n```json\n"+(void 0===r?e.text:JSON.stringify(r,void 0,2))+"\n```"),404===e.status||e.status>=500)throw new Error(e.statusText);if(void 0===r)throw new Error(e.text);if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&e.visitorId!==$}(r))return[2,ae(r)];if(function(e){return e&&"object"==typeof e&&e.visitorId===$}(r)){if("Not available for crawl bots"===r.reason||"Not available when User-Agent is unspecified"===r.reason)return[2,ue(r.reason,t,n)];throw new Error(r.reason)}throw new Error(e.text)}))}))}function oe(e,t,n){return e.error?t:void 0===e.value?n:e.value}function ie(e){return!0===e?1:!1===e?0:e}function ae(e){var r=e,o=r.botProbability,i=n(r,["botProbability"]),a=t({},i);return o&&(a.bot={probability:o}),a}function ue(e,n,r){var o={requestId:n,visitorFound:!1,visitorId:""};if(!r)return o;var i=t(t({},o),{bot:{probability:1},incognito:!1,browserName:$,browserVersion:$,device:$,ip:$,ipLocation:{},os:$,osVersion:$});return"Not available for crawl bots"===e&&(i.bot.safe=!0),i}var ce=window,se=document;var le=window;var fe=navigator,de=window;function ve(){var e,t,n,r=(null===(e=fe.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=fe.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),o=(null===(n=fe.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||o?3221225472:1073741824}function he(){return r(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return"storage"in fe&&"estimate"in fe.storage?[4,fe.storage.estimate()]:[3,2];case 1:return[2,!!(e=t.sent().quota)&&e<ve()];case 2:return[2,!1]}}))}))}var pe=window;function ge(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return"safari"in S?[2,me()]:[2,we()]}))}))}function me(){try{pe.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function we(){return r(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,W(new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)})),20,(function(){return!1}))];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function be(){try{pe.openDatabase(null,null,null,null)}catch(e){return!0}try{return pe.localStorage.setItem("test","1"),pe.localStorage.removeItem("test"),!1}catch(e){return!0}}var ye="_inc",Re=[[function(){return T()},function(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return function(){var e=fe.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,he()]:[2,new Promise((function(e){de.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return h(["ApplePayError"in S,"CSSPrimitiveValue"in S,"Counter"in S,0===E.vendor.indexOf("Apple"),"getStorageUpdates"in E,"WebKitMediaKeys"in S])>=4},function(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],o=t[2];return{major:n,minor:r,patch:o}}().major<13?[2,be()]:[2,ge()]}))}))}],[function(){return function(){var e;return h(["buildID"in E,(null===(e=O.documentElement)||void 0===e?void 0:e.style)&&"MozAppearance"in O.documentElement.style,"MediaRecorderErrorEvent"in S,"mozInnerScreenX"in S,"CSSMozDocumentRule"in S,"CanvasCaptureMediaStream"in S])>=4}()},function(){return new Promise((function(e){try{var t=le.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return k()||C()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function Se(){return r(this,void 0,void 0,(function(){var e,t,n,r,i;return o(this,(function(o){switch(o.label){case 0:e=0,t=Re,o.label=1;case 1:return e<t.length?(n=t[e],r=n[0],i=n[1],r()?[4,i()]:[3,3]):[3,4];case 2:return[2,o.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function Ee(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,o=0;o<t.length;o++){if(e[n+o]!==t[o]){r=0;break}r++}if(r==t.length)return n}return-1}var Oe,ke=window,Ce=document;var Te=((Oe={})[0]=function(){return void 0!==navigator.webdriver},Oe[1]=function(){return r(this,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return t=n.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===t.state]}}))}))},Oe[2]=function(){var e=se.documentElement;return"webdriver"in ce||"_Selenium_IDE_Recorder"in ce||"callSelenium"in ce||"_selenium"in ce||"__webdriver_script_fn"in se||"__driver_evaluate"in se||"__webdriver_evaluate"in se||"__selenium_evaluate"in se||"__fxdriver_evaluate"in se||"__driver_unwrapped"in se||"__webdriver_unwrapped"in se||"__selenium_unwrapped"in se||"__fxdriver_unwrapped"in se||"__webdriver_script_func"in se||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},Oe[3]=function(){return r(this,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem(ye);if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,Se()];case 2:return function(e){try{localStorage.setItem(ye,e?"1":"0")}catch(t){}}(t=n.sent()),[2,t];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},Oe[4]=function(){if(!T())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in ke)return!0;var e=Ce.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var t=e.toDataURL();if(""===t)return!0;for(var n=window.atob(t.split(",")[1]),r=n.length,o=new Uint8Array(r),i=0;i<r;i++)o[i]=n.charCodeAt(i);var a=Ee(o,[73,68,65,84,24]);if(-1===a)return!1;var u=Ee(o,[73,69,78,68]);return-1!==a&&1321!==o.slice(a+5,u).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},Oe);function Ae(){return j(Te,void 0,[])}var _e=document,Ie=location;function xe(e){for(var t=e+"=",n=0,r=_e.cookie.split(";");n<r.length;n++){for(var o=r[n],i=0;" "===o[i]&&i<o.length;)++i;if(o.indexOf(t)===i)return o.slice(i+t.length)}}function Me(e,t,n,r){var o=e+"="+t,i="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";_e.cookie=[o,"path=/",i,a].join("; ")}function Ne(e,t,n){var r=Ie.hostname;Pe(r,(function(t){!function(e,t){Me(e,"",-1,t)}(e,t)})),Pe(r,(function(r){return Me(e,t,n,r),xe(e)!==t}))&&Me(e,t,n)}function Pe(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}var De="_vid";function Le(e){return void 0===e&&(e=De),[xe(e),Be(e)]}function je(e,t){void 0===t&&(t=De),Ne(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 Be(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 Fe(e,n,i,a,u){var c=this;var s=function(e,t){return r(c,void 0,void 0,(function(){return o(this,(function(n){return t?[2,void 0]:[2,J(e).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},l=function(){return r(c,void 0,void 0,(function(){var n,r;return o(this,(function(o){switch(o.label){case 0:return[4,e.get()];case 1:return n=o.sent(),[4,Ae()];case 2:return r=o.sent(),[2,t(t({},n.components),r)]}}))}))},f=function(e){var t={token:n,region:i,endpoint:a,storageKey:u};console.log("Getting the visitor identifier:\n```\nversion: 3.0.3\ninitOptions: "+JSON.stringify(t,void 0,2)+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\n```")},d=function(e){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];e[i].error&&(n[i]=e[i].error)}Object.keys(n).length&&console.warn("Visitor data source errors:\n```\n"+JSON.stringify(n,(function(e,n){var r;return n instanceof Error?t(t({},n),{message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")}):n}),2)+"\n```")};return{get:function(e){var c=this;void 0===e&&(e={});var v,h=e.timeout,p=void 0===h?1e4:h,g=e.tag,m=e.linkedId,w=e.disableTls,b=e.extendedResult,y=e.ipResolution,R=e.debug;return R&&f(e),v=Q,W((function(){return r(c,void 0,void 0,(function(){var e,r,c,f;return o(this,(function(o){switch(o.label){case 0:return[4,Promise.all([s(p/2,w),l()])];case 1:return e=o.sent(),r=e[0],c=e[1],R&&d(c),[4,te(t(t({token:n,endpoint:ee(i,a)},r),{components:c,tag:g,visitorId:Le(u),linkedId:m,extendedResult:b,ipResolution:y,debug:R}))];case 2:return je((f=o.sent()).visitorId,u),[2,f]}}))}))}),p,(function(){throw new Error(v)}))}}}function Ue(e){var t=e.token,n=e.region,i=e.endpoint,a=e.storageKey,u=e.delayFallback;return r(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:if(!t||"string"!=typeof t)throw new Error("Token required");return[4,U({delayFallback:u})];case 1:return[2,Fe(e.sent(),t,n,i,a)]}}))}))}var qe="Token required",Ve="Token not found",Ge="Token expired",We="Request cannot be parsed",Ke="Request failed",He="Request failed to process",Je="Too many requests, rate limit exceeded",ze={load:Ue,ERROR_CLIENT_TIMEOUT:Q,ERROR_NETWORK_CONNECTION:Y,ERROR_NETWORK_ABORT:Z,ERROR_TOKEN_MISSING:qe,ERROR_TOKEN_INVALID:Ve,ERROR_TOKEN_EXPIRED:Ge,ERROR_BAD_REQUEST_FORMAT:We,ERROR_GENERAL_SERVER_FAILURE:Ke,ERROR_SERVER_TIMEOUT:He,ERROR_RATE_LIMIT:Je};return e.ERROR_BAD_REQUEST_FORMAT=We,e.ERROR_CLIENT_TIMEOUT=Q,e.ERROR_GENERAL_SERVER_FAILURE=Ke,e.ERROR_NETWORK_ABORT=Z,e.ERROR_NETWORK_CONNECTION=Y,e.ERROR_RATE_LIMIT=Je,e.ERROR_SERVER_TIMEOUT=He,e.ERROR_TOKEN_EXPIRED=Ge,e.ERROR_TOKEN_INVALID=Ve,e.ERROR_TOKEN_MISSING=qe,e.default=ze,e.load=Ue,e}({});
var FingerprintJS=function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function u(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}c((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function i(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function a(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function c(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function s(e,t){return[e[0]^t[0],e[1]^t[1]]}function l(e){return e=s(e,[0,e[0]>>>1]),e=s(e=a(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=s(e=a(e,[3301882366,444984403]),[0,e[0]>>>1])}function f(e,t){t=t||0;var n,r=(e=e||"").length%16,o=e.length-r,f=[0,t],d=[0,t],v=[0,0],h=[0,0],p=[2277735313,289559509],g=[1291169091,658871167];for(n=0;n<o;n+=16)v=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],h=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],v=u(v=a(v,p),31),f=i(f=u(f=s(f,v=a(v,g)),27),d),f=i(a(f,[0,5]),[0,1390208809]),h=u(h=a(h,g),33),d=i(d=u(d=s(d,h=a(h,p)),31),f),d=i(a(d,[0,5]),[0,944331445]);switch(v=[0,0],h=[0,0],r){case 15:h=s(h,c([0,e.charCodeAt(n+14)],48));case 14:h=s(h,c([0,e.charCodeAt(n+13)],40));case 13:h=s(h,c([0,e.charCodeAt(n+12)],32));case 12:h=s(h,c([0,e.charCodeAt(n+11)],24));case 11:h=s(h,c([0,e.charCodeAt(n+10)],16));case 10:h=s(h,c([0,e.charCodeAt(n+9)],8));case 9:h=a(h=s(h,[0,e.charCodeAt(n+8)]),g),d=s(d,h=a(h=u(h,33),p));case 8:v=s(v,c([0,e.charCodeAt(n+7)],56));case 7:v=s(v,c([0,e.charCodeAt(n+6)],48));case 6:v=s(v,c([0,e.charCodeAt(n+5)],40));case 5:v=s(v,c([0,e.charCodeAt(n+4)],32));case 4:v=s(v,c([0,e.charCodeAt(n+3)],24));case 3:v=s(v,c([0,e.charCodeAt(n+2)],16));case 2:v=s(v,c([0,e.charCodeAt(n+1)],8));case 1:v=a(v=s(v,[0,e.charCodeAt(n)]),p),f=s(f,v=a(v=u(v,31),g))}return f=i(f=s(f,[0,e.length]),d=s(d,[0,e.length])),d=i(d,f),f=i(f=l(f),d=l(d)),d=i(d,f),("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)}function d(e){return"number"==typeof e?0|e:parseInt(e)}function v(e){return"number"==typeof e?e:parseFloat(e)}function h(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}var p=window,g=navigator,m=document;function w(){return h(["MSCSSMatrix"in p,"msSetImmediate"in p,"msIndexedDB"in p,"msMaxTouchPoints"in g,"msPointerEnabled"in g])>=4}function b(){return h(["msWriteProfilerMark"in p,"MSStream"in p,"msLaunchUri"in g,"msSaveBlob"in g])>=3&&!w()}function y(){return h(["webkitPersistentStorage"in g,"webkitTemporaryStorage"in g,0===g.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in p,"BatteryManager"in p,"webkitMediaStream"in p,"webkitSpeechGrammar"in p])>=5}function R(){return h(["ApplePayError"in p,"CSSPrimitiveValue"in p,"Counter"in p,0===g.vendor.indexOf("Apple"),"getStorageUpdates"in g,"WebKitMediaKeys"in p])>=4}function E(){return h(["safari"in p,!("DeviceMotionEvent"in p),!("ongestureend"in p),!("standalone"in g)])>=3}var S=window,O=document;function k(e,t,n){(function(e){return e&&"function"==typeof e.setValueAtTime})(t)&&t.setValueAtTime(n,e.currentTime)}function C(e){return new Promise((function(t,n){e.oncomplete=function(e){return t(e.renderedBuffer)};var r=3,o=function(){switch(e.startRendering(),e.state){case"running":setTimeout((function(){return n(A("timeout"))}),1e3);break;case"suspended":O.hidden||r--,r>0?setTimeout(o,500):n(A("suspended"))}};o()}))}function T(e){for(var t=0,n=4500;n<5e3;++n)t+=Math.abs(e[n]);return t}function A(e){var t=new Error(e);return t.name=e,t}var _=document,I=["monospace","sans-serif","serif"],x=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],M={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};function P(e){return e.toDataURL()}var N=navigator,D=window;var L=navigator;var j=window;var B=window;var F=window;var U=document;var q={osCpu:function(){return navigator.oscpu},languages:function(){var e=[],t=L.language||L.userLanguage||L.browserLanguage||L.systemLanguage;if(void 0!==t&&e.push([t]),Array.isArray(L.languages))y()&&h([!("MediaSettingsRange"in p),"RTCEncodedAudioFrame"in p,""+p.Intl=="[object Intl]",""+p.Reflect=="[object Reflect]"])>=3||e.push(L.languages);else if("string"==typeof L.languages){var n=L.languages;n&&e.push(n.split(","))}return e},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return navigator.deviceMemory},screenResolution:function(){var e=[d(j.screen.width),d(j.screen.height)];return e.sort().reverse(),e},availableScreenResolution:function(){if(B.screen.availWidth&&B.screen.availHeight){var e=[d(B.screen.availWidth),d(B.screen.availHeight)];return e.sort().reverse(),e}},hardwareConcurrency:function(){try{var e=d(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(v(new Date(e,0,1).getTimezoneOffset()),v(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e;if(null===(e=F.Intl)||void 0===e?void 0:e.DateTimeFormat)return(new F.Intl.DateTimeFormat).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!w()&&!b())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(w())return[];if(navigator.plugins){for(var e=[],t=0;t<navigator.plugins.length;++t){var n=navigator.plugins[t];if(n){for(var r=[],o=0;o<n.length;++o){var i=n[o];r.push({type:i.type,suffixes:i.suffixes})}e.push({name:n.name,description:n.description,mimeTypes:r})}}return e}},canvas: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 o="Cwm fjordbank 😃 gly";return n.fillText(o,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(o,4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",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:P(t)}},touchSupport:function(){var e,t=0;void 0!==N.maxTouchPoints?t=d(N.maxTouchPoints):void 0!==N.msMaxTouchPoints&&(t=N.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(n){e=!1}return{maxTouchPoints:t,touchEvent:e,touchStart:"ontouchstart"in D}},fonts:function(){var e=_.body,t=_.createElement("div"),n=_.createElement("div"),r={},o={},i=function(){var e=_.createElement("span");e.textContent="mmMwWLliI0O&1";for(var t=0,n=Object.keys(M);t<n.length;t++){var r=n[t];e.style[r]=M[r]}return e},a=function(e){return I.some((function(t,n){return e[n].offsetWidth!==r[t]||e[n].offsetHeight!==o[t]}))},u=I.map((function(e){var n=i();return n.style.fontFamily=e,t.appendChild(n),n}));e.appendChild(t);for(var c=0,s=I.length;c<s;c++)r[I[c]]=u[c].offsetWidth,o[I[c]]=u[c].offsetHeight;var l=function(){for(var e={},t=function(t){e[t]=I.map((function(e){var r=function(e,t){var n=i();return n.style.fontFamily="'"+e+"',"+t,n}(t,e);return n.appendChild(r),r}))},r=0,o=x;r<o.length;r++){t(o[r])}return e}();e.appendChild(n);for(var f=[],d=0,v=x.length;d<v;d++)a(l[x[d]])&&f.push(x[d]);return e.removeChild(n),e.removeChild(t),f},audio:function(){return r(this,void 0,void 0,(function(){var e,t,n,r,i,a;return o(this,(function(o){switch(o.label){case 0:if(R()&&!E()&&!(h(["DOMRectList"in p,"RTCPeerConnectionIceEvent"in p,"SVGGeometryElement"in p,"ontransitioncancel"in p])>=3))return[2,-1];if(!(e=S.OfflineAudioContext||S.webkitOfflineAudioContext))return[2,-2];t=new e(1,44100,44100),(n=t.createOscillator()).type="triangle",k(t,n.frequency,1e4),r=t.createDynamicsCompressor(),k(t,r.threshold,-50),k(t,r.knee,40),k(t,r.ratio,12),k(t,r.reduction,-20),k(t,r.attack,0),k(t,r.release,.25),n.connect(r),r.connect(t.destination),n.start(0),o.label=1;case 1:return o.trys.push([1,3,4,5]),[4,C(t)];case 2:return i=o.sent(),[3,5];case 3:if("timeout"===(a=o.sent()).name||"suspended"===a.name)return[2,-3];throw a;case 4:return n.disconnect(),r.disconnect(),[7];case 5:return[2,T(i.getChannelData(0))]}}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){try{U.cookie="cookietest=1";var e=-1!==U.cookie.indexOf("cookietest=");return U.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}}};function G(e,n,i){return r(this,void 0,void 0,(function(){var r,a,u,c,s,l,f,d,v;return o(this,(function(o){switch(o.label){case 0:r=Date.now(),a={},u=0,c=Object.keys(e),o.label=1;case 1:if(!(u<c.length))return[3,7];if(s=c[u],function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(i,s))return[3,6];l=void 0,o.label=2;case 2:return o.trys.push([2,4,,5]),v={},[4,e[s](n)];case 3:return v.value=o.sent(),l=v,[3,5];case 4:return f=o.sent(),l=f&&"object"==typeof f&&"message"in f?{error:f}:{error:{message:f}},[3,5];case 5:d=Date.now(),a[s]=t(t({},l),{duration:d-r}),r=d,o.label=6;case 6:return u++,[3,1];case 7:return[2,a]}}))}))}function V(e){return f(function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=e[o],a=i.error?"error":JSON.stringify(i.value);t+=(t?"|":"")+o.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}var W=function(){function e(){}return e.prototype.get=function(e){return void 0===e&&(e={}),r(this,void 0,void 0,(function(){var n,r;return o(this,(function(o){switch(o.label){case 0:return[4,G(q,void 0,[])];case 1:return n=o.sent(),r=function(e){var t;return{components:e,get visitorId(){return void 0===t&&(t=V(this.components)),t},set visitorId(e){t=e}}}(n),e.debug&&console.log("Copy the text below to get the debug data:\n\n```\nversion: 3.0.3\nuserAgent: "+navigator.userAgent+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\nvisitorId: "+r.visitorId+"\ncomponents: "+function(e){return JSON.stringify(e,(function(e,n){var r;return n instanceof Error?t(t({},n),{message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")}):n}),2)}(n)+"\n```"),[2,r]}}))}))},e}();function K(e){var t=(void 0===e?{}:e).delayFallback,n=void 0===t?50:t;return r(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,(t=n,new Promise((function(e){window.requestIdleCallback?window.requestIdleCallback((function(){return e()})):setTimeout(e,t)})))];case 1:return e.sent(),[2,new W]}var t}))}))}var H=f,J="3.1.0",z=document;function X(e,t){return new Promise((function(n){var r=function(){return z.hidden?a():i()},o=function(e,t,n){var r,o=!1,i=e,a=0,u=function(){o||void 0!==r||(a=Date.now(),r=setTimeout((function(){o=!0,n()}),i))};return t&&u(),{start:u,stop:function(){o||void 0===r||(clearTimeout(r),r=void 0,i-=Date.now()-a)}}}(e,!z.hidden,(function(){z.removeEventListener("visibilitychange",r),n(t)})),i=o.start,a=o.stop;z.addEventListener("visibilitychange",r)}))}function Q(e){var t=e.url,n=e.method,r=void 0===n?"get":n,o=e.body,i=e.headers,a=e.withCredentials,u=void 0!==a&&a,c=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var s in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===c?0:Math.max(c,1),i)a.setRequestHeader(s,i[s]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(Y("TimeoutError","The request timed out"))},a.onabort=function(){return n(Y("AbortError","The request is aborted"))},a.onerror=function(){return n(Y("TypeError","Connection error"))},a.send(o)}))}function Y(e,t){var n=new Error(t);return n.name=e,n}var Z={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function $(e,t){return r(this,void 0,void 0,(function(){var n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,Q({url:e,timeout:t})];case 1:return n=r.sent(),[3,3];case 2:switch(r.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===n.status)return[2,n.text];throw new Error(n.text.slice(0,255))}}))}))}var ee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",te=ee.length;var ne="Client timeout",re="Network connection error",oe="Network request aborted",ie="n/a";function ae(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function ue(e){var i=e.endpoint,a=e.extendedResult,u=e.debug,c=n(e,["endpoint","extendedResult","debug"]);return r(this,void 0,void 0,(function(){var e,n;return o(this,(function(r){switch(r.label){case 0:return e=function(e){for(var t="",n=0;n<e;n++)t+=ee.charAt(Math.random()*te);return t}(20),n=function(e){var n,r=e.components,o=e.token,i=e.visitorId,a=e.tag,u=e.ipResolution,c=e.extendedResult,s=e.linkedId,l=e.tls,f=e.tlsError,d=e.requestId,v=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),h="full"===u?2:1;return(n={}).rid=d,n.cv=J,n.c=o,n.url=location.href,n.d=v,n.vid=i[0]||i[1]||void 0,n.ls=i[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(a),n.i=h,n.cbd=c?1:void 0,n.lid=s,n.cr=document.referrer||void 0,n.j=l,n.je=null==f?void 0:f.message,n.k1=le(r.osCpu),n.k2=le(r.languages),n.k3=le(r.colorDepth),n.k4=le(r.deviceMemory),n.k5=le(r.screenResolution),n.k6=le(r.availableScreenResolution,void 0,[]),n.k7=le(r.hardwareConcurrency),n.k8=le(r.timezoneOffset),n.k9=le(r.timezone),n.k10=fe(le(r.sessionStorage)),n.k11=fe(le(r.localStorage)),n.k12=fe(le(r.indexedDB)),n.k13=fe(le(r.openDatabase)),n.k14=le(r.cpuClass),n.k15=le(r.platform),n.k16=le(r.plugins,[]),n.k17=function(e){var n=e.value;if(!n)return;return t(t({},n),{data:H(n.data)})}(r.canvas),n.k18=0,n.k19=le(r.touchSupport),n.k20=le(r.fonts,[]),n.k21=le(r.audio,-4),n.k22=fe(le(r.pluginsSupport)),n.k23=le(r.productSub),n.k24=le(r.emptyEvalLength),n.k25=fe(le(r.errorFF)),n.k26=fe(le(r[0])),n.k27=le(r.vendor),n.k28=fe(le(r.chrome)),n.k29=fe(le(r[1])),n.k30=fe(le(r[2])),n.k31=fe(le(r[3],!1)),n.k32=fe(le(r.cookiesEnabled,!1)),n.k33=fe(le(r[4])),n}(t({extendedResult:a,requestId:e},c)),[4,ce(i,n,u)];case 1:return[2,se(r.sent(),e,a,u)]}}))}))}function ce(e,t,n){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){switch(o.label){case 0:n&&console.log("Visitor request:\n```json\n"+JSON.stringify(t,void 0,2)+"\n```"),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,Q({url:e,method:"post",body:JSON.stringify(t),headers:{"Content-Type":"text/plain"},withCredentials:!0})];case 2:return[2,o.sent()];case 3:throw r=o.sent(),new Error("AbortError"===r.name?oe:re);case 4:return[2]}}))}))}function se(e,t,n,i){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){try{r=JSON.parse(e.text)}catch(a){}if(i&&console.log("Visitor response status: "+e.status+"\nVisitor response body:\n```json\n"+(void 0===r?e.text:JSON.stringify(r,void 0,2))+"\n```"),404===e.status||e.status>=500)throw new Error(e.statusText);if(void 0===r)throw new Error(e.text);if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&e.visitorId!==ie}(r))return[2,de(r)];if(function(e){return e&&"object"==typeof e&&e.visitorId===ie}(r)){if("Not available for crawl bots"===r.reason||"Not available when User-Agent is unspecified"===r.reason)return[2,ve(r.reason,t,n)];throw new Error(r.reason)}throw new Error(e.text)}))}))}function le(e,t,n){return e.error?t:void 0===e.value?n:e.value}function fe(e){return!0===e?1:!1===e?0:e}function de(e){var r=e,o=r.botProbability,i=n(r,["botProbability"]),a=t({},i);return o&&(a.bot={probability:o}),a}function ve(e,n,r){var o={requestId:n,visitorFound:!1,visitorId:""};if(!r)return o;var i=t(t({},o),{bot:{probability:1},incognito:!1,browserName:ie,browserVersion:ie,device:ie,ip:ie,ipLocation:{},os:ie,osVersion:ie});return"Not available for crawl bots"===e&&(i.bot.safe=!0),i}var he=window,pe=document;var ge=window;var me=navigator,we=window;function be(){var e,t,n,r=(null===(e=me.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=me.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),o=(null===(n=me.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||o?3221225472:1073741824}function ye(){return r(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return"storage"in me&&"estimate"in me.storage?[4,me.storage.estimate()]:[3,2];case 1:return[2,!!(e=t.sent().quota)&&e<be()];case 2:return[2,!1]}}))}))}var Re=window;function Ee(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return E()?[2,Se()]:[2,Oe()]}))}))}function Se(){try{Re.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function Oe(){return r(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([(n=20,r=!1,new Promise((function(e){return setTimeout((function(){return e(r)}),n)}))),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}var n,r}))}))}function ke(){try{Re.openDatabase(null,null,null,null)}catch(e){return!0}try{return Re.localStorage.setItem("test","1"),Re.localStorage.removeItem("test"),!1}catch(e){return!0}}var Ce="_inc",Te=[[function(){return y()},function(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return function(){var e=me.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,ye()]:[2,new Promise((function(e){we.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return R()},function(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],o=t[2];return{major:n,minor:r,patch:o}}().major<13?[2,ke()]:[2,Ee()]}))}))}],[function(){return function(){var e;return h(["buildID"in g,(null===(e=m.documentElement)||void 0===e?void 0:e.style)&&"MozAppearance"in m.documentElement.style,"MediaRecorderErrorEvent"in p,"mozInnerScreenX"in p,"CSSMozDocumentRule"in p,"CanvasCaptureMediaStream"in p])>=4}()},function(){return new Promise((function(e){try{var t=ge.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return w()||b()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function Ae(){return r(this,void 0,void 0,(function(){var e,t,n,r,i;return o(this,(function(o){switch(o.label){case 0:e=0,t=Te,o.label=1;case 1:return e<t.length?(n=t[e],r=n[0],i=n[1],r()?[4,i()]:[3,3]):[3,4];case 2:return[2,o.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function _e(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,o=0;o<t.length;o++){if(e[n+o]!==t[o]){r=0;break}r++}if(r==t.length)return n}return-1}var Ie,xe=window,Me=document;var Pe=((Ie={})[0]=function(){return void 0!==navigator.webdriver},Ie[1]=function(){return r(this,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return t=n.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===t.state]}}))}))},Ie[2]=function(){var e=pe.documentElement;return"webdriver"in he||"_Selenium_IDE_Recorder"in he||"callSelenium"in he||"_selenium"in he||"__webdriver_script_fn"in pe||"__driver_evaluate"in pe||"__webdriver_evaluate"in pe||"__selenium_evaluate"in pe||"__fxdriver_evaluate"in pe||"__driver_unwrapped"in pe||"__webdriver_unwrapped"in pe||"__selenium_unwrapped"in pe||"__fxdriver_unwrapped"in pe||"__webdriver_script_func"in pe||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},Ie[3]=function(){return r(this,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem(Ce);if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,Ae()];case 2:return function(e){try{localStorage.setItem(Ce,e?"1":"0")}catch(t){}}(t=n.sent()),[2,t];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},Ie[4]=function(){if(!y())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in xe)return!0;var e=Me.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var t=e.toDataURL();if(""===t)return!0;for(var n=window.atob(t.split(",")[1]),r=n.length,o=new Uint8Array(r),i=0;i<r;i++)o[i]=n.charCodeAt(i);var a=_e(o,[73,68,65,84,24]);if(-1===a)return!1;var u=_e(o,[73,69,78,68]);return-1!==a&&1321!==o.slice(a+5,u).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},Ie);function Ne(){return G(Pe,void 0,[])}var De=document,Le=location;function je(e){for(var t=e+"=",n=0,r=De.cookie.split(";");n<r.length;n++){for(var o=r[n],i=0;" "===o[i]&&i<o.length;)++i;if(o.indexOf(t)===i)return o.slice(i+t.length)}}function Be(e,t,n,r){var o=e+"="+t,i="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";De.cookie=[o,"path=/",i,a].join("; ")}function Fe(e,t,n){var r=Le.hostname;Ue(r,(function(t){!function(e,t){Be(e,"",-1,t)}(e,t)})),Ue(r,(function(r){return Be(e,t,n,r),je(e)!==t}))&&Be(e,t,n)}function Ue(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}var qe="_vid";function Ge(e){return void 0===e&&(e=qe),[je(e),We(e)]}function Ve(e,t){void 0===t&&(t=qe),Fe(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 We(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 Ke(e,n,i,a,u,c){var s=this;void 0===i&&(i="us");var l=function(e,t,n,i){return r(s,void 0,void 0,(function(){return o(this,(function(r){return i?[2,void 0]:[2,$(function(e,t){return t||Z[e]}(e,t),n).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},f=function(){return r(s,void 0,void 0,(function(){var n,r;return o(this,(function(o){switch(o.label){case 0:return[4,e.get()];case 1:return n=o.sent(),[4,Ne()];case 2:return r=o.sent(),[2,t(t({},n.components),r)]}}))}))},d=function(e){var t={token:n,region:i,endpoint:a,storageKey:c};console.log("Getting the visitor identifier:\n```\nversion: 3.1.0\ninitOptions: "+JSON.stringify(t,void 0,2)+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\n```")},v=function(e){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];e[i].error&&(n[i]=e[i].error)}Object.keys(n).length&&console.warn("Visitor data source errors:\n```\n"+JSON.stringify(n,(function(e,n){var r;return n instanceof Error?t(t({},n),{message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")}):n}),2)+"\n```")};return{get:function(e){var s=this;void 0===e&&(e={});var h=e.timeout,p=void 0===h?1e4:h,g=e.tag,m=e.linkedId,w=e.disableTls,b=e.extendedResult,y=e.ipResolution,R=e.debug;return R&&d(e),Promise.race([X(p).then((function(){throw new Error(ne)})),r(s,void 0,void 0,(function(){var e,r,s,d;return o(this,(function(o){switch(o.label){case 0:return[4,Promise.all([l(i,u,p/2,w),f()])];case 1:return e=o.sent(),r=e[0],s=e[1],R&&v(s),[4,ue(t(t({token:n,endpoint:ae(i,a)},r),{components:s,tag:g,visitorId:Ge(c),linkedId:m,extendedResult:b,ipResolution:y,debug:R}))];case 2:return Ve((d=o.sent()).visitorId,c),[2,d]}}))}))])}}}function He(e){var t=e.token,n=e.region,i=e.endpoint,a=e.tlsEndpoint,u=e.storageKey,c=e.delayFallback;return r(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:if(!t||"string"!=typeof t)throw new Error("Token required");return[4,K({delayFallback:c})];case 1:return[2,Ke(e.sent(),t,n,i,a,u)]}}))}))}var Je="Token required",ze="Token not found",Xe="Token expired",Qe="Request cannot be parsed",Ye="Request failed",Ze="Request failed to process",$e="Too many requests, rate limit exceeded",et={load:He,ERROR_CLIENT_TIMEOUT:ne,ERROR_NETWORK_CONNECTION:re,ERROR_NETWORK_ABORT:oe,ERROR_TOKEN_MISSING:Je,ERROR_TOKEN_INVALID:ze,ERROR_TOKEN_EXPIRED:Xe,ERROR_BAD_REQUEST_FORMAT:Qe,ERROR_GENERAL_SERVER_FAILURE:Ye,ERROR_SERVER_TIMEOUT:Ze,ERROR_RATE_LIMIT:$e};return e.ERROR_BAD_REQUEST_FORMAT=Qe,e.ERROR_CLIENT_TIMEOUT=ne,e.ERROR_GENERAL_SERVER_FAILURE=Ye,e.ERROR_NETWORK_ABORT=oe,e.ERROR_NETWORK_CONNECTION=re,e.ERROR_RATE_LIMIT=$e,e.ERROR_SERVER_TIMEOUT=Ze,e.ERROR_TOKEN_EXPIRED=Xe,e.ERROR_TOKEN_INVALID=ze,e.ERROR_TOKEN_MISSING=Je,e.default=et,e.load=He,e}({});
/**
* FingerprintJS Pro v3.0.3 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
* FingerprintJS Pro v3.1.0 - Copyright (c) FingerprintJS, Inc, 2020 (https://fingerprintjs.com)
*

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).FingerprintJS={})}(this,(function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function u(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}c((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function i(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function a(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function c(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function s(e,t){return[e[0]^t[0],e[1]^t[1]]}function l(e){return e=s(e,[0,e[0]>>>1]),e=s(e=a(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=s(e=a(e,[3301882366,444984403]),[0,e[0]>>>1])}function f(e,t){t=t||0;var n,r=(e=e||"").length%16,o=e.length-r,f=[0,t],d=[0,t],v=[0,0],h=[0,0],p=[2277735313,289559509],g=[1291169091,658871167];for(n=0;n<o;n+=16)v=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],h=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],v=u(v=a(v,p),31),f=i(f=u(f=s(f,v=a(v,g)),27),d),f=i(a(f,[0,5]),[0,1390208809]),h=u(h=a(h,g),33),d=i(d=u(d=s(d,h=a(h,p)),31),f),d=i(a(d,[0,5]),[0,944331445]);switch(v=[0,0],h=[0,0],r){case 15:h=s(h,c([0,e.charCodeAt(n+14)],48));case 14:h=s(h,c([0,e.charCodeAt(n+13)],40));case 13:h=s(h,c([0,e.charCodeAt(n+12)],32));case 12:h=s(h,c([0,e.charCodeAt(n+11)],24));case 11:h=s(h,c([0,e.charCodeAt(n+10)],16));case 10:h=s(h,c([0,e.charCodeAt(n+9)],8));case 9:h=a(h=s(h,[0,e.charCodeAt(n+8)]),g),d=s(d,h=a(h=u(h,33),p));case 8:v=s(v,c([0,e.charCodeAt(n+7)],56));case 7:v=s(v,c([0,e.charCodeAt(n+6)],48));case 6:v=s(v,c([0,e.charCodeAt(n+5)],40));case 5:v=s(v,c([0,e.charCodeAt(n+4)],32));case 4:v=s(v,c([0,e.charCodeAt(n+3)],24));case 3:v=s(v,c([0,e.charCodeAt(n+2)],16));case 2:v=s(v,c([0,e.charCodeAt(n+1)],8));case 1:v=a(v=s(v,[0,e.charCodeAt(n)]),p),f=s(f,v=a(v=u(v,31),g))}return f=i(f=s(f,[0,e.length]),d=s(d,[0,e.length])),d=i(d,f),f=i(f=l(f),d=l(d)),d=i(d,f),("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)}function d(e){return"number"==typeof e?0|e:parseInt(e)}function v(e){return"number"==typeof e?e:parseFloat(e)}function h(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}var p=navigator,g=window;function m(e){return e&&"function"==typeof e.setValueAtTime}var w=document,b=["monospace","sans-serif","serif"],y=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],R={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};var S=window,E=navigator,O=document;function k(){return h(["MSCSSMatrix"in S,"msSetImmediate"in S,"msIndexedDB"in S,"msMaxTouchPoints"in E,"msPointerEnabled"in E])>=4}function C(){return h(["msWriteProfilerMark"in S,"MSStream"in S,"msLaunchUri"in E,"msSaveBlob"in E])>=3&&!k()}function T(){return h(["webkitPersistentStorage"in E,"webkitTemporaryStorage"in E,0===E.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in S,"BatteryManager"in S,"webkitMediaStream"in S,"webkitSpeechGrammar"in S])>=5}function A(e){return e.toDataURL()}var _=navigator,I=window;var x=navigator;var M=window;var P=window;var N=window;var D=document;var L={osCpu:function(){return navigator.oscpu},languages:function(){var e=[],t=x.language||x.userLanguage||x.browserLanguage||x.systemLanguage;if(void 0!==t&&e.push([t]),Array.isArray(x.languages))T()&&h([!("MediaSettingsRange"in S),"RTCEncodedAudioFrame"in S,""+S.Intl=="[object Intl]",""+S.Reflect=="[object Reflect]"])>=3||e.push(x.languages);else if("string"==typeof x.languages){var n=x.languages;n&&e.push(n.split(","))}return e},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return navigator.deviceMemory},screenResolution:function(){var e=[d(M.screen.width),d(M.screen.height)];return e.sort().reverse(),e},availableScreenResolution:function(){if(P.screen.availWidth&&P.screen.availHeight){var e=[d(P.screen.availWidth),d(P.screen.availHeight)];return e.sort().reverse(),e}},hardwareConcurrency:function(){try{var e=d(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(v(new Date(e,0,1).getTimezoneOffset()),v(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e;if(null===(e=N.Intl)||void 0===e?void 0:e.DateTimeFormat)return(new N.Intl.DateTimeFormat).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!k()&&!C())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(k())return[];if(navigator.plugins){for(var e=[],t=0;t<navigator.plugins.length;++t){var n=navigator.plugins[t];if(n){for(var r=[],o=0;o<n.length;++o){var i=n[o];r.push({type:i.type,suffixes:i.suffixes})}e.push({name:n.name,description:n.description,mimeTypes:r})}}return e}},canvas: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 o="Cwm fjordbank 😃 gly";return n.fillText(o,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(o,4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",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:A(t)}},touchSupport:function(){var e,t=0;void 0!==_.maxTouchPoints?t=d(_.maxTouchPoints):void 0!==_.msMaxTouchPoints&&(t=_.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(n){e=!1}return{maxTouchPoints:t,touchEvent:e,touchStart:"ontouchstart"in I}},fonts:function(){var e=w.body,t=w.createElement("div"),n=w.createElement("div"),r={},o={},i=function(){var e=w.createElement("span");e.textContent="mmMwWLliI0O&1";for(var t=0,n=Object.keys(R);t<n.length;t++){var r=n[t];e.style[r]=R[r]}return e},a=function(e){return b.some((function(t,n){return e[n].offsetWidth!==r[t]||e[n].offsetHeight!==o[t]}))},u=b.map((function(e){var n=i();return n.style.fontFamily=e,t.appendChild(n),n}));e.appendChild(t);for(var c=0,s=b.length;c<s;c++)r[b[c]]=u[c].offsetWidth,o[b[c]]=u[c].offsetHeight;var l=function(){for(var e={},t=function(t){e[t]=b.map((function(e){var r=function(e,t){var n=i();return n.style.fontFamily="'"+e+"',"+t,n}(t,e);return n.appendChild(r),r}))},r=0,o=y;r<o.length;r++){t(o[r])}return e}();e.appendChild(n);for(var f=[],d=0,v=y.length;d<v;d++)a(l[y[d]])&&f.push(y[d]);return e.removeChild(n),e.removeChild(t),f},audio:function(){return r(this,void 0,void 0,(function(){var e,t,n,r,i,a,u,c,s,l;return o(this,(function(o){if(p.userAgent.match(/OS 11.+Version\/11.+Safari/))return[2,-1];if(!(e=g.OfflineAudioContext||g.webkitOfflineAudioContext))return[2,-2];for(t=new e(1,44100,44100),(n=t.createOscillator()).type="triangle",n.frequency.setValueAtTime(1e4,t.currentTime),r=t.createDynamicsCompressor(),i=0,a=[["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]];i<a.length;i++)c=(u=a[i])[0],s=u[1],m(l=r[c])&&l.setValueAtTime(s,t.currentTime);return n.connect(r),r.connect(t.destination),n.start(0),t.startRendering(),[2,new Promise((function(e){var o=setTimeout((function(){t.oncomplete=null,e(-3)}),1e3);t.oncomplete=function(t){var i;try{clearTimeout(o),i=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0),n.disconnect(),r.disconnect()}catch(a){return void e(-4)}e(i)}}))]}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){try{D.cookie="cookietest=1";var e=-1!==D.cookie.indexOf("cookietest=");return D.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}}};function j(e,n,i){return r(this,void 0,void 0,(function(){var r,a,u,c,s,l,f,d,v;return o(this,(function(o){switch(o.label){case 0:r=Date.now(),a={},u=0,c=Object.keys(e),o.label=1;case 1:if(!(u<c.length))return[3,7];if(s=c[u],function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(i,s))return[3,6];l=void 0,o.label=2;case 2:return o.trys.push([2,4,,5]),v={},[4,e[s](n)];case 3:return v.value=o.sent(),l=v,[3,5];case 4:return f=o.sent(),l=f&&"object"==typeof f&&"message"in f?{error:f}:{error:{message:f}},[3,5];case 5:d=Date.now(),a[s]=t(t({},l),{duration:d-r}),r=d,o.label=6;case 6:return u++,[3,1];case 7:return[2,a]}}))}))}function B(e){return f(function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=e[o],a=i.error?"error":JSON.stringify(i.value);t+=(t?"|":"")+o.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}var F=function(){function e(){}return e.prototype.get=function(e){return void 0===e&&(e={}),r(this,void 0,void 0,(function(){var n,r;return o(this,(function(o){switch(o.label){case 0:return[4,j(L,void 0,[])];case 1:return n=o.sent(),r=function(e){var t;return{components:e,get visitorId(){return void 0===t&&(t=B(this.components)),t},set visitorId(e){t=e}}}(n),e.debug&&console.log("Copy the text below to get the debug data:\n\n```\nversion: 3.0.1\ngetOptions: "+JSON.stringify(e,void 0,2)+"\nvisitorId: "+r.visitorId+"\ncomponents: "+function(e){return JSON.stringify(e,(function(e,n){var r;return n instanceof Error?t(t({},n),{message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")}):n}),2)}(n)+"\n```"),[2,r]}}))}))},e}();function U(e){var t=(void 0===e?{}:e).delayFallback,n=void 0===t?50:t;return r(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,(t=n,new Promise((function(e){window.requestIdleCallback?window.requestIdleCallback((function(){return e()})):setTimeout(e,t)})))];case 1:return e.sent(),[2,new F]}var t}))}))}var q=f,V="3.0.3";function G(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function W(e,t,n){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){switch(o.label){case 0:return[4,Promise.race([G(t,[!0]),("function"==typeof e?e():e).then((function(e){return[!1,e]}))])];case 1:return(r=o.sent())[0]?[2,null==n?void 0:n()]:[2,r[1]]}}))}))}function K(e){var t=e.url,n=e.method,r=void 0===n?"get":n,o=e.body,i=e.headers,a=e.withCredentials,u=void 0!==a&&a,c=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var s in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===c?0:Math.max(c,1),i)a.setRequestHeader(s,i[s]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(H("TimeoutError","The request timed out"))},a.onabort=function(){return n(H("AbortError","The request is aborted"))},a.onerror=function(){return n(H("TypeError","Connection error"))},a.send(o)}))}function H(e,t){var n=new Error(t);return n.name=e,n}function J(e){return r(this,void 0,void 0,(function(){var t;return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,K({url:"https://api.sjpf.io",timeout:e})];case 1:return t=n.sent(),[3,3];case 2:switch(n.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===t.status)return[2,t.text];throw new Error(t.text.slice(0,255))}}))}))}var z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",X=z.length;var Q="Client timeout",Y="Network connection error",Z="Network request aborted",$="n/a";function ee(e,t){if(void 0===e&&(e="us"),t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function te(e){var i=e.endpoint,a=e.extendedResult,u=e.debug,c=n(e,["endpoint","extendedResult","debug"]);return r(this,void 0,void 0,(function(){var e,n;return o(this,(function(r){switch(r.label){case 0:return e=function(e){for(var t="",n=0;n<e;n++)t+=z.charAt(Math.random()*X);return t}(20),n=function(e){var n,r=e.components,o=e.token,i=e.visitorId,a=e.tag,u=e.ipResolution,c=e.extendedResult,s=e.linkedId,l=e.tls,f=e.tlsError,d=e.requestId,v=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),h="full"===u?2:1;return(n={}).rid=d,n.cv=V,n.c=o,n.url=location.href,n.d=v,n.vid=i[0]||i[1]||void 0,n.ls=i[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(a),n.i=h,n.cbd=c?1:void 0,n.lid=s,n.cr=document.referrer||void 0,n.j=l,n.je=null==f?void 0:f.message,n.k1=oe(r.osCpu),n.k2=oe(r.languages),n.k3=oe(r.colorDepth),n.k4=oe(r.deviceMemory),n.k5=oe(r.screenResolution),n.k6=oe(r.availableScreenResolution,void 0,[]),n.k7=oe(r.hardwareConcurrency),n.k8=oe(r.timezoneOffset),n.k9=oe(r.timezone),n.k10=ie(oe(r.sessionStorage)),n.k11=ie(oe(r.localStorage)),n.k12=ie(oe(r.indexedDB)),n.k13=ie(oe(r.openDatabase)),n.k14=oe(r.cpuClass),n.k15=oe(r.platform),n.k16=oe(r.plugins,[]),n.k17=function(e){var n=e.value;if(!n)return;return t(t({},n),{data:q(n.data)})}(r.canvas),n.k18=0,n.k19=oe(r.touchSupport),n.k20=oe(r.fonts,[]),n.k21=oe(r.audio,-1),n.k22=ie(oe(r.pluginsSupport)),n.k23=oe(r.productSub),n.k24=oe(r.emptyEvalLength),n.k25=ie(oe(r.errorFF)),n.k26=ie(oe(r[0])),n.k27=oe(r.vendor),n.k28=ie(oe(r.chrome)),n.k29=ie(oe(r[1])),n.k30=ie(oe(r[2])),n.k31=ie(oe(r[3],!1)),n.k32=ie(oe(r.cookiesEnabled,!1)),n.k33=ie(oe(r[4])),n}(t({extendedResult:a,requestId:e},c)),[4,ne(i,n,u)];case 1:return[2,re(r.sent(),e,a,u)]}}))}))}function ne(e,t,n){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){switch(o.label){case 0:n&&console.log("Visitor request:\n```json\n"+JSON.stringify(t,void 0,2)+"\n```"),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,K({url:e,method:"post",body:JSON.stringify(t),headers:{"Content-Type":"text/plain"},withCredentials:!0})];case 2:return[2,o.sent()];case 3:throw r=o.sent(),new Error("AbortError"===r.name?Z:Y);case 4:return[2]}}))}))}function re(e,t,n,i){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){try{r=JSON.parse(e.text)}catch(a){}if(i&&console.log("Visitor response status: "+e.status+"\nVisitor response body:\n```json\n"+(void 0===r?e.text:JSON.stringify(r,void 0,2))+"\n```"),404===e.status||e.status>=500)throw new Error(e.statusText);if(void 0===r)throw new Error(e.text);if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&e.visitorId!==$}(r))return[2,ae(r)];if(function(e){return e&&"object"==typeof e&&e.visitorId===$}(r)){if("Not available for crawl bots"===r.reason||"Not available when User-Agent is unspecified"===r.reason)return[2,ue(r.reason,t,n)];throw new Error(r.reason)}throw new Error(e.text)}))}))}function oe(e,t,n){return e.error?t:void 0===e.value?n:e.value}function ie(e){return!0===e?1:!1===e?0:e}function ae(e){var r=e,o=r.botProbability,i=n(r,["botProbability"]),a=t({},i);return o&&(a.bot={probability:o}),a}function ue(e,n,r){var o={requestId:n,visitorFound:!1,visitorId:""};if(!r)return o;var i=t(t({},o),{bot:{probability:1},incognito:!1,browserName:$,browserVersion:$,device:$,ip:$,ipLocation:{},os:$,osVersion:$});return"Not available for crawl bots"===e&&(i.bot.safe=!0),i}var ce=window,se=document;var le=window;var fe=navigator,de=window;function ve(){var e,t,n,r=(null===(e=fe.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=fe.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),o=(null===(n=fe.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||o?3221225472:1073741824}function he(){return r(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return"storage"in fe&&"estimate"in fe.storage?[4,fe.storage.estimate()]:[3,2];case 1:return[2,!!(e=t.sent().quota)&&e<ve()];case 2:return[2,!1]}}))}))}var pe=window;function ge(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return"safari"in S?[2,me()]:[2,we()]}))}))}function me(){try{pe.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function we(){return r(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,W(new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)})),20,(function(){return!1}))];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function be(){try{pe.openDatabase(null,null,null,null)}catch(e){return!0}try{return pe.localStorage.setItem("test","1"),pe.localStorage.removeItem("test"),!1}catch(e){return!0}}var ye="_inc",Re=[[function(){return T()},function(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return function(){var e=fe.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,he()]:[2,new Promise((function(e){de.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return h(["ApplePayError"in S,"CSSPrimitiveValue"in S,"Counter"in S,0===E.vendor.indexOf("Apple"),"getStorageUpdates"in E,"WebKitMediaKeys"in S])>=4},function(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],o=t[2];return{major:n,minor:r,patch:o}}().major<13?[2,be()]:[2,ge()]}))}))}],[function(){return function(){var e;return h(["buildID"in E,(null===(e=O.documentElement)||void 0===e?void 0:e.style)&&"MozAppearance"in O.documentElement.style,"MediaRecorderErrorEvent"in S,"mozInnerScreenX"in S,"CSSMozDocumentRule"in S,"CanvasCaptureMediaStream"in S])>=4}()},function(){return new Promise((function(e){try{var t=le.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return k()||C()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function Se(){return r(this,void 0,void 0,(function(){var e,t,n,r,i;return o(this,(function(o){switch(o.label){case 0:e=0,t=Re,o.label=1;case 1:return e<t.length?(n=t[e],r=n[0],i=n[1],r()?[4,i()]:[3,3]):[3,4];case 2:return[2,o.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function Ee(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,o=0;o<t.length;o++){if(e[n+o]!==t[o]){r=0;break}r++}if(r==t.length)return n}return-1}var Oe,ke=window,Ce=document;var Te=((Oe={})[0]=function(){return void 0!==navigator.webdriver},Oe[1]=function(){return r(this,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return t=n.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===t.state]}}))}))},Oe[2]=function(){var e=se.documentElement;return"webdriver"in ce||"_Selenium_IDE_Recorder"in ce||"callSelenium"in ce||"_selenium"in ce||"__webdriver_script_fn"in se||"__driver_evaluate"in se||"__webdriver_evaluate"in se||"__selenium_evaluate"in se||"__fxdriver_evaluate"in se||"__driver_unwrapped"in se||"__webdriver_unwrapped"in se||"__selenium_unwrapped"in se||"__fxdriver_unwrapped"in se||"__webdriver_script_func"in se||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},Oe[3]=function(){return r(this,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem(ye);if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,Se()];case 2:return function(e){try{localStorage.setItem(ye,e?"1":"0")}catch(t){}}(t=n.sent()),[2,t];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},Oe[4]=function(){if(!T())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in ke)return!0;var e=Ce.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var t=e.toDataURL();if(""===t)return!0;for(var n=window.atob(t.split(",")[1]),r=n.length,o=new Uint8Array(r),i=0;i<r;i++)o[i]=n.charCodeAt(i);var a=Ee(o,[73,68,65,84,24]);if(-1===a)return!1;var u=Ee(o,[73,69,78,68]);return-1!==a&&1321!==o.slice(a+5,u).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},Oe);function Ae(){return j(Te,void 0,[])}var _e=document,Ie=location;function xe(e){for(var t=e+"=",n=0,r=_e.cookie.split(";");n<r.length;n++){for(var o=r[n],i=0;" "===o[i]&&i<o.length;)++i;if(o.indexOf(t)===i)return o.slice(i+t.length)}}function Me(e,t,n,r){var o=e+"="+t,i="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";_e.cookie=[o,"path=/",i,a].join("; ")}function Pe(e,t,n){var r=Ie.hostname;Ne(r,(function(t){!function(e,t){Me(e,"",-1,t)}(e,t)})),Ne(r,(function(r){return Me(e,t,n,r),xe(e)!==t}))&&Me(e,t,n)}function Ne(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}var De="_vid";function Le(e){return void 0===e&&(e=De),[xe(e),Be(e)]}function je(e,t){void 0===t&&(t=De),Pe(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 Be(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 Fe(e,n,i,a,u){var c=this;var s=function(e,t){return r(c,void 0,void 0,(function(){return o(this,(function(n){return t?[2,void 0]:[2,J(e).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},l=function(){return r(c,void 0,void 0,(function(){var n,r;return o(this,(function(o){switch(o.label){case 0:return[4,e.get()];case 1:return n=o.sent(),[4,Ae()];case 2:return r=o.sent(),[2,t(t({},n.components),r)]}}))}))},f=function(e){var t={token:n,region:i,endpoint:a,storageKey:u};console.log("Getting the visitor identifier:\n```\nversion: 3.0.3\ninitOptions: "+JSON.stringify(t,void 0,2)+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\n```")},d=function(e){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];e[i].error&&(n[i]=e[i].error)}Object.keys(n).length&&console.warn("Visitor data source errors:\n```\n"+JSON.stringify(n,(function(e,n){var r;return n instanceof Error?t(t({},n),{message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")}):n}),2)+"\n```")};return{get:function(e){var c=this;void 0===e&&(e={});var v,h=e.timeout,p=void 0===h?1e4:h,g=e.tag,m=e.linkedId,w=e.disableTls,b=e.extendedResult,y=e.ipResolution,R=e.debug;return R&&f(e),v=Q,W((function(){return r(c,void 0,void 0,(function(){var e,r,c,f;return o(this,(function(o){switch(o.label){case 0:return[4,Promise.all([s(p/2,w),l()])];case 1:return e=o.sent(),r=e[0],c=e[1],R&&d(c),[4,te(t(t({token:n,endpoint:ee(i,a)},r),{components:c,tag:g,visitorId:Le(u),linkedId:m,extendedResult:b,ipResolution:y,debug:R}))];case 2:return je((f=o.sent()).visitorId,u),[2,f]}}))}))}),p,(function(){throw new Error(v)}))}}}function Ue(e){var t=e.token,n=e.region,i=e.endpoint,a=e.storageKey,u=e.delayFallback;return r(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:if(!t||"string"!=typeof t)throw new Error("Token required");return[4,U({delayFallback:u})];case 1:return[2,Fe(e.sent(),t,n,i,a)]}}))}))}var qe="Token required",Ve="Token not found",Ge="Token expired",We="Request cannot be parsed",Ke="Request failed",He="Request failed to process",Je="Too many requests, rate limit exceeded",ze={load:Ue,ERROR_CLIENT_TIMEOUT:Q,ERROR_NETWORK_CONNECTION:Y,ERROR_NETWORK_ABORT:Z,ERROR_TOKEN_MISSING:qe,ERROR_TOKEN_INVALID:Ve,ERROR_TOKEN_EXPIRED:Ge,ERROR_BAD_REQUEST_FORMAT:We,ERROR_GENERAL_SERVER_FAILURE:Ke,ERROR_SERVER_TIMEOUT:He,ERROR_RATE_LIMIT:Je};e.ERROR_BAD_REQUEST_FORMAT=We,e.ERROR_CLIENT_TIMEOUT=Q,e.ERROR_GENERAL_SERVER_FAILURE=Ke,e.ERROR_NETWORK_ABORT=Z,e.ERROR_NETWORK_CONNECTION=Y,e.ERROR_RATE_LIMIT=Je,e.ERROR_SERVER_TIMEOUT=He,e.ERROR_TOKEN_EXPIRED=Ge,e.ERROR_TOKEN_INVALID=Ve,e.ERROR_TOKEN_MISSING=qe,e.default=ze,e.load=Ue,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).FingerprintJS={})}(this,(function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function u(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}c((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function i(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function a(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function c(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function s(e,t){return[e[0]^t[0],e[1]^t[1]]}function l(e){return e=s(e,[0,e[0]>>>1]),e=s(e=a(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=s(e=a(e,[3301882366,444984403]),[0,e[0]>>>1])}function f(e,t){t=t||0;var n,r=(e=e||"").length%16,o=e.length-r,f=[0,t],d=[0,t],v=[0,0],h=[0,0],p=[2277735313,289559509],g=[1291169091,658871167];for(n=0;n<o;n+=16)v=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],h=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],v=u(v=a(v,p),31),f=i(f=u(f=s(f,v=a(v,g)),27),d),f=i(a(f,[0,5]),[0,1390208809]),h=u(h=a(h,g),33),d=i(d=u(d=s(d,h=a(h,p)),31),f),d=i(a(d,[0,5]),[0,944331445]);switch(v=[0,0],h=[0,0],r){case 15:h=s(h,c([0,e.charCodeAt(n+14)],48));case 14:h=s(h,c([0,e.charCodeAt(n+13)],40));case 13:h=s(h,c([0,e.charCodeAt(n+12)],32));case 12:h=s(h,c([0,e.charCodeAt(n+11)],24));case 11:h=s(h,c([0,e.charCodeAt(n+10)],16));case 10:h=s(h,c([0,e.charCodeAt(n+9)],8));case 9:h=a(h=s(h,[0,e.charCodeAt(n+8)]),g),d=s(d,h=a(h=u(h,33),p));case 8:v=s(v,c([0,e.charCodeAt(n+7)],56));case 7:v=s(v,c([0,e.charCodeAt(n+6)],48));case 6:v=s(v,c([0,e.charCodeAt(n+5)],40));case 5:v=s(v,c([0,e.charCodeAt(n+4)],32));case 4:v=s(v,c([0,e.charCodeAt(n+3)],24));case 3:v=s(v,c([0,e.charCodeAt(n+2)],16));case 2:v=s(v,c([0,e.charCodeAt(n+1)],8));case 1:v=a(v=s(v,[0,e.charCodeAt(n)]),p),f=s(f,v=a(v=u(v,31),g))}return f=i(f=s(f,[0,e.length]),d=s(d,[0,e.length])),d=i(d,f),f=i(f=l(f),d=l(d)),d=i(d,f),("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)}function d(e){return"number"==typeof e?0|e:parseInt(e)}function v(e){return"number"==typeof e?e:parseFloat(e)}function h(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}var p=window,g=navigator,m=document;function w(){return h(["MSCSSMatrix"in p,"msSetImmediate"in p,"msIndexedDB"in p,"msMaxTouchPoints"in g,"msPointerEnabled"in g])>=4}function b(){return h(["msWriteProfilerMark"in p,"MSStream"in p,"msLaunchUri"in g,"msSaveBlob"in g])>=3&&!w()}function y(){return h(["webkitPersistentStorage"in g,"webkitTemporaryStorage"in g,0===g.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in p,"BatteryManager"in p,"webkitMediaStream"in p,"webkitSpeechGrammar"in p])>=5}function R(){return h(["ApplePayError"in p,"CSSPrimitiveValue"in p,"Counter"in p,0===g.vendor.indexOf("Apple"),"getStorageUpdates"in g,"WebKitMediaKeys"in p])>=4}function E(){return h(["safari"in p,!("DeviceMotionEvent"in p),!("ongestureend"in p),!("standalone"in g)])>=3}var S=window,O=document;function k(e,t,n){(function(e){return e&&"function"==typeof e.setValueAtTime})(t)&&t.setValueAtTime(n,e.currentTime)}function C(e){return new Promise((function(t,n){e.oncomplete=function(e){return t(e.renderedBuffer)};var r=3,o=function(){switch(e.startRendering(),e.state){case"running":setTimeout((function(){return n(A("timeout"))}),1e3);break;case"suspended":O.hidden||r--,r>0?setTimeout(o,500):n(A("suspended"))}};o()}))}function T(e){for(var t=0,n=4500;n<5e3;++n)t+=Math.abs(e[n]);return t}function A(e){var t=new Error(e);return t.name=e,t}var _=document,I=["monospace","sans-serif","serif"],x=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],M={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};function P(e){return e.toDataURL()}var N=navigator,D=window;var L=navigator;var j=window;var B=window;var F=window;var U=document;var q={osCpu:function(){return navigator.oscpu},languages:function(){var e=[],t=L.language||L.userLanguage||L.browserLanguage||L.systemLanguage;if(void 0!==t&&e.push([t]),Array.isArray(L.languages))y()&&h([!("MediaSettingsRange"in p),"RTCEncodedAudioFrame"in p,""+p.Intl=="[object Intl]",""+p.Reflect=="[object Reflect]"])>=3||e.push(L.languages);else if("string"==typeof L.languages){var n=L.languages;n&&e.push(n.split(","))}return e},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return navigator.deviceMemory},screenResolution:function(){var e=[d(j.screen.width),d(j.screen.height)];return e.sort().reverse(),e},availableScreenResolution:function(){if(B.screen.availWidth&&B.screen.availHeight){var e=[d(B.screen.availWidth),d(B.screen.availHeight)];return e.sort().reverse(),e}},hardwareConcurrency:function(){try{var e=d(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(v(new Date(e,0,1).getTimezoneOffset()),v(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e;if(null===(e=F.Intl)||void 0===e?void 0:e.DateTimeFormat)return(new F.Intl.DateTimeFormat).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!w()&&!b())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(w())return[];if(navigator.plugins){for(var e=[],t=0;t<navigator.plugins.length;++t){var n=navigator.plugins[t];if(n){for(var r=[],o=0;o<n.length;++o){var i=n[o];r.push({type:i.type,suffixes:i.suffixes})}e.push({name:n.name,description:n.description,mimeTypes:r})}}return e}},canvas: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 o="Cwm fjordbank 😃 gly";return n.fillText(o,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(o,4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",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:P(t)}},touchSupport:function(){var e,t=0;void 0!==N.maxTouchPoints?t=d(N.maxTouchPoints):void 0!==N.msMaxTouchPoints&&(t=N.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(n){e=!1}return{maxTouchPoints:t,touchEvent:e,touchStart:"ontouchstart"in D}},fonts:function(){var e=_.body,t=_.createElement("div"),n=_.createElement("div"),r={},o={},i=function(){var e=_.createElement("span");e.textContent="mmMwWLliI0O&1";for(var t=0,n=Object.keys(M);t<n.length;t++){var r=n[t];e.style[r]=M[r]}return e},a=function(e){return I.some((function(t,n){return e[n].offsetWidth!==r[t]||e[n].offsetHeight!==o[t]}))},u=I.map((function(e){var n=i();return n.style.fontFamily=e,t.appendChild(n),n}));e.appendChild(t);for(var c=0,s=I.length;c<s;c++)r[I[c]]=u[c].offsetWidth,o[I[c]]=u[c].offsetHeight;var l=function(){for(var e={},t=function(t){e[t]=I.map((function(e){var r=function(e,t){var n=i();return n.style.fontFamily="'"+e+"',"+t,n}(t,e);return n.appendChild(r),r}))},r=0,o=x;r<o.length;r++){t(o[r])}return e}();e.appendChild(n);for(var f=[],d=0,v=x.length;d<v;d++)a(l[x[d]])&&f.push(x[d]);return e.removeChild(n),e.removeChild(t),f},audio:function(){return r(this,void 0,void 0,(function(){var e,t,n,r,i,a;return o(this,(function(o){switch(o.label){case 0:if(R()&&!E()&&!(h(["DOMRectList"in p,"RTCPeerConnectionIceEvent"in p,"SVGGeometryElement"in p,"ontransitioncancel"in p])>=3))return[2,-1];if(!(e=S.OfflineAudioContext||S.webkitOfflineAudioContext))return[2,-2];t=new e(1,44100,44100),(n=t.createOscillator()).type="triangle",k(t,n.frequency,1e4),r=t.createDynamicsCompressor(),k(t,r.threshold,-50),k(t,r.knee,40),k(t,r.ratio,12),k(t,r.reduction,-20),k(t,r.attack,0),k(t,r.release,.25),n.connect(r),r.connect(t.destination),n.start(0),o.label=1;case 1:return o.trys.push([1,3,4,5]),[4,C(t)];case 2:return i=o.sent(),[3,5];case 3:if("timeout"===(a=o.sent()).name||"suspended"===a.name)return[2,-3];throw a;case 4:return n.disconnect(),r.disconnect(),[7];case 5:return[2,T(i.getChannelData(0))]}}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){try{U.cookie="cookietest=1";var e=-1!==U.cookie.indexOf("cookietest=");return U.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}}};function G(e,n,i){return r(this,void 0,void 0,(function(){var r,a,u,c,s,l,f,d,v;return o(this,(function(o){switch(o.label){case 0:r=Date.now(),a={},u=0,c=Object.keys(e),o.label=1;case 1:if(!(u<c.length))return[3,7];if(s=c[u],function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(i,s))return[3,6];l=void 0,o.label=2;case 2:return o.trys.push([2,4,,5]),v={},[4,e[s](n)];case 3:return v.value=o.sent(),l=v,[3,5];case 4:return f=o.sent(),l=f&&"object"==typeof f&&"message"in f?{error:f}:{error:{message:f}},[3,5];case 5:d=Date.now(),a[s]=t(t({},l),{duration:d-r}),r=d,o.label=6;case 6:return u++,[3,1];case 7:return[2,a]}}))}))}function V(e){return f(function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var o=r[n],i=e[o],a=i.error?"error":JSON.stringify(i.value);t+=(t?"|":"")+o.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}var W=function(){function e(){}return e.prototype.get=function(e){return void 0===e&&(e={}),r(this,void 0,void 0,(function(){var n,r;return o(this,(function(o){switch(o.label){case 0:return[4,G(q,void 0,[])];case 1:return n=o.sent(),r=function(e){var t;return{components:e,get visitorId(){return void 0===t&&(t=V(this.components)),t},set visitorId(e){t=e}}}(n),e.debug&&console.log("Copy the text below to get the debug data:\n\n```\nversion: 3.0.3\nuserAgent: "+navigator.userAgent+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\nvisitorId: "+r.visitorId+"\ncomponents: "+function(e){return JSON.stringify(e,(function(e,n){var r;return n instanceof Error?t(t({},n),{message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")}):n}),2)}(n)+"\n```"),[2,r]}}))}))},e}();function K(e){var t=(void 0===e?{}:e).delayFallback,n=void 0===t?50:t;return r(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,(t=n,new Promise((function(e){window.requestIdleCallback?window.requestIdleCallback((function(){return e()})):setTimeout(e,t)})))];case 1:return e.sent(),[2,new W]}var t}))}))}var H=f,J="3.1.0",z=document;function X(e,t){return new Promise((function(n){var r=function(){return z.hidden?a():i()},o=function(e,t,n){var r,o=!1,i=e,a=0,u=function(){o||void 0!==r||(a=Date.now(),r=setTimeout((function(){o=!0,n()}),i))};return t&&u(),{start:u,stop:function(){o||void 0===r||(clearTimeout(r),r=void 0,i-=Date.now()-a)}}}(e,!z.hidden,(function(){z.removeEventListener("visibilitychange",r),n(t)})),i=o.start,a=o.stop;z.addEventListener("visibilitychange",r)}))}function Q(e){var t=e.url,n=e.method,r=void 0===n?"get":n,o=e.body,i=e.headers,a=e.withCredentials,u=void 0!==a&&a,c=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var s in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===c?0:Math.max(c,1),i)a.setRequestHeader(s,i[s]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(Y("TimeoutError","The request timed out"))},a.onabort=function(){return n(Y("AbortError","The request is aborted"))},a.onerror=function(){return n(Y("TypeError","Connection error"))},a.send(o)}))}function Y(e,t){var n=new Error(t);return n.name=e,n}var Z={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function $(e,t){return r(this,void 0,void 0,(function(){var n;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,Q({url:e,timeout:t})];case 1:return n=r.sent(),[3,3];case 2:switch(r.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===n.status)return[2,n.text];throw new Error(n.text.slice(0,255))}}))}))}var ee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",te=ee.length;var ne="Client timeout",re="Network connection error",oe="Network request aborted",ie="n/a";function ae(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function ue(e){var i=e.endpoint,a=e.extendedResult,u=e.debug,c=n(e,["endpoint","extendedResult","debug"]);return r(this,void 0,void 0,(function(){var e,n;return o(this,(function(r){switch(r.label){case 0:return e=function(e){for(var t="",n=0;n<e;n++)t+=ee.charAt(Math.random()*te);return t}(20),n=function(e){var n,r=e.components,o=e.token,i=e.visitorId,a=e.tag,u=e.ipResolution,c=e.extendedResult,s=e.linkedId,l=e.tls,f=e.tlsError,d=e.requestId,v=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),h="full"===u?2:1;return(n={}).rid=d,n.cv=J,n.c=o,n.url=location.href,n.d=v,n.vid=i[0]||i[1]||void 0,n.ls=i[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(a),n.i=h,n.cbd=c?1:void 0,n.lid=s,n.cr=document.referrer||void 0,n.j=l,n.je=null==f?void 0:f.message,n.k1=le(r.osCpu),n.k2=le(r.languages),n.k3=le(r.colorDepth),n.k4=le(r.deviceMemory),n.k5=le(r.screenResolution),n.k6=le(r.availableScreenResolution,void 0,[]),n.k7=le(r.hardwareConcurrency),n.k8=le(r.timezoneOffset),n.k9=le(r.timezone),n.k10=fe(le(r.sessionStorage)),n.k11=fe(le(r.localStorage)),n.k12=fe(le(r.indexedDB)),n.k13=fe(le(r.openDatabase)),n.k14=le(r.cpuClass),n.k15=le(r.platform),n.k16=le(r.plugins,[]),n.k17=function(e){var n=e.value;if(!n)return;return t(t({},n),{data:H(n.data)})}(r.canvas),n.k18=0,n.k19=le(r.touchSupport),n.k20=le(r.fonts,[]),n.k21=le(r.audio,-4),n.k22=fe(le(r.pluginsSupport)),n.k23=le(r.productSub),n.k24=le(r.emptyEvalLength),n.k25=fe(le(r.errorFF)),n.k26=fe(le(r[0])),n.k27=le(r.vendor),n.k28=fe(le(r.chrome)),n.k29=fe(le(r[1])),n.k30=fe(le(r[2])),n.k31=fe(le(r[3],!1)),n.k32=fe(le(r.cookiesEnabled,!1)),n.k33=fe(le(r[4])),n}(t({extendedResult:a,requestId:e},c)),[4,ce(i,n,u)];case 1:return[2,se(r.sent(),e,a,u)]}}))}))}function ce(e,t,n){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){switch(o.label){case 0:n&&console.log("Visitor request:\n```json\n"+JSON.stringify(t,void 0,2)+"\n```"),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,Q({url:e,method:"post",body:JSON.stringify(t),headers:{"Content-Type":"text/plain"},withCredentials:!0})];case 2:return[2,o.sent()];case 3:throw r=o.sent(),new Error("AbortError"===r.name?oe:re);case 4:return[2]}}))}))}function se(e,t,n,i){return r(this,void 0,void 0,(function(){var r;return o(this,(function(o){try{r=JSON.parse(e.text)}catch(a){}if(i&&console.log("Visitor response status: "+e.status+"\nVisitor response body:\n```json\n"+(void 0===r?e.text:JSON.stringify(r,void 0,2))+"\n```"),404===e.status||e.status>=500)throw new Error(e.statusText);if(void 0===r)throw new Error(e.text);if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&e.visitorId!==ie}(r))return[2,de(r)];if(function(e){return e&&"object"==typeof e&&e.visitorId===ie}(r)){if("Not available for crawl bots"===r.reason||"Not available when User-Agent is unspecified"===r.reason)return[2,ve(r.reason,t,n)];throw new Error(r.reason)}throw new Error(e.text)}))}))}function le(e,t,n){return e.error?t:void 0===e.value?n:e.value}function fe(e){return!0===e?1:!1===e?0:e}function de(e){var r=e,o=r.botProbability,i=n(r,["botProbability"]),a=t({},i);return o&&(a.bot={probability:o}),a}function ve(e,n,r){var o={requestId:n,visitorFound:!1,visitorId:""};if(!r)return o;var i=t(t({},o),{bot:{probability:1},incognito:!1,browserName:ie,browserVersion:ie,device:ie,ip:ie,ipLocation:{},os:ie,osVersion:ie});return"Not available for crawl bots"===e&&(i.bot.safe=!0),i}var he=window,pe=document;var ge=window;var me=navigator,we=window;function be(){var e,t,n,r=(null===(e=me.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=me.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),o=(null===(n=me.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||o?3221225472:1073741824}function ye(){return r(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return"storage"in me&&"estimate"in me.storage?[4,me.storage.estimate()]:[3,2];case 1:return[2,!!(e=t.sent().quota)&&e<be()];case 2:return[2,!1]}}))}))}var Re=window;function Ee(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return E()?[2,Se()]:[2,Oe()]}))}))}function Se(){try{Re.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function Oe(){return r(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([(n=20,r=!1,new Promise((function(e){return setTimeout((function(){return e(r)}),n)}))),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}var n,r}))}))}function ke(){try{Re.openDatabase(null,null,null,null)}catch(e){return!0}try{return Re.localStorage.setItem("test","1"),Re.localStorage.removeItem("test"),!1}catch(e){return!0}}var Ce="_inc",Te=[[function(){return y()},function(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return function(){var e=me.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,ye()]:[2,new Promise((function(e){we.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return R()},function(){return r(this,void 0,void 0,(function(){return o(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],o=t[2];return{major:n,minor:r,patch:o}}().major<13?[2,ke()]:[2,Ee()]}))}))}],[function(){return function(){var e;return h(["buildID"in g,(null===(e=m.documentElement)||void 0===e?void 0:e.style)&&"MozAppearance"in m.documentElement.style,"MediaRecorderErrorEvent"in p,"mozInnerScreenX"in p,"CSSMozDocumentRule"in p,"CanvasCaptureMediaStream"in p])>=4}()},function(){return new Promise((function(e){try{var t=ge.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return w()||b()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function Ae(){return r(this,void 0,void 0,(function(){var e,t,n,r,i;return o(this,(function(o){switch(o.label){case 0:e=0,t=Te,o.label=1;case 1:return e<t.length?(n=t[e],r=n[0],i=n[1],r()?[4,i()]:[3,3]):[3,4];case 2:return[2,o.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function _e(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,o=0;o<t.length;o++){if(e[n+o]!==t[o]){r=0;break}r++}if(r==t.length)return n}return-1}var Ie,xe=window,Me=document;var Pe=((Ie={})[0]=function(){return void 0!==navigator.webdriver},Ie[1]=function(){return r(this,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return t=n.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===t.state]}}))}))},Ie[2]=function(){var e=pe.documentElement;return"webdriver"in he||"_Selenium_IDE_Recorder"in he||"callSelenium"in he||"_selenium"in he||"__webdriver_script_fn"in pe||"__driver_evaluate"in pe||"__webdriver_evaluate"in pe||"__selenium_evaluate"in pe||"__fxdriver_evaluate"in pe||"__driver_unwrapped"in pe||"__webdriver_unwrapped"in pe||"__selenium_unwrapped"in pe||"__fxdriver_unwrapped"in pe||"__webdriver_script_func"in pe||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},Ie[3]=function(){return r(this,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem(Ce);if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,Ae()];case 2:return function(e){try{localStorage.setItem(Ce,e?"1":"0")}catch(t){}}(t=n.sent()),[2,t];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},Ie[4]=function(){if(!y())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in xe)return!0;var e=Me.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var t=e.toDataURL();if(""===t)return!0;for(var n=window.atob(t.split(",")[1]),r=n.length,o=new Uint8Array(r),i=0;i<r;i++)o[i]=n.charCodeAt(i);var a=_e(o,[73,68,65,84,24]);if(-1===a)return!1;var u=_e(o,[73,69,78,68]);return-1!==a&&1321!==o.slice(a+5,u).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},Ie);function Ne(){return G(Pe,void 0,[])}var De=document,Le=location;function je(e){for(var t=e+"=",n=0,r=De.cookie.split(";");n<r.length;n++){for(var o=r[n],i=0;" "===o[i]&&i<o.length;)++i;if(o.indexOf(t)===i)return o.slice(i+t.length)}}function Be(e,t,n,r){var o=e+"="+t,i="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";De.cookie=[o,"path=/",i,a].join("; ")}function Fe(e,t,n){var r=Le.hostname;Ue(r,(function(t){!function(e,t){Be(e,"",-1,t)}(e,t)})),Ue(r,(function(r){return Be(e,t,n,r),je(e)!==t}))&&Be(e,t,n)}function Ue(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}var qe="_vid";function Ge(e){return void 0===e&&(e=qe),[je(e),We(e)]}function Ve(e,t){void 0===t&&(t=qe),Fe(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 We(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 Ke(e,n,i,a,u,c){var s=this;void 0===i&&(i="us");var l=function(e,t,n,i){return r(s,void 0,void 0,(function(){return o(this,(function(r){return i?[2,void 0]:[2,$(function(e,t){return t||Z[e]}(e,t),n).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},f=function(){return r(s,void 0,void 0,(function(){var n,r;return o(this,(function(o){switch(o.label){case 0:return[4,e.get()];case 1:return n=o.sent(),[4,Ne()];case 2:return r=o.sent(),[2,t(t({},n.components),r)]}}))}))},d=function(e){var t={token:n,region:i,endpoint:a,storageKey:c};console.log("Getting the visitor identifier:\n```\nversion: 3.1.0\ninitOptions: "+JSON.stringify(t,void 0,2)+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\n```")},v=function(e){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];e[i].error&&(n[i]=e[i].error)}Object.keys(n).length&&console.warn("Visitor data source errors:\n```\n"+JSON.stringify(n,(function(e,n){var r;return n instanceof Error?t(t({},n),{message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")}):n}),2)+"\n```")};return{get:function(e){var s=this;void 0===e&&(e={});var h=e.timeout,p=void 0===h?1e4:h,g=e.tag,m=e.linkedId,w=e.disableTls,b=e.extendedResult,y=e.ipResolution,R=e.debug;return R&&d(e),Promise.race([X(p).then((function(){throw new Error(ne)})),r(s,void 0,void 0,(function(){var e,r,s,d;return o(this,(function(o){switch(o.label){case 0:return[4,Promise.all([l(i,u,p/2,w),f()])];case 1:return e=o.sent(),r=e[0],s=e[1],R&&v(s),[4,ue(t(t({token:n,endpoint:ae(i,a)},r),{components:s,tag:g,visitorId:Ge(c),linkedId:m,extendedResult:b,ipResolution:y,debug:R}))];case 2:return Ve((d=o.sent()).visitorId,c),[2,d]}}))}))])}}}function He(e){var t=e.token,n=e.region,i=e.endpoint,a=e.tlsEndpoint,u=e.storageKey,c=e.delayFallback;return r(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:if(!t||"string"!=typeof t)throw new Error("Token required");return[4,K({delayFallback:c})];case 1:return[2,Ke(e.sent(),t,n,i,a,u)]}}))}))}var Je="Token required",ze="Token not found",Xe="Token expired",Qe="Request cannot be parsed",Ye="Request failed",Ze="Request failed to process",$e="Too many requests, rate limit exceeded",et={load:He,ERROR_CLIENT_TIMEOUT:ne,ERROR_NETWORK_CONNECTION:re,ERROR_NETWORK_ABORT:oe,ERROR_TOKEN_MISSING:Je,ERROR_TOKEN_INVALID:ze,ERROR_TOKEN_EXPIRED:Xe,ERROR_BAD_REQUEST_FORMAT:Qe,ERROR_GENERAL_SERVER_FAILURE:Ye,ERROR_SERVER_TIMEOUT:Ze,ERROR_RATE_LIMIT:$e};e.ERROR_BAD_REQUEST_FORMAT=Qe,e.ERROR_CLIENT_TIMEOUT=ne,e.ERROR_GENERAL_SERVER_FAILURE=Ye,e.ERROR_NETWORK_ABORT=oe,e.ERROR_NETWORK_CONNECTION=re,e.ERROR_RATE_LIMIT=$e,e.ERROR_SERVER_TIMEOUT=Ze,e.ERROR_TOKEN_EXPIRED=Xe,e.ERROR_TOKEN_INVALID=ze,e.ERROR_TOKEN_MISSING=Je,e.default=et,e.load=He,Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "@fingerprintjs/fingerprintjs-pro",
"description": "FingerprintJS Pro client agent",
"version": "3.0.3",
"version": "3.1.0",
"keywords": [

@@ -38,3 +38,3 @@ "browser",

"dependencies": {
"@fingerprintjs/fingerprintjs": "3.0.1",
"@fingerprintjs/fingerprintjs": "3.0.3",
"tslib": "^2.0.1"

@@ -47,3 +47,3 @@ },

"@types/jasmine": "^3.5.14",
"@types/jasmine-ajax": "^3.3.1",
"@types/jasmine-ajax": "^3.3.2",
"@typescript-eslint/eslint-plugin": "^4.5.0",

@@ -50,0 +50,0 @@ "@typescript-eslint/parser": "^4.5.0",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc