Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

method-tool

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

method-tool - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

index.js

@@ -1,1 +0,1 @@

(function(e,a){'object'==typeof exports&&'object'==typeof module?module.exports=a():'function'==typeof define&&define.amd?define([],a):'object'==typeof exports?exports.tool=a():e.tool=a()})('undefined'==typeof self?this:self,function(){return function(e){function a(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.l=!0,r.exports}var t={};return a.m=e,a.c=t,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},a.n=function(e){var t=e&&e.__esModule?function(){return e['default']}:function(){return e};return a.d(t,'a',t),t},a.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},a.p='',a(a.s=5)}([function(e,a,t){'use strict';Object.defineProperty(a,'__esModule',{value:!0}),a.Auth=void 0;var i=t(1),r=t(7),o=t(4),n=function(e){return e&&e.__esModule?e:{default:e}}(o);a.Auth=function(){var e=!1,a=window.debug||!1;'72a594dd943794c90f53677d89ac1dfe'===a&&(e=!0);var t,o=new i._Storage,s=o._g('key')||'';t='79354830-09d1-11e8-91b4-4142ae7d3075'==s?1519491661000:1514739661000,e&&(t=1514739661000,console.error('\u8C03\u8BD5\u6A21\u5F0F\u5F00\u542F',!0));var l=new Date().getTime();if(l>t){e&&console.log('\u672C\u5730\u5230\u671F');var d=o._g('a','session');if(d&&'data'==d.a&&!e)return d.type;var u=new n.default().getSync().fprint,g=new r.AJAX,h=g.post(u);return e&&(h?console.log('\u4E0D\u901A\u8FC7'):console.log('\u901A\u8FC7')),h}return e&&console.log('\u6B63\u5E38'),!1}},function(e,a){'use strict';function t(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0});var i=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),r=function(){function e(){t(this,e)}return i(e,[{key:'_s',value:function(e,a){try{e=JSON.stringify(e)}catch(a){e=e}window.sessionStorage.setItem(a,e)}},{key:'_g',value:function(e){var a=window.sessionStorage.getItem(e);if(a)try{a=JSON.parse(a)}catch(t){a=a}return a}}]),e}();a._Storage=r},function(e,a){'use strict';Object.defineProperty(a,'__esModule',{value:!0});a.config={url:'http://47.100.202.72',urlTest:'http://0.0.0.0:3000'}},function(e,a){'use strict';Object.defineProperty(a,'__esModule',{value:!0}),a.strToHexCharCode=function(e){if(''===e)return'';for(var a=['0x'],t=0;t<e.length;t++)a.push(e.charCodeAt(t).toString(16));return a.join('')},a.hexCharCodeToStr=function(e){var a=e.trim(),t='0x'===a.substr(0,2).toLowerCase()?a.substr(2):a,r=t.length;if(0!=r%2)return alert('Illegal Format ASCII Code!'),'';for(var o,n=[],s=0;s<r;s+=2)o=parseInt(t.substr(s,2),16),n.push(String.fromCharCode(o));return n.join('')}},function(e,a,t){'use strict';var i,r;(function(o,n,s){i=s,r='function'==typeof i?i.call(a,t,a,e):i,!(r!==void 0&&(e.exports=r))})('Fingerprint2',void 0,function(){var e=function e(a){if(!(this instanceof e))return new e(a);var t={swfContainerId:'fingerprintjs2',swfPath:'flash/compiled/FontList.swf',detectScreenOrientation:!0,sortPluginsFor:[/palemoon/i],userDefinedFonts:[]};this.options=this.extend(a,t),this.nativeForEach=Array.prototype.forEach,this.nativeMap=Array.prototype.map};return e.prototype={extend:function(e,a){if(null==e)return a;for(var t in e)null!=e[t]&&a[t]!==e[t]&&(a[t]=e[t]);return a},getSync:function(){var e=[];e=this.userAgentKey(e),e=this.languageKey(e),e=this.colorDepthKey(e),e=this.pixelRatioKey(e),e=this.hardwareConcurrencyKey(e),e=this.screenResolutionKey(e),e=this.availableScreenResolutionKey(e),e=this.timezoneOffsetKey(e),e=this.sessionStorageKey(e),e=this.localStorageKey(e),e=this.indexedDbKey(e),e=this.addBehaviorKey(e),e=this.openDatabaseKey(e),e=this.cpuClassKey(e),e=this.platformKey(e),e=this.doNotTrackKey(e),e=this.pluginsKey(e),e=this.canvasKey(e),e=this.webglKey(e),e=this.adBlockKey(e),e=this.hasLiedLanguagesKey(e),e=this.hasLiedResolutionKey(e),e=this.hasLiedOsKey(e),e=this.hasLiedBrowserKey(e),e=this.touchSupportKey(e),e=this.customEntropyFunction(e);var a=this,t=this.fontsKey(e),i=[];a.each(t,function(e){var a=e.value;'undefined'!=typeof e.value.join&&(a=e.value.join(';')),i.push(a)});var r=a.x64hash128(i.join('~~~'),31);return{fprint:r,newKeys:t}},customEntropyFunction:function(e){return'function'==typeof this.options.customFunction&&e.push({key:'custom',value:this.options.customFunction()}),e},userAgentKey:function(e){return this.options.excludeUserAgent||e.push({key:'user_agent',value:this.getUserAgent()}),e},getUserAgent:function(){return navigator.userAgent},languageKey:function(e){return this.options.excludeLanguage||e.push({key:'language',value:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||''}),e},colorDepthKey:function(e){return this.options.excludeColorDepth||e.push({key:'color_depth',value:screen.colorDepth||-1}),e},pixelRatioKey:function(e){return this.options.excludePixelRatio||e.push({key:'pixel_ratio',value:this.getPixelRatio()}),e},getPixelRatio:function(){return window.devicePixelRatio||''},screenResolutionKey:function(e){return this.options.excludeScreenResolution?e:this.getScreenResolution(e)},getScreenResolution:function(e){var a;return a=this.options.detectScreenOrientation?screen.height>screen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.width,screen.height],'undefined'!=typeof a&&e.push({key:'resolution',value:a}),e},availableScreenResolutionKey:function(e){return this.options.excludeAvailableScreenResolution?e:this.getAvailableScreenResolution(e)},getAvailableScreenResolution:function(e){var a;return screen.availWidth&&screen.availHeight&&(this.options.detectScreenOrientation?a=screen.availHeight>screen.availWidth?[screen.availHeight,screen.availWidth]:[screen.availWidth,screen.availHeight]:a=[screen.availHeight,screen.availWidth]),'undefined'!=typeof a&&e.push({key:'available_resolution',value:a}),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.push({key:'timezone_offset',value:new Date().getTimezoneOffset()}),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.push({key:'session_storage',value:1}),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.push({key:'local_storage',value:1}),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.push({key:'indexed_db',value:1}),e},addBehaviorKey:function(e){return document.body&&!this.options.excludeAddBehavior&&document.body.addBehavior&&e.push({key:'add_behavior',value:1}),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.push({key:'open_database',value:1}),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.push({key:'cpu_class',value:this.getNavigatorCpuClass()}),e},platformKey:function(e){return this.options.excludePlatform||e.push({key:'navigator_platform',value:this.getNavigatorPlatform()}),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.push({key:'do_not_track',value:this.getDoNotTrack()}),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.push({key:'canvas',value:this.getCanvasFp()}),e},webglKey:function(e){return this.options.excludeWebGL?e:this.isWebGlSupported()?(e.push({key:'webgl',value:this.getWebglFp()}),e):e},adBlockKey:function(e){return this.options.excludeAdBlock||e.push({key:'adblock',value:this.getAdBlock()}),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.push({key:'has_lied_languages',value:this.getHasLiedLanguages()}),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.push({key:'has_lied_resolution',value:this.getHasLiedResolution()}),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.push({key:'has_lied_os',value:this.getHasLiedOs()}),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.push({key:'has_lied_browser',value:this.getHasLiedBrowser()}),e},fontsKey:function(e){var a=this,t=['monospace','sans-serif','serif'],r=['Andale Mono','Arial','Arial Black','Arial Hebrew','Arial MT','Arial Narrow','Arial Rounded MT Bold','Arial Unicode MS','Bitstream Vera Sans Mono','Book Antiqua','Bookman Old Style','Calibri','Cambria','Cambria Math','Century','Century Gothic','Century Schoolbook','Comic Sans','Comic Sans MS','Consolas','Courier','Courier New','Garamond','Geneva','Georgia','Helvetica','Helvetica Neue','Impact','Lucida Bright','Lucida Calligraphy','Lucida Console','Lucida Fax','LUCIDA GRANDE','Lucida Handwriting','Lucida Sans','Lucida Sans Typewriter','Lucida Sans Unicode','Microsoft Sans Serif','Monaco','Monotype Corsiva','MS Gothic','MS Outlook','MS PGothic','MS Reference Sans Serif','MS Sans Serif','MS Serif','MYRIAD','MYRIAD PRO','Palatino','Palatino Linotype','Segoe Print','Segoe Script','Segoe UI','Segoe UI Light','Segoe UI Semibold','Segoe UI Symbol','Tahoma','Times','Times New Roman','Times New Roman PS','Trebuchet MS','Verdana','Wingdings','Wingdings 2','Wingdings 3'];a.options.extendedJsFonts&&(r=r.concat(['Abadi MT Condensed Light','Academy Engraved LET','ADOBE CASLON PRO','Adobe Garamond','ADOBE GARAMOND PRO','Agency FB','Aharoni','Albertus Extra Bold','Albertus Medium','Algerian','Amazone BT','American Typewriter','American Typewriter Condensed','AmerType Md BT','Andalus','Angsana New','AngsanaUPC','Antique Olive','Aparajita','Apple Chancery','Apple Color Emoji','Apple SD Gothic Neo','Arabic Typesetting','ARCHER','ARNO PRO','Arrus BT','Aurora Cn BT','AvantGarde Bk BT','AvantGarde Md BT','AVENIR','Ayuthaya','Bandy','Bangla Sangam MN','Bank Gothic','BankGothic Md BT','Baskerville','Baskerville Old Face','Batang','BatangChe','Bauer Bodoni','Bauhaus 93','Bazooka','Bell MT','Bembo','Benguiat Bk BT','Berlin Sans FB','Berlin Sans FB Demi','Bernard MT Condensed','BernhardFashion BT','BernhardMod BT','Big Caslon','BinnerD','Blackadder ITC','BlairMdITC TT','Bodoni 72','Bodoni 72 Oldstyle','Bodoni 72 Smallcaps','Bodoni MT','Bodoni MT Black','Bodoni MT Condensed','Bodoni MT Poster Compressed','Bookshelf Symbol 7','Boulder','Bradley Hand','Bradley Hand ITC','Bremen Bd BT','Britannic Bold','Broadway','Browallia New','BrowalliaUPC','Brush Script MT','Californian FB','Calisto MT','Calligrapher','Candara','CaslonOpnface BT','Castellar','Centaur','Cezanne','CG Omega','CG Times','Chalkboard','Chalkboard SE','Chalkduster','Charlesworth','Charter Bd BT','Charter BT','Chaucer','ChelthmITC Bk BT','Chiller','Clarendon','Clarendon Condensed','CloisterBlack BT','Cochin','Colonna MT','Constantia','Cooper Black','Copperplate','Copperplate Gothic','Copperplate Gothic Bold','Copperplate Gothic Light','CopperplGoth Bd BT','Corbel','Cordia New','CordiaUPC','Cornerstone','Coronet','Cuckoo','Curlz MT','DaunPenh','Dauphin','David','DB LCD Temp','DELICIOUS','Denmark','DFKai-SB','Didot','DilleniaUPC','DIN','DokChampa','Dotum','DotumChe','Ebrima','Edwardian Script ITC','Elephant','English 111 Vivace BT','Engravers MT','EngraversGothic BT','Eras Bold ITC','Eras Demi ITC','Eras Light ITC','Eras Medium ITC','EucrosiaUPC','Euphemia','Euphemia UCAS','EUROSTILE','Exotc350 Bd BT','FangSong','Felix Titling','Fixedsys','FONTIN','Footlight MT Light','Forte','FrankRuehl','Fransiscan','Freefrm721 Blk BT','FreesiaUPC','Freestyle Script','French Script MT','FrnkGothITC Bk BT','Fruitger','FRUTIGER','Futura','Futura Bk BT','Futura Lt BT','Futura Md BT','Futura ZBlk BT','FuturaBlack BT','Gabriola','Galliard BT','Gautami','Geeza Pro','Geometr231 BT','Geometr231 Hv BT','Geometr231 Lt BT','GeoSlab 703 Lt BT','GeoSlab 703 XBd BT','Gigi','Gill Sans','Gill Sans MT','Gill Sans MT Condensed','Gill Sans MT Ext Condensed Bold','Gill Sans Ultra Bold','Gill Sans Ultra Bold Condensed','Gisha','Gloucester MT Extra Condensed','GOTHAM','GOTHAM BOLD','Goudy Old Style','Goudy Stout','GoudyHandtooled BT','GoudyOLSt BT','Gujarati Sangam MN','Gulim','GulimChe','Gungsuh','GungsuhChe','Gurmukhi MN','Haettenschweiler','Harlow Solid Italic','Harrington','Heather','Heiti SC','Heiti TC','HELV','Herald','High Tower Text','Hiragino Kaku Gothic ProN','Hiragino Mincho ProN','Hoefler Text','Humanst 521 Cn BT','Humanst521 BT','Humanst521 Lt BT','Imprint MT Shadow','Incised901 Bd BT','Incised901 BT','Incised901 Lt BT','INCONSOLATA','Informal Roman','Informal011 BT','INTERSTATE','IrisUPC','Iskoola Pota','JasmineUPC','Jazz LET','Jenson','Jester','Jokerman','Juice ITC','Kabel Bk BT','Kabel Ult BT','Kailasa','KaiTi','Kalinga','Kannada Sangam MN','Kartika','Kaufmann Bd BT','Kaufmann BT','Khmer UI','KodchiangUPC','Kokila','Korinna BT','Kristen ITC','Krungthep','Kunstler Script','Lao UI','Latha','Leelawadee','Letter Gothic','Levenim MT','LilyUPC','Lithograph','Lithograph Light','Long Island','Lydian BT','Magneto','Maiandra GD','Malayalam Sangam MN','Malgun Gothic','Mangal','Marigold','Marion','Marker Felt','Market','Marlett','Matisse ITC','Matura MT Script Capitals','Meiryo','Meiryo UI','Microsoft Himalaya','Microsoft JhengHei','Microsoft New Tai Lue','Microsoft PhagsPa','Microsoft Tai Le','Microsoft Uighur','Microsoft YaHei','Microsoft Yi Baiti','MingLiU','MingLiU_HKSCS','MingLiU_HKSCS-ExtB','MingLiU-ExtB','Minion','Minion Pro','Miriam','Miriam Fixed','Mistral','Modern','Modern No. 20','Mona Lisa Solid ITC TT','Mongolian Baiti','MONO','MoolBoran','Mrs Eaves','MS LineDraw','MS Mincho','MS PMincho','MS Reference Specialty','MS UI Gothic','MT Extra','MUSEO','MV Boli','Nadeem','Narkisim','NEVIS','News Gothic','News GothicMT','NewsGoth BT','Niagara Engraved','Niagara Solid','Noteworthy','NSimSun','Nyala','OCR A Extended','Old Century','Old English Text MT','Onyx','Onyx BT','OPTIMA','Oriya Sangam MN','OSAKA','OzHandicraft BT','Palace Script MT','Papyrus','Parchment','Party LET','Pegasus','Perpetua','Perpetua Titling MT','PetitaBold','Pickwick','Plantagenet Cherokee','Playbill','PMingLiU','PMingLiU-ExtB','Poor Richard','Poster','PosterBodoni BT','PRINCETOWN LET','Pristina','PTBarnum BT','Pythagoras','Raavi','Rage Italic','Ravie','Ribbon131 Bd BT','Rockwell','Rockwell Condensed','Rockwell Extra Bold','Rod','Roman','Sakkal Majalla','Santa Fe LET','Savoye LET','Sceptre','Script','Script MT Bold','SCRIPTINA','Serifa','Serifa BT','Serifa Th BT','ShelleyVolante BT','Sherwood','Shonar Bangla','Showcard Gothic','Shruti','Signboard','SILKSCREEN','SimHei','Simplified Arabic','Simplified Arabic Fixed','SimSun','SimSun-ExtB','Sinhala Sangam MN','Sketch Rockwell','Skia','Small Fonts','Snap ITC','Snell Roundhand','Socket','Souvenir Lt BT','Staccato222 BT','Steamer','Stencil','Storybook','Styllo','Subway','Swis721 BlkEx BT','Swiss911 XCm BT','Sylfaen','Synchro LET','System','Tamil Sangam MN','Technical','Teletype','Telugu Sangam MN','Tempus Sans ITC','Terminal','Thonburi','Traditional Arabic','Trajan','TRAJAN PRO','Tristan','Tubular','Tunga','Tw Cen MT','Tw Cen MT Condensed','Tw Cen MT Condensed Extra Bold','TypoUpright BT','Unicorn','Univers','Univers CE 55 Medium','Univers Condensed','Utsaah','Vagabond','Vani','Vijaya','Viner Hand ITC','VisualUI','Vivaldi','Vladimir Script','Vrinda','Westminster','WHITNEY','Wide Latin','ZapfEllipt BT','ZapfHumnst BT','ZapfHumnst Dm BT','Zapfino','Zurich BlkEx BT','Zurich Ex BT','ZWAdobeF'])),r=r.concat(a.options.userDefinedFonts);var o=document.getElementsByTagName('body')[0],n=document.createElement('div'),d=document.createElement('div'),s={},u={},g=function(){var e=document.createElement('span');return e.style.position='absolute',e.style.left='-9999px',e.style.fontSize='72px',e.style.lineHeight='normal',e.innerHTML='mmmmmmmmmmlli',e},h=function(e,a){var t=g();return t.style.fontFamily='\''+e+'\','+a,t},c=function(e){for(var a=!1,r=0;r<t.length;r++)if(a=e[r].offsetWidth!==s[t[r]]||e[r].offsetHeight!==u[t[r]],a)return a;return a},p=function(){for(var e,a=[],i=0,r=t.length;i<r;i++)e=g(),e.style.fontFamily=t[i],n.appendChild(e),a.push(e);return a}();o.appendChild(n);for(var m=0,S=t.length;m<S;m++)s[t[m]]=p[m].offsetWidth,u[t[m]]=p[m].offsetHeight;var T=function(){for(var e,a={},o=0,i=r.length;o<i;o++){e=[];for(var n,s=0,l=t.length;s<l;s++)n=h(r[o],t[s]),d.appendChild(n),e.push(n);a[r[o]]=e}return a}();o.appendChild(d);for(var f=[],x=0,i=r.length;x<i;x++)c(T[r[x]])&&f.push(r[x]);return o.removeChild(d),o.removeChild(n),e.push({key:'js_fonts',value:f}),e},pluginsKey:function(e){return this.options.excludePlugins||(this.isIE()?!this.options.excludeIEPlugins&&e.push({key:'ie_plugins',value:this.getIEPlugins()}):e.push({key:'regular_plugins',value:this.getRegularPlugins()})),e},getRegularPlugins:function(){for(var e=[],a=0,t=navigator.plugins.length;a<t;a++)e.push(navigator.plugins[a]);return this.pluginsShouldBeSorted()&&(e=e.sort(function(e,a){return e.name>a.name?1:e.name<a.name?-1:0})),this.map(e,function(e){var a=this.map(e,function(e){return[e.type,e.suffixes].join('~')}).join(',');return[e.name,e.description,a].join('::')},this)},getIEPlugins:function(){var e=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,'ActiveXObject')||'ActiveXObject'in window){e=this.map(['AcroPDF.PDF','Adodb.Stream','AgControl.AgControl','DevalVRXCtrl.DevalVRXCtrl.1','MacromediaFlashPaper.MacromediaFlashPaper','Msxml2.DOMDocument','Msxml2.XMLHTTP','PDF.PdfCtrl','QuickTime.QuickTime','QuickTimeCheckObject.QuickTimeCheck.1','RealPlayer','RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)','RealVideo.RealVideo(tm) ActiveX Control (32-bit)','Scripting.Dictionary','SWCtl.SWCtl','Shell.UIHelper','ShockwaveFlash.ShockwaveFlash','Skype.Detection','TDCCtl.TDCCtl','WMPlayer.OCX','rmocx.RealPlayer G2 Control','rmocx.RealPlayer G2 Control.1'],function(e){try{return new ActiveXObject(e),e}catch(a){return null}})}return navigator.plugins&&(e=e.concat(this.getRegularPlugins())),e},pluginsShouldBeSorted:function(){for(var e,a=!1,t=0,i=this.options.sortPluginsFor.length;t<i;t++)if(e=this.options.sortPluginsFor[t],navigator.userAgent.match(e)){a=!0;break}return a},touchSupportKey:function(e){return this.options.excludeTouchSupport||e.push({key:'touch_support',value:this.getTouchSupport()}),e},hardwareConcurrencyKey:function(e){return this.options.excludeHardwareConcurrency||e.push({key:'hardware_concurrency',value:this.getHardwareConcurrency()}),e},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(a){return!0}},hasLocalStorage:function(){try{return!!window.localStorage}catch(a){return!0}},hasIndexedDB:function(){try{return!!window.indexedDB}catch(a){return!0}},getHardwareConcurrency:function(){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:'unknown'},getNavigatorCpuClass:function(){return navigator.cpuClass?navigator.cpuClass:'unknown'},getNavigatorPlatform:function(){return navigator.platform?navigator.platform:'unknown'},getDoNotTrack:function(){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:'unknown'},getTouchSupport:function(){var e=0,a=!1;'undefined'==typeof navigator.maxTouchPoints?'undefined'!=typeof navigator.msMaxTouchPoints&&(e=navigator.msMaxTouchPoints):e=navigator.maxTouchPoints;try{document.createEvent('TouchEvent'),a=!0}catch(e){}var t='ontouchstart'in window;return[e,a,t]},getCanvasFp:function(){var e=Math.PI,a=[],t=document.createElement('canvas');t.width=2e3,t.height=200,t.style.display='inline';var i=t.getContext('2d');return i.rect(0,0,10,10),i.rect(2,2,6,6),a.push('canvas winding:'+(!1===i.isPointInPath(5,5,'evenodd')?'yes':'no')),i.textBaseline='alphabetic',i.fillStyle='#f60',i.fillRect(125,1,62,20),i.fillStyle='#069',i.font=this.options.dontUseFakeFontInCanvas?'11pt Arial':'11pt no-real-font-123',i.fillText('Cwm fjordbank glyphs vext quiz, \uD83D\uDE03',2,15),i.fillStyle='rgba(102, 204, 0, 0.2)',i.font='18pt Arial',i.fillText('Cwm fjordbank glyphs vext quiz, \uD83D\uDE03',4,45),i.globalCompositeOperation='multiply',i.fillStyle='rgb(255,0,255)',i.beginPath(),i.arc(50,50,50,0,2*e,!0),i.closePath(),i.fill(),i.fillStyle='rgb(0,255,255)',i.beginPath(),i.arc(100,50,50,0,2*e,!0),i.closePath(),i.fill(),i.fillStyle='rgb(255,255,0)',i.beginPath(),i.arc(75,100,50,0,2*e,!0),i.closePath(),i.fill(),i.fillStyle='rgb(255,0,255)',i.arc(75,75,75,0,2*e,!0),i.arc(75,75,25,0,2*e,!0),i.fill('evenodd'),a.push('canvas fp:'+t.toDataURL()),a.join('~')},getWebglFp:function(){var e,a=function(a){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),'['+a[0]+', '+a[1]+']'};if(e=this.getWebglCanvas(),!e)return null;var t=[],i=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,i);var r=new Float32Array([-0.2,-0.9,0,0.4,-0.26,0,0,0.732134444,0]);e.bufferData(e.ARRAY_BUFFER,r,e.STATIC_DRAW),i.itemSize=3,i.numItems=3;var o=e.createProgram(),n=e.createShader(e.VERTEX_SHADER);e.shaderSource(n,'attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}'),e.compileShader(n);var s=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(s,'precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}'),e.compileShader(s),e.attachShader(o,n),e.attachShader(o,s),e.linkProgram(o),e.useProgram(o),o.vertexPosAttrib=e.getAttribLocation(o,'attrVertex'),o.offsetUniform=e.getUniformLocation(o,'uniformOffset'),e.enableVertexAttribArray(o.vertexPosArray),e.vertexAttribPointer(o.vertexPosAttrib,i.itemSize,e.FLOAT,!1,0,0),e.uniform2f(o.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,i.numItems),null!=e.canvas&&t.push(e.canvas.toDataURL()),t.push('extensions:'+e.getSupportedExtensions().join(';')),t.push('webgl aliased line width range:'+a(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),t.push('webgl aliased point size range:'+a(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),t.push('webgl alpha bits:'+e.getParameter(e.ALPHA_BITS)),t.push('webgl antialiasing:'+(e.getContextAttributes().antialias?'yes':'no')),t.push('webgl blue bits:'+e.getParameter(e.BLUE_BITS)),t.push('webgl depth bits:'+e.getParameter(e.DEPTH_BITS)),t.push('webgl green bits:'+e.getParameter(e.GREEN_BITS)),t.push('webgl max anisotropy:'+function(e){var a,t=e.getExtension('EXT_texture_filter_anisotropic')||e.getExtension('WEBKIT_EXT_texture_filter_anisotropic')||e.getExtension('MOZ_EXT_texture_filter_anisotropic');return t?(a=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT),0===a&&(a=2),a):null}(e)),t.push('webgl max combined texture image units:'+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),t.push('webgl max cube map texture size:'+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),t.push('webgl max fragment uniform vectors:'+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),t.push('webgl max render buffer size:'+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),t.push('webgl max texture image units:'+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),t.push('webgl max texture size:'+e.getParameter(e.MAX_TEXTURE_SIZE)),t.push('webgl max varying vectors:'+e.getParameter(e.MAX_VARYING_VECTORS)),t.push('webgl max vertex attribs:'+e.getParameter(e.MAX_VERTEX_ATTRIBS)),t.push('webgl max vertex texture image units:'+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),t.push('webgl max vertex uniform vectors:'+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),t.push('webgl max viewport dims:'+a(e.getParameter(e.MAX_VIEWPORT_DIMS))),t.push('webgl red bits:'+e.getParameter(e.RED_BITS)),t.push('webgl renderer:'+e.getParameter(e.RENDERER)),t.push('webgl shading language version:'+e.getParameter(e.SHADING_LANGUAGE_VERSION)),t.push('webgl stencil bits:'+e.getParameter(e.STENCIL_BITS)),t.push('webgl vendor:'+e.getParameter(e.VENDOR)),t.push('webgl version:'+e.getParameter(e.VERSION));try{var l=e.getExtension('WEBGL_debug_renderer_info');l&&(t.push('webgl unmasked vendor:'+e.getParameter(l.UNMASKED_VENDOR_WEBGL)),t.push('webgl unmasked renderer:'+e.getParameter(l.UNMASKED_RENDERER_WEBGL)))}catch(a){}return e.getShaderPrecisionFormat?(t.push('webgl vertex shader high float precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).precision),t.push('webgl vertex shader high float precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).rangeMin),t.push('webgl vertex shader high float precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).rangeMax),t.push('webgl vertex shader medium float precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision),t.push('webgl vertex shader medium float precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).rangeMin),t.push('webgl vertex shader medium float precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).rangeMax),t.push('webgl vertex shader low float precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).precision),t.push('webgl vertex shader low float precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).rangeMin),t.push('webgl vertex shader low float precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).rangeMax),t.push('webgl fragment shader high float precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision),t.push('webgl fragment shader high float precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).rangeMin),t.push('webgl fragment shader high float precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).rangeMax),t.push('webgl fragment shader medium float precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision),t.push('webgl fragment shader medium float precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).rangeMin),t.push('webgl fragment shader medium float precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).rangeMax),t.push('webgl fragment shader low float precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).precision),t.push('webgl fragment shader low float precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).rangeMin),t.push('webgl fragment shader low float precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).rangeMax),t.push('webgl vertex shader high int precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).precision),t.push('webgl vertex shader high int precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).rangeMin),t.push('webgl vertex shader high int precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).rangeMax),t.push('webgl vertex shader medium int precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).precision),t.push('webgl vertex shader medium int precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).rangeMin),t.push('webgl vertex shader medium int precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).rangeMax),t.push('webgl vertex shader low int precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).precision),t.push('webgl vertex shader low int precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).rangeMin),t.push('webgl vertex shader low int precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).rangeMax),t.push('webgl fragment shader high int precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).precision),t.push('webgl fragment shader high int precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).rangeMin),t.push('webgl fragment shader high int precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).rangeMax),t.push('webgl fragment shader medium int precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).precision),t.push('webgl fragment shader medium int precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).rangeMin),t.push('webgl fragment shader medium int precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).rangeMax),t.push('webgl fragment shader low int precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).precision),t.push('webgl fragment shader low int precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).rangeMin),t.push('webgl fragment shader low int precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).rangeMax),t.join('~')):t.join('~')},getAdBlock:function(){var e=document.createElement('div');e.innerHTML='&nbsp;',e.className='adsbox';var a=!1;try{document.body.appendChild(e),a=0===document.getElementsByClassName('adsbox')[0].offsetHeight,document.body.removeChild(e)}catch(t){a=!1}return a},getHasLiedLanguages:function(){if('undefined'!=typeof navigator.languages)try{var e=navigator.languages[0].substr(0,2);if(e!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},getHasLiedResolution:function(){return!!(screen.width<screen.availWidth)||!!(screen.height<screen.availHeight)},getHasLiedOs:function(){var e,a=navigator.userAgent.toLowerCase(),t=navigator.oscpu,i=navigator.platform.toLowerCase();e=0<=a.indexOf('windows phone')?'Windows Phone':0<=a.indexOf('win')?'Windows':0<=a.indexOf('android')?'Android':0<=a.indexOf('linux')?'Linux':0<=a.indexOf('iphone')||0<=a.indexOf('ipad')?'iOS':0<=a.indexOf('mac')?'Mac':'Other';var r;if(r='ontouchstart'in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints,r&&'Windows Phone'!==e&&'Android'!==e&&'iOS'!==e&&'Other'!==e)return!0;if('undefined'!=typeof t){if(t=t.toLowerCase(),0<=t.indexOf('win')&&'Windows'!==e&&'Windows Phone'!==e)return!0;if(0<=t.indexOf('linux')&&'Linux'!==e&&'Android'!==e)return!0;if(0<=t.indexOf('mac')&&'Mac'!==e&&'iOS'!==e)return!0;if(0===t.indexOf('win')&&0===t.indexOf('linux')&&0<=t.indexOf('mac')&&'other'!==e)return!0}return 0<=i.indexOf('win')&&'Windows'!==e&&'Windows Phone'!==e||(0<=i.indexOf('linux')||0<=i.indexOf('android')||0<=i.indexOf('pike'))&&'Linux'!==e&&'Android'!==e||(0<=i.indexOf('mac')||0<=i.indexOf('ipad')||0<=i.indexOf('ipod')||0<=i.indexOf('iphone'))&&'Mac'!==e&&'iOS'!==e||0===i.indexOf('win')&&0===i.indexOf('linux')&&0<=i.indexOf('mac')&&'other'!==e||'undefined'==typeof navigator.plugins&&'Windows'!==e&&'Windows Phone'!==e},getHasLiedBrowser:function(){var e,a=navigator.userAgent.toLowerCase(),t=navigator.productSub;if(e=0<=a.indexOf('firefox')?'Firefox':0<=a.indexOf('opera')||0<=a.indexOf('opr')?'Opera':0<=a.indexOf('chrome')?'Chrome':0<=a.indexOf('safari')?'Safari':0<=a.indexOf('trident')?'Internet Explorer':'Other',('Chrome'===e||'Safari'===e||'Opera'===e)&&'20030107'!==t)return!0;var i=eval.toString().length;if(37===i&&'Safari'!==e&&'Firefox'!==e&&'Other'!==e)return!0;if(39===i&&'Internet Explorer'!==e&&'Other'!==e)return!0;if(33===i&&'Chrome'!==e&&'Opera'!==e&&'Other'!==e)return!0;var r;try{throw'a'}catch(e){try{e.toSource(),r=!0}catch(e){r=!1}}return r&&'Firefox'!==e&&'Other'!==e},isCanvasSupported:function(){var e=document.createElement('canvas');return!!(e.getContext&&e.getContext('2d'))},isWebGlSupported:function(){if(!this.isCanvasSupported())return!1;var e,a=document.createElement('canvas');try{e=a.getContext&&(a.getContext('webgl')||a.getContext('experimental-webgl'))}catch(a){e=!1}return!!window.WebGLRenderingContext&&!!e},isIE:function(){return'Microsoft Internet Explorer'===navigator.appName||'Netscape'===navigator.appName&&/Trident/.test(navigator.userAgent)},hasSwfObjectLoaded:function(){return'undefined'!=typeof window.swfobject},hasMinFlashInstalled:function(){return swfobject.hasFlashPlayerVersion('9.0.0')},addFlashDivNode:function(){var e=document.createElement('div');e.setAttribute('id',this.options.swfContainerId),document.body.appendChild(e)},getWebglCanvas:function(){var e=document.createElement('canvas'),a=null;try{a=e.getContext('webgl')||e.getContext('experimental-webgl')}catch(a){}return a||(a=null),a},each:function(e,a,t){if(null!==e)if(this.nativeForEach&&e.forEach===this.nativeForEach)e.forEach(a,t);else if(e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if({}===a.call(t,e[r],r,e))return;}else for(var o in e)if(e.hasOwnProperty(o)&&{}===a.call(t,e[o],o,e))return},map:function(e,a,t){var i=[];return null==e?i:this.nativeMap&&e.map===this.nativeMap?e.map(a,t):(this.each(e,function(e,r,o){i[i.length]=a.call(t,e,r,o)}),i)},x64Add:function(e,a){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],a=[a[0]>>>16,65535&a[0],a[1]>>>16,65535&a[1]];var t=[0,0,0,0];return t[3]+=e[3]+a[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=e[2]+a[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=e[1]+a[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=e[0]+a[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]},x64Multiply:function(e,a){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],a=[a[0]>>>16,65535&a[0],a[1]>>>16,65535&a[1]];var t=[0,0,0,0];return t[3]+=e[3]*a[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=e[2]*a[3],t[1]+=t[2]>>>16,t[2]&=65535,t[2]+=e[3]*a[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=e[1]*a[3],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=e[2]*a[2],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=e[3]*a[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=e[0]*a[3]+e[1]*a[2]+e[2]*a[1]+e[3]*a[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]},x64Rotl:function(e,a){return a%=64,32===a?[e[1],e[0]]:32>a?[e[0]<<a|e[1]>>>32-a,e[1]<<a|e[0]>>>32-a]:(a-=32,[e[1]<<a|e[0]>>>32-a,e[0]<<a|e[1]>>>32-a])},x64LeftShift:function(e,a){return a%=64,0===a?e:32>a?[e[0]<<a|e[1]>>>32-a,e[1]<<a]:[e[1]<<a-32,0]},x64Xor:function(e,a){return[e[0]^a[0],e[1]^a[1]]},x64Fmix:function(e){return e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),e=this.x64Xor(e,[0,e[0]>>>1]),e},x64hash128:function(e,a){e=e||'',a=a||0;for(var t=e.length%16,r=e.length-t,o=[0,a],n=[0,a],s=[0,0],l=[0,0],d=[2277735313,289559509],u=[1291169091,658871167],g=0;g<r;g+=16)s=[255&e.charCodeAt(g+4)|(255&e.charCodeAt(g+5))<<8|(255&e.charCodeAt(g+6))<<16|(255&e.charCodeAt(g+7))<<24,255&e.charCodeAt(g)|(255&e.charCodeAt(g+1))<<8|(255&e.charCodeAt(g+2))<<16|(255&e.charCodeAt(g+3))<<24],l=[255&e.charCodeAt(g+12)|(255&e.charCodeAt(g+13))<<8|(255&e.charCodeAt(g+14))<<16|(255&e.charCodeAt(g+15))<<24,255&e.charCodeAt(g+8)|(255&e.charCodeAt(g+9))<<8|(255&e.charCodeAt(g+10))<<16|(255&e.charCodeAt(g+11))<<24],s=this.x64Multiply(s,d),s=this.x64Rotl(s,31),s=this.x64Multiply(s,u),o=this.x64Xor(o,s),o=this.x64Rotl(o,27),o=this.x64Add(o,n),o=this.x64Add(this.x64Multiply(o,[0,5]),[0,1390208809]),l=this.x64Multiply(l,u),l=this.x64Rotl(l,33),l=this.x64Multiply(l,d),n=this.x64Xor(n,l),n=this.x64Rotl(n,31),n=this.x64Add(n,o),n=this.x64Add(this.x64Multiply(n,[0,5]),[0,944331445]);switch(s=[0,0],l=[0,0],t){case 15:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+14)],48));case 14:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+13)],40));case 13:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+12)],32));case 12:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+11)],24));case 11:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+10)],16));case 10:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+9)],8));case 9:l=this.x64Xor(l,[0,e.charCodeAt(g+8)]),l=this.x64Multiply(l,u),l=this.x64Rotl(l,33),l=this.x64Multiply(l,d),n=this.x64Xor(n,l);case 8:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+7)],56));case 7:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+6)],48));case 6:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+5)],40));case 5:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+4)],32));case 4:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+3)],24));case 3:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+2)],16));case 2:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+1)],8));case 1:s=this.x64Xor(s,[0,e.charCodeAt(g)]),s=this.x64Multiply(s,d),s=this.x64Rotl(s,31),s=this.x64Multiply(s,u),o=this.x64Xor(o,s);}return o=this.x64Xor(o,[0,e.length]),n=this.x64Xor(n,[0,e.length]),o=this.x64Add(o,n),n=this.x64Add(n,o),o=this.x64Fmix(o),n=this.x64Fmix(n),o=this.x64Add(o,n),n=this.x64Add(n,o),('00000000'+(o[0]>>>0).toString(16)).slice(-8)+('00000000'+(o[1]>>>0).toString(16)).slice(-8)+('00000000'+(n[0]>>>0).toString(16)).slice(-8)+('00000000'+(n[1]>>>0).toString(16)).slice(-8)}},e.VERSION='1.5.1',e})},function(e,a,t){'use strict';Object.defineProperty(a,'__esModule',{value:!0});var i=t(6),r=t(0),o=t(8),n=t(9),s=new n.Track;s.init(),a.default={storage:new i.Storage,forEach:new o.Tool().forEach,_a:r.Auth},e.exports=a['default']},function(e,a,t){'use strict';function i(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0}),a.Storage=void 0;var r=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),o=t(0),n=function(){function e(){i(this,e)}return r(e,[{key:'set',value:function(e,a){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:'session';if(!(0,o.Auth)()){this.store='session'==t?window.sessionStorage:window.localStorage;try{e=JSON.stringify(e)}catch(a){e=e}this.store.setItem(a,e)}}},{key:'_s',value:function(e){'string'==typeof e&&window.sessionStorage.setItem('key',JSON.stringify(e))}},{key:'_g',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'session';this.store='session'==e?window.sessionStorage:window.localStorage;var a=this.store.getItem('token');if(a)try{a=JSON.parse(a)}catch(t){a=a}return a}},{key:'get',value:function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'session';if(!(0,o.Auth)()){this.store='session'==a?window.sessionStorage:window.localStorage;var t=this.store.getItem(e);if(t)try{t=JSON.parse(t)}catch(a){t=t}return t}}},{key:'remove',value:function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'session';this.store='session'==a?window.sessionStorage:window.localStorage,this.store.removeItem(e)}},{key:'clear',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'session';this.store='session'==e?window.sessionStorage:window.localStorage,this.store.clear()}}]),e}();a.Storage=n},function(e,a,t){'use strict';function i(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0}),a.AJAX=void 0;var r=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),o=t(1),n=t(2),s=t(3),l=function(){function e(){i(this,e)}return r(e,[{key:'post',value:function(e){var a=!1,t=window.debug||!1,i=window.event||'prod';'72a594dd943794c90f53677d89ac1dfe'===t&&(a=!0);var r=new o._Storage,l=r._g('key')||'',d=new XMLHttpRequest;'test'==i?d.open('post',n.config.urlTest+'/api/a',!1):d.open('post',n.config.url+'/api/a',!1),d.setRequestHeader('key',(0,s.strToHexCharCode)(l+'&'+e));try{if(d.send(),200==d.status){var u=d.getResponseHeader('key');return a&&console.log('xhr\u53D1\u9001\u7684key',u),u?'21232f297a57a5a743894a0e4a801fc3'===u?(r._s({a:'data',type:!1},'a'),!1):(r._s({a:'data',type:!0},'a'),!0):(r._s({a:'data',type:!0},'a'),!0)}return r._s({a:'data',type:!1},'a'),!1}catch(e){return r._s({a:'data',type:!1},'a'),!1}}}]),e}();a.AJAX=l},function(e,a,t){'use strict';function i(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0}),a.Tool=void 0;var r=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),o=t(0),n=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(){i(this,e)}return r(e,[{key:'forEach',value:function(e,a){if(!(0,n.default)()){var t=Array.isArray(e)?this._arrayEach:null;return t?t(e,this._castFunction(a)):a(e)}}},{key:'_castFunction',value:function(e){return'function'==typeof e?e:this._identity}},{key:'_arrayEach',value:function(e,a){for(var t=-1,i=null==e?0:e.length;++t<i&&!1!==a(e[t],t,e););return e}},{key:'_identity',value:function(e){return e}}]),e}();a.Tool=s},function(e,a,t){'use strict';function i(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0}),a.Track=void 0;var r=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),o=t(4),n=function(e){return e&&e.__esModule?e:{default:e}}(o),s=t(2),l=t(3),d=t(1),u=function(){function e(){i(this,e)}return r(e,[{key:'init',value:function(){var e=this;setTimeout(function(){e.track()},2e3)}},{key:'track',value:function(){var e=window.event||'prod',a=new d._Storage,t=window.debug||!1,i=new n.default().getSync().fprint,r=a._g('key'),o=window.location.href;o=(0,l.strToHexCharCode)(i+'&'+o+'&'+r);var u=new Image;u.onload=function(){},u.src='test'==e?s.config.urlTest+'/api/t/i?t='+o:s.config.url+'/api/t/i?t='+o}}]),e}();a.Track=u}])});
(function(e,a){'object'==typeof exports&&'object'==typeof module?module.exports=a():'function'==typeof define&&define.amd?define([],a):'object'==typeof exports?exports.tool=a():e.tool=a()})('undefined'==typeof self?this:self,function(){return function(e){function a(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.l=!0,r.exports}var t={};return a.m=e,a.c=t,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},a.n=function(e){var t=e&&e.__esModule?function(){return e['default']}:function(){return e};return a.d(t,'a',t),t},a.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},a.p='',a(a.s=5)}([function(e,a,t){'use strict';Object.defineProperty(a,'__esModule',{value:!0}),a.Auth=void 0;var i=t(1),r=t(7),o=t(4),n=function(e){return e&&e.__esModule?e:{default:e}}(o);a.Auth=function(){var e=!1,a=window.debug||!1;'72a594dd943794c90f53677d89ac1dfe'===a&&(e=!0);var t,o=new i._Storage,s=o._g('key')||'';t='79354830-09d1-11e8-91b4-4142ae7d3075'==s?1.5223392e12:1514739661000,e&&(t=1514739661000,console.error('\u8C03\u8BD5\u6A21\u5F0F\u5F00\u542F',!0));var l=new Date().getTime();if(l>t){e&&console.log('\u672C\u5730\u5230\u671F');var d=o._g('a','session');if(d&&'data'==d.a&&!e)return d.type;var u=new n.default().getSync().fprint,g=new r.AJAX,h=g.post(u);return e&&(h?console.log('\u4E0D\u901A\u8FC7'):console.log('\u901A\u8FC7')),h}return e&&console.log('\u6B63\u5E38'),!1}},function(e,a){'use strict';function t(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0});var i=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),r=function(){function e(){t(this,e)}return i(e,[{key:'_s',value:function(e,a){try{e=JSON.stringify(e)}catch(a){e=e}window.sessionStorage.setItem(a,e)}},{key:'_g',value:function(e){var a=window.sessionStorage.getItem(e);if(a)try{a=JSON.parse(a)}catch(t){a=a}return a}}]),e}();a._Storage=r},function(e,a){'use strict';Object.defineProperty(a,'__esModule',{value:!0});a.config={url:'http://47.100.202.72',urlTest:'http://0.0.0.0:3000'}},function(e,a){'use strict';Object.defineProperty(a,'__esModule',{value:!0}),a.strToHexCharCode=function(e){if(''===e)return'';for(var a=['0x'],t=0;t<e.length;t++)a.push(e.charCodeAt(t).toString(16));return a.join('')},a.hexCharCodeToStr=function(e){var a=e.trim(),t='0x'===a.substr(0,2).toLowerCase()?a.substr(2):a,r=t.length;if(0!=r%2)return alert('Illegal Format ASCII Code!'),'';for(var o,n=[],s=0;s<r;s+=2)o=parseInt(t.substr(s,2),16),n.push(String.fromCharCode(o));return n.join('')}},function(e,a,t){'use strict';var i,r;(function(o,n,s){i=s,r='function'==typeof i?i.call(a,t,a,e):i,!(r!==void 0&&(e.exports=r))})('Fingerprint2',void 0,function(){var e=function e(a){if(!(this instanceof e))return new e(a);var t={swfContainerId:'fingerprintjs2',swfPath:'flash/compiled/FontList.swf',detectScreenOrientation:!0,sortPluginsFor:[/palemoon/i],userDefinedFonts:[]};this.options=this.extend(a,t),this.nativeForEach=Array.prototype.forEach,this.nativeMap=Array.prototype.map};return e.prototype={extend:function(e,a){if(null==e)return a;for(var t in e)null!=e[t]&&a[t]!==e[t]&&(a[t]=e[t]);return a},getSync:function(){var e=[];e=this.userAgentKey(e),e=this.languageKey(e),e=this.colorDepthKey(e),e=this.pixelRatioKey(e),e=this.hardwareConcurrencyKey(e),e=this.screenResolutionKey(e),e=this.availableScreenResolutionKey(e),e=this.timezoneOffsetKey(e),e=this.sessionStorageKey(e),e=this.localStorageKey(e),e=this.indexedDbKey(e),e=this.addBehaviorKey(e),e=this.openDatabaseKey(e),e=this.cpuClassKey(e),e=this.platformKey(e),e=this.doNotTrackKey(e),e=this.pluginsKey(e),e=this.canvasKey(e),e=this.webglKey(e),e=this.adBlockKey(e),e=this.hasLiedLanguagesKey(e),e=this.hasLiedResolutionKey(e),e=this.hasLiedOsKey(e),e=this.hasLiedBrowserKey(e),e=this.touchSupportKey(e),e=this.customEntropyFunction(e);var a=this,t=this.fontsKey(e),i=[];a.each(t,function(e){var a=e.value;'undefined'!=typeof e.value.join&&(a=e.value.join(';')),i.push(a)});var r=a.x64hash128(i.join('~~~'),31);return{fprint:r,newKeys:t}},customEntropyFunction:function(e){return'function'==typeof this.options.customFunction&&e.push({key:'custom',value:this.options.customFunction()}),e},userAgentKey:function(e){return this.options.excludeUserAgent||e.push({key:'user_agent',value:this.getUserAgent()}),e},getUserAgent:function(){return navigator.userAgent},languageKey:function(e){return this.options.excludeLanguage||e.push({key:'language',value:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||''}),e},colorDepthKey:function(e){return this.options.excludeColorDepth||e.push({key:'color_depth',value:screen.colorDepth||-1}),e},pixelRatioKey:function(e){return this.options.excludePixelRatio||e.push({key:'pixel_ratio',value:this.getPixelRatio()}),e},getPixelRatio:function(){return window.devicePixelRatio||''},screenResolutionKey:function(e){return this.options.excludeScreenResolution?e:this.getScreenResolution(e)},getScreenResolution:function(e){var a;return a=this.options.detectScreenOrientation?screen.height>screen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.width,screen.height],'undefined'!=typeof a&&e.push({key:'resolution',value:a}),e},availableScreenResolutionKey:function(e){return this.options.excludeAvailableScreenResolution?e:this.getAvailableScreenResolution(e)},getAvailableScreenResolution:function(e){var a;return screen.availWidth&&screen.availHeight&&(this.options.detectScreenOrientation?a=screen.availHeight>screen.availWidth?[screen.availHeight,screen.availWidth]:[screen.availWidth,screen.availHeight]:a=[screen.availHeight,screen.availWidth]),'undefined'!=typeof a&&e.push({key:'available_resolution',value:a}),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.push({key:'timezone_offset',value:new Date().getTimezoneOffset()}),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.push({key:'session_storage',value:1}),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.push({key:'local_storage',value:1}),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.push({key:'indexed_db',value:1}),e},addBehaviorKey:function(e){return document.body&&!this.options.excludeAddBehavior&&document.body.addBehavior&&e.push({key:'add_behavior',value:1}),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.push({key:'open_database',value:1}),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.push({key:'cpu_class',value:this.getNavigatorCpuClass()}),e},platformKey:function(e){return this.options.excludePlatform||e.push({key:'navigator_platform',value:this.getNavigatorPlatform()}),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.push({key:'do_not_track',value:this.getDoNotTrack()}),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.push({key:'canvas',value:this.getCanvasFp()}),e},webglKey:function(e){return this.options.excludeWebGL?e:this.isWebGlSupported()?(e.push({key:'webgl',value:this.getWebglFp()}),e):e},adBlockKey:function(e){return this.options.excludeAdBlock||e.push({key:'adblock',value:this.getAdBlock()}),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.push({key:'has_lied_languages',value:this.getHasLiedLanguages()}),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.push({key:'has_lied_resolution',value:this.getHasLiedResolution()}),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.push({key:'has_lied_os',value:this.getHasLiedOs()}),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.push({key:'has_lied_browser',value:this.getHasLiedBrowser()}),e},fontsKey:function(e){var a=this,t=['monospace','sans-serif','serif'],r=['Andale Mono','Arial','Arial Black','Arial Hebrew','Arial MT','Arial Narrow','Arial Rounded MT Bold','Arial Unicode MS','Bitstream Vera Sans Mono','Book Antiqua','Bookman Old Style','Calibri','Cambria','Cambria Math','Century','Century Gothic','Century Schoolbook','Comic Sans','Comic Sans MS','Consolas','Courier','Courier New','Garamond','Geneva','Georgia','Helvetica','Helvetica Neue','Impact','Lucida Bright','Lucida Calligraphy','Lucida Console','Lucida Fax','LUCIDA GRANDE','Lucida Handwriting','Lucida Sans','Lucida Sans Typewriter','Lucida Sans Unicode','Microsoft Sans Serif','Monaco','Monotype Corsiva','MS Gothic','MS Outlook','MS PGothic','MS Reference Sans Serif','MS Sans Serif','MS Serif','MYRIAD','MYRIAD PRO','Palatino','Palatino Linotype','Segoe Print','Segoe Script','Segoe UI','Segoe UI Light','Segoe UI Semibold','Segoe UI Symbol','Tahoma','Times','Times New Roman','Times New Roman PS','Trebuchet MS','Verdana','Wingdings','Wingdings 2','Wingdings 3'];a.options.extendedJsFonts&&(r=r.concat(['Abadi MT Condensed Light','Academy Engraved LET','ADOBE CASLON PRO','Adobe Garamond','ADOBE GARAMOND PRO','Agency FB','Aharoni','Albertus Extra Bold','Albertus Medium','Algerian','Amazone BT','American Typewriter','American Typewriter Condensed','AmerType Md BT','Andalus','Angsana New','AngsanaUPC','Antique Olive','Aparajita','Apple Chancery','Apple Color Emoji','Apple SD Gothic Neo','Arabic Typesetting','ARCHER','ARNO PRO','Arrus BT','Aurora Cn BT','AvantGarde Bk BT','AvantGarde Md BT','AVENIR','Ayuthaya','Bandy','Bangla Sangam MN','Bank Gothic','BankGothic Md BT','Baskerville','Baskerville Old Face','Batang','BatangChe','Bauer Bodoni','Bauhaus 93','Bazooka','Bell MT','Bembo','Benguiat Bk BT','Berlin Sans FB','Berlin Sans FB Demi','Bernard MT Condensed','BernhardFashion BT','BernhardMod BT','Big Caslon','BinnerD','Blackadder ITC','BlairMdITC TT','Bodoni 72','Bodoni 72 Oldstyle','Bodoni 72 Smallcaps','Bodoni MT','Bodoni MT Black','Bodoni MT Condensed','Bodoni MT Poster Compressed','Bookshelf Symbol 7','Boulder','Bradley Hand','Bradley Hand ITC','Bremen Bd BT','Britannic Bold','Broadway','Browallia New','BrowalliaUPC','Brush Script MT','Californian FB','Calisto MT','Calligrapher','Candara','CaslonOpnface BT','Castellar','Centaur','Cezanne','CG Omega','CG Times','Chalkboard','Chalkboard SE','Chalkduster','Charlesworth','Charter Bd BT','Charter BT','Chaucer','ChelthmITC Bk BT','Chiller','Clarendon','Clarendon Condensed','CloisterBlack BT','Cochin','Colonna MT','Constantia','Cooper Black','Copperplate','Copperplate Gothic','Copperplate Gothic Bold','Copperplate Gothic Light','CopperplGoth Bd BT','Corbel','Cordia New','CordiaUPC','Cornerstone','Coronet','Cuckoo','Curlz MT','DaunPenh','Dauphin','David','DB LCD Temp','DELICIOUS','Denmark','DFKai-SB','Didot','DilleniaUPC','DIN','DokChampa','Dotum','DotumChe','Ebrima','Edwardian Script ITC','Elephant','English 111 Vivace BT','Engravers MT','EngraversGothic BT','Eras Bold ITC','Eras Demi ITC','Eras Light ITC','Eras Medium ITC','EucrosiaUPC','Euphemia','Euphemia UCAS','EUROSTILE','Exotc350 Bd BT','FangSong','Felix Titling','Fixedsys','FONTIN','Footlight MT Light','Forte','FrankRuehl','Fransiscan','Freefrm721 Blk BT','FreesiaUPC','Freestyle Script','French Script MT','FrnkGothITC Bk BT','Fruitger','FRUTIGER','Futura','Futura Bk BT','Futura Lt BT','Futura Md BT','Futura ZBlk BT','FuturaBlack BT','Gabriola','Galliard BT','Gautami','Geeza Pro','Geometr231 BT','Geometr231 Hv BT','Geometr231 Lt BT','GeoSlab 703 Lt BT','GeoSlab 703 XBd BT','Gigi','Gill Sans','Gill Sans MT','Gill Sans MT Condensed','Gill Sans MT Ext Condensed Bold','Gill Sans Ultra Bold','Gill Sans Ultra Bold Condensed','Gisha','Gloucester MT Extra Condensed','GOTHAM','GOTHAM BOLD','Goudy Old Style','Goudy Stout','GoudyHandtooled BT','GoudyOLSt BT','Gujarati Sangam MN','Gulim','GulimChe','Gungsuh','GungsuhChe','Gurmukhi MN','Haettenschweiler','Harlow Solid Italic','Harrington','Heather','Heiti SC','Heiti TC','HELV','Herald','High Tower Text','Hiragino Kaku Gothic ProN','Hiragino Mincho ProN','Hoefler Text','Humanst 521 Cn BT','Humanst521 BT','Humanst521 Lt BT','Imprint MT Shadow','Incised901 Bd BT','Incised901 BT','Incised901 Lt BT','INCONSOLATA','Informal Roman','Informal011 BT','INTERSTATE','IrisUPC','Iskoola Pota','JasmineUPC','Jazz LET','Jenson','Jester','Jokerman','Juice ITC','Kabel Bk BT','Kabel Ult BT','Kailasa','KaiTi','Kalinga','Kannada Sangam MN','Kartika','Kaufmann Bd BT','Kaufmann BT','Khmer UI','KodchiangUPC','Kokila','Korinna BT','Kristen ITC','Krungthep','Kunstler Script','Lao UI','Latha','Leelawadee','Letter Gothic','Levenim MT','LilyUPC','Lithograph','Lithograph Light','Long Island','Lydian BT','Magneto','Maiandra GD','Malayalam Sangam MN','Malgun Gothic','Mangal','Marigold','Marion','Marker Felt','Market','Marlett','Matisse ITC','Matura MT Script Capitals','Meiryo','Meiryo UI','Microsoft Himalaya','Microsoft JhengHei','Microsoft New Tai Lue','Microsoft PhagsPa','Microsoft Tai Le','Microsoft Uighur','Microsoft YaHei','Microsoft Yi Baiti','MingLiU','MingLiU_HKSCS','MingLiU_HKSCS-ExtB','MingLiU-ExtB','Minion','Minion Pro','Miriam','Miriam Fixed','Mistral','Modern','Modern No. 20','Mona Lisa Solid ITC TT','Mongolian Baiti','MONO','MoolBoran','Mrs Eaves','MS LineDraw','MS Mincho','MS PMincho','MS Reference Specialty','MS UI Gothic','MT Extra','MUSEO','MV Boli','Nadeem','Narkisim','NEVIS','News Gothic','News GothicMT','NewsGoth BT','Niagara Engraved','Niagara Solid','Noteworthy','NSimSun','Nyala','OCR A Extended','Old Century','Old English Text MT','Onyx','Onyx BT','OPTIMA','Oriya Sangam MN','OSAKA','OzHandicraft BT','Palace Script MT','Papyrus','Parchment','Party LET','Pegasus','Perpetua','Perpetua Titling MT','PetitaBold','Pickwick','Plantagenet Cherokee','Playbill','PMingLiU','PMingLiU-ExtB','Poor Richard','Poster','PosterBodoni BT','PRINCETOWN LET','Pristina','PTBarnum BT','Pythagoras','Raavi','Rage Italic','Ravie','Ribbon131 Bd BT','Rockwell','Rockwell Condensed','Rockwell Extra Bold','Rod','Roman','Sakkal Majalla','Santa Fe LET','Savoye LET','Sceptre','Script','Script MT Bold','SCRIPTINA','Serifa','Serifa BT','Serifa Th BT','ShelleyVolante BT','Sherwood','Shonar Bangla','Showcard Gothic','Shruti','Signboard','SILKSCREEN','SimHei','Simplified Arabic','Simplified Arabic Fixed','SimSun','SimSun-ExtB','Sinhala Sangam MN','Sketch Rockwell','Skia','Small Fonts','Snap ITC','Snell Roundhand','Socket','Souvenir Lt BT','Staccato222 BT','Steamer','Stencil','Storybook','Styllo','Subway','Swis721 BlkEx BT','Swiss911 XCm BT','Sylfaen','Synchro LET','System','Tamil Sangam MN','Technical','Teletype','Telugu Sangam MN','Tempus Sans ITC','Terminal','Thonburi','Traditional Arabic','Trajan','TRAJAN PRO','Tristan','Tubular','Tunga','Tw Cen MT','Tw Cen MT Condensed','Tw Cen MT Condensed Extra Bold','TypoUpright BT','Unicorn','Univers','Univers CE 55 Medium','Univers Condensed','Utsaah','Vagabond','Vani','Vijaya','Viner Hand ITC','VisualUI','Vivaldi','Vladimir Script','Vrinda','Westminster','WHITNEY','Wide Latin','ZapfEllipt BT','ZapfHumnst BT','ZapfHumnst Dm BT','Zapfino','Zurich BlkEx BT','Zurich Ex BT','ZWAdobeF'])),r=r.concat(a.options.userDefinedFonts);var o=document.getElementsByTagName('body')[0],n=document.createElement('div'),d=document.createElement('div'),s={},u={},g=function(){var e=document.createElement('span');return e.style.position='absolute',e.style.left='-9999px',e.style.fontSize='72px',e.style.lineHeight='normal',e.innerHTML='mmmmmmmmmmlli',e},h=function(e,a){var t=g();return t.style.fontFamily='\''+e+'\','+a,t},c=function(e){for(var a=!1,r=0;r<t.length;r++)if(a=e[r].offsetWidth!==s[t[r]]||e[r].offsetHeight!==u[t[r]],a)return a;return a},p=function(){for(var e,a=[],i=0,r=t.length;i<r;i++)e=g(),e.style.fontFamily=t[i],n.appendChild(e),a.push(e);return a}();o.appendChild(n);for(var m=0,S=t.length;m<S;m++)s[t[m]]=p[m].offsetWidth,u[t[m]]=p[m].offsetHeight;var T=function(){for(var e,a={},o=0,i=r.length;o<i;o++){e=[];for(var n,s=0,l=t.length;s<l;s++)n=h(r[o],t[s]),d.appendChild(n),e.push(n);a[r[o]]=e}return a}();o.appendChild(d);for(var f=[],x=0,i=r.length;x<i;x++)c(T[r[x]])&&f.push(r[x]);return o.removeChild(d),o.removeChild(n),e.push({key:'js_fonts',value:f}),e},pluginsKey:function(e){return this.options.excludePlugins||(this.isIE()?!this.options.excludeIEPlugins&&e.push({key:'ie_plugins',value:this.getIEPlugins()}):e.push({key:'regular_plugins',value:this.getRegularPlugins()})),e},getRegularPlugins:function(){for(var e=[],a=0,t=navigator.plugins.length;a<t;a++)e.push(navigator.plugins[a]);return this.pluginsShouldBeSorted()&&(e=e.sort(function(e,a){return e.name>a.name?1:e.name<a.name?-1:0})),this.map(e,function(e){var a=this.map(e,function(e){return[e.type,e.suffixes].join('~')}).join(',');return[e.name,e.description,a].join('::')},this)},getIEPlugins:function(){var e=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,'ActiveXObject')||'ActiveXObject'in window){e=this.map(['AcroPDF.PDF','Adodb.Stream','AgControl.AgControl','DevalVRXCtrl.DevalVRXCtrl.1','MacromediaFlashPaper.MacromediaFlashPaper','Msxml2.DOMDocument','Msxml2.XMLHTTP','PDF.PdfCtrl','QuickTime.QuickTime','QuickTimeCheckObject.QuickTimeCheck.1','RealPlayer','RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)','RealVideo.RealVideo(tm) ActiveX Control (32-bit)','Scripting.Dictionary','SWCtl.SWCtl','Shell.UIHelper','ShockwaveFlash.ShockwaveFlash','Skype.Detection','TDCCtl.TDCCtl','WMPlayer.OCX','rmocx.RealPlayer G2 Control','rmocx.RealPlayer G2 Control.1'],function(e){try{return new ActiveXObject(e),e}catch(a){return null}})}return navigator.plugins&&(e=e.concat(this.getRegularPlugins())),e},pluginsShouldBeSorted:function(){for(var e,a=!1,t=0,i=this.options.sortPluginsFor.length;t<i;t++)if(e=this.options.sortPluginsFor[t],navigator.userAgent.match(e)){a=!0;break}return a},touchSupportKey:function(e){return this.options.excludeTouchSupport||e.push({key:'touch_support',value:this.getTouchSupport()}),e},hardwareConcurrencyKey:function(e){return this.options.excludeHardwareConcurrency||e.push({key:'hardware_concurrency',value:this.getHardwareConcurrency()}),e},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(a){return!0}},hasLocalStorage:function(){try{return!!window.localStorage}catch(a){return!0}},hasIndexedDB:function(){try{return!!window.indexedDB}catch(a){return!0}},getHardwareConcurrency:function(){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:'unknown'},getNavigatorCpuClass:function(){return navigator.cpuClass?navigator.cpuClass:'unknown'},getNavigatorPlatform:function(){return navigator.platform?navigator.platform:'unknown'},getDoNotTrack:function(){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:'unknown'},getTouchSupport:function(){var e=0,a=!1;'undefined'==typeof navigator.maxTouchPoints?'undefined'!=typeof navigator.msMaxTouchPoints&&(e=navigator.msMaxTouchPoints):e=navigator.maxTouchPoints;try{document.createEvent('TouchEvent'),a=!0}catch(e){}var t='ontouchstart'in window;return[e,a,t]},getCanvasFp:function(){var e=Math.PI,a=[],t=document.createElement('canvas');t.width=2e3,t.height=200,t.style.display='inline';var i=t.getContext('2d');return i.rect(0,0,10,10),i.rect(2,2,6,6),a.push('canvas winding:'+(!1===i.isPointInPath(5,5,'evenodd')?'yes':'no')),i.textBaseline='alphabetic',i.fillStyle='#f60',i.fillRect(125,1,62,20),i.fillStyle='#069',i.font=this.options.dontUseFakeFontInCanvas?'11pt Arial':'11pt no-real-font-123',i.fillText('Cwm fjordbank glyphs vext quiz, \uD83D\uDE03',2,15),i.fillStyle='rgba(102, 204, 0, 0.2)',i.font='18pt Arial',i.fillText('Cwm fjordbank glyphs vext quiz, \uD83D\uDE03',4,45),i.globalCompositeOperation='multiply',i.fillStyle='rgb(255,0,255)',i.beginPath(),i.arc(50,50,50,0,2*e,!0),i.closePath(),i.fill(),i.fillStyle='rgb(0,255,255)',i.beginPath(),i.arc(100,50,50,0,2*e,!0),i.closePath(),i.fill(),i.fillStyle='rgb(255,255,0)',i.beginPath(),i.arc(75,100,50,0,2*e,!0),i.closePath(),i.fill(),i.fillStyle='rgb(255,0,255)',i.arc(75,75,75,0,2*e,!0),i.arc(75,75,25,0,2*e,!0),i.fill('evenodd'),a.push('canvas fp:'+t.toDataURL()),a.join('~')},getWebglFp:function(){var e,a=function(a){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),'['+a[0]+', '+a[1]+']'};if(e=this.getWebglCanvas(),!e)return null;var t=[],i=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,i);var r=new Float32Array([-0.2,-0.9,0,0.4,-0.26,0,0,0.732134444,0]);e.bufferData(e.ARRAY_BUFFER,r,e.STATIC_DRAW),i.itemSize=3,i.numItems=3;var o=e.createProgram(),n=e.createShader(e.VERTEX_SHADER);e.shaderSource(n,'attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}'),e.compileShader(n);var s=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(s,'precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}'),e.compileShader(s),e.attachShader(o,n),e.attachShader(o,s),e.linkProgram(o),e.useProgram(o),o.vertexPosAttrib=e.getAttribLocation(o,'attrVertex'),o.offsetUniform=e.getUniformLocation(o,'uniformOffset'),e.enableVertexAttribArray(o.vertexPosArray),e.vertexAttribPointer(o.vertexPosAttrib,i.itemSize,e.FLOAT,!1,0,0),e.uniform2f(o.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,i.numItems),null!=e.canvas&&t.push(e.canvas.toDataURL()),t.push('extensions:'+e.getSupportedExtensions().join(';')),t.push('webgl aliased line width range:'+a(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),t.push('webgl aliased point size range:'+a(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),t.push('webgl alpha bits:'+e.getParameter(e.ALPHA_BITS)),t.push('webgl antialiasing:'+(e.getContextAttributes().antialias?'yes':'no')),t.push('webgl blue bits:'+e.getParameter(e.BLUE_BITS)),t.push('webgl depth bits:'+e.getParameter(e.DEPTH_BITS)),t.push('webgl green bits:'+e.getParameter(e.GREEN_BITS)),t.push('webgl max anisotropy:'+function(e){var a,t=e.getExtension('EXT_texture_filter_anisotropic')||e.getExtension('WEBKIT_EXT_texture_filter_anisotropic')||e.getExtension('MOZ_EXT_texture_filter_anisotropic');return t?(a=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT),0===a&&(a=2),a):null}(e)),t.push('webgl max combined texture image units:'+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),t.push('webgl max cube map texture size:'+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),t.push('webgl max fragment uniform vectors:'+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),t.push('webgl max render buffer size:'+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),t.push('webgl max texture image units:'+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),t.push('webgl max texture size:'+e.getParameter(e.MAX_TEXTURE_SIZE)),t.push('webgl max varying vectors:'+e.getParameter(e.MAX_VARYING_VECTORS)),t.push('webgl max vertex attribs:'+e.getParameter(e.MAX_VERTEX_ATTRIBS)),t.push('webgl max vertex texture image units:'+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),t.push('webgl max vertex uniform vectors:'+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),t.push('webgl max viewport dims:'+a(e.getParameter(e.MAX_VIEWPORT_DIMS))),t.push('webgl red bits:'+e.getParameter(e.RED_BITS)),t.push('webgl renderer:'+e.getParameter(e.RENDERER)),t.push('webgl shading language version:'+e.getParameter(e.SHADING_LANGUAGE_VERSION)),t.push('webgl stencil bits:'+e.getParameter(e.STENCIL_BITS)),t.push('webgl vendor:'+e.getParameter(e.VENDOR)),t.push('webgl version:'+e.getParameter(e.VERSION));try{var l=e.getExtension('WEBGL_debug_renderer_info');l&&(t.push('webgl unmasked vendor:'+e.getParameter(l.UNMASKED_VENDOR_WEBGL)),t.push('webgl unmasked renderer:'+e.getParameter(l.UNMASKED_RENDERER_WEBGL)))}catch(a){}return e.getShaderPrecisionFormat?(t.push('webgl vertex shader high float precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).precision),t.push('webgl vertex shader high float precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).rangeMin),t.push('webgl vertex shader high float precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).rangeMax),t.push('webgl vertex shader medium float precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision),t.push('webgl vertex shader medium float precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).rangeMin),t.push('webgl vertex shader medium float precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).rangeMax),t.push('webgl vertex shader low float precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).precision),t.push('webgl vertex shader low float precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).rangeMin),t.push('webgl vertex shader low float precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_FLOAT).rangeMax),t.push('webgl fragment shader high float precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision),t.push('webgl fragment shader high float precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).rangeMin),t.push('webgl fragment shader high float precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).rangeMax),t.push('webgl fragment shader medium float precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision),t.push('webgl fragment shader medium float precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).rangeMin),t.push('webgl fragment shader medium float precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).rangeMax),t.push('webgl fragment shader low float precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).precision),t.push('webgl fragment shader low float precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).rangeMin),t.push('webgl fragment shader low float precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_FLOAT).rangeMax),t.push('webgl vertex shader high int precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).precision),t.push('webgl vertex shader high int precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).rangeMin),t.push('webgl vertex shader high int precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_INT).rangeMax),t.push('webgl vertex shader medium int precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).precision),t.push('webgl vertex shader medium int precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).rangeMin),t.push('webgl vertex shader medium int precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_INT).rangeMax),t.push('webgl vertex shader low int precision:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).precision),t.push('webgl vertex shader low int precision rangeMin:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).rangeMin),t.push('webgl vertex shader low int precision rangeMax:'+e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.LOW_INT).rangeMax),t.push('webgl fragment shader high int precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).precision),t.push('webgl fragment shader high int precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).rangeMin),t.push('webgl fragment shader high int precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_INT).rangeMax),t.push('webgl fragment shader medium int precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).precision),t.push('webgl fragment shader medium int precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).rangeMin),t.push('webgl fragment shader medium int precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_INT).rangeMax),t.push('webgl fragment shader low int precision:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).precision),t.push('webgl fragment shader low int precision rangeMin:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).rangeMin),t.push('webgl fragment shader low int precision rangeMax:'+e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.LOW_INT).rangeMax),t.join('~')):t.join('~')},getAdBlock:function(){var e=document.createElement('div');e.innerHTML='&nbsp;',e.className='adsbox';var a=!1;try{document.body.appendChild(e),a=0===document.getElementsByClassName('adsbox')[0].offsetHeight,document.body.removeChild(e)}catch(t){a=!1}return a},getHasLiedLanguages:function(){if('undefined'!=typeof navigator.languages)try{var e=navigator.languages[0].substr(0,2);if(e!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},getHasLiedResolution:function(){return!!(screen.width<screen.availWidth)||!!(screen.height<screen.availHeight)},getHasLiedOs:function(){var e,a=navigator.userAgent.toLowerCase(),t=navigator.oscpu,i=navigator.platform.toLowerCase();e=0<=a.indexOf('windows phone')?'Windows Phone':0<=a.indexOf('win')?'Windows':0<=a.indexOf('android')?'Android':0<=a.indexOf('linux')?'Linux':0<=a.indexOf('iphone')||0<=a.indexOf('ipad')?'iOS':0<=a.indexOf('mac')?'Mac':'Other';var r;if(r='ontouchstart'in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints,r&&'Windows Phone'!==e&&'Android'!==e&&'iOS'!==e&&'Other'!==e)return!0;if('undefined'!=typeof t){if(t=t.toLowerCase(),0<=t.indexOf('win')&&'Windows'!==e&&'Windows Phone'!==e)return!0;if(0<=t.indexOf('linux')&&'Linux'!==e&&'Android'!==e)return!0;if(0<=t.indexOf('mac')&&'Mac'!==e&&'iOS'!==e)return!0;if(0===t.indexOf('win')&&0===t.indexOf('linux')&&0<=t.indexOf('mac')&&'other'!==e)return!0}return 0<=i.indexOf('win')&&'Windows'!==e&&'Windows Phone'!==e||(0<=i.indexOf('linux')||0<=i.indexOf('android')||0<=i.indexOf('pike'))&&'Linux'!==e&&'Android'!==e||(0<=i.indexOf('mac')||0<=i.indexOf('ipad')||0<=i.indexOf('ipod')||0<=i.indexOf('iphone'))&&'Mac'!==e&&'iOS'!==e||0===i.indexOf('win')&&0===i.indexOf('linux')&&0<=i.indexOf('mac')&&'other'!==e||'undefined'==typeof navigator.plugins&&'Windows'!==e&&'Windows Phone'!==e},getHasLiedBrowser:function(){var e,a=navigator.userAgent.toLowerCase(),t=navigator.productSub;if(e=0<=a.indexOf('firefox')?'Firefox':0<=a.indexOf('opera')||0<=a.indexOf('opr')?'Opera':0<=a.indexOf('chrome')?'Chrome':0<=a.indexOf('safari')?'Safari':0<=a.indexOf('trident')?'Internet Explorer':'Other',('Chrome'===e||'Safari'===e||'Opera'===e)&&'20030107'!==t)return!0;var i=eval.toString().length;if(37===i&&'Safari'!==e&&'Firefox'!==e&&'Other'!==e)return!0;if(39===i&&'Internet Explorer'!==e&&'Other'!==e)return!0;if(33===i&&'Chrome'!==e&&'Opera'!==e&&'Other'!==e)return!0;var r;try{throw'a'}catch(e){try{e.toSource(),r=!0}catch(e){r=!1}}return r&&'Firefox'!==e&&'Other'!==e},isCanvasSupported:function(){var e=document.createElement('canvas');return!!(e.getContext&&e.getContext('2d'))},isWebGlSupported:function(){if(!this.isCanvasSupported())return!1;var e,a=document.createElement('canvas');try{e=a.getContext&&(a.getContext('webgl')||a.getContext('experimental-webgl'))}catch(a){e=!1}return!!window.WebGLRenderingContext&&!!e},isIE:function(){return'Microsoft Internet Explorer'===navigator.appName||'Netscape'===navigator.appName&&/Trident/.test(navigator.userAgent)},hasSwfObjectLoaded:function(){return'undefined'!=typeof window.swfobject},hasMinFlashInstalled:function(){return swfobject.hasFlashPlayerVersion('9.0.0')},addFlashDivNode:function(){var e=document.createElement('div');e.setAttribute('id',this.options.swfContainerId),document.body.appendChild(e)},getWebglCanvas:function(){var e=document.createElement('canvas'),a=null;try{a=e.getContext('webgl')||e.getContext('experimental-webgl')}catch(a){}return a||(a=null),a},each:function(e,a,t){if(null!==e)if(this.nativeForEach&&e.forEach===this.nativeForEach)e.forEach(a,t);else if(e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if({}===a.call(t,e[r],r,e))return;}else for(var o in e)if(e.hasOwnProperty(o)&&{}===a.call(t,e[o],o,e))return},map:function(e,a,t){var i=[];return null==e?i:this.nativeMap&&e.map===this.nativeMap?e.map(a,t):(this.each(e,function(e,r,o){i[i.length]=a.call(t,e,r,o)}),i)},x64Add:function(e,a){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],a=[a[0]>>>16,65535&a[0],a[1]>>>16,65535&a[1]];var t=[0,0,0,0];return t[3]+=e[3]+a[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=e[2]+a[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=e[1]+a[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=e[0]+a[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]},x64Multiply:function(e,a){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],a=[a[0]>>>16,65535&a[0],a[1]>>>16,65535&a[1]];var t=[0,0,0,0];return t[3]+=e[3]*a[3],t[2]+=t[3]>>>16,t[3]&=65535,t[2]+=e[2]*a[3],t[1]+=t[2]>>>16,t[2]&=65535,t[2]+=e[3]*a[2],t[1]+=t[2]>>>16,t[2]&=65535,t[1]+=e[1]*a[3],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=e[2]*a[2],t[0]+=t[1]>>>16,t[1]&=65535,t[1]+=e[3]*a[1],t[0]+=t[1]>>>16,t[1]&=65535,t[0]+=e[0]*a[3]+e[1]*a[2]+e[2]*a[1]+e[3]*a[0],t[0]&=65535,[t[0]<<16|t[1],t[2]<<16|t[3]]},x64Rotl:function(e,a){return a%=64,32===a?[e[1],e[0]]:32>a?[e[0]<<a|e[1]>>>32-a,e[1]<<a|e[0]>>>32-a]:(a-=32,[e[1]<<a|e[0]>>>32-a,e[0]<<a|e[1]>>>32-a])},x64LeftShift:function(e,a){return a%=64,0===a?e:32>a?[e[0]<<a|e[1]>>>32-a,e[1]<<a]:[e[1]<<a-32,0]},x64Xor:function(e,a){return[e[0]^a[0],e[1]^a[1]]},x64Fmix:function(e){return e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),e=this.x64Xor(e,[0,e[0]>>>1]),e},x64hash128:function(e,a){e=e||'',a=a||0;for(var t=e.length%16,r=e.length-t,o=[0,a],n=[0,a],s=[0,0],l=[0,0],d=[2277735313,289559509],u=[1291169091,658871167],g=0;g<r;g+=16)s=[255&e.charCodeAt(g+4)|(255&e.charCodeAt(g+5))<<8|(255&e.charCodeAt(g+6))<<16|(255&e.charCodeAt(g+7))<<24,255&e.charCodeAt(g)|(255&e.charCodeAt(g+1))<<8|(255&e.charCodeAt(g+2))<<16|(255&e.charCodeAt(g+3))<<24],l=[255&e.charCodeAt(g+12)|(255&e.charCodeAt(g+13))<<8|(255&e.charCodeAt(g+14))<<16|(255&e.charCodeAt(g+15))<<24,255&e.charCodeAt(g+8)|(255&e.charCodeAt(g+9))<<8|(255&e.charCodeAt(g+10))<<16|(255&e.charCodeAt(g+11))<<24],s=this.x64Multiply(s,d),s=this.x64Rotl(s,31),s=this.x64Multiply(s,u),o=this.x64Xor(o,s),o=this.x64Rotl(o,27),o=this.x64Add(o,n),o=this.x64Add(this.x64Multiply(o,[0,5]),[0,1390208809]),l=this.x64Multiply(l,u),l=this.x64Rotl(l,33),l=this.x64Multiply(l,d),n=this.x64Xor(n,l),n=this.x64Rotl(n,31),n=this.x64Add(n,o),n=this.x64Add(this.x64Multiply(n,[0,5]),[0,944331445]);switch(s=[0,0],l=[0,0],t){case 15:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+14)],48));case 14:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+13)],40));case 13:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+12)],32));case 12:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+11)],24));case 11:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+10)],16));case 10:l=this.x64Xor(l,this.x64LeftShift([0,e.charCodeAt(g+9)],8));case 9:l=this.x64Xor(l,[0,e.charCodeAt(g+8)]),l=this.x64Multiply(l,u),l=this.x64Rotl(l,33),l=this.x64Multiply(l,d),n=this.x64Xor(n,l);case 8:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+7)],56));case 7:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+6)],48));case 6:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+5)],40));case 5:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+4)],32));case 4:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+3)],24));case 3:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+2)],16));case 2:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(g+1)],8));case 1:s=this.x64Xor(s,[0,e.charCodeAt(g)]),s=this.x64Multiply(s,d),s=this.x64Rotl(s,31),s=this.x64Multiply(s,u),o=this.x64Xor(o,s);}return o=this.x64Xor(o,[0,e.length]),n=this.x64Xor(n,[0,e.length]),o=this.x64Add(o,n),n=this.x64Add(n,o),o=this.x64Fmix(o),n=this.x64Fmix(n),o=this.x64Add(o,n),n=this.x64Add(n,o),('00000000'+(o[0]>>>0).toString(16)).slice(-8)+('00000000'+(o[1]>>>0).toString(16)).slice(-8)+('00000000'+(n[0]>>>0).toString(16)).slice(-8)+('00000000'+(n[1]>>>0).toString(16)).slice(-8)}},e.VERSION='1.5.1',e})},function(e,a,t){'use strict';Object.defineProperty(a,'__esModule',{value:!0});var i=t(6),r=t(0),o=t(8),n=t(9),s=new n.Track;s.init(),a.default={storage:new i.Storage,forEach:new o.Tool().forEach,_a:r.Auth},e.exports=a['default']},function(e,a,t){'use strict';function i(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0}),a.Storage=void 0;var r=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),o=t(0),n=function(){function e(){i(this,e)}return r(e,[{key:'set',value:function(e,a){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:'session';if(!(0,o.Auth)()){this.store='session'==t?window.sessionStorage:window.localStorage;try{e=JSON.stringify(e)}catch(a){e=e}this.store.setItem(a,e)}}},{key:'_s',value:function(e){'string'==typeof e&&window.sessionStorage.setItem('key',JSON.stringify(e))}},{key:'_g',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'session';this.store='session'==e?window.sessionStorage:window.localStorage;var a=this.store.getItem('token');if(a)try{a=JSON.parse(a)}catch(t){a=a}return a}},{key:'get',value:function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'session';if(!(0,o.Auth)()){this.store='session'==a?window.sessionStorage:window.localStorage;var t=this.store.getItem(e);if(t)try{t=JSON.parse(t)}catch(a){t=t}return t}}},{key:'remove',value:function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'session';this.store='session'==a?window.sessionStorage:window.localStorage,this.store.removeItem(e)}},{key:'clear',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'session';this.store='session'==e?window.sessionStorage:window.localStorage,this.store.clear()}}]),e}();a.Storage=n},function(e,a,t){'use strict';function i(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0}),a.AJAX=void 0;var r=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),o=t(1),n=t(2),s=t(3),l=function(){function e(){i(this,e)}return r(e,[{key:'post',value:function(e){var a=!1,t=window.debug||!1,i=window.event||'prod';'72a594dd943794c90f53677d89ac1dfe'===t&&(a=!0);var r=new o._Storage,l=r._g('key')||'',d=new XMLHttpRequest;'test'==i?d.open('post',n.config.urlTest+'/api/a',!1):d.open('post',n.config.url+'/api/a',!1),d.setRequestHeader('key',(0,s.strToHexCharCode)(l+'&'+e));try{if(d.send(),200==d.status){var u=d.getResponseHeader('key');return a&&console.log('xhr\u53D1\u9001\u7684key',u),u?'21232f297a57a5a743894a0e4a801fc3'===u?(r._s({a:'data',type:!1},'a'),!1):(r._s({a:'data',type:!0},'a'),!0):(r._s({a:'data',type:!0},'a'),!0)}return r._s({a:'data',type:!1},'a'),!1}catch(e){return r._s({a:'data',type:!1},'a'),!1}}}]),e}();a.AJAX=l},function(e,a,t){'use strict';function i(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0}),a.Tool=void 0;var r=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),o=t(0),n=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(){i(this,e)}return r(e,[{key:'forEach',value:function(e,a){if(!(0,n.default)()){var t=Array.isArray(e)?this._arrayEach:null;return t?t(e,this._castFunction(a)):a(e)}}},{key:'_castFunction',value:function(e){return'function'==typeof e?e:this._identity}},{key:'_arrayEach',value:function(e,a){for(var t=-1,i=null==e?0:e.length;++t<i&&!1!==a(e[t],t,e););return e}},{key:'_identity',value:function(e){return e}}]),e}();a.Tool=s},function(e,a,t){'use strict';function i(e,a){if(!(e instanceof a))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(a,'__esModule',{value:!0}),a.Track=void 0;var r=function(){function e(e,a){for(var t,r=0;r<a.length;r++)t=a[r],t.enumerable=t.enumerable||!1,t.configurable=!0,'value'in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}return function(a,t,i){return t&&e(a.prototype,t),i&&e(a,i),a}}(),o=t(4),n=function(e){return e&&e.__esModule?e:{default:e}}(o),s=t(2),l=t(3),d=t(1),u=function(){function e(){i(this,e)}return r(e,[{key:'init',value:function(){var e=this;setTimeout(function(){e.track()},2e3)}},{key:'track',value:function(){var e=window.event||'prod',a=new d._Storage,t=window.debug||!1,i=new n.default().getSync().fprint,r=a._g('key'),o=window.location.href;o=(0,l.strToHexCharCode)(i+'&'+o+'&'+r);var u=new Image;u.onload=function(){},u.src='test'==e?s.config.urlTest+'/api/t/i?t='+o:s.config.url+'/api/t/i?t='+o}}]),e}();a.Track=u}])});
{
"name": "method-tool",
"version": "1.4.0",
"version": "1.4.1",
"main": "index.js",
"license": "MIT"
}
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