You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
33 KiB

4 years ago
(function(e,r,t){"use strict";if(typeof window!=="undefined"&&typeof define==="function"&&define.amd){define(t)}else if(typeof module!=="undefined"&&module.exports){module.exports=t()}else if(r.exports){r.exports=t()}else{r[e]=t()}})("Fingerprint2",this,function(){"use strict";if(typeof Array.isArray==="undefined"){Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"}}var d=function(e,r){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535];r=[r[0]>>>16,r[0]&65535,r[1]>>>16,r[1]&65535];var t=[0,0,0,0];t[3]+=e[3]+r[3];t[2]+=t[3]>>>16;t[3]&=65535;t[2]+=e[2]+r[2];t[1]+=t[2]>>>16;t[2]&=65535;t[1]+=e[1]+r[1];t[0]+=t[1]>>>16;t[1]&=65535;t[0]+=e[0]+r[0];t[0]&=65535;return[t[0]<<16|t[1],t[2]<<16|t[3]]};var f=function(e,r){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535];r=[r[0]>>>16,r[0]&65535,r[1]>>>16,r[1]&65535];var t=[0,0,0,0];t[3]+=e[3]*r[3];t[2]+=t[3]>>>16;t[3]&=65535;t[2]+=e[2]*r[3];t[1]+=t[2]>>>16;t[2]&=65535;t[2]+=e[3]*r[2];t[1]+=t[2]>>>16;t[2]&=65535;t[1]+=e[1]*r[3];t[0]+=t[1]>>>16;t[1]&=65535;t[1]+=e[2]*r[2];t[0]+=t[1]>>>16;t[1]&=65535;t[1]+=e[3]*r[1];t[0]+=t[1]>>>16;t[1]&=65535;t[0]+=e[0]*r[3]+e[1]*r[2]+e[2]*r[1]+e[3]*r[0];t[0]&=65535;return[t[0]<<16|t[1],t[2]<<16|t[3]]};var g=function(e,r){r%=64;if(r===32){return[e[1],e[0]]}else if(r<32){return[e[0]<<r|e[1]>>>32-r,e[1]<<r|e[0]>>>32-r]}else{r-=32;return[e[1]<<r|e[0]>>>32-r,e[0]<<r|e[1]>>>32-r]}};var v=function(e,r){r%=64;if(r===0){return e}else if(r<32){return[e[0]<<r|e[1]>>>32-r,e[1]<<r]}else{return[e[1]<<r-32,0]}};var h=function(e,r){return[e[0]^r[0],e[1]^r[1]]};var m=function(e){e=h(e,[0,e[0]>>>1]);e=f(e,[4283543511,3981806797]);e=h(e,[0,e[0]>>>1]);e=f(e,[3301882366,444984403]);e=h(e,[0,e[0]>>>1]);return e};var u=function(e,r){e=e||"";r=r||0;var t=e.length%16;var a=e.length-t;var n=[0,r];var i=[0,r];var o=[0,0];var u=[0,0];var l=[2277735313,289559509];var s=[1291169091,658871167];for(var c=0;c<a;c=c+16){o=[e.charCodeAt(c+4)&255|(e.charCodeAt(c+5)&255)<<8|(e.charCodeAt(c+6)&255)<<16|(e.charCodeAt(c+7)&255)<<24,e.charCodeAt(c)&255|(e.charCodeAt(c+1)&255)<<8|(e.charCodeAt(c+2)&255)<<16|(e.charCodeAt(c+3)&255)<<24];u=[e.charCodeAt(c+12)&255|(e.charCodeAt(c+13)&255)<<8|(e.charCodeAt(c+14)&255)<<16|(e.charCodeAt(c+15)&255)<<24,e.charCodeAt(c+8)&255|(e.charCodeAt(c+9)&255)<<8|(e.charCodeAt(c+10)&255)<<16|(e.charCodeAt(c+11)&255)<<24];o=f(o,l);o=g(o,31);o=f(o,s);n=h(n,o);n=g(n,27);n=d(n,i);n=d(f(n,[0,5]),[0,1390208809]);u=f(u,s);u=g(u,33);u=f(u,l);i=h(i,u);i=g(i,31);i=d(i,n);i=d(f(i,[0,5]),[0,944331445])}o=[0,0];u=[0,0];switch(t){case 15:u=h(u,v([0,e.charCodeAt(c+14)],48));case 14:u=h(u,v([0,e.charCodeAt(c+13)],40));case 13:u=h(u,v([0,e.charCodeAt(c+12)],32));case 12:u=h(u,v([0,e.charCodeAt(c+11)],24));case 11:u=h(u,v([0,e.charCodeAt(c+10)],16));case 10:u=h(u,v([0,e.charCodeAt(c+9)],8));case 9:u=h(u,[0,e.charCodeAt(c+8)]);u=f(u,s);u=g(u,33);u=f(u,l);i=h(i,u);case 8:o=h(o,v([0,e.charCodeAt(c+7)],56));case 7:o=h(o,v([0,e.charCodeAt(c+6)],48));case 6:o=h(o,v([0,e.charCodeAt(c+5)],40));case 5:o=h(o,v([0,e.charCodeAt(c+4)],32));case 4:o=h(o,v([0,e.charCodeAt(c+3)],24));case 3:o=h(o,v([0,e.charCodeAt(c+2)],16));case 2:o=h(o,v([0,e.charCodeAt(c+1)],8));case 1:o=h(o,[0,e.charCodeAt(c)]);o=f(o,l);o=g(o,31);o=f(o,s);n=h(n,o)}n=h(n,[0,e.length]);i=h(i,[0,e.length]);n=d(n,i);i=d(i,n);n=m(n);i=m(i);n=d(n,i);i=d(i,n);return("00000000"+(n[0]>>>0).toString(16)).slice(-8)+("00000000"+(n[1]>>>0).toString(16)).slice(-8)+("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)};var e={preprocessor:null,audio:{timeout:1e3,excludeIOS11:true},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:false},screen:{detectScreenOrientation:true},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:false},extraComponents:[],excludes:{enumerateDevices:true,pixelRatio:true,doNotTrack:true,fontsFlash:true},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"};var p=function(e,r){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach){e.forEach(r)}else if(e.length===+e.leng
//# sourceMappingURL=dist/fp.min.js.map