@fingerprintjs/fingerprintjs-pro
Advanced tools
Comparing version 3.11.0 to 3.11.1
/** | ||
* FingerprintJS Pro v3.11.0 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* Fingerprint Pro v3.11.1 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
*/ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib");function t(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}function r(e,t,r,n){var o,R=document,i="securitypolicyviolation",E=function(t){var r=new URL(e,location.href),n=t.blockedURI;n!==r.href&&n!==r.protocol.slice(0,-1)&&n!==r.origin||(o=t,a())};R.addEventListener(i,E);var a=function(){return R.removeEventListener(i,E)};return null==n||n.then(a,a),Promise.resolve().then(t).then((function(e){return a(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(a(),o)return r(o);throw e}))}))}var n={default:"endpoint"},o={default:"tlsEndpoint"},R="Client timeout",i="Network connection error",E="Network request aborted",a="Response cannot be parsed",u="Blocked by CSP",s="The endpoint parameter is not a valid URL";function _(e){for(var t="",r=0;r<e.length;++r)if(r>0){var n=e[r].toLowerCase();n!==e[r]?t+=" ".concat(n):t+=e[r]}else t+=e[r].toUpperCase();return t}var c=_("WrongRegion"),O=_("SubscriptionNotActive"),p=_("UnsupportedVersion"),l=_("InstallationMethodRestricted"),f=_("HostnameRestricted"),d=_("IntegrationFailed"),I="API key required",N="API key not found",T="API key expired",v="Request cannot be parsed",h="Request failed",A="Request failed to process",D="Too many requests, rate limit exceeded",P="Not available for this origin",S="Not available with restricted header",m=I,w=N,x=T,L="3.11.0",y="Failed to load the JS script of the agent",U="9319";function C(t,r){var n,o,R,i,E,a,_=[],c=(n=function(t){var r=e.__spreadArray([],t,!0);return{current:function(){return r[0]},postpone:function(){var e=r.shift();void 0!==e&&r.push(e)},exclude:function(){r.shift()}}}(t),i=100,E=3e3,a=0,o=function(){return Math.random()*Math.min(E,i*Math.pow(2,a++))},R=new Set,[n.current(),function(e,t){var r,i=t instanceof Error?t.message:"";if(i===u||i===s)n.exclude(),r=0;else if(i===U)n.exclude();else if(i===y){var E=Date.now()-e.getTime()<50,a=n.current();a&&E&&!R.has(a)&&(R.add(a),r=0),n.postpone()}else n.postpone();var _=n.current();return void 0===_?void 0:[_,null!=r?r:e.getTime()+o()-Date.now()]}]),O=c[0],p=c[1];if(void 0===O)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var l=function(e){var t=new Date,n=function(r){return _.push({url:e,startedAt:t,finishedAt:new Date,error:r})},o=r(e);return o.then((function(){return n()}),n),o.catch((function(e){if(_.length>=5)throw e;var r=p(t,e);if(!r)throw e;var n,o=r[0],R=r[1];return(n=R,new Promise((function(e){return setTimeout(e,n)}))).then((function(){return l(o)}))}))};return l(O).then((function(e){return[e,_]}))}var g="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",M=g;function K(r){var n;r.scriptUrlPattern;var o=r.token,R=r.apiKey,i=void 0===R?o:R,E=e.__rest(r,["scriptUrlPattern","token","apiKey"]),a=null!==(n=t(r,"scriptUrlPattern"))&&void 0!==n?n:g,u=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},r=function(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}(document,"visibilitychange",t);return t(),[e,r]}(),s=u[0],_=u[1];return Promise.resolve().then((function(){if(!i||"string"!=typeof i)throw new Error(I);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var r=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?r(t):"<loaderVersion>"===e?r(L):e}))}(String(e),t)}))}(a,i);return C(e,b)})).catch((function(e){throw _(),function(e){if(e instanceof Error&&e.message===U)return new Error(y);return e}(e)})).then((function(t){var r=t[0],n=t[1];return _(),r.load(e.__assign(e.__assign({},E),{ldi:{attempts:n,visibilityStates:s}}))}))}function b(e){return r(e,(function(){return function(e){return new Promise((function(t,r){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(s);var n=document.createElement("script"),o=function(){var e;return null===(e=n.parentNode)||void 0===e?void 0:e.removeChild(n)},R=document.head||document.getElementsByTagName("head")[0];n.onload=function(){o(),t()},n.onerror=function(){o(),r(new Error(y))},n.async=!0,n.src=e,R.appendChild(n)}))}(e)}),(function(){throw new Error(u)})).then(B)}function B(){var e=window,t="__fpjs_p_l_b",r=e[t];if(function(e,t){var r,n=null===(r=Object.getOwnPropertyDescriptor)||void 0===r?void 0:r.call(Object,e,t);(null==n?void 0:n.configurable)?delete e[t]:n&&!n.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==r?void 0:r.load))throw new Error(U);return r}var F={load:K,defaultScriptUrlPattern:M,ERROR_SCRIPT_LOAD_FAIL:y,ERROR_API_KEY_EXPIRED:T,ERROR_API_KEY_INVALID:N,ERROR_API_KEY_MISSING:I,ERROR_BAD_REQUEST_FORMAT:v,ERROR_BAD_RESPONSE_FORMAT:a,ERROR_CLIENT_TIMEOUT:R,ERROR_CSP_BLOCK:u,ERROR_FORBIDDEN_ENDPOINT:f,ERROR_FORBIDDEN_HEADER:S,ERROR_FORBIDDEN_ORIGIN:P,ERROR_GENERAL_SERVER_FAILURE:h,ERROR_INSTALLATION_METHOD_RESTRICTED:l,ERROR_INTEGRATION_FAILURE:d,ERROR_INVALID_ENDPOINT:s,ERROR_NETWORK_ABORT:E,ERROR_NETWORK_CONNECTION:i,ERROR_RATE_LIMIT:D,ERROR_SERVER_TIMEOUT:A,ERROR_SUBSCRIPTION_NOT_ACTIVE:O,ERROR_TOKEN_EXPIRED:x,ERROR_TOKEN_INVALID:w,ERROR_TOKEN_MISSING:m,ERROR_UNSUPPORTED_VERSION:p,ERROR_WRONG_REGION:c,defaultEndpoint:n,defaultTlsEndpoint:o};exports.ERROR_API_KEY_EXPIRED=T,exports.ERROR_API_KEY_INVALID=N,exports.ERROR_API_KEY_MISSING=I,exports.ERROR_BAD_REQUEST_FORMAT=v,exports.ERROR_BAD_RESPONSE_FORMAT=a,exports.ERROR_CLIENT_TIMEOUT=R,exports.ERROR_CSP_BLOCK=u,exports.ERROR_FORBIDDEN_ENDPOINT=f,exports.ERROR_FORBIDDEN_HEADER=S,exports.ERROR_FORBIDDEN_ORIGIN=P,exports.ERROR_GENERAL_SERVER_FAILURE=h,exports.ERROR_INSTALLATION_METHOD_RESTRICTED=l,exports.ERROR_INTEGRATION_FAILURE=d,exports.ERROR_INVALID_ENDPOINT=s,exports.ERROR_NETWORK_ABORT=E,exports.ERROR_NETWORK_CONNECTION=i,exports.ERROR_RATE_LIMIT=D,exports.ERROR_SCRIPT_LOAD_FAIL=y,exports.ERROR_SERVER_TIMEOUT=A,exports.ERROR_SUBSCRIPTION_NOT_ACTIVE=O,exports.ERROR_TOKEN_EXPIRED=x,exports.ERROR_TOKEN_INVALID=w,exports.ERROR_TOKEN_MISSING=m,exports.ERROR_UNSUPPORTED_VERSION=p,exports.ERROR_WRONG_REGION=c,exports.default=F,exports.defaultEndpoint=n,exports.defaultScriptUrlPattern=M,exports.defaultTlsEndpoint=o,exports.load=K; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib");function t(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}function r(e,t,r,n){var o,R=document,i="securitypolicyviolation",E=function(t){var r=new URL(e,location.href),n=t.blockedURI;n!==r.href&&n!==r.protocol.slice(0,-1)&&n!==r.origin||(o=t,a())};R.addEventListener(i,E);var a=function(){return R.removeEventListener(i,E)};return null==n||n.then(a,a),Promise.resolve().then(t).then((function(e){return a(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(a(),o)return r(o);throw e}))}))}var n={default:"endpoint"},o={default:"tlsEndpoint"},R="Client timeout",i="Network connection error",E="Network request aborted",a="Response cannot be parsed",u="Blocked by CSP",s="The endpoint parameter is not a valid URL";function _(e){for(var t="",r=0;r<e.length;++r)if(r>0){var n=e[r].toLowerCase();n!==e[r]?t+=" ".concat(n):t+=e[r]}else t+=e[r].toUpperCase();return t}var c=_("WrongRegion"),O=_("SubscriptionNotActive"),p=_("UnsupportedVersion"),l=_("InstallationMethodRestricted"),f=_("HostnameRestricted"),d=_("IntegrationFailed"),I="API key required",N="API key not found",T="API key expired",v="Request cannot be parsed",h="Request failed",A="Request failed to process",D="Too many requests, rate limit exceeded",P="Not available for this origin",S="Not available with restricted header",m=I,w=N,x=T,L="3.11.1",y="Failed to load the JS script of the agent",U="9319";function C(t,r){var n,o,R,i,E,a,_=[],c=(n=function(t){var r=e.__spreadArray([],t,!0);return{current:function(){return r[0]},postpone:function(){var e=r.shift();void 0!==e&&r.push(e)},exclude:function(){r.shift()}}}(t),i=100,E=3e3,a=0,o=function(){return Math.random()*Math.min(E,i*Math.pow(2,a++))},R=new Set,[n.current(),function(e,t){var r,i=t instanceof Error?t.message:"";if(i===u||i===s)n.exclude(),r=0;else if(i===U)n.exclude();else if(i===y){var E=Date.now()-e.getTime()<50,a=n.current();a&&E&&!R.has(a)&&(R.add(a),r=0),n.postpone()}else n.postpone();var _=n.current();return void 0===_?void 0:[_,null!=r?r:e.getTime()+o()-Date.now()]}]),O=c[0],p=c[1];if(void 0===O)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var l=function(e){var t=new Date,n=function(r){return _.push({url:e,startedAt:t,finishedAt:new Date,error:r})},o=r(e);return o.then((function(){return n()}),n),o.catch((function(e){if(_.length>=5)throw e;var r=p(t,e);if(!r)throw e;var n,o=r[0],R=r[1];return(n=R,new Promise((function(e){return setTimeout(e,n)}))).then((function(){return l(o)}))}))};return l(O).then((function(e){return[e,_]}))}var g="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",M=g;function K(r){var n;r.scriptUrlPattern;var o=r.token,R=r.apiKey,i=void 0===R?o:R,E=e.__rest(r,["scriptUrlPattern","token","apiKey"]),a=null!==(n=t(r,"scriptUrlPattern"))&&void 0!==n?n:g,u=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},r=function(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}(document,"visibilitychange",t);return t(),[e,r]}(),s=u[0],_=u[1];return Promise.resolve().then((function(){if(!i||"string"!=typeof i)throw new Error(I);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var r=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?r(t):"<loaderVersion>"===e?r(L):e}))}(String(e),t)}))}(a,i);return C(e,b)})).catch((function(e){throw _(),function(e){if(e instanceof Error&&e.message===U)return new Error(y);return e}(e)})).then((function(t){var r=t[0],n=t[1];return _(),r.load(e.__assign(e.__assign({},E),{ldi:{attempts:n,visibilityStates:s}}))}))}function b(e){return r(e,(function(){return function(e){return new Promise((function(t,r){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(s);var n=document.createElement("script"),o=function(){var e;return null===(e=n.parentNode)||void 0===e?void 0:e.removeChild(n)},R=document.head||document.getElementsByTagName("head")[0];n.onload=function(){o(),t()},n.onerror=function(){o(),r(new Error(y))},n.async=!0,n.src=e,R.appendChild(n)}))}(e)}),(function(){throw new Error(u)})).then(B)}function B(){var e=window,t="__fpjs_p_l_b",r=e[t];if(function(e,t){var r,n=null===(r=Object.getOwnPropertyDescriptor)||void 0===r?void 0:r.call(Object,e,t);(null==n?void 0:n.configurable)?delete e[t]:n&&!n.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==r?void 0:r.load))throw new Error(U);return r}var F={load:K,defaultScriptUrlPattern:M,ERROR_SCRIPT_LOAD_FAIL:y,ERROR_API_KEY_EXPIRED:T,ERROR_API_KEY_INVALID:N,ERROR_API_KEY_MISSING:I,ERROR_BAD_REQUEST_FORMAT:v,ERROR_BAD_RESPONSE_FORMAT:a,ERROR_CLIENT_TIMEOUT:R,ERROR_CSP_BLOCK:u,ERROR_FORBIDDEN_ENDPOINT:f,ERROR_FORBIDDEN_HEADER:S,ERROR_FORBIDDEN_ORIGIN:P,ERROR_GENERAL_SERVER_FAILURE:h,ERROR_INSTALLATION_METHOD_RESTRICTED:l,ERROR_INTEGRATION_FAILURE:d,ERROR_INVALID_ENDPOINT:s,ERROR_NETWORK_ABORT:E,ERROR_NETWORK_CONNECTION:i,ERROR_RATE_LIMIT:D,ERROR_SERVER_TIMEOUT:A,ERROR_SUBSCRIPTION_NOT_ACTIVE:O,ERROR_TOKEN_EXPIRED:x,ERROR_TOKEN_INVALID:w,ERROR_TOKEN_MISSING:m,ERROR_UNSUPPORTED_VERSION:p,ERROR_WRONG_REGION:c,defaultEndpoint:n,defaultTlsEndpoint:o};exports.ERROR_API_KEY_EXPIRED=T,exports.ERROR_API_KEY_INVALID=N,exports.ERROR_API_KEY_MISSING=I,exports.ERROR_BAD_REQUEST_FORMAT=v,exports.ERROR_BAD_RESPONSE_FORMAT=a,exports.ERROR_CLIENT_TIMEOUT=R,exports.ERROR_CSP_BLOCK=u,exports.ERROR_FORBIDDEN_ENDPOINT=f,exports.ERROR_FORBIDDEN_HEADER=S,exports.ERROR_FORBIDDEN_ORIGIN=P,exports.ERROR_GENERAL_SERVER_FAILURE=h,exports.ERROR_INSTALLATION_METHOD_RESTRICTED=l,exports.ERROR_INTEGRATION_FAILURE=d,exports.ERROR_INVALID_ENDPOINT=s,exports.ERROR_NETWORK_ABORT=E,exports.ERROR_NETWORK_CONNECTION=i,exports.ERROR_RATE_LIMIT=D,exports.ERROR_SCRIPT_LOAD_FAIL=y,exports.ERROR_SERVER_TIMEOUT=A,exports.ERROR_SUBSCRIPTION_NOT_ACTIVE=O,exports.ERROR_TOKEN_EXPIRED=x,exports.ERROR_TOKEN_INVALID=w,exports.ERROR_TOKEN_MISSING=m,exports.ERROR_UNSUPPORTED_VERSION=p,exports.ERROR_WRONG_REGION=c,exports.default=F,exports.defaultEndpoint=n,exports.defaultScriptUrlPattern=M,exports.defaultTlsEndpoint=o,exports.load=K; |
/** | ||
* FingerprintJS Pro v3.11.0 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* Fingerprint Pro v3.11.1 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
*/ | ||
@@ -244,2 +244,9 @@ | ||
declare const ERROR_WRONG_REGION: string; | ||
declare const ERROR_SUBSCRIPTION_NOT_ACTIVE: string; | ||
declare const ERROR_UNSUPPORTED_VERSION: string; | ||
declare const ERROR_INSTALLATION_METHOD_RESTRICTED: string; | ||
declare const ERROR_FORBIDDEN_ENDPOINT: string; | ||
declare const ERROR_INTEGRATION_FAILURE: string; | ||
type Region = | ||
@@ -309,3 +316,3 @@ /** N. Virginia, USA */ | ||
/** | ||
* Region of the FingerprintJS service server | ||
* Region of the Fingerprint Pro service server | ||
* @default 'us' | ||
@@ -351,3 +358,3 @@ */ | ||
* Each array item means a separate integration, the order doesn't matter. | ||
* An example of an integration library is FingerprintJS Pro React. | ||
* An example of an integration library is Fingerprint Pro React SDK. | ||
*/ | ||
@@ -435,9 +442,2 @@ integrationInfo?: readonly string[]; | ||
declare const ERROR_WRONG_REGION: string; | ||
declare const ERROR_SUBSCRIPTION_NOT_ACTIVE: string; | ||
declare const ERROR_UNSUPPORTED_VERSION: string; | ||
declare const ERROR_INSTALLATION_METHOD_RESTRICTED: string; | ||
declare const ERROR_FORBIDDEN_ENDPOINT: string; | ||
declare const ERROR_INTEGRATION_FAILURE: string; | ||
/** | ||
@@ -444,0 +444,0 @@ * Derives the get result type based on input options |
/** | ||
* FingerprintJS Pro v3.11.0 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* Fingerprint Pro v3.11.1 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
*/ | ||
import{__spreadArray as e,__rest as t,__assign as n}from"tslib";function r(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}function o(e,t,n,r){var o,i=document,a="securitypolicyviolation",u=function(t){var n=new URL(e,location.href),r=t.blockedURI;r!==n.href&&r!==n.protocol.slice(0,-1)&&r!==n.origin||(o=t,R())};i.addEventListener(a,u);var R=function(){return i.removeEventListener(a,u)};return null==r||r.then(R,R),Promise.resolve().then(t).then((function(e){return R(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(R(),o)return n(o);throw e}))}))}var i={default:"endpoint"},a={default:"tlsEndpoint"},u="Client timeout",R="Network connection error",c="Network request aborted",s="Response cannot be parsed",f="Blocked by CSP",l="The endpoint parameter is not a valid URL";function E(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" ".concat(r):t+=e[n]}else t+=e[n].toUpperCase();return t}var d=/*#__PURE__*/E("WrongRegion"),p=/*#__PURE__*/E("SubscriptionNotActive"),v=/*#__PURE__*/E("UnsupportedVersion"),_=/*#__PURE__*/E("InstallationMethodRestricted"),O=/*#__PURE__*/E("HostnameRestricted"),h=/*#__PURE__*/E("IntegrationFailed"),I="API key required",N="API key not found",T="API key expired",m="Request cannot be parsed",w="Request failed",A="Request failed to process",P="Too many requests, rate limit exceeded",y="Not available for this origin",D="Not available with restricted header",S=I,g=N,L=T,U="3.11.0",b="Failed to load the JS script of the agent",C="9319";function M(t,n){var r,o,i,a,u,R,c=[],s=(r=function(t){var n=e([],t,!0);return{current:function(){return n[0]},postpone:function(){var e=n.shift();void 0!==e&&n.push(e)},exclude:function(){n.shift()}}}(t),a=100,u=3e3,R=0,o=function(){return Math.random()*Math.min(u,a*Math.pow(2,R++))},i=new Set,[r.current(),function(e,t){var n,a=t instanceof Error?t.message:"";if(a===f||a===l)r.exclude(),n=0;else if(a===C)r.exclude();else if(a===b){var u=Date.now()-e.getTime()<50,R=r.current();R&&u&&!i.has(R)&&(i.add(R),n=0),r.postpone()}else r.postpone();var c=r.current();return void 0===c?void 0:[c,null!=n?n:e.getTime()+o()-Date.now()]}]),E=s[0],d=s[1];if(void 0===E)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var p=function(e){var t=new Date,r=function(n){return c.push({url:e,startedAt:t,finishedAt:new Date,error:n})},o=n(e);return o.then((function(){return r()}),r),o.catch((function(e){if(c.length>=5)throw e;var n=d(t,e);if(!n)throw e;var r,o=n[0],i=n[1];return(r=i,new Promise((function(e){return setTimeout(e,r)}))).then((function(){return p(o)}))}))};return p(E).then((function(e){return[e,c]}))}var K="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",B=K;function F(e){var o;e.scriptUrlPattern;var i=e.token,a=e.apiKey,u=void 0===a?i:a,R=t(e,["scriptUrlPattern","token","apiKey"]),c=null!==(o=r(e,"scriptUrlPattern"))&&void 0!==o?o:K,s=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},n=function(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}(document,"visibilitychange",t);return t(),[e,n]}(),f=s[0],l=s[1];return Promise.resolve().then((function(){if(!u||"string"!=typeof u)throw new Error(I);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var n=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?n(t):"<loaderVersion>"===e?n(U):e}))}(String(e),t)}))}(c,u);return M(e,V)})).catch((function(e){throw l(),function(e){if(e instanceof Error&&e.message===C)return new Error(b);return e}(e)})).then((function(e){var t=e[0],r=e[1];return l(),t.load(n(n({},R),{ldi:{attempts:r,visibilityStates:f}}))}))}function V(e){return o(e,(function(){return function(e){return new Promise((function(t,n){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(l);var r=document.createElement("script"),o=function(){var e;return null===(e=r.parentNode)||void 0===e?void 0:e.removeChild(r)},i=document.head||document.getElementsByTagName("head")[0];r.onload=function(){o(),t()},r.onerror=function(){o(),n(new Error(b))},r.async=!0,r.src=e,i.appendChild(r)}))}(e)}),(function(){throw new Error(f)})).then(k)}function k(){var e=window,t="__fpjs_p_l_b",n=e[t];if(function(e,t){var n,r=null===(n=Object.getOwnPropertyDescriptor)||void 0===n?void 0:n.call(Object,e,t);(null==r?void 0:r.configurable)?delete e[t]:r&&!r.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==n?void 0:n.load))throw new Error(C);return n}var G={load:F,defaultScriptUrlPattern:B,ERROR_SCRIPT_LOAD_FAIL:b,ERROR_API_KEY_EXPIRED:T,ERROR_API_KEY_INVALID:N,ERROR_API_KEY_MISSING:I,ERROR_BAD_REQUEST_FORMAT:m,ERROR_BAD_RESPONSE_FORMAT:s,ERROR_CLIENT_TIMEOUT:u,ERROR_CSP_BLOCK:f,ERROR_FORBIDDEN_ENDPOINT:O,ERROR_FORBIDDEN_HEADER:D,ERROR_FORBIDDEN_ORIGIN:y,ERROR_GENERAL_SERVER_FAILURE:w,ERROR_INSTALLATION_METHOD_RESTRICTED:_,ERROR_INTEGRATION_FAILURE:h,ERROR_INVALID_ENDPOINT:l,ERROR_NETWORK_ABORT:c,ERROR_NETWORK_CONNECTION:R,ERROR_RATE_LIMIT:P,ERROR_SERVER_TIMEOUT:A,ERROR_SUBSCRIPTION_NOT_ACTIVE:p,ERROR_TOKEN_EXPIRED:L,ERROR_TOKEN_INVALID:g,ERROR_TOKEN_MISSING:S,ERROR_UNSUPPORTED_VERSION:v,ERROR_WRONG_REGION:d,defaultEndpoint:i,defaultTlsEndpoint:a};export{T as ERROR_API_KEY_EXPIRED,N as ERROR_API_KEY_INVALID,I as ERROR_API_KEY_MISSING,m as ERROR_BAD_REQUEST_FORMAT,s as ERROR_BAD_RESPONSE_FORMAT,u as ERROR_CLIENT_TIMEOUT,f as ERROR_CSP_BLOCK,O as ERROR_FORBIDDEN_ENDPOINT,D as ERROR_FORBIDDEN_HEADER,y as ERROR_FORBIDDEN_ORIGIN,w as ERROR_GENERAL_SERVER_FAILURE,_ as ERROR_INSTALLATION_METHOD_RESTRICTED,h as ERROR_INTEGRATION_FAILURE,l as ERROR_INVALID_ENDPOINT,c as ERROR_NETWORK_ABORT,R as ERROR_NETWORK_CONNECTION,P as ERROR_RATE_LIMIT,b as ERROR_SCRIPT_LOAD_FAIL,A as ERROR_SERVER_TIMEOUT,p as ERROR_SUBSCRIPTION_NOT_ACTIVE,L as ERROR_TOKEN_EXPIRED,g as ERROR_TOKEN_INVALID,S as ERROR_TOKEN_MISSING,v as ERROR_UNSUPPORTED_VERSION,d as ERROR_WRONG_REGION,G as default,i as defaultEndpoint,B as defaultScriptUrlPattern,a as defaultTlsEndpoint,F as load}; | ||
import{__spreadArray as e,__rest as t,__assign as n}from"tslib";function r(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}function o(e,t,n,r){var o,i=document,a="securitypolicyviolation",u=function(t){var n=new URL(e,location.href),r=t.blockedURI;r!==n.href&&r!==n.protocol.slice(0,-1)&&r!==n.origin||(o=t,R())};i.addEventListener(a,u);var R=function(){return i.removeEventListener(a,u)};return null==r||r.then(R,R),Promise.resolve().then(t).then((function(e){return R(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(R(),o)return n(o);throw e}))}))}var i={default:"endpoint"},a={default:"tlsEndpoint"},u="Client timeout",R="Network connection error",c="Network request aborted",s="Response cannot be parsed",f="Blocked by CSP",l="The endpoint parameter is not a valid URL";function E(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" ".concat(r):t+=e[n]}else t+=e[n].toUpperCase();return t}var d=/*#__PURE__*/E("WrongRegion"),p=/*#__PURE__*/E("SubscriptionNotActive"),v=/*#__PURE__*/E("UnsupportedVersion"),_=/*#__PURE__*/E("InstallationMethodRestricted"),O=/*#__PURE__*/E("HostnameRestricted"),h=/*#__PURE__*/E("IntegrationFailed"),I="API key required",N="API key not found",T="API key expired",m="Request cannot be parsed",w="Request failed",A="Request failed to process",P="Too many requests, rate limit exceeded",y="Not available for this origin",D="Not available with restricted header",S=I,g=N,L=T,U="3.11.1",b="Failed to load the JS script of the agent",C="9319";function M(t,n){var r,o,i,a,u,R,c=[],s=(r=function(t){var n=e([],t,!0);return{current:function(){return n[0]},postpone:function(){var e=n.shift();void 0!==e&&n.push(e)},exclude:function(){n.shift()}}}(t),a=100,u=3e3,R=0,o=function(){return Math.random()*Math.min(u,a*Math.pow(2,R++))},i=new Set,[r.current(),function(e,t){var n,a=t instanceof Error?t.message:"";if(a===f||a===l)r.exclude(),n=0;else if(a===C)r.exclude();else if(a===b){var u=Date.now()-e.getTime()<50,R=r.current();R&&u&&!i.has(R)&&(i.add(R),n=0),r.postpone()}else r.postpone();var c=r.current();return void 0===c?void 0:[c,null!=n?n:e.getTime()+o()-Date.now()]}]),E=s[0],d=s[1];if(void 0===E)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var p=function(e){var t=new Date,r=function(n){return c.push({url:e,startedAt:t,finishedAt:new Date,error:n})},o=n(e);return o.then((function(){return r()}),r),o.catch((function(e){if(c.length>=5)throw e;var n=d(t,e);if(!n)throw e;var r,o=n[0],i=n[1];return(r=i,new Promise((function(e){return setTimeout(e,r)}))).then((function(){return p(o)}))}))};return p(E).then((function(e){return[e,c]}))}var K="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",B=K;function F(e){var o;e.scriptUrlPattern;var i=e.token,a=e.apiKey,u=void 0===a?i:a,R=t(e,["scriptUrlPattern","token","apiKey"]),c=null!==(o=r(e,"scriptUrlPattern"))&&void 0!==o?o:K,s=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},n=function(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}(document,"visibilitychange",t);return t(),[e,n]}(),f=s[0],l=s[1];return Promise.resolve().then((function(){if(!u||"string"!=typeof u)throw new Error(I);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var n=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?n(t):"<loaderVersion>"===e?n(U):e}))}(String(e),t)}))}(c,u);return M(e,V)})).catch((function(e){throw l(),function(e){if(e instanceof Error&&e.message===C)return new Error(b);return e}(e)})).then((function(e){var t=e[0],r=e[1];return l(),t.load(n(n({},R),{ldi:{attempts:r,visibilityStates:f}}))}))}function V(e){return o(e,(function(){return function(e){return new Promise((function(t,n){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(l);var r=document.createElement("script"),o=function(){var e;return null===(e=r.parentNode)||void 0===e?void 0:e.removeChild(r)},i=document.head||document.getElementsByTagName("head")[0];r.onload=function(){o(),t()},r.onerror=function(){o(),n(new Error(b))},r.async=!0,r.src=e,i.appendChild(r)}))}(e)}),(function(){throw new Error(f)})).then(k)}function k(){var e=window,t="__fpjs_p_l_b",n=e[t];if(function(e,t){var n,r=null===(n=Object.getOwnPropertyDescriptor)||void 0===n?void 0:n.call(Object,e,t);(null==r?void 0:r.configurable)?delete e[t]:r&&!r.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==n?void 0:n.load))throw new Error(C);return n}var G={load:F,defaultScriptUrlPattern:B,ERROR_SCRIPT_LOAD_FAIL:b,ERROR_API_KEY_EXPIRED:T,ERROR_API_KEY_INVALID:N,ERROR_API_KEY_MISSING:I,ERROR_BAD_REQUEST_FORMAT:m,ERROR_BAD_RESPONSE_FORMAT:s,ERROR_CLIENT_TIMEOUT:u,ERROR_CSP_BLOCK:f,ERROR_FORBIDDEN_ENDPOINT:O,ERROR_FORBIDDEN_HEADER:D,ERROR_FORBIDDEN_ORIGIN:y,ERROR_GENERAL_SERVER_FAILURE:w,ERROR_INSTALLATION_METHOD_RESTRICTED:_,ERROR_INTEGRATION_FAILURE:h,ERROR_INVALID_ENDPOINT:l,ERROR_NETWORK_ABORT:c,ERROR_NETWORK_CONNECTION:R,ERROR_RATE_LIMIT:P,ERROR_SERVER_TIMEOUT:A,ERROR_SUBSCRIPTION_NOT_ACTIVE:p,ERROR_TOKEN_EXPIRED:L,ERROR_TOKEN_INVALID:g,ERROR_TOKEN_MISSING:S,ERROR_UNSUPPORTED_VERSION:v,ERROR_WRONG_REGION:d,defaultEndpoint:i,defaultTlsEndpoint:a};export{T as ERROR_API_KEY_EXPIRED,N as ERROR_API_KEY_INVALID,I as ERROR_API_KEY_MISSING,m as ERROR_BAD_REQUEST_FORMAT,s as ERROR_BAD_RESPONSE_FORMAT,u as ERROR_CLIENT_TIMEOUT,f as ERROR_CSP_BLOCK,O as ERROR_FORBIDDEN_ENDPOINT,D as ERROR_FORBIDDEN_HEADER,y as ERROR_FORBIDDEN_ORIGIN,w as ERROR_GENERAL_SERVER_FAILURE,_ as ERROR_INSTALLATION_METHOD_RESTRICTED,h as ERROR_INTEGRATION_FAILURE,l as ERROR_INVALID_ENDPOINT,c as ERROR_NETWORK_ABORT,R as ERROR_NETWORK_CONNECTION,P as ERROR_RATE_LIMIT,b as ERROR_SCRIPT_LOAD_FAIL,A as ERROR_SERVER_TIMEOUT,p as ERROR_SUBSCRIPTION_NOT_ACTIVE,L as ERROR_TOKEN_EXPIRED,g as ERROR_TOKEN_INVALID,S as ERROR_TOKEN_MISSING,v as ERROR_UNSUPPORTED_VERSION,d as ERROR_WRONG_REGION,G as default,i as defaultEndpoint,B as defaultScriptUrlPattern,a as defaultTlsEndpoint,F as load}; |
/** | ||
* FingerprintJS Pro v3.11.0 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* Fingerprint Pro v3.11.1 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
*/ | ||
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},t.apply(this,arguments)};function n(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}function r(e){var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,R=t.length;o<R;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],e,!0);return{current:function(){return t[0]},postpone:function(){var e=t.shift();void 0!==e&&t.push(e)},exclude:function(){t.shift()}}}function o(e,t,n,r){var o,R=document,i="securitypolicyviolation",a=function(t){var n=new URL(e,location.href),r=t.blockedURI;r!==n.href&&r!==n.protocol.slice(0,-1)&&r!==n.origin||(o=t,E())};R.addEventListener(i,a);var E=function(){return R.removeEventListener(i,a)};return null==r||r.then(E,E),Promise.resolve().then(t).then((function(e){return E(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(E(),o)return n(o);throw e}))}))}var R={default:"endpoint"},i={default:"tlsEndpoint"},a="Client timeout",E="Network connection error",u="Network request aborted",c="Response cannot be parsed",O="Blocked by CSP",_="The endpoint parameter is not a valid URL";function l(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" ".concat(r):t+=e[n]}else t+=e[n].toUpperCase();return t}var s=l("WrongRegion"),f=l("SubscriptionNotActive"),d=l("UnsupportedVersion"),I=l("InstallationMethodRestricted"),p=l("HostnameRestricted"),N=l("IntegrationFailed"),v="API key required",T="API key not found",h="API key expired",A="Request cannot be parsed",P="Request failed",D="Request failed to process",S="Too many requests, rate limit exceeded",y="Not available for this origin",w="Not available with restricted header",m=v,L=T,g=h,U="3.11.0",b="Failed to load the JS script of the agent",C="9319";function M(e,t){var n,o,R,i,a,E,u=[],c=(n=r(e),i=100,a=3e3,E=0,o=function(){return Math.random()*Math.min(a,i*Math.pow(2,E++))},R=new Set,[n.current(),function(e,t){var r,i=t instanceof Error?t.message:"";if(i===O||i===_)n.exclude(),r=0;else if(i===C)n.exclude();else if(i===b){var a=Date.now()-e.getTime()<50,E=n.current();E&&a&&!R.has(E)&&(R.add(E),r=0),n.postpone()}else n.postpone();var u=n.current();return void 0===u?void 0:[u,null!=r?r:e.getTime()+o()-Date.now()]}]),l=c[0],s=c[1];if(void 0===l)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var f=function(e){var n=new Date,r=function(t){return u.push({url:e,startedAt:n,finishedAt:new Date,error:t})},o=t(e);return o.then((function(){return r()}),r),o.catch((function(e){if(u.length>=5)throw e;var t=s(n,e);if(!t)throw e;var r,o=t[0],R=t[1];return(r=R,new Promise((function(e){return setTimeout(e,r)}))).then((function(){return f(o)}))}))};return f(l).then((function(e){return[e,u]}))}var K="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",F=K;function B(e){var r;e.scriptUrlPattern;var o=e.token,R=e.apiKey,i=void 0===R?o:R,a=function(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}(e,["scriptUrlPattern","token","apiKey"]),E=null!==(r=n(e,"scriptUrlPattern"))&&void 0!==r?r:K,u=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},n=function(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}(document,"visibilitychange",t);return t(),[e,n]}(),c=u[0],O=u[1];return Promise.resolve().then((function(){if(!i||"string"!=typeof i)throw new Error(v);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var n=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?n(t):"<loaderVersion>"===e?n(U):e}))}(String(e),t)}))}(E,i);return M(e,V)})).catch((function(e){throw O(),function(e){if(e instanceof Error&&e.message===C)return new Error(b);return e}(e)})).then((function(e){var n=e[0],r=e[1];return O(),n.load(t(t({},a),{ldi:{attempts:r,visibilityStates:c}}))}))}function V(e){return o(e,(function(){return function(e){return new Promise((function(t,n){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(_);var r=document.createElement("script"),o=function(){var e;return null===(e=r.parentNode)||void 0===e?void 0:e.removeChild(r)},R=document.head||document.getElementsByTagName("head")[0];r.onload=function(){o(),t()},r.onerror=function(){o(),n(new Error(b))},r.async=!0,r.src=e,R.appendChild(r)}))}(e)}),(function(){throw new Error(O)})).then(G)}function G(){var e=window,t="__fpjs_p_l_b",n=e[t];if(function(e,t){var n,r=null===(n=Object.getOwnPropertyDescriptor)||void 0===n?void 0:n.call(Object,e,t);(null==r?void 0:r.configurable)?delete e[t]:r&&!r.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==n?void 0:n.load))throw new Error(C);return n}var j={load:B,defaultScriptUrlPattern:F,ERROR_SCRIPT_LOAD_FAIL:b,ERROR_API_KEY_EXPIRED:h,ERROR_API_KEY_INVALID:T,ERROR_API_KEY_MISSING:v,ERROR_BAD_REQUEST_FORMAT:A,ERROR_BAD_RESPONSE_FORMAT:c,ERROR_CLIENT_TIMEOUT:a,ERROR_CSP_BLOCK:O,ERROR_FORBIDDEN_ENDPOINT:p,ERROR_FORBIDDEN_HEADER:w,ERROR_FORBIDDEN_ORIGIN:y,ERROR_GENERAL_SERVER_FAILURE:P,ERROR_INSTALLATION_METHOD_RESTRICTED:I,ERROR_INTEGRATION_FAILURE:N,ERROR_INVALID_ENDPOINT:_,ERROR_NETWORK_ABORT:u,ERROR_NETWORK_CONNECTION:E,ERROR_RATE_LIMIT:S,ERROR_SERVER_TIMEOUT:D,ERROR_SUBSCRIPTION_NOT_ACTIVE:f,ERROR_TOKEN_EXPIRED:g,ERROR_TOKEN_INVALID:L,ERROR_TOKEN_MISSING:m,ERROR_UNSUPPORTED_VERSION:d,ERROR_WRONG_REGION:s,defaultEndpoint:R,defaultTlsEndpoint:i};return e.ERROR_API_KEY_EXPIRED=h,e.ERROR_API_KEY_INVALID=T,e.ERROR_API_KEY_MISSING=v,e.ERROR_BAD_REQUEST_FORMAT=A,e.ERROR_BAD_RESPONSE_FORMAT=c,e.ERROR_CLIENT_TIMEOUT=a,e.ERROR_CSP_BLOCK=O,e.ERROR_FORBIDDEN_ENDPOINT=p,e.ERROR_FORBIDDEN_HEADER=w,e.ERROR_FORBIDDEN_ORIGIN=y,e.ERROR_GENERAL_SERVER_FAILURE=P,e.ERROR_INSTALLATION_METHOD_RESTRICTED=I,e.ERROR_INTEGRATION_FAILURE=N,e.ERROR_INVALID_ENDPOINT=_,e.ERROR_NETWORK_ABORT=u,e.ERROR_NETWORK_CONNECTION=E,e.ERROR_RATE_LIMIT=S,e.ERROR_SCRIPT_LOAD_FAIL=b,e.ERROR_SERVER_TIMEOUT=D,e.ERROR_SUBSCRIPTION_NOT_ACTIVE=f,e.ERROR_TOKEN_EXPIRED=g,e.ERROR_TOKEN_INVALID=L,e.ERROR_TOKEN_MISSING=m,e.ERROR_UNSUPPORTED_VERSION=d,e.ERROR_WRONG_REGION=s,e.default=j,e.defaultEndpoint=R,e.defaultScriptUrlPattern=F,e.defaultTlsEndpoint=i,e.load=B,Object.defineProperty(e,"__esModule",{value:!0}),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},t.apply(this,arguments)};function n(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}function r(e){var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,R=t.length;o<R;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],e,!0);return{current:function(){return t[0]},postpone:function(){var e=t.shift();void 0!==e&&t.push(e)},exclude:function(){t.shift()}}}function o(e,t,n,r){var o,R=document,i="securitypolicyviolation",a=function(t){var n=new URL(e,location.href),r=t.blockedURI;r!==n.href&&r!==n.protocol.slice(0,-1)&&r!==n.origin||(o=t,E())};R.addEventListener(i,a);var E=function(){return R.removeEventListener(i,a)};return null==r||r.then(E,E),Promise.resolve().then(t).then((function(e){return E(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(E(),o)return n(o);throw e}))}))}var R={default:"endpoint"},i={default:"tlsEndpoint"},a="Client timeout",E="Network connection error",u="Network request aborted",c="Response cannot be parsed",O="Blocked by CSP",_="The endpoint parameter is not a valid URL";function l(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" ".concat(r):t+=e[n]}else t+=e[n].toUpperCase();return t}var s=l("WrongRegion"),f=l("SubscriptionNotActive"),d=l("UnsupportedVersion"),I=l("InstallationMethodRestricted"),p=l("HostnameRestricted"),N=l("IntegrationFailed"),v="API key required",T="API key not found",h="API key expired",A="Request cannot be parsed",P="Request failed",D="Request failed to process",S="Too many requests, rate limit exceeded",y="Not available for this origin",w="Not available with restricted header",m=v,L=T,g=h,U="3.11.1",b="Failed to load the JS script of the agent",C="9319";function M(e,t){var n,o,R,i,a,E,u=[],c=(n=r(e),i=100,a=3e3,E=0,o=function(){return Math.random()*Math.min(a,i*Math.pow(2,E++))},R=new Set,[n.current(),function(e,t){var r,i=t instanceof Error?t.message:"";if(i===O||i===_)n.exclude(),r=0;else if(i===C)n.exclude();else if(i===b){var a=Date.now()-e.getTime()<50,E=n.current();E&&a&&!R.has(E)&&(R.add(E),r=0),n.postpone()}else n.postpone();var u=n.current();return void 0===u?void 0:[u,null!=r?r:e.getTime()+o()-Date.now()]}]),l=c[0],s=c[1];if(void 0===l)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var f=function(e){var n=new Date,r=function(t){return u.push({url:e,startedAt:n,finishedAt:new Date,error:t})},o=t(e);return o.then((function(){return r()}),r),o.catch((function(e){if(u.length>=5)throw e;var t=s(n,e);if(!t)throw e;var r,o=t[0],R=t[1];return(r=R,new Promise((function(e){return setTimeout(e,r)}))).then((function(){return f(o)}))}))};return f(l).then((function(e){return[e,u]}))}var K="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",F=K;function B(e){var r;e.scriptUrlPattern;var o=e.token,R=e.apiKey,i=void 0===R?o:R,a=function(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}(e,["scriptUrlPattern","token","apiKey"]),E=null!==(r=n(e,"scriptUrlPattern"))&&void 0!==r?r:K,u=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},n=function(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}(document,"visibilitychange",t);return t(),[e,n]}(),c=u[0],O=u[1];return Promise.resolve().then((function(){if(!i||"string"!=typeof i)throw new Error(v);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var n=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?n(t):"<loaderVersion>"===e?n(U):e}))}(String(e),t)}))}(E,i);return M(e,V)})).catch((function(e){throw O(),function(e){if(e instanceof Error&&e.message===C)return new Error(b);return e}(e)})).then((function(e){var n=e[0],r=e[1];return O(),n.load(t(t({},a),{ldi:{attempts:r,visibilityStates:c}}))}))}function V(e){return o(e,(function(){return function(e){return new Promise((function(t,n){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(_);var r=document.createElement("script"),o=function(){var e;return null===(e=r.parentNode)||void 0===e?void 0:e.removeChild(r)},R=document.head||document.getElementsByTagName("head")[0];r.onload=function(){o(),t()},r.onerror=function(){o(),n(new Error(b))},r.async=!0,r.src=e,R.appendChild(r)}))}(e)}),(function(){throw new Error(O)})).then(G)}function G(){var e=window,t="__fpjs_p_l_b",n=e[t];if(function(e,t){var n,r=null===(n=Object.getOwnPropertyDescriptor)||void 0===n?void 0:n.call(Object,e,t);(null==r?void 0:r.configurable)?delete e[t]:r&&!r.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==n?void 0:n.load))throw new Error(C);return n}var j={load:B,defaultScriptUrlPattern:F,ERROR_SCRIPT_LOAD_FAIL:b,ERROR_API_KEY_EXPIRED:h,ERROR_API_KEY_INVALID:T,ERROR_API_KEY_MISSING:v,ERROR_BAD_REQUEST_FORMAT:A,ERROR_BAD_RESPONSE_FORMAT:c,ERROR_CLIENT_TIMEOUT:a,ERROR_CSP_BLOCK:O,ERROR_FORBIDDEN_ENDPOINT:p,ERROR_FORBIDDEN_HEADER:w,ERROR_FORBIDDEN_ORIGIN:y,ERROR_GENERAL_SERVER_FAILURE:P,ERROR_INSTALLATION_METHOD_RESTRICTED:I,ERROR_INTEGRATION_FAILURE:N,ERROR_INVALID_ENDPOINT:_,ERROR_NETWORK_ABORT:u,ERROR_NETWORK_CONNECTION:E,ERROR_RATE_LIMIT:S,ERROR_SERVER_TIMEOUT:D,ERROR_SUBSCRIPTION_NOT_ACTIVE:f,ERROR_TOKEN_EXPIRED:g,ERROR_TOKEN_INVALID:L,ERROR_TOKEN_MISSING:m,ERROR_UNSUPPORTED_VERSION:d,ERROR_WRONG_REGION:s,defaultEndpoint:R,defaultTlsEndpoint:i};return e.ERROR_API_KEY_EXPIRED=h,e.ERROR_API_KEY_INVALID=T,e.ERROR_API_KEY_MISSING=v,e.ERROR_BAD_REQUEST_FORMAT=A,e.ERROR_BAD_RESPONSE_FORMAT=c,e.ERROR_CLIENT_TIMEOUT=a,e.ERROR_CSP_BLOCK=O,e.ERROR_FORBIDDEN_ENDPOINT=p,e.ERROR_FORBIDDEN_HEADER=w,e.ERROR_FORBIDDEN_ORIGIN=y,e.ERROR_GENERAL_SERVER_FAILURE=P,e.ERROR_INSTALLATION_METHOD_RESTRICTED=I,e.ERROR_INTEGRATION_FAILURE=N,e.ERROR_INVALID_ENDPOINT=_,e.ERROR_NETWORK_ABORT=u,e.ERROR_NETWORK_CONNECTION=E,e.ERROR_RATE_LIMIT=S,e.ERROR_SCRIPT_LOAD_FAIL=b,e.ERROR_SERVER_TIMEOUT=D,e.ERROR_SUBSCRIPTION_NOT_ACTIVE=f,e.ERROR_TOKEN_EXPIRED=g,e.ERROR_TOKEN_INVALID=L,e.ERROR_TOKEN_MISSING=m,e.ERROR_UNSUPPORTED_VERSION=d,e.ERROR_WRONG_REGION=s,e.default=j,e.defaultEndpoint=R,e.defaultScriptUrlPattern=F,e.defaultTlsEndpoint=i,e.load=B,Object.defineProperty(e,"__esModule",{value:!0}),e}({}); |
/** | ||
* FingerprintJS Pro v3.11.0 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* Fingerprint Pro v3.11.1 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
*/ | ||
!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},t.apply(this,arguments)};function n(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}function r(e){var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,R=t.length;o<R;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],e,!0);return{current:function(){return t[0]},postpone:function(){var e=t.shift();void 0!==e&&t.push(e)},exclude:function(){t.shift()}}}function o(e,t,n,r){var o,R=document,i="securitypolicyviolation",a=function(t){var n=new URL(e,location.href),r=t.blockedURI;r!==n.href&&r!==n.protocol.slice(0,-1)&&r!==n.origin||(o=t,E())};R.addEventListener(i,a);var E=function(){return R.removeEventListener(i,a)};return null==r||r.then(E,E),Promise.resolve().then(t).then((function(e){return E(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(E(),o)return n(o);throw e}))}))}var R={default:"endpoint"},i={default:"tlsEndpoint"},a="Client timeout",E="Network connection error",u="Network request aborted",c="Response cannot be parsed",O="Blocked by CSP",_="The endpoint parameter is not a valid URL";function l(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" ".concat(r):t+=e[n]}else t+=e[n].toUpperCase();return t}var f=l("WrongRegion"),s=l("SubscriptionNotActive"),d=l("UnsupportedVersion"),p=l("InstallationMethodRestricted"),I=l("HostnameRestricted"),N=l("IntegrationFailed"),T="API key required",v="API key not found",h="API key expired",A="Request cannot be parsed",y="Request failed",P="Request failed to process",D="Too many requests, rate limit exceeded",S="Not available for this origin",m="Not available with restricted header",w=T,L=v,g=h,b="3.11.0",U="Failed to load the JS script of the agent",C="9319";function M(e,t){var n,o,R,i,a,E,u=[],c=(n=r(e),i=100,a=3e3,E=0,o=function(){return Math.random()*Math.min(a,i*Math.pow(2,E++))},R=new Set,[n.current(),function(e,t){var r,i=t instanceof Error?t.message:"";if(i===O||i===_)n.exclude(),r=0;else if(i===C)n.exclude();else if(i===U){var a=Date.now()-e.getTime()<50,E=n.current();E&&a&&!R.has(E)&&(R.add(E),r=0),n.postpone()}else n.postpone();var u=n.current();return void 0===u?void 0:[u,null!=r?r:e.getTime()+o()-Date.now()]}]),l=c[0],f=c[1];if(void 0===l)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var s=function(e){var n=new Date,r=function(t){return u.push({url:e,startedAt:n,finishedAt:new Date,error:t})},o=t(e);return o.then((function(){return r()}),r),o.catch((function(e){if(u.length>=5)throw e;var t=f(n,e);if(!t)throw e;var r,o=t[0],R=t[1];return(r=R,new Promise((function(e){return setTimeout(e,r)}))).then((function(){return s(o)}))}))};return s(l).then((function(e){return[e,u]}))}var K="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",F=K;function B(e){var r;e.scriptUrlPattern;var o=e.token,R=e.apiKey,i=void 0===R?o:R,a=function(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}(e,["scriptUrlPattern","token","apiKey"]),E=null!==(r=n(e,"scriptUrlPattern"))&&void 0!==r?r:K,u=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},n=function(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}(document,"visibilitychange",t);return t(),[e,n]}(),c=u[0],O=u[1];return Promise.resolve().then((function(){if(!i||"string"!=typeof i)throw new Error(T);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var n=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?n(t):"<loaderVersion>"===e?n(b):e}))}(String(e),t)}))}(E,i);return M(e,V)})).catch((function(e){throw O(),function(e){if(e instanceof Error&&e.message===C)return new Error(U);return e}(e)})).then((function(e){var n=e[0],r=e[1];return O(),n.load(t(t({},a),{ldi:{attempts:r,visibilityStates:c}}))}))}function V(e){return o(e,(function(){return function(e){return new Promise((function(t,n){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(_);var r=document.createElement("script"),o=function(){var e;return null===(e=r.parentNode)||void 0===e?void 0:e.removeChild(r)},R=document.head||document.getElementsByTagName("head")[0];r.onload=function(){o(),t()},r.onerror=function(){o(),n(new Error(U))},r.async=!0,r.src=e,R.appendChild(r)}))}(e)}),(function(){throw new Error(O)})).then(j)}function j(){var e=window,t="__fpjs_p_l_b",n=e[t];if(function(e,t){var n,r=null===(n=Object.getOwnPropertyDescriptor)||void 0===n?void 0:n.call(Object,e,t);(null==r?void 0:r.configurable)?delete e[t]:r&&!r.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==n?void 0:n.load))throw new Error(C);return n}var G={load:B,defaultScriptUrlPattern:F,ERROR_SCRIPT_LOAD_FAIL:U,ERROR_API_KEY_EXPIRED:h,ERROR_API_KEY_INVALID:v,ERROR_API_KEY_MISSING:T,ERROR_BAD_REQUEST_FORMAT:A,ERROR_BAD_RESPONSE_FORMAT:c,ERROR_CLIENT_TIMEOUT:a,ERROR_CSP_BLOCK:O,ERROR_FORBIDDEN_ENDPOINT:I,ERROR_FORBIDDEN_HEADER:m,ERROR_FORBIDDEN_ORIGIN:S,ERROR_GENERAL_SERVER_FAILURE:y,ERROR_INSTALLATION_METHOD_RESTRICTED:p,ERROR_INTEGRATION_FAILURE:N,ERROR_INVALID_ENDPOINT:_,ERROR_NETWORK_ABORT:u,ERROR_NETWORK_CONNECTION:E,ERROR_RATE_LIMIT:D,ERROR_SERVER_TIMEOUT:P,ERROR_SUBSCRIPTION_NOT_ACTIVE:s,ERROR_TOKEN_EXPIRED:g,ERROR_TOKEN_INVALID:L,ERROR_TOKEN_MISSING:w,ERROR_UNSUPPORTED_VERSION:d,ERROR_WRONG_REGION:f,defaultEndpoint:R,defaultTlsEndpoint:i};e.ERROR_API_KEY_EXPIRED=h,e.ERROR_API_KEY_INVALID=v,e.ERROR_API_KEY_MISSING=T,e.ERROR_BAD_REQUEST_FORMAT=A,e.ERROR_BAD_RESPONSE_FORMAT=c,e.ERROR_CLIENT_TIMEOUT=a,e.ERROR_CSP_BLOCK=O,e.ERROR_FORBIDDEN_ENDPOINT=I,e.ERROR_FORBIDDEN_HEADER=m,e.ERROR_FORBIDDEN_ORIGIN=S,e.ERROR_GENERAL_SERVER_FAILURE=y,e.ERROR_INSTALLATION_METHOD_RESTRICTED=p,e.ERROR_INTEGRATION_FAILURE=N,e.ERROR_INVALID_ENDPOINT=_,e.ERROR_NETWORK_ABORT=u,e.ERROR_NETWORK_CONNECTION=E,e.ERROR_RATE_LIMIT=D,e.ERROR_SCRIPT_LOAD_FAIL=U,e.ERROR_SERVER_TIMEOUT=P,e.ERROR_SUBSCRIPTION_NOT_ACTIVE=s,e.ERROR_TOKEN_EXPIRED=g,e.ERROR_TOKEN_INVALID=L,e.ERROR_TOKEN_MISSING=w,e.ERROR_UNSUPPORTED_VERSION=d,e.ERROR_WRONG_REGION=f,e.default=G,e.defaultEndpoint=R,e.defaultScriptUrlPattern=F,e.defaultTlsEndpoint=i,e.load=B,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},t.apply(this,arguments)};function n(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}function r(e){var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,R=t.length;o<R;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],e,!0);return{current:function(){return t[0]},postpone:function(){var e=t.shift();void 0!==e&&t.push(e)},exclude:function(){t.shift()}}}function o(e,t,n,r){var o,R=document,i="securitypolicyviolation",a=function(t){var n=new URL(e,location.href),r=t.blockedURI;r!==n.href&&r!==n.protocol.slice(0,-1)&&r!==n.origin||(o=t,E())};R.addEventListener(i,a);var E=function(){return R.removeEventListener(i,a)};return null==r||r.then(E,E),Promise.resolve().then(t).then((function(e){return E(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(E(),o)return n(o);throw e}))}))}var R={default:"endpoint"},i={default:"tlsEndpoint"},a="Client timeout",E="Network connection error",u="Network request aborted",c="Response cannot be parsed",O="Blocked by CSP",_="The endpoint parameter is not a valid URL";function l(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" ".concat(r):t+=e[n]}else t+=e[n].toUpperCase();return t}var f=l("WrongRegion"),s=l("SubscriptionNotActive"),d=l("UnsupportedVersion"),p=l("InstallationMethodRestricted"),I=l("HostnameRestricted"),N=l("IntegrationFailed"),T="API key required",v="API key not found",h="API key expired",A="Request cannot be parsed",y="Request failed",P="Request failed to process",D="Too many requests, rate limit exceeded",S="Not available for this origin",m="Not available with restricted header",w=T,L=v,g=h,b="3.11.1",U="Failed to load the JS script of the agent",C="9319";function M(e,t){var n,o,R,i,a,E,u=[],c=(n=r(e),i=100,a=3e3,E=0,o=function(){return Math.random()*Math.min(a,i*Math.pow(2,E++))},R=new Set,[n.current(),function(e,t){var r,i=t instanceof Error?t.message:"";if(i===O||i===_)n.exclude(),r=0;else if(i===C)n.exclude();else if(i===U){var a=Date.now()-e.getTime()<50,E=n.current();E&&a&&!R.has(E)&&(R.add(E),r=0),n.postpone()}else n.postpone();var u=n.current();return void 0===u?void 0:[u,null!=r?r:e.getTime()+o()-Date.now()]}]),l=c[0],f=c[1];if(void 0===l)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var s=function(e){var n=new Date,r=function(t){return u.push({url:e,startedAt:n,finishedAt:new Date,error:t})},o=t(e);return o.then((function(){return r()}),r),o.catch((function(e){if(u.length>=5)throw e;var t=f(n,e);if(!t)throw e;var r,o=t[0],R=t[1];return(r=R,new Promise((function(e){return setTimeout(e,r)}))).then((function(){return s(o)}))}))};return s(l).then((function(e){return[e,u]}))}var K="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",F=K;function B(e){var r;e.scriptUrlPattern;var o=e.token,R=e.apiKey,i=void 0===R?o:R,a=function(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}(e,["scriptUrlPattern","token","apiKey"]),E=null!==(r=n(e,"scriptUrlPattern"))&&void 0!==r?r:K,u=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},n=function(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}(document,"visibilitychange",t);return t(),[e,n]}(),c=u[0],O=u[1];return Promise.resolve().then((function(){if(!i||"string"!=typeof i)throw new Error(T);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var n=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?n(t):"<loaderVersion>"===e?n(b):e}))}(String(e),t)}))}(E,i);return M(e,V)})).catch((function(e){throw O(),function(e){if(e instanceof Error&&e.message===C)return new Error(U);return e}(e)})).then((function(e){var n=e[0],r=e[1];return O(),n.load(t(t({},a),{ldi:{attempts:r,visibilityStates:c}}))}))}function V(e){return o(e,(function(){return function(e){return new Promise((function(t,n){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(_);var r=document.createElement("script"),o=function(){var e;return null===(e=r.parentNode)||void 0===e?void 0:e.removeChild(r)},R=document.head||document.getElementsByTagName("head")[0];r.onload=function(){o(),t()},r.onerror=function(){o(),n(new Error(U))},r.async=!0,r.src=e,R.appendChild(r)}))}(e)}),(function(){throw new Error(O)})).then(j)}function j(){var e=window,t="__fpjs_p_l_b",n=e[t];if(function(e,t){var n,r=null===(n=Object.getOwnPropertyDescriptor)||void 0===n?void 0:n.call(Object,e,t);(null==r?void 0:r.configurable)?delete e[t]:r&&!r.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==n?void 0:n.load))throw new Error(C);return n}var G={load:B,defaultScriptUrlPattern:F,ERROR_SCRIPT_LOAD_FAIL:U,ERROR_API_KEY_EXPIRED:h,ERROR_API_KEY_INVALID:v,ERROR_API_KEY_MISSING:T,ERROR_BAD_REQUEST_FORMAT:A,ERROR_BAD_RESPONSE_FORMAT:c,ERROR_CLIENT_TIMEOUT:a,ERROR_CSP_BLOCK:O,ERROR_FORBIDDEN_ENDPOINT:I,ERROR_FORBIDDEN_HEADER:m,ERROR_FORBIDDEN_ORIGIN:S,ERROR_GENERAL_SERVER_FAILURE:y,ERROR_INSTALLATION_METHOD_RESTRICTED:p,ERROR_INTEGRATION_FAILURE:N,ERROR_INVALID_ENDPOINT:_,ERROR_NETWORK_ABORT:u,ERROR_NETWORK_CONNECTION:E,ERROR_RATE_LIMIT:D,ERROR_SERVER_TIMEOUT:P,ERROR_SUBSCRIPTION_NOT_ACTIVE:s,ERROR_TOKEN_EXPIRED:g,ERROR_TOKEN_INVALID:L,ERROR_TOKEN_MISSING:w,ERROR_UNSUPPORTED_VERSION:d,ERROR_WRONG_REGION:f,defaultEndpoint:R,defaultTlsEndpoint:i};e.ERROR_API_KEY_EXPIRED=h,e.ERROR_API_KEY_INVALID=v,e.ERROR_API_KEY_MISSING=T,e.ERROR_BAD_REQUEST_FORMAT=A,e.ERROR_BAD_RESPONSE_FORMAT=c,e.ERROR_CLIENT_TIMEOUT=a,e.ERROR_CSP_BLOCK=O,e.ERROR_FORBIDDEN_ENDPOINT=I,e.ERROR_FORBIDDEN_HEADER=m,e.ERROR_FORBIDDEN_ORIGIN=S,e.ERROR_GENERAL_SERVER_FAILURE=y,e.ERROR_INSTALLATION_METHOD_RESTRICTED=p,e.ERROR_INTEGRATION_FAILURE=N,e.ERROR_INVALID_ENDPOINT=_,e.ERROR_NETWORK_ABORT=u,e.ERROR_NETWORK_CONNECTION=E,e.ERROR_RATE_LIMIT=D,e.ERROR_SCRIPT_LOAD_FAIL=U,e.ERROR_SERVER_TIMEOUT=P,e.ERROR_SUBSCRIPTION_NOT_ACTIVE=s,e.ERROR_TOKEN_EXPIRED=g,e.ERROR_TOKEN_INVALID=L,e.ERROR_TOKEN_MISSING=w,e.ERROR_UNSUPPORTED_VERSION=d,e.ERROR_WRONG_REGION=f,e.default=G,e.defaultEndpoint=R,e.defaultScriptUrlPattern=F,e.defaultTlsEndpoint=i,e.load=B,Object.defineProperty(e,"__esModule",{value:!0})})); |
{ | ||
"name": "@fingerprintjs/fingerprintjs-pro", | ||
"description": "FingerprintJS Pro client agent", | ||
"version": "3.11.0", | ||
"description": "Fingerprint Pro JavaScript agent", | ||
"version": "3.11.1", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "browser", |
@@ -79,8 +79,8 @@ <p align="center"> | ||
⏱ [How to upgrade from Open Source to Pro in 30 seconds](https://dev.fingerprint.com/v3/docs/migrating-from-open-source-v3) | ||
⏱ [How to upgrade from Open Source to Pro in 30 seconds](https://dev.fingerprint.com/v3/docs/migrating-from-fingerprintjs-to-fingerprint-pro#migrating-from-fingerprintjs-v3-open-source-to-pro) | ||
⬆️ [How to migrate from FingerprintJS Pro version 2](https://dev.fingerprint.com/v3/docs/migrating-from-pro-v2) | ||
⬆️ [How to migrate from Fingerprint Pro version 2](https://dev.fingerprint.com/v3/docs/migrating-from-pro-v2) | ||
📕 [FingerprintJS Pro documentation](https://dev.fingerprint.com) | ||
📕 [Fingerprint Pro documentation](https://dev.fingerprint.com) | ||
▶️ [Video: use FingerprintJS Pro to prevent multiple signups](https://www.youtube.com/watch?v=jWX9P5_jZn8) | ||
▶️ [Video: use Fingerprint Pro to prevent multiple signups](https://www.youtube.com/watch?v=jWX9P5_jZn8) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50064