mirror of
https://github.com/jiawanlong/Cesium-Examples.git
synced 2025-07-05 07:37:31 +00:00
13 lines
38 KiB
JavaScript
13 lines
38 KiB
JavaScript
![]() |
/**
|
||
|
* FingerprintJS v4.6.1 - Copyright (c) FingerprintJS, Inc, 2025 (https://fingerprint.com)
|
||
|
*
|
||
|
* Licensed under Business Source License 1.1 https://mariadb.com/bsl11/
|
||
|
* Licensor: FingerprintJS, Inc.
|
||
|
* Licensed Work: FingerprintJS browser fingerprinting library
|
||
|
* Additional Use Grant: None
|
||
|
* Change Date: Four years from first release for the specific version.
|
||
|
* Change License: MIT, text at https://opensource.org/license/mit/ with the following copyright notice:
|
||
|
* Copyright 2015-present FingerprintJS, Inc.
|
||
|
*/
|
||
|
var n=function(){return n=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},n.apply(this,arguments)};function e(n,e,t,r){return new(t||(t=Promise))((function(o,i){function a(n){try{u(r.next(n))}catch(e){i(e)}}function c(n){try{u(r.throw(n))}catch(e){i(e)}}function u(n){var e;n.done?o(n.value):(e=n.value,e instanceof t?e:new t((function(n){n(e)}))).then(a,c)}u((r=r.apply(n,e||[])).next())}))}function t(n,e){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(u){return function(c){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(t=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(n,a)}catch(u){c=[6,u],r=0}finally{t=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,u])}}}function r(n,e,t){if(t||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return n.concat(r||Array.prototype.slice.call(e))}function o(n,e){return new Promise((function(t){return setTimeout(t,n,e)}))}function i(n){return!!n&&"function"==typeof n.then}function a(n,e){try{var t=n();i(t)?t.then((function(n){return e(!0,n)}),(function(n){return e(!1,n)})):e(!0,t)}catch(r){e(!1,r)}}function c(n,r,o){return void 0===o&&(o=16),e(this,void 0,void 0,(function(){var e,i,a,c;return t(this,(function(t){switch(t.label){case 0:e=Array(n.length),i=Date.now(),a=0,t.label=1;case 1:return a<n.length?(e[a]=r(n[a],a),(c=Date.now())>=i+o?(i=c,[4,new Promise((function(n){var e=new MessageChannel;e.port1.onmessage=function(){return n()},e.port2.postMessage(null)}))]):[3,3]):[3,4];case 2:t.sent(),t.label=3;case 3:return++a,[3,1];case 4:return[2,e]}}))}))}function u(n){return n.then(void 0,(function(){})),n}function l(n){return parseInt(n)}function s(n){return parseFloat(n)}function d(n,e){return"number"==typeof n&&isNaN(n)?e:n}function f(n){return n.reduce((function(n,e){return n+(e?1:0)}),0)}function m(n,e){if(void 0===e&&(e=1),Math.abs(e)>=1)return Math.round(n/e)*e;var t=1/e;return Math.round(n*t)/t}function v(n,e){var t=n[0]>>>16,r=65535&n[0],o=n[1]>>>16,i=65535&n[1],a=e[0]>>>16,c=65535&e[0],u=e[1]>>>16,l=0,s=0,d=0,f=0;d+=(f+=i+(65535&e[1]))>>>16,f&=65535,s+=(d+=o+u)>>>16,d&=65535,l+=(s+=r+c)>>>16,s&=65535,l+=t+a,l&=65535,n[0]=l<<16|s,n[1]=d<<16|f}function h(n,e){var t=n[0]>>>16,r=65535&n[0],o=n[1]>>>16,i=65535&n[1],a=e[0]>>>16,c=65535&e[0],u=e[1]>>>16,l=65535&e[1],s=0,d=0,f=0,m=0;f+=(m+=i*l)>>>16,m&=65535,d+=(f+=o*l)>>>16,f&=65535,d+=(f+=i*u)>>>16,f&=65535,s+=(d+=r*l)>>>16,d&=65535,s+=(d+=o*u)>>>16,d&=65535,s+=(d+=i*c)>>>16,d&=65535,s+=t*l+r*u+o*c+i*a,s&=65535,n[0]=s<<16|d,n[1]=f<<16|m}function p(n,e){var t=n[0];32===(e%=64)?(n[0]=n[1],n[1]=t):e<32?(n[0]=t<<e|n[1]>>>32-e,n[1]=n[1]<<e|t>>>32-e):(e-=32,n[0]=n[1]<<e|t>>>32-e,n[1]=t<<e|n[1]>>>32-e)}function b(n,e){0!==(e%=64)&&(e<32?(n[0]=n[1]>>>32-e,n[1]=n[1]<<e):(n[0]=n[1]<<e-32,n[1]=0))}function y(n,e){n[0]^=e[0],n[1]^=e[1]}var g=[4283543511,3981806797],w=[3301882366,444984403];function L(n){var e=[0,n[0]>>>1];y(n,e),h(n,g),e[1]=n[0]>>>1,y(n,e),h(n,w),e[1]=n[0]>>>1,y(n,e)}var k=[2277735313,289559509],V=[1291169091,658871167],S=[0,5],W=[0,1390208809],x=[0,944331445];function Z(n,e){var t=function(n){for(var e=new Uint8Array(n.length),t=0;t<n.length;t++){var r=n.char
|