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.

1 line
35 KiB

5 years ago
(function(e,t,a){"use strict";if(typeof window!=="undefined"&&typeof define==="function"&&define.amd){define(a)}else if(typeof module!=="undefined"&&module.exports){module.exports=a()}else if(t.exports){t.exports=a()}else{t[e]=a()}})("fp",this,function(){"use strict";var s=.8;var d=function(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535];t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var a=[0,0,0,0];a[3]+=e[3]+t[3];a[2]+=a[3]>>>16;a[3]&=65535;a[2]+=e[2]+t[2];a[1]+=a[2]>>>16;a[2]&=65535;a[1]+=e[1]+t[1];a[0]+=a[1]>>>16;a[1]&=65535;a[0]+=e[0]+t[0];a[0]&=65535;return[a[0]<<16|a[1],a[2]<<16|a[3]]};var f=function(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535];t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var a=[0,0,0,0];a[3]+=e[3]*t[3];a[2]+=a[3]>>>16;a[3]&=65535;a[2]+=e[2]*t[3];a[1]+=a[2]>>>16;a[2]&=65535;a[2]+=e[3]*t[2];a[1]+=a[2]>>>16;a[2]&=65535;a[1]+=e[1]*t[3];a[0]+=a[1]>>>16;a[1]&=65535;a[1]+=e[2]*t[2];a[0]+=a[1]>>>16;a[1]&=65535;a[1]+=e[3]*t[1];a[0]+=a[1]>>>16;a[1]&=65535;a[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0];a[0]&=65535;return[a[0]<<16|a[1],a[2]<<16|a[3]]};var g=function(e,t){t%=64;if(t===32){return[e[1],e[0]]}else if(t<32){return[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]}else{t-=32;return[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t]}};var v=function(e,t){t%=64;if(t===0){return e}else if(t<32){return[e[0]<<t|e[1]>>>32-t,e[1]<<t]}else{return[e[1]<<t-32,0]}};var p=function(e,t){return[e[0]^t[0],e[1]^t[1]]};var h=function(e){e=p(e,[0,e[0]>>>1]);e=f(e,[4283543511,3981806797]);e=p(e,[0,e[0]>>>1]);e=f(e,[3301882366,444984403]);e=p(e,[0,e[0]>>>1]);return e};var u=function(e,t){e=e||"";t=t||0;var a=e.length%16;var r=e.length-a;var n=[0,t];var i=[0,t];var o=[0,0];var l=[0,0];var s=[2277735313,289559509];var u=[1291169091,658871167];for(var c=0;c<r;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];l=[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,s);o=g(o,31);o=f(o,u);n=p(n,o);n=g(n,27);n=d(n,i);n=d(f(n,[0,5]),[0,1390208809]);l=f(l,u);l=g(l,33);l=f(l,s);i=p(i,l);i=g(i,31);i=d(i,n);i=d(f(i,[0,5]),[0,944331445])}o=[0,0];l=[0,0];switch(a){case 15:l=p(l,v([0,e.charCodeAt(c+14)],48));case 14:l=p(l,v([0,e.charCodeAt(c+13)],40));case 13:l=p(l,v([0,e.charCodeAt(c+12)],32));case 12:l=p(l,v([0,e.charCodeAt(c+11)],24));case 11:l=p(l,v([0,e.charCodeAt(c+10)],16));case 10:l=p(l,v([0,e.charCodeAt(c+9)],8));case 9:l=p(l,[0,e.charCodeAt(c+8)]);l=f(l,u);l=g(l,33);l=f(l,s);i=p(i,l);case 8:o=p(o,v([0,e.charCodeAt(c+7)],56));case 7:o=p(o,v([0,e.charCodeAt(c+6)],48));case 6:o=p(o,v([0,e.charCodeAt(c+5)],40));case 5:o=p(o,v([0,e.charCodeAt(c+4)],32));case 4:o=p(o,v([0,e.charCodeAt(c+3)],24));case 3:o=p(o,v([0,e.charCodeAt(c+2)],16));case 2:o=p(o,v([0,e.charCodeAt(c+1)],8));case 1:o=p(o,[0,e.charCodeAt(c)]);o=f(o,s);o=g(o,31);o=f(o,u);n=p(n,o)}n=p(n,[0,e.length]);i=p(i,[0,e.length]);n=d(n,i);i=d(i,n);n=h(n);i=h(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 m=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach){e.forEach(t)}else if(e.length===+e.length){for(var a=0,r=e.length;a<r;a++){t(e[a],a,e)}}else{for(var n in e){if(e.hasOwnProperty(n)){t(e[n],n,e)}}}};var l=function(e,