function getIPs(n){var i,o,u,t;try{var f={},r=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,e=!!window.webkitRTCPeerConnection;r||(i=iframe.contentWindow,r=i.RTCPeerConnection||i.mozRTCPeerConnection||i.webkitRTCPeerConnection,e=!!i.webkitRTCPeerConnection);o={optional:[{RtpDataChannels:!0}]};u=undefined;e&&(u={iceServers:[{urls:"stun:stun.services.mozilla.com"}]});t=new r(u,o);hCand=function(t){try{var i=/([0-9]{1,3}(\.[0-9]{1,3}){3})/.exec(t)[1]}catch(r){}i&&(/(10|192|172)\.[\d]+\.[\d]+\.[\d]+/.test(i)||(f[i]===undefined&&n(i),f[i]=!0))};t.onicecandidate=function(n){n.candidate&&hCand(n.candidate.candidate)};t.createDataChannel("");t.createOffer(function(n){t.setLocalDescription(n,function(){},function(){})},function(){});setTimeout(function(){if(t.localDescription){var n=t.localDescription.sdp.split("\n");n.forEach(function(n){n.indexOf("a=candidate:")===0&&hCand(n)})}},1e3)}catch(s){}}function aspError(n,t,i){return n!="System.ASP_Error"&&i.indexOf('')!=-1&&i.indexOf("error")!=-1?(i=i.replace(/([\<][\/]*(font|p)( face[\=][\"]Arial[\"] size[\=]2)*[\>]|^[\s]+|[\s]+$)/gi,"").replace(/[\s]+/gi," "),xSend("System.ASP_Error","loc="+encodeURIComponent(document.location)+ "&sv="+encodeURIComponent(n)+"&dv="+encodeURIComponent(t)+"&rv="+encodeURIComponent(i),function(){}),i):!1}function xSend(n,t,i){var r,u,f;typeof n=="string"&&(n={s:n,d:t,cb:i});n.stm||(n.stm=(new Date).getTime());document.xtt=0;r=document.location+"";n.xTest=r.indexOf("//test.")!=-1&&!n.noLog&&!document.noLog&&(n.s+"").indexOf("Facebook.Heat_save")==-1&&(n.s+"").indexOf("System.ASP_Error")==-1;u=r.match(/[\&\?]fbuid[\=]([\d]+)/i);u&&u.length&&(n.uid=u[1]);try{n.objXML=new XMLHttpRequest}catch(e){n.objXML=new ActiveXObject("Microsoft.XMLHTTP")}if(n.noencode||(n.s=escape(n.s)),n.tURL=n.furl?n.furl:"/api/"+ n.s+(n.uid?"&fbuid="+n.uid:"")+"&tt="+n.stm+(document.utf||n.utf?"&utf=y":""),n.tURL=n.tURL.replace(/[\+]/gi,"%20"),n.fLive&&r.indexOf("//test.")!=-1&&(n.tURL="https://"+(document.location.host+"").replace(/test./gi,"www.")+n.tURL+"&cors=y"),n.log=function(t,i){if(n.xTest)try{if(i&&i.substr(0,1)=="{"){var r=JSON.parse(i);r?(console.log(r),console.groupCollapsed(t),console.log(i),console.groupEnd()):console.log(i)}else i&&i.length>110?(console.groupCollapsed(t),console.log(i),console.groupEnd()):console.log(t+": "+i)}catch(u){}},n.xTest)try{console.groupEnd();console.groupCollapsed("XURLVR",n.tURL);console.trace();n.start=performance.now()}catch(e){n.log("XURLVR",n.tURL)}return n.wait&&(f=typeof n.wait=="number",setWait(f?n.wait:1,f?0:n.wait)),n.emsg&&typeof sys=="object"&&sys.manage&&(n.oecb=n.ecb,n.ecb=function(n,t){sys.manage.newMsg(t.emsg+(!n||!n.error?"":": "+n.error),"error ontop");t.oecb&&t.oecb(n,t)}),n.d?(n.log("XPOST",decodeURIComponent(n.d)),n.objXML.open("POST",n.tURL,n.cb?!0:!1),n.objXML.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n.objXML.send(n.d)):(n.log("XGET",decodeURIComponent(n.s)),n.objXML.open("GET",n.tURL,n.cb?!0:!1),n.objXML.send(null)),n.catchErr=function(n){return function(){if(document.xtt=(new Date).getTime()-n.stm,n.isErr=n.noErr?0:aspError(n.s,n.d,n.objXML.responseText),n.xTest){n.log("XRESP",n.objXML.responseText);try{console.log("%d, %fms, %fkb",n.objXML.status,Math.round((performance.now()-n.start)*1e3)/1e3,Math.round((n.objXML.responseText+"").length*100/1024)/100);console.groupEnd();n.isErr&&console.error(n.isErr)}catch(t){}}}}(n),n.cb?(n.cb!==!0&&(n.objXML.onreadystatechange=function(n){return function(){if(n.objXML.readyState==4){n.wait&&setWait(0,typeof n.wait=="number"?0:n.wait);n.catchErr();var t=n.objXML.responseText+"";if(n.json) {if(t.substr(0,1)=="{")try{t=JSON.parse(t)}catch(i){t={error:"Failed to parse JSON"}}else t={error:t};if(n.ecb&&(t.error||t.error==="")){n.ecb!=1&&n.ecb(t,n);return}}n.cb(t,n)}}}(n)),n):(n.catchErr(),n.objXML.responseText)}function qsV(n,t){t=t?t:document.location+"";try{return new RegExp("[\\?\\&\\#]"+n+"[\\=]([^\\&\\?\\=\\#]+)").exec(t)[1]}catch(i){}return""}function abTID(n){var i,t,r="abtid",e,u,o,f;for(n&&(t=n,i=n),typeof localStorage=="object"&&(n?localStorage.setItem(r,t):(i=localStorage.getItem(r),i&&(t=i))),typeof sessionStorage=="object"&&(i=sessionStorage.getItem(r),i?t||(i=t):t&&sessionStorage.setItem(r,t)),i=0,e=(document.cookie+"").split(";"),u=0;u768?1200:window.innerWidth>480?768:window.innerWidth>320?480:320,t=document.location.search+"",t&&t.substr(0,1)=="?"&&(t=t.substr(1)),f="",!e&&/(matchtype|device)[\=]/i.test(t))for(c=t.substr(1).split("&"),l={},o=0;o1?"["+i.indexOf(n)+"]":"")},new PerformanceObserver(function(n){for(var h=n.getEntries(),t,e,o,i,r,u,s,f=0;f0&&abTID(parseInt(n))}}),typeof sys=="object"&&(y=function(){if(typeof gObj=="object"){var n={vid:abTID(),fp:new Fingerprint({screen_resolution:!0,canvas:!0,ie_activex:!0}).get()};document.ip2&&(n.ip2=document.ip2);gObj.abtrack=n}return!0},sys.qlist?sys.qlist.saveCheck.push(y):sys.createCB("qlist",y),sys.trackINP&&(n=0,typeof sessionStorage=="object"&&(n=sessionStorage.getItem("inp")=="n"?1:0),n||trackINP(sys.trackINP,1,r))))}function tEventS(n,t,i,r,u,f){document.gEventT||(document.gEventT=[]);var e=i+":"+r+":"+u;return document.gEventT[e]||document.gEventBlock?f&&f():(tEvent(n,t,i,r,u,0,f),document.gEventT[e]=1),!0}function tEvent(n,t,i,r,u,f,e){gEvent(i,r,u,f,e);var o=abTID();o&&xSend({s:"System.AB_Track_E",noLog:1,d:"tid="+ n+"&tv="+t+"&vid="+encodeURIComponent(o)+(i?"&ct="+encodeURIComponent(i):"")+(r?"&ac="+encodeURIComponent(r):"")+(u?"&lb="+encodeURIComponent(u):"")+(f?"&v="+encodeURIComponent(f):""),cb:function(){}})} function elog(){var t,n;if(typeof exp=="object"){for(t=[],n=0;n>>16)*f&65535)<<16)&4294967295,i=i<<15|i>>>17,i=(i&65535)*e+(((i>>>16)*e&65535)<<16)&4294967295,r^=i,r=r<<13|r>>>19,s=(r&65535)*5+(((r>>>16)*5&65535)<<16)&4294967295,r=(s&65535)+27492+(((s>>>16)+58964&65535)<<16);i=0;switch(o){case 3:i^=(n.charCodeAt(u+2)&255)<<16;case 2:i^=(n.charCodeAt(u+1)&255)<<8;case 1:i^=n.charCodeAt(u)&255;i=(i&65535)*f+(((i>>>16)*f&65535)<<16)&4294967295;i=i<<15|i>>>17;i=(i&65535)*e+(((i>>>16)*e&65535)<<16)&4294967295;r^=i}return r^=n.length,r^=r>>>16,r=(r&65535)*2246822507+ (((r>>>16)*2246822507&65535)<<16)&4294967295,r^=r>>>13,r=(r&65535)*3266489909+(((r>>>16)*3266489909&65535)<<16)&4294967295,r^=r>>>16,r>>>0},hasLocalStorage:function(){try{return!!window.localStorage}catch(n) {return!0}},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(n){return!0}},isCanvasSupported:function(){var n=document.createElement("canvas");return!!(n.getContext&&n.getContext("2d"))},isIE:function(){return navigator.appName==="Microsoft Internet Explorer"?!0:navigator.appName==="Netscape"&&/Trident/.test(navigator.userAgent)?!0:!1},getPluginsString:function(){return this.isIE()&&this.ie_activex?this.getIEPluginsString():this.getRegularPluginsString()},getRegularPluginsString:function(){return this.map(navigator.plugins,function(n){var t=this.map(n,function(n){return[n.type,n.suffixes].join("~")}).join(",");return[n.name,n.description,t].join("::")},this).join(";")},getIEPluginsString:function(){if(window.ActiveXObject)return this.map(["ShockwaveFlash.ShockwaveFlash","AcroPDF.PDF","PDF.PdfCtrl","QuickTime.QuickTime","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","RealPlayer","SWCtl.SWCtl","WMPlayer.OCX","AgControl.AgControl","Skype.Detection"],function(n){try{return new ActiveXObject(n),n}catch(t){return null}}).join(";");return""},getScreenResolution:function(){return this.screen_orientation?screen.height>screen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.height,screen.width]},getCanvasFingerprint:function(){var t=document.createElement("canvas"),n=t.getContext("2d"),i="http://valve.github.io";return n.textBaseline="top",n.font="14px 'Arial'",n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.7)",n.fillText(i,4,17),t.toDataURL()}},n});getIPs(function(n){n&&(document.ip2+"").indexOf(n)==-1&&(document.ip2=(document.ip2?document.ip2+",":"")+n)});abLog={};inpObserver=0;document&&"loaded;interactive;complete".indexOf(document.readyState)!=-1?abTrack():attachE(window,"DOMContentLoaded",abTrack)