Skip to content

Instantly share code, notes, and snippets.

@alufers
Created September 27, 2021 14:51
Show Gist options
  • Save alufers/4bc5290ebabea490029bc4374f3d2f56 to your computer and use it in GitHub Desktop.
Save alufers/4bc5290ebabea490029bc4374f3d2f56 to your computer and use it in GitHub Desktop.
DHL Tracking page bot protection
/** @type {!Array} */
var _ac = [
"Microsoft Tai Le",
"indexedDbKey",
"opera",
"hypot",
"click",
"touchstart",
"$chrome_asyncScriptInfo",
"clearCache",
"slice",
"accelerationIncludingGravity",
"navigator",
"all",
',"auth" : "',
"get_stop_signals",
"to",
"Menlo",
"pact",
"keydown",
"isIgn",
"search",
"getStorageUpdates",
"ArialHebrew-Light",
"fontFamily",
"webdriver",
"tme_cnt",
"requestMediaKeySystemAccess",
"Buffer",
"hostname",
"cssText",
"n_ck",
"id",
"ke_vel",
"Futura",
"POST",
"-1,2,-94,-120,",
"data",
"listFunctions",
"dma_throttle",
"Mac OS X 10_5",
"language",
"Courier New",
"rgb(120, 186, 176)",
"body",
"Windows Media Player Plug-in Dynamic Link Library",
"-1,2,-94,-80,",
"apply",
"WebEx64 General Plugin Container",
"vc_cnt",
",it0",
"gf",
"i1:",
"pageX",
"Lato",
"_setAu",
"sessionStorageKey",
"Lobster",
"disFpCalOnTimeout",
"set_cookie",
"WEBGL_debug_renderer_info",
"strokeStyle",
"Corsiva Hebrew",
"rCFP",
"documentElement",
"__webdriver_unwrapped",
",s2:",
"mn_stout",
"required",
"parseInt",
"-1,2,-94,-106,",
"_setPowState",
"random",
"payment-handler",
"Press Start 2P",
"bd",
"indexOf",
"fillText",
"ActiveXObject",
"cookie",
"button",
"mn_r",
"mn_mc_lmt",
"mact",
"now",
"pluginInfo",
"$cdc_asdjflasutopfhvcZLmcfl_",
"undef",
"catch",
"y1",
"mozInnerScreenY",
"accessibility-events",
"getAttribute",
"rotationRate",
"timezoneOffsetKey",
"__lastWatirConfirm",
"gd",
"-1,2,-94,-129,",
"ta",
"XMLHttpRequest",
"colorDepth",
"fontSize",
"emit",
"get_cookie",
"push",
"mduce_cnt",
"width",
"msHidden",
"visibilitychange",
"webkitvisibilitychange",
"position: relative; left: -9999px; visibility: hidden; display: block !important",
"-1",
"bpd",
"send",
"rotate_right",
"onreadystatechange",
"__lastWatirAlert",
"x2",
"microphone",
"ff",
"setRequestHeader",
"webkitGetGamepads",
"mn_cd",
"t_dis",
"bmisc",
"vc_cnt_lmt",
"protocol",
"touchcancel",
"query",
"Java Plug-in 2 for NPAPI Browsers",
"hvc",
"Chrome Remote Desktop Viewer",
"api_public_key",
"auth",
"__driver_evaluate",
",s1:",
"2",
"wr",
"vibrate",
"fmh",
"get_cf_date",
"font",
"fonts_optm",
"mn_poll",
",loc:",
"mduce_cnt_lmt",
"pen",
"sessionStorage",
"doe_cnt",
"ckie",
"get_browser",
"createElement",
"fonts",
"mn_cc",
"do_dis",
"__fxdriver_evaluate",
"aj_indx",
"fpValstr",
"gb",
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
"localStorageKey",
"hasOwnProperty",
"apicall_bm",
"hbs",
"==",
"lvc",
"pow",
"-1,2,-94,-119,",
"pe_vel",
"onfocus",
"doa_throttle",
"afSbep8yjnZUjq3aL010jO15Sawj2VZfdYK8uY90uxq",
"Geneva",
"clientWidth",
"cdoa",
'{"session_id" : "',
"webrtcKey",
"default_session",
"hmm",
"ceil",
"-1,2,-94,-105,",
"join",
"_phantom",
"aj_lmt_tact",
"#f60",
"mn_get_new_challenge_params",
"startTracking",
"keyCode",
"availWidth",
"; path=/; expires=Fri, 01 Feb 2025 08:00:00 GMT;",
"hmd",
"cdma",
"abs",
"sed",
"16pt Arial",
"hidden",
"toLowerCase",
"fpcf",
"plugins",
"XPathResult",
"/get_params",
"init_time",
"mn_w",
"split",
"e",
"__$webdriverAsyncExecutor",
"off",
"fpVal",
"offsetWidth",
"persistent-storage",
"toDataURL",
"xagg",
"document",
"informinfo",
"Basic ",
"dme_cnt_lmt",
"innerHeight",
"htc",
"pduce_cnt",
"toFixed",
"ir",
"stringify",
"webgl",
"clipboard",
"DeviceOrientationEvent",
"magnetometer",
"0a46G5m17Vrp4o4c",
"defaultValue",
",",
"abcdefhijklmnopqrstuvxyz1234567890;+-.",
"mozIsLocallyAvailable",
"Authorization",
"Apple Gothic",
"-",
"exception",
"imul",
"Batang",
"storeWebWideTrackingException",
"patp",
"callSelenium",
"stroke",
"3",
"t_tst",
"hpd",
"Monaco",
"csh",
"-1,2,-94,-126,",
",s3:",
"Wingdings 2",
"cka",
"alpha",
"mr",
"0",
"htm",
"addEventListener",
"speaker",
"input",
"non:",
"clipboard-write",
"dm_dis",
"doNotTrack",
"-1,2,-94,-108,",
"Microsoft Sans Serif",
"sf4",
"cdc_adoQpoasnfa76pfcZLmcfl_Symbol",
"start_ts",
"getParameter",
"Roboto",
"message",
"mediaDevices",
"firstLoad",
":",
"dis",
"hku",
"SharePoint Browser Plug-in",
"granted",
"domAutomationController",
"gwd",
"lang",
'\\\\"',
"credentials",
"-1,2,-94,-118,",
"__webdriver_script_function",
"onLine",
"domAutomation",
"loap",
"-1,2,-94,-109,",
"rir",
"-1,2,-94,-122,",
"cal_dis",
"cs",
"hpu",
"AlNile",
"target",
"mme_cnt",
"Default Browser Helper",
"cma",
"GET",
"pointerType",
"Lucida Sans",
"iPad;",
"_setBm",
"altKey",
"mn_rts",
"gyroscope",
"devicePixelRatio",
"mn_state",
"get_type",
"\\'",
"on",
"storage",
"rgb(102, 204, 0)",
"rve",
"Nimbus Roman No 9 L",
"pointerdown",
"div",
"charAt",
"clipboard-read",
"sqrt",
"watinExpressionResult",
"removeChild",
"-1,2,-94,-101,",
"mozHidden",
"DeviceMotionEvent",
"mn_tcl",
"vcact",
"check_stop_protocol",
"192px",
"Version/4.0",
"-1,2,-94,-111,",
"msvisibilitychange",
"__webdriver_script_func",
"doact",
"getGamepads",
"TouchEvent",
"td",
"onkeyup",
"applyFunc",
"URL",
"hmu",
"sans-serif",
"getElementsByTagName",
"sendBeacon",
"mozAlarms",
"accelerometer",
",cpen:",
"denied",
"enGetLoc",
"Apple LiGothic",
"-1,2,-94,-110,",
"then",
"Waseem",
"touchend",
"span",
"fillRect",
"-1,2,-94,-121,",
'"}',
"splice",
"-1,2,-94,-116,",
"hasIndexedDB",
"withCredentials",
"hc",
"background-sync",
"-1,2,-94,-70,",
"jrs",
"style",
"Avenir",
"PI",
"getforminfo",
"tduce_cnt_lmt",
"encode",
"wgl",
"mn_abck",
"cdc_adoQpoasnfa76pfcZLmcfl_Array",
"mn_get_current_challenges",
"Native Client",
"lastIndexOf",
"awesomium",
"shiftKey",
"Chrome PDF Viewer",
"1",
"od",
"onkeypress",
"Open Sans",
"canvas",
"substring",
"startdoadma",
"//",
"mn_ct",
"hn",
"",
"z1",
"pi",
"hts",
"onpointerdown",
"mn_lc",
"den",
"mn_sen",
"Noto",
"_Selenium_IDE_Recorder",
",mn_w:",
"_setFsp",
"session_id",
"password",
"undefined",
"ke_cnt_lmt",
"hkd",
"Fantasque Sans Mono",
"mn_pr",
"prototype",
"uar",
"bat:",
"script",
"x1",
"geolocation",
"cdc_adoQpoasnfa76pfcZLmcfl_Promise",
"speechSynthesis",
"getBattery",
"ce_js_post",
"mn_tout",
"mme_cnt_lmt",
"mn_mc_indx",
"clientX",
"z",
"url",
"_abck",
"updatet",
"Content-type",
"dmact",
"src",
"cwen:",
"productSub",
"hkp",
"_",
"kact",
'{"sensor_data":"',
"sd_debug",
"Microsoft Office Live Plug-in",
"aj_indx_doact",
"readyState",
"availHeight",
"acceleration",
"http://",
"pe_cnt",
"FileReader",
"loc",
"asin",
"-1,2,-94,-112,",
"aj_type",
"Source Sans Pro",
"hb",
"sort",
"vc",
",s7:",
"sc:",
"toElement",
"cookieEnabled",
"parse",
"90px",
"serif",
"getContext",
"calc_fp",
"Widevine Content Decryption Module",
"~",
"mn_ld",
"iPhone",
"Adobe Braille",
"doe_vel",
"geb",
"New York",
"pduce_cnt_lmt",
"screen",
",setSDFN:",
"Oswald",
"2d",
"wl",
"isc:",
"gamma",
"registerProtocolHandler",
"wrc:",
"application/json",
"mn_wt",
"PLUGINS",
"msManipulationViewsEnabled",
"sdfn",
"Century Gothic",
"params_url",
"get_mn_params_from_abck",
"__phantomas",
"m,Ev!xV67BaU> eh2m<f3AG3@",
"-1,2,-94,-127,",
"isTrusted",
"aj_ss",
"Shree Devanagari 714",
"Constructor",
"aj_indx_tact",
"bdm",
"Adobe Acrobat",
"onblur",
"OSMJIF",
"is not a valid enum value of type PermissionName",
"vib:",
"Silverlight Plug-In",
"__webdriverFuncgeb",
"</setSDFN>",
"spawn",
"pd",
"clientHeight",
"weh",
"Edge PDF Viewer",
"-1,2,-94,-124,",
"Courier",
"mn_il",
"dme_vel",
"Java Applet Plug-in",
"chknull",
'"',
"o9",
"forEach",
"__fxdriver_unwrapped",
"replace",
"t_en",
"MSIE",
"round",
"keyup",
"notifications",
"nav_perm",
"serviceWorker",
"/_bm/_data",
"location",
",0",
"ssh",
"getVoices",
"clientY",
"mn_s",
"camera",
"Century",
"enReadDocUrl",
"onclick",
"Papyrus",
"ambient-light-sensor",
"rst",
"; ",
"number",
"cns",
"<bpd>",
"cta",
"attachEvent",
"__webdriver_evaluate",
"unk",
"https:",
"WebKit-integrierte PDF",
"onkeydown",
"midi",
"mozPhoneNumberService",
"mn_update_challenge_details",
"function",
"fm",
"getExtension",
"mozConnection",
"arc",
"-1,2,-94,-103,",
"AdobeAAMDetect",
"Birch Std",
"Bodoni 72",
"shift",
"metaKey",
"ver",
"Cantarell",
"mousemove",
"te_cnt",
"te_vel",
"devicemotion",
"UNMASKED_RENDERER_WEBGL",
"cpa",
"product",
"__driver_unwrapped",
"mn_lg",
"mozRTCPeerConnection",
"Monospace",
"javaEnabled",
"Candara",
"fillStyle",
"localStorage",
"d2",
"mn_ts",
"fmz",
"mn_al",
"deviceorientation",
"Palatino-Bold",
"RealPlayer Version Plugin",
"parse_gp",
"webkitRTCPeerConnection",
"selenium",
"hardwareConcurrency",
"Mozilla Default Plug-in",
"HTMLElement",
"n",
"Palatino",
"js_post",
"fidcnt",
"me_cnt",
"which",
"acos",
"mousedown",
"getStateField",
"ITC Bodoni 72 Bold",
"onmousemove",
"webstore",
"onmouseup",
"UNMASKED_VENDOR_WEBGL",
"hf",
"__lastWatirPrompt",
"prompt",
"map",
"email",
"runFonts",
"innerWidth",
"requestWakeLock",
"6pt Arial",
"Calibri",
"aj_lmt_dmact",
"calledSelenium",
"none",
"mn_rt",
"mouse",
"fas",
"<@nv45. F1n63r,Pr1n71n6!",
"https://",
"wv",
"rVal",
"offsetHeight",
"innerHTML",
"d3",
"Avenir Next",
"Damascus",
"aj_indx_dmact",
"psub",
"pme_cnt_lmt",
"bc",
"TI-Nspire",
"aj_lmt_doact",
";",
"Shockwave for Director",
"atanh",
"prevfid",
"Ubuntu Medium",
"cc",
"hte",
"enAddHidden",
"webkitTemporaryStorage",
"gbrv",
"value",
"pointerup",
"calledPhantom",
"chrome",
"height",
"call",
"opc:",
"-1,2,-94,-123,",
"Quicksand",
"hasLocalStorage",
"tme_cnt_lmt",
"Comic Neue",
"__selenium_unwrapped",
"stack",
"cf_url",
"<setSDFN>",
"ab",
"bm",
"__webdriver__chr",
"dme_cnt",
"tact",
"ctrlKey",
"ats",
"Google Talk Plugin Video Renderer",
"x12:",
"callPhantom",
"Serif",
"iPhotoPhotocast",
"tel",
"-1,2,-94,-100,",
"Droid Serif",
"fmget_targets",
"autocomplete",
"watinExpressionError",
"display",
"ins",
"Helvetica Neue",
"toString",
"pageY",
"prod",
"dm:",
"onload",
"documentMode",
"x11:",
"pme_cnt",
"RTCPeerConnection",
"getElementById",
"brv",
"spynner_additional_js_loaded",
"}",
"name",
"hasSessionStorage",
"beta",
"pstate",
"exp",
"XDomainRequest",
"indexedDB",
"activeElement",
"Unity Player",
"Shockwave Flash",
"currentScript",
"Cambria",
"me_vel",
"fpValCalculated",
"-1,2,-94,-117,",
"brave",
"encode_utf8",
"sensor_data",
"state",
"QuickTime Plug-in",
"dcs",
"np",
"pixelDepth",
"b",
"do_en",
"plen",
"userAgent",
"open",
"outerWidth",
"altFonts",
"childNodes",
"dm_en",
"PointerEvent",
"getFloatVal",
"Ubuntu Regular",
"Bell MT",
"cookie_chk_read",
"hbCalc",
"string",
"Gill Sans MT",
"tst",
"device-info",
"mn_lcl",
"appendChild",
"floor",
"type",
"cbrt",
"Times",
"RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit)",
"mmmmmmmmlli",
"y",
"__webdriver_script_fn",
"cache",
"bm-telemetry",
"mouseup",
"getElementsByName",
"YouTube Plug-in",
"getTimezoneOffset",
"driver",
"mozvisibilitychange",
"onpointerup",
"__selenium_evaluate",
",uaend,",
"isBrave",
"<init/>",
"voiceURI",
"=",
"/",
"fsp",
"keypress",
"permissions",
"getmr",
"getdurl",
"-1,2,-94,-102,",
"appMinorVersion",
"webkitHidden",
"charCodeAt",
"mn_psn",
"tduce_cnt",
"charCode",
"doadma_en",
"monospace",
"mn_init",
"default",
"aeiouy13579",
"bind",
"-1,2,-94,-114,",
"wen",
"text",
'","sensor_data" : "',
"event",
"appVersion",
"x",
"Adobe Hebrew",
"-1,2,-94,-115,",
"onmousedown",
"doe_cnt_lmt",
"__nightmare",
"length",
"touchmove",
"Microsoft.XMLHTTP",
"||",
"Google Earth Plug-in",
"Minion Pro",
"fromCharCode",
"fc:",
"getSupportedExtensions",
"bluetooth",
"ke_cnt",
"</bpd>",
];
/** @type {!Array} */
var _cf = _cf || [];
var bmak =
bmak && bmak.hasOwnProperty("ver") && bmak.hasOwnProperty("sed")
? bmak
: {
ver: 1.7,
ke_cnt_lmt: 150,
mme_cnt_lmt: 100,
mduce_cnt_lmt: 75,
pme_cnt_lmt: 25,
pduce_cnt_lmt: 25,
tme_cnt_lmt: 25,
tduce_cnt_lmt: 25,
doe_cnt_lmt: 10,
dme_cnt_lmt: 10,
vc_cnt_lmt: 100,
doa_throttle: 0,
dma_throttle: 0,
session_id: "default_session",
js_post: false,
loc: "",
cf_url:
"https:" === document.location.protocol ? "https://" : "http://",
params_url:
("https:" === document.location.protocol ? "https://" : "http://") +
document.location.hostname +
"/get_params",
auth: "",
api_public_key: "afSbep8yjnZUjq3aL010jO15Sawj2VZfdYK8uY90uxq",
aj_lmt_doact: 1,
aj_lmt_dmact: 1,
aj_lmt_tact: 1,
ce_js_post: 0,
init_time: 0,
informinfo: "",
prevfid: -1,
fidcnt: 0,
sensor_data: 0,
ins: null,
cns: null,
enGetLoc: 0,
enReadDocUrl: 1,
disFpCalOnTimeout: 0,
xagg: -1,
pen: -1,
brow: "",
browver: "",
psub: "-",
lang: "-",
prod: "-",
plen: -1,
doadma_en: 0,
sdfn: [],
d2: 0,
d3: 0,
thr: 0,
cs: "0a46G5m17Vrp4o4c",
hn: "unk",
z1: 0,
o9: 0,
vc: "",
y1: 2016,
ta: 0,
tst: -1,
t_tst: 0,
ckie: "_abck",
n_ck: "0",
ckurl: 0,
bm: false,
mr: "-1",
altFonts: false,
rst: false,
runFonts: false,
fsp: false,
firstLoad: true,
pstate: false,
mn_mc_lmt: 10,
mn_state: 0,
mn_mc_indx: 0,
mn_sen: 0,
mn_tout: 100,
mn_stout: 1e3,
mn_ct: 1,
mn_cc: "",
mn_cd: 1e4,
mn_lc: [],
mn_ld: [],
mn_lcl: 0,
mn_al: [],
mn_il: [],
mn_tcl: [],
mn_r: [],
mn_rt: 0,
mn_wt: 0,
mn_abck: "",
mn_psn: "",
mn_ts: "",
mn_lg: [],
loap: 1,
dcs: 0,
ir: function () {
bmak.start_ts = Date.now ? Date.now() : +new Date();
bmak.kact = "";
/** @type {number} */
bmak.ke_cnt = 0;
/** @type {number} */
bmak.ke_vel = 0;
bmak.mact = "";
/** @type {number} */
bmak.mme_cnt = 0;
/** @type {number} */
bmak.mduce_cnt = 0;
/** @type {number} */
bmak.me_vel = 0;
bmak.pact = "";
/** @type {number} */
bmak.pme_cnt = 0;
/** @type {number} */
bmak.pduce_cnt = 0;
/** @type {number} */
bmak.pe_vel = 0;
bmak.tact = "";
/** @type {number} */
bmak.tme_cnt = 0;
/** @type {number} */
bmak.tduce_cnt = 0;
/** @type {number} */
bmak.te_vel = 0;
bmak.doact = "";
/** @type {number} */
bmak.doe_cnt = 0;
/** @type {number} */
bmak.doe_vel = 0;
bmak.dmact = "";
/** @type {number} */
bmak.dme_cnt = 0;
/** @type {number} */
bmak.dme_vel = 0;
bmak.vcact = "";
/** @type {number} */
bmak.vc_cnt = 0;
/** @type {number} */
bmak.aj_indx = 0;
/** @type {number} */
bmak.aj_ss = 0;
/** @type {number} */
bmak.aj_type = -1;
/** @type {number} */
bmak.aj_indx_doact = 0;
/** @type {number} */
bmak.aj_indx_dmact = 0;
/** @type {number} */
bmak.aj_indx_tact = 0;
/** @type {number} */
bmak.me_cnt = 0;
/** @type {number} */
bmak.pe_cnt = 0;
/** @type {number} */
bmak.te_cnt = 0;
bmak.nav_perm = "";
/** @type {number} */
bmak.brv = 0;
/** @type {boolean} */
bmak.hbCalc = false;
bmak.fmh = "";
bmak.fmz = "";
bmak.ssh = "";
bmak.wv = "";
bmak.wr = "";
bmak.weh = "";
/** @type {number} */
bmak.wl = 0;
},
get_cf_date: function () {
return Date.now ? Date.now() : +new Date();
},
sd_debug: function (headB) {
if (!bmak.js_post) {
var cacheB = headB;
if ("string" == typeof _sd_trace) {
_sd_trace = _sd_trace + cacheB;
} else {
_sd_trace = cacheB;
}
}
},
pi: function (name) {
return parseInt(name);
},
uar: function () {
return window.navigator.userAgent.replace(/\\|"/g, "");
},
gd: function () {
var artistTrack = bmak.uar();
var a = "" + bmak.ab(artistTrack);
/** @type {number} */
var e = bmak.start_ts / 2;
/** @type {number} */
var n = -1;
/** @type {number} */
var o = -1;
/** @type {number} */
var m = -1;
/** @type {number} */
var r = -1;
/** @type {number} */
var i = -1;
/** @type {number} */
var c = -1;
/** @type {number} */
var b = -1;
try {
n = window.screen ? window.screen.availWidth : -1;
} catch (t) {
/** @type {number} */
n = -1;
}
try {
o = window.screen ? window.screen.availHeight : -1;
} catch (t) {
/** @type {number} */
o = -1;
}
try {
m = window.screen ? window.screen.width : -1;
} catch (t) {
/** @type {number} */
m = -1;
}
try {
r = window.screen ? window.screen.height : -1;
} catch (t) {
/** @type {number} */
r = -1;
}
try {
i =
window.innerHeight ||
(document.body && "clientHeight" in document.body
? document.body.clientHeight
: document.documentElement &&
"clientHeight" in document.documentElement
? document.documentElement.clientHeight
: -1);
} catch (t) {
/** @type {number} */
i = -1;
}
try {
c =
window.innerWidth ||
(document.body && "clientWidth" in document.body
? document.body.clientWidth
: document.documentElement &&
"clientWidth" in document.documentElement
? document.documentElement.clientWidth
: -1);
} catch (t) {
/** @type {number} */
c = -1;
}
try {
b =
"outerWidth" in window && void 0 !== window.outerWidth
? window.outerWidth
: -1;
} catch (t) {
/** @type {number} */
b = -1;
}
bmak.z1 = bmak.pi(bmak.start_ts / (bmak.y1 * bmak.y1));
var j = Math.random();
var targetInc = bmak.pi((1e3 * j) / 2);
var k = j + "";
return (
(k = k.slice(0, 11) + targetInc),
bmak.gbrv(),
bmak.get_browser(),
bmak.bc(),
bmak.bmisc(),
artistTrack +
",uaend," +
bmak.xagg +
"," +
bmak.psub +
"," +
bmak.lang +
"," +
bmak.prod +
"," +
bmak.plen +
"," +
bmak.pen +
"," +
bmak.wen +
"," +
bmak.den +
"," +
bmak.z1 +
"," +
bmak.d3 +
"," +
n +
"," +
o +
"," +
m +
"," +
r +
"," +
c +
"," +
i +
"," +
b +
"," +
bmak.bd() +
"," +
a +
"," +
k +
"," +
e +
"," +
bmak.brv +
",loc:" +
bmak.loc
);
},
get_browser: function () {
if (navigator.productSub) {
bmak.psub = navigator.productSub;
}
if (navigator.language) {
bmak.lang = navigator.language;
}
if (navigator.product) {
bmak.prod = navigator.product;
}
bmak.plen =
void 0 !== navigator.plugins ? navigator.plugins.length : -1;
},
gbrv: function () {
if (navigator.brave) {
navigator.brave
.isBrave()
.then(function (canCreateDiscussions) {
/** @type {number} */
bmak.brv = canCreateDiscussions ? 1 : 0;
})
.catch(function (canCreateDiscussions) {
/** @type {number} */
bmak.brv = 0;
});
}
},
bc: function () {
/** @type {number} */
var corep = window.addEventListener ? 1 : 0;
/** @type {number} */
var rindex = window.XMLHttpRequest ? 1 : 0;
/** @type {number} */
var SPR_NUMCORES = window.XDomainRequest ? 1 : 0;
/** @type {number} */
var n = window.emit ? 1 : 0;
/** @type {number} */
var o = window.DeviceOrientationEvent ? 1 : 0;
/** @type {number} */
var m = window.DeviceMotionEvent ? 1 : 0;
/** @type {number} */
var r = window.TouchEvent ? 1 : 0;
/** @type {number} */
var i = window.spawn ? 1 : 0;
/** @type {number} */
var c = window.chrome ? 1 : 0;
/** @type {number} */
var b = Function.prototype.bind ? 1 : 0;
/** @type {number} */
var d = window.Buffer ? 1 : 0;
/** @type {number} */
var s = window.PointerEvent ? 1 : 0;
try {
/** @type {number} */
var k = window.innerWidth ? 1 : 0;
} catch (t) {
/** @type {number} */
k = 0;
}
try {
/** @type {number} */
var l = window.outerWidth ? 1 : 0;
} catch (t) {
/** @type {number} */
l = 0;
}
bmak.xagg =
corep +
(rindex << 1) +
(SPR_NUMCORES << 2) +
(n << 3) +
(o << 4) +
(m << 5) +
(r << 6) +
(i << 7) +
(k << 8) +
(l << 9) +
(c << 10) +
(b << 11) +
(d << 12) +
(s << 13);
},
bmisc: function () {
/** @type {number} */
bmak.pen = window._phantom ? 1 : 0;
/** @type {number} */
bmak.wen = window.webdriver ? 1 : 0;
/** @type {number} */
bmak.den = window.domAutomation ? 1 : 0;
},
bd: function () {
/** @type {!Array} */
var EnvJasmine = [];
/** @type {number} */
var DOMContentLoaded = window.callPhantom ? 1 : 0;
EnvJasmine.push(",cpen:" + DOMContentLoaded);
/** @type {number} */
var code = 0;
if (window.ActiveXObject && "ActiveXObject" in window) {
/** @type {number} */
code = 1;
}
EnvJasmine.push("i1:" + code);
/** @type {number} */
var _V5 = "number" == typeof document.documentMode ? 1 : 0;
EnvJasmine.push("dm:" + _V5);
/** @type {number} */
var PL$23 = window.chrome && window.chrome.webstore ? 1 : 0;
EnvJasmine.push("cwen:" + PL$23);
/** @type {number} */
var PL$20 = navigator.onLine ? 1 : 0;
EnvJasmine.push("non:" + PL$20);
/** @type {number} */
var PL$15 = window.opera ? 1 : 0;
EnvJasmine.push("opc:" + PL$15);
/** @type {number} */
var status = "undefined" != typeof InstallTrigger ? 1 : 0;
EnvJasmine.push("fc:" + status);
/** @type {number} */
var passed =
window.HTMLElement &&
Object.prototype.toString
.call(window.HTMLElement)
.indexOf("Constructor") > 0
? 1
: 0;
EnvJasmine.push("sc:" + passed);
/** @type {number} */
var failed =
"function" == typeof window.RTCPeerConnection ||
"function" == typeof window.mozRTCPeerConnection ||
"function" == typeof window.webkitRTCPeerConnection
? 1
: 0;
EnvJasmine.push("wrc:" + failed);
var d = "mozInnerScreenY" in window ? window.mozInnerScreenY : 0;
EnvJasmine.push("isc:" + d);
bmak.d2 = bmak.pi(bmak.z1 / 23);
/** @type {number} */
var s = "function" == typeof navigator.vibrate ? 1 : 0;
EnvJasmine.push("vib:" + s);
/** @type {number} */
var k = "function" == typeof navigator.getBattery ? 1 : 0;
EnvJasmine.push("bat:" + k);
/** @type {number} */
var l = Array.prototype.forEach ? 0 : 1;
EnvJasmine.push("x11:" + l);
/** @type {number} */
var u = "FileReader" in window ? 1 : 0;
return EnvJasmine.push("x12:" + u), EnvJasmine.join(",");
},
fas: function () {
try {
return (
Boolean(navigator.credentials) +
(Boolean(navigator.appMinorVersion) << 1) +
(Boolean(navigator.bluetooth) << 2) +
(Boolean(navigator.storage) << 3) +
(Boolean(Math.imul) << 4) +
(Boolean(navigator.getGamepads) << 5) +
(Boolean(navigator.getStorageUpdates) << 6) +
(Boolean(navigator.hardwareConcurrency) << 7) +
(Boolean(navigator.mediaDevices) << 8) +
(Boolean(navigator.mozAlarms) << 9) +
(Boolean(navigator.mozConnection) << 10) +
(Boolean(navigator.mozIsLocallyAvailable) << 11) +
(Boolean(navigator.mozPhoneNumberService) << 12) +
(Boolean(navigator.msManipulationViewsEnabled) << 13) +
(Boolean(navigator.permissions) << 14) +
(Boolean(navigator.registerProtocolHandler) << 15) +
(Boolean(navigator.requestMediaKeySystemAccess) << 16) +
(Boolean(navigator.requestWakeLock) << 17) +
(Boolean(navigator.sendBeacon) << 18) +
(Boolean(navigator.serviceWorker) << 19) +
(Boolean(navigator.storeWebWideTrackingException) << 20) +
(Boolean(navigator.webkitGetGamepads) << 21) +
(Boolean(navigator.webkitTemporaryStorage) << 22) +
(Boolean(Number.parseInt) << 23) +
(Boolean(Math.hypot) << 24)
);
} catch (t) {
return 0;
}
},
getmr: function () {
try {
if (
"undefined" == typeof performance ||
void 0 === performance.now ||
"undefined" == typeof JSON
) {
return void (bmak.mr = "undef");
}
var t = "";
/** @type {number} */
var str1Length = 1e3;
/** @type {!Array} */
var PL$13 = [
Math.abs,
Math.acos,
Math.asin,
Math.atanh,
Math.cbrt,
Math.exp,
Math.random,
Math.round,
Math.sqrt,
isFinite,
isNaN,
parseFloat,
parseInt,
JSON.parse,
];
/** @type {number} */
var PL$17 = 0;
for (; PL$17 < PL$13.length; PL$17++) {
/** @type {!Array} */
var o = [];
/** @type {number} */
var x = 0;
var BIG_NUM = performance.now();
/** @type {number} */
var i = 0;
/** @type {number} */
var GearType = 0;
if (void 0 !== PL$13[PL$17]) {
/** @type {number} */
i = 0;
for (; i < str1Length && x < 0.6; i++) {
var shapesize = performance.now();
/** @type {number} */
var d = 0;
for (; d < 4e3; d++) {
PL$13[PL$17](3.14);
}
var y = performance.now();
o.push(Math.round(1e3 * (y - shapesize)));
/** @type {number} */
x = y - BIG_NUM;
}
var k = o.sort();
/** @type {number} */
GearType = k[Math.floor(k.length / 2)] / 5;
}
t = t + GearType + ",";
}
bmak.mr = t;
} catch (t) {
bmak.mr = "exception";
}
},
sed: function () {
var t;
t =
window["$cdc_asdjflasutopfhvcZLmcfl_"] ||
document["$cdc_asdjflasutopfhvcZLmcfl_"]
? "1"
: "0";
var a;
a =
null != window.document.documentElement.getAttribute("webdriver")
? "1"
: "0";
var e;
e = void 0 !== navigator.webdriver && navigator.webdriver ? "1" : "0";
var n;
n = void 0 !== window.webdriver ? "1" : "0";
var o;
o =
void 0 !== window.XPathResult || void 0 !== document.XPathResult
? "1"
: "0";
var m;
m =
null != window.document.documentElement.getAttribute("driver")
? "1"
: "0";
var r;
return (
(r =
null != window.document.documentElement.getAttribute("selenium")
? "1"
: "0"),
[t, a, e, n, o, m, r].join(",")
);
},
cma: function (event, a) {
try {
if (
(1 == a && bmak.mme_cnt < bmak.mme_cnt_lmt) ||
(1 != a && bmak.mduce_cnt < bmak.mduce_cnt_lmt)
) {
var e = event || window.event;
/** @type {number} */
var sha = -1;
/** @type {number} */
var diff = -1;
if (e && e.pageX && e.pageY) {
sha = Math.floor(e.pageX);
diff = Math.floor(e.pageY);
} else {
if (e && e.clientX && e.clientY) {
sha = Math.floor(e.clientX);
diff = Math.floor(e.clientY);
}
}
var ofs = e.toElement;
if (null == ofs) {
ofs = e.target;
}
var r = bmak.gf(ofs);
/** @type {number} */
var file = bmak.get_cf_date() - bmak.start_ts;
var n =
bmak.me_cnt + "," + a + "," + file + "," + sha + "," + diff;
if (1 != a) {
n = n + "," + r;
var i = void 0 !== e.which ? e.which : e.button;
if (null != i && 1 != i) {
n = n + "," + i;
}
}
if (void 0 !== e.isTrusted && false === e.isTrusted) {
n = n + ",it0";
}
n = n + ";";
bmak.me_vel = bmak.me_vel + bmak.me_cnt + a + file + sha + diff;
bmak.mact = bmak.mact + n;
bmak.ta += file;
}
if (1 == a) {
bmak.mme_cnt++;
} else {
bmak.mduce_cnt++;
}
bmak.me_cnt++;
if (bmak.js_post && 3 == a) {
/** @type {number} */
bmak.aj_type = 1;
bmak.bpd();
bmak.pd(true);
/** @type {number} */
bmak.ce_js_post = 1;
}
} catch (t) {}
},
x2: function () {
var int8Mult = bmak.ff;
var dataType =
int8Mult(98) + int8Mult(109) + int8Mult(97) + int8Mult(107);
var id =
int8Mult(103) +
int8Mult(101) +
int8Mult(116) +
int8Mult(95) +
int8Mult(99) +
int8Mult(102) +
int8Mult(95) +
int8Mult(100) +
int8Mult(97) +
int8Mult(116) +
int8Mult(101);
var pre = window[dataType][id];
/** @type {number} */
var data = 0;
return "function" == typeof pre && (data = pre()), data;
},
np: function () {
/** @type {!Array} */
var animationConfigs = [];
/** @type {!Array} */
var a = [
"geolocation",
"notifications",
"push",
"midi",
"camera",
"microphone",
"speaker",
"device-info",
"background-sync",
"bluetooth",
"persistent-storage",
"ambient-light-sensor",
"accelerometer",
"gyroscope",
"magnetometer",
"clipboard",
"accessibility-events",
"clipboard-read",
"clipboard-write",
"payment-handler",
];
try {
if (!navigator.permissions) {
return void (bmak.nav_perm = 6);
}
/** @type {number} */
bmak.nav_perm = 8;
/**
* @param {string} name
* @param {?} event
* @return {?}
*/
var send = function (name, event) {
return navigator.permissions
.query({
name: name,
})
.then(function (a) {
switch (a.state) {
case "prompt":
/** @type {number} */
animationConfigs[event] = 1;
break;
case "granted":
/** @type {number} */
animationConfigs[event] = 2;
break;
case "denied":
/** @type {number} */
animationConfigs[event] = 0;
break;
default:
/** @type {number} */
animationConfigs[event] = 5;
}
})
.catch(function (a) {
/** @type {number} */
animationConfigs[event] =
-1 !==
a.message.indexOf(
"is not a valid enum value of type PermissionName"
)
? 4
: 3;
});
};
var promises = a.map(function (pkg, prev) {
return send(pkg, prev);
});
Promise.all(promises).then(function () {
bmak.nav_perm = animationConfigs.join("");
});
} catch (t) {
/** @type {number} */
bmak.nav_perm = 7;
}
},
cpa: function (event, a) {
try {
/** @type {boolean} */
var props = false;
if (
(1 == a && bmak.pme_cnt < bmak.pme_cnt_lmt) ||
(1 != a && bmak.pduce_cnt < bmak.pduce_cnt_lmt)
) {
var e = event || window.event;
if (e && "mouse" != e.pointerType) {
/** @type {boolean} */
props = true;
/** @type {number} */
var sha = -1;
/** @type {number} */
var postfix = -1;
if (e && e.pageX && e.pageY) {
sha = Math.floor(e.pageX);
postfix = Math.floor(e.pageY);
} else {
if (e && e.clientX && e.clientY) {
sha = Math.floor(e.clientX);
postfix = Math.floor(e.clientY);
}
}
/** @type {number} */
var file = bmak.get_cf_date() - bmak.start_ts;
var s =
bmak.pe_cnt +
"," +
a +
"," +
file +
"," +
sha +
"," +
postfix;
if (void 0 !== e.isTrusted && false === e.isTrusted) {
s = s + ",0";
}
bmak.pe_vel =
bmak.pe_vel + bmak.pe_cnt + a + file + sha + postfix;
bmak.pact = bmak.pact + s + ";";
bmak.ta += file;
if (1 == a) {
bmak.pme_cnt++;
} else {
bmak.pduce_cnt++;
}
}
}
if (1 == a) {
bmak.pme_cnt++;
} else {
bmak.pduce_cnt++;
}
bmak.pe_cnt++;
if (bmak.js_post && 3 == a && props) {
/** @type {number} */
bmak.aj_type = 2;
bmak.bpd();
bmak.pd(true);
/** @type {number} */
bmak.ce_js_post = 1;
}
} catch (t) {}
},
ab: function (b) {
if (null == b) {
return -1;
}
try {
/** @type {number} */
var b = 0;
/** @type {number} */
var a = 0;
for (; a < b.length; a++) {
var d = b.charCodeAt(a);
if (d < 128) {
b = b + d;
}
}
return b;
} catch (t) {
return -2;
}
},
ff: function (date) {
return String.fromCharCode(date);
},
cal_dis: function (f) {
/** @type {number} */
var lightI = f[0] - f[1];
/** @type {number} */
var lightJ = f[2] - f[3];
/** @type {number} */
var sxy = f[4] - f[5];
var value = Math.sqrt(lightI * lightI + lightJ * lightJ + sxy * sxy);
return Math.floor(value);
},
to: function () {
/** @type {number} */
var bytes = bmak.x2() % 1e7;
/** @type {number} */
bmak.d3 = bytes;
/** @type {number} */
var val = bytes;
var charLen = bmak.pi(bmak.ff(51));
/** @type {number} */
var i = 0;
for (; i < 5; i++) {
/** @type {number} */
var result = bmak.pi(bytes / Math.pow(10, i)) % 10;
/** @type {number} */
var value = result + 1;
op = bmak.cc(result);
val = op(val, value);
}
/** @type {number} */
bmak.o9 = val * charLen;
},
jrs: function (z) {
var inverseMagnitude = Math.floor(1e5 * Math.random() + 1e4);
/** @type {string} */
var that = String(z * inverseMagnitude);
/** @type {number} */
var value = 0;
/** @type {!Array} */
var date = [];
/** @type {boolean} */
var unit = that.length >= 18;
for (; date.length < 6; ) {
date.push(parseInt(that.slice(value, value + 2)));
/** @type {number} */
value = unit ? value + 3 : value + 2;
}
return [inverseMagnitude, bmak.cal_dis(date)];
},
fm: function () {
/** @type {!Array} */
var bookIDs = [
"Monospace",
"Wingdings 2",
"ITC Bodoni 72 Bold",
"Menlo",
"Gill Sans MT",
"Lucida Sans",
"Bodoni 72",
"Serif",
"Shree Devanagari 714",
"Microsoft Tai Le",
"Nimbus Roman No 9 L",
"Candara",
"Press Start 2P",
"Waseem",
];
var evdata = document.createElement("span");
evdata.innerHTML = "mmmmmmmmlli";
evdata.style.fontSize = "192px";
var param = "";
var n = document.getElementsByTagName("body")[0];
if (n) {
var bookIdIndex;
for (bookIdIndex in bookIDs) {
evdata.style.fontFamily = bookIDs[bookIdIndex];
n.appendChild(evdata);
param =
param +
(bookIDs[bookIdIndex] +
":" +
evdata.offsetWidth +
"," +
evdata.offsetHeight +
";");
n.removeChild(evdata);
}
bmak.fmh = bmak.ats(bmak.mn_s(param));
} else {
bmak.fmh = "";
}
bmak.fmz =
"devicePixelRatio" in window && void 0 !== window.devicePixelRatio
? window.devicePixelRatio
: -1;
},
wgl: function () {
try {
var t = document.createElement("canvas");
var a = t.getContext("webgl");
bmak.wv = "n";
bmak.wr = "n";
bmak.weh = "n";
/** @type {number} */
bmak.wl = 0;
if (a) {
bmak.wv = "b";
bmak.wr = "b";
bmak.weh = "b";
if (a.getSupportedExtensions()) {
bmak.weh = bmak.ats(
bmak.mn_s(JSON.stringify(a.getSupportedExtensions().sort()))
);
bmak.wl = a.getSupportedExtensions().length;
if (
a
.getSupportedExtensions()
.indexOf("WEBGL_debug_renderer_info") >= 0
) {
bmak.wv = a.getParameter(
a.getExtension("WEBGL_debug_renderer_info")
.UNMASKED_VENDOR_WEBGL
);
bmak.wr = a.getParameter(
a.getExtension("WEBGL_debug_renderer_info")
.UNMASKED_RENDERER_WEBGL
);
}
}
}
} catch (t) {
bmak.wv = "e";
bmak.wr = "e";
bmak.weh = "e";
/** @type {number} */
bmak.wl = 0;
}
},
csh: function () {
if (window.speechSynthesis) {
var PL$13 = window.speechSynthesis.getVoices();
if (PL$13.length > 0) {
var boundary = "";
/** @type {number} */
var PL$17 = 0;
for (; PL$17 < PL$13.length; PL$17++) {
boundary =
boundary + (PL$13[PL$17].voiceURI + "_" + PL$13[PL$17].lang);
}
bmak.ssh = bmak.ats(bmak.mn_s(boundary));
} else {
bmak.ssh = "0";
}
} else {
bmak.ssh = "n";
}
},
hbs: function () {
try {
return (
Boolean(window.__nightmare) +
(Boolean(window.cdc_adoQpoasnfa76pfcZLmcfl_Array) << 1) +
(Boolean(window.cdc_adoQpoasnfa76pfcZLmcfl_Promise) << 2) +
(Boolean(window.cdc_adoQpoasnfa76pfcZLmcfl_Symbol) << 3) +
(Boolean(window.OSMJIF) << 4) +
(Boolean(window._Selenium_IDE_Recorder) << 5) +
(Boolean(window["__$webdriverAsyncExecutor"]) << 6) +
(Boolean(window.__driver_evaluate) << 7) +
(Boolean(window.__driver_unwrapped) << 8) +
(Boolean(window.__fxdriver_evaluate) << 9) +
(Boolean(window.__fxdriver_unwrapped) << 10) +
(Boolean(window.__lastWatirAlert) << 11) +
(Boolean(window.__lastWatirConfirm) << 12) +
(Boolean(window.__lastWatirPrompt) << 13) +
(Boolean(window.__phantomas) << 14) +
(Boolean(window.__selenium_evaluate) << 15) +
(Boolean(window.__selenium_unwrapped) << 16) +
(Boolean(window.__webdriverFuncgeb) << 17) +
(Boolean(window.__webdriver__chr) << 18) +
(Boolean(window.__webdriver_evaluate) << 19) +
(Boolean(window.__webdriver_script_fn) << 20) +
(Boolean(window.__webdriver_script_func) << 21) +
(Boolean(window.__webdriver_script_function) << 22) +
(Boolean(window.__webdriver_unwrapped) << 23) +
(Boolean(window.awesomium) << 24) +
(Boolean(window.callSelenium) << 25) +
(Boolean(window.calledPhantom) << 26) +
(Boolean(window.calledSelenium) << 27) +
(Boolean(window.domAutomationController) << 28) +
(Boolean(window.watinExpressionError) << 29) +
(Boolean(window.watinExpressionResult) << 30) +
(Boolean(window.spynner_additional_js_loaded) << 31) +
(Boolean(document["$chrome_asyncScriptInfo"]) << 32) +
(Boolean(window.fmget_targets) << 33) +
(Boolean(window.geb) << 34)
);
} catch (t) {
return 0;
}
},
gwd: function () {
try {
return navigator.webdriver ? navigator.webdriver : -1;
} catch (t) {
return 0;
}
},
gf: function (a) {
var rv;
if (
((rv = null == a ? document.activeElement : a),
null == document.activeElement)
) {
return -1;
}
var e = rv.getAttribute("name");
if (null == e) {
var n = rv.getAttribute("id");
return null == n ? -1 : bmak.ab(n);
}
return bmak.ab(e);
},
cc: function (options) {
/** @type {number} */
var baseName = options % 4;
if (2 == baseName) {
/** @type {number} */
baseName = 3;
}
/** @type {number} */
var middlePathName = 42 + baseName;
/**
* @param {?} results
* @param {?} handler
* @return {?}
*/
var result = function (results, handler) {
return 0;
};
if (42 == middlePathName) {
/**
* @param {number} t
* @param {number} scale
* @return {?}
*/
result = function (t, scale) {
return t * scale;
};
} else {
if (43 == middlePathName) {
/**
* @param {(Object|number)} value
* @param {!Object} prop
* @return {?}
*/
result = function (value, prop) {
return value + prop;
};
} else {
/**
* @param {(boolean|number|string)} x
* @param {(boolean|number|string)} y
* @return {?}
*/
result = function (x, y) {
return x - y;
};
}
}
return result;
},
isIgn: function (canCreateDiscussions) {
var el = document.activeElement;
if (null == document.activeElement) {
return 0;
}
var val = el.getAttribute("type");
return 1 == (null == val ? -1 : bmak.get_type(val)) &&
bmak.fidcnt > 12 &&
-2 == canCreateDiscussions
? 1
: 0;
},
cka: function (event, number) {
try {
var e = event || window.event;
/** @type {number} */
var n = -1;
/** @type {number} */
var s = 1;
if (bmak.ke_cnt < bmak.ke_cnt_lmt && e) {
n = e.keyCode;
var f = e.charCode;
/** @type {number} */
var r = e.shiftKey ? 1 : 0;
/** @type {number} */
var g = e.ctrlKey ? 1 : 0;
/** @type {number} */
var b = e.metaKey ? 1 : 0;
/** @type {number} */
var alen = e.altKey ? 1 : 0;
/** @type {number} */
var j = 8 * r + 4 * g + 2 * b + alen;
/** @type {number} */
var m = bmak.get_cf_date() - bmak.start_ts;
var slen2 = bmak.gf(null);
/** @type {number} */
var l = 0;
if (f && n) {
n = 0 != f && 0 != n && f != n ? -1 : 0 != n ? n : f;
}
if (0 == g && 0 == b && 0 == alen && n >= 32) {
/** @type {number} */
n =
3 == number && n >= 32 && n <= 126
? -2
: n >= 33 && n <= 47
? -3
: n >= 112 && n <= 123
? -4
: -2;
}
if (slen2 != bmak.prevfid) {
/** @type {number} */
bmak.fidcnt = 0;
bmak.prevfid = slen2;
} else {
bmak.fidcnt = bmak.fidcnt + 1;
}
if (0 == bmak.isIgn(n)) {
var d =
bmak.ke_cnt +
"," +
number +
"," +
m +
"," +
n +
"," +
l +
"," +
j +
"," +
slen2;
if (void 0 !== e.isTrusted && false === e.isTrusted) {
d = d + ",0";
}
d = d + ";";
bmak.kact = bmak.kact + d;
bmak.ke_vel =
bmak.ke_vel + bmak.ke_cnt + number + m + n + j + slen2;
bmak.ta += m;
} else {
/** @type {number} */
s = 0;
}
}
if (s && e) {
bmak.ke_cnt++;
}
if (!(!bmak.js_post || 1 != number || (13 != n && 9 != n))) {
/** @type {number} */
bmak.aj_type = 3;
bmak.bpd();
bmak.pd(true);
/** @type {number} */
bmak.ce_js_post = 1;
}
} catch (t) {}
},
cta: function (event, a) {
try {
if (
(1 == a && bmak.tme_cnt < bmak.tme_cnt_lmt) ||
(1 != a && bmak.tduce_cnt < bmak.tduce_cnt_lmt)
) {
var e = event || window.event;
/** @type {number} */
var sha = -1;
/** @type {number} */
var postfix = -1;
if (e && e.pageX && e.pageY) {
sha = Math.floor(e.pageX);
postfix = Math.floor(e.pageY);
} else {
if (e && e.clientX && e.clientY) {
sha = Math.floor(e.clientX);
postfix = Math.floor(e.clientY);
}
}
/** @type {number} */
var file = bmak.get_cf_date() - bmak.start_ts;
var s =
bmak.te_cnt + "," + a + "," + file + "," + sha + "," + postfix;
if (void 0 !== e.isTrusted && false === e.isTrusted) {
s = s + ",0";
}
bmak.tact = bmak.tact + s + ";";
bmak.ta += file;
bmak.te_vel =
bmak.te_vel + bmak.te_cnt + a + file + sha + postfix;
/** @type {number} */
bmak.doa_throttle = 0;
/** @type {number} */
bmak.dma_throttle = 0;
}
if (1 == a) {
bmak.tme_cnt++;
} else {
bmak.tduce_cnt++;
}
bmak.te_cnt++;
if (
bmak.js_post &&
2 == a &&
bmak.aj_indx_tact < bmak.aj_lmt_tact
) {
/** @type {number} */
bmak.aj_type = 5;
bmak.bpd();
bmak.pd(true);
/** @type {number} */
bmak.ce_js_post = 1;
bmak.aj_indx_tact++;
}
} catch (t) {}
},
getFloatVal: function (b) {
try {
if (-1 != bmak.chknull(b) && !isNaN(b)) {
/** @type {number} */
var year = parseFloat(b);
if (!isNaN(year)) {
return year.toFixed(2);
}
}
} catch (t) {}
return -1;
},
cdoa: function (canCreateDiscussions) {
try {
if (
bmak.doe_cnt < bmak.doe_cnt_lmt &&
bmak.doa_throttle < 2 &&
canCreateDiscussions
) {
/** @type {number} */
var a = bmak.get_cf_date() - bmak.start_ts;
var e = bmak.getFloatVal(canCreateDiscussions.alpha);
var n = bmak.getFloatVal(canCreateDiscussions.beta);
var hexString = bmak.getFloatVal(canCreateDiscussions.gamma);
var s =
bmak.doe_cnt + "," + a + "," + e + "," + n + "," + hexString;
if (
void 0 !== canCreateDiscussions.isTrusted &&
false === canCreateDiscussions.isTrusted
) {
s = s + ",0";
}
bmak.doact = bmak.doact + s + ";";
bmak.ta += a;
bmak.doe_vel = bmak.doe_vel + bmak.doe_cnt + a;
bmak.doe_cnt++;
}
if (
bmak.js_post &&
bmak.doe_cnt > 1 &&
bmak.aj_indx_doact < bmak.aj_lmt_doact
) {
/** @type {number} */
bmak.aj_type = 6;
bmak.bpd();
bmak.pd(true);
/** @type {number} */
bmak.ce_js_post = 1;
bmak.aj_indx_doact++;
}
bmak.doa_throttle++;
} catch (t) {}
},
cdma: function (canCreateDiscussions) {
try {
if (
bmak.dme_cnt < bmak.dme_cnt_lmt &&
bmak.dma_throttle < 2 &&
canCreateDiscussions
) {
/** @type {number} */
var a = bmak.get_cf_date() - bmak.start_ts;
/** @type {number} */
var e = -1;
/** @type {number} */
var n = -1;
/** @type {number} */
var o = -1;
if (canCreateDiscussions.acceleration) {
e = bmak.getFloatVal(canCreateDiscussions.acceleration.x);
n = bmak.getFloatVal(canCreateDiscussions.acceleration.y);
o = bmak.getFloatVal(canCreateDiscussions.acceleration.z);
}
/** @type {number} */
var m = -1;
/** @type {number} */
var r = -1;
/** @type {number} */
var i = -1;
if (canCreateDiscussions.accelerationIncludingGravity) {
m = bmak.getFloatVal(
canCreateDiscussions.accelerationIncludingGravity.x
);
r = bmak.getFloatVal(
canCreateDiscussions.accelerationIncludingGravity.y
);
i = bmak.getFloatVal(
canCreateDiscussions.accelerationIncludingGravity.z
);
}
/** @type {number} */
var c = -1;
/** @type {number} */
var b = -1;
/** @type {number} */
var path = 1;
if (canCreateDiscussions.rotationRate) {
c = bmak.getFloatVal(canCreateDiscussions.rotationRate.alpha);
b = bmak.getFloatVal(canCreateDiscussions.rotationRate.beta);
path = bmak.getFloatVal(
canCreateDiscussions.rotationRate.gamma
);
}
var commandline =
bmak.dme_cnt +
"," +
a +
"," +
e +
"," +
n +
"," +
o +
"," +
m +
"," +
r +
"," +
i +
"," +
c +
"," +
b +
"," +
path;
if (
void 0 !== canCreateDiscussions.isTrusted &&
false === canCreateDiscussions.isTrusted
) {
commandline = commandline + ",0";
}
bmak.dmact = bmak.dmact + commandline + ";";
bmak.ta += a;
bmak.dme_vel = bmak.dme_vel + bmak.dme_cnt + a;
bmak.dme_cnt++;
}
if (
bmak.js_post &&
bmak.dme_cnt > 1 &&
bmak.aj_indx_dmact < bmak.aj_lmt_dmact
) {
/** @type {number} */
bmak.aj_type = 7;
bmak.bpd();
bmak.pd(true);
/** @type {number} */
bmak.ce_js_post = 1;
bmak.aj_indx_dmact++;
}
bmak.dma_throttle++;
} catch (t) {}
},
get_type: function (body) {
return (
(body = body.toLowerCase()),
"text" == body ||
"search" == body ||
"url" == body ||
"email" == body ||
"tel" == body ||
"number" == body
? 0
: "password" == body
? 1
: 2
);
},
chknull: function (value) {
return null == value ? -1 : value;
},
getforminfo: function () {
var t = "";
var a = "";
var PL$13 = document.getElementsByTagName("input");
/** @type {number} */
var n = -1;
/** @type {number} */
var PL$17 = 0;
for (; PL$17 < PL$13.length; PL$17++) {
var matches = PL$13[PL$17];
var r = bmak.ab(matches.getAttribute("name"));
var i = bmak.ab(matches.getAttribute("id"));
var c = matches.getAttribute("required");
/** @type {number} */
var b = null == c ? 0 : 1;
var artistTrack = matches.getAttribute("type");
var GearType =
null == artistTrack ? -1 : bmak.get_type(artistTrack);
var k = matches.getAttribute("autocomplete");
if (null == k) {
/** @type {number} */
n = -1;
} else {
k = k.toLowerCase();
/** @type {number} */
n = "off" == k ? 0 : "on" == k ? 1 : 2;
}
var lead = matches.defaultValue;
var type = matches.value;
/** @type {number} */
var up = 0;
/** @type {number} */
var weight_col = 0;
if (lead && 0 != lead.length) {
/** @type {number} */
weight_col = 1;
}
if (!(!type || 0 == type.length || (weight_col && type == lead))) {
/** @type {number} */
up = 1;
}
if (2 != GearType) {
t =
t +
GearType +
"," +
n +
"," +
up +
"," +
b +
"," +
i +
"," +
r +
"," +
weight_col +
";";
}
a = a + up + ";";
}
return null == bmak.ins && (bmak.ins = a), (bmak.cns = a), t;
},
startdoadma: function () {
if (0 == bmak.doadma_en && window.addEventListener) {
window.addEventListener("deviceorientation", bmak.cdoa, true);
window.addEventListener("devicemotion", bmak.cdma, true);
/** @type {number} */
bmak.doadma_en = 1;
}
/** @type {number} */
bmak.doa_throttle = 0;
/** @type {number} */
bmak.dma_throttle = 0;
},
updatet: function () {
return bmak.get_cf_date() - bmak.start_ts;
},
htm: function (mmCoreSplitViewBlock) {
bmak.cta(mmCoreSplitViewBlock, 1);
},
hts: function (mmCoreSplitViewBlock) {
bmak.cta(mmCoreSplitViewBlock, 2);
},
hte: function (mmCoreSplitViewBlock) {
bmak.cta(mmCoreSplitViewBlock, 3);
},
htc: function (mmCoreSplitViewBlock) {
bmak.cta(mmCoreSplitViewBlock, 4);
},
hmm: function (i) {
bmak.cma(i, 1);
},
hc: function (httpCode) {
bmak.cma(httpCode, 2);
},
hmd: function (mmCoreSplitViewBlock) {
bmak.cma(mmCoreSplitViewBlock, 3);
},
hmu: function (mmCoreSplitViewBlock) {
bmak.cma(mmCoreSplitViewBlock, 4);
},
hpd: function (mmCoreSplitViewBlock) {
bmak.cpa(mmCoreSplitViewBlock, 3);
},
hpu: function (mmCoreSplitViewBlock) {
bmak.cpa(mmCoreSplitViewBlock, 4);
},
hkd: function (mmCoreSplitViewBlock) {
bmak.cka(mmCoreSplitViewBlock, 1);
},
hku: function (mmCoreSplitViewBlock) {
bmak.cka(mmCoreSplitViewBlock, 2);
},
hkp: function (mmCoreSplitViewBlock) {
bmak.cka(mmCoreSplitViewBlock, 3);
},
form_submit: function () {
try {
if ((bmak.bpd(), 0 == bmak.sdfn.length)) {
if (
(document.getElementById("bm-telemetry") &&
(document.getElementById("bm-telemetry").value =
bmak.sensor_data),
void 0 !== document.getElementsByName("bm-telemetry"))
) {
var PL$13 = document.getElementsByName("bm-telemetry");
/** @type {number} */
var PL$17 = 0;
for (; PL$17 < PL$13.length; PL$17++) {
PL$13[PL$17].value = bmak.sensor_data;
}
}
} else {
/** @type {number} */
PL$17 = 0;
for (; PL$17 < bmak.sdfn.length; PL$17++) {
if (document.getElementById(bmak.sdfn[PL$17])) {
document.getElementById(bmak.sdfn[PL$17]).value =
bmak.sensor_data;
}
}
}
} catch (t) {
bmak.sd_debug(",s7:" + t + "," + bmak.sensor_data);
}
},
get_telemetry: function () {
return bmak.bpd(), bmak.ir(), bmak.sensor_data;
},
getdurl: function () {
return bmak.enReadDocUrl ? document.URL.replace(/\\|"/g, "") : "";
},
x1: function () {
return Math.floor(16777216 * (1 + Math.random())).toString(36);
},
gck: function () {
var t = bmak.x1() + bmak.x1() + bmak.x1() + bmak.x1();
return bmak.set_cookie(bmak.ckie, t + "_" + bmak.ab(t)), t;
},
set_cookie: function (name, value) {
if (void 0 !== document.cookie) {
document.cookie =
name +
"=" +
value +
"; path=/; expires=Fri, 01 Feb 2025 08:00:00 GMT;";
}
},
get_cookie: function () {
var CookieFound = "0";
try {
CookieFound = bmak.cookie_chk_read(bmak.ckie);
if (!CookieFound) {
/** @type {number} */
bmak.n_ck = 1;
CookieFound = bmak.bm ? "2" : "1";
}
} catch (t) {}
return CookieFound;
},
cookie_chk_read: function (min) {
if (document.cookie) {
var idx = min + "=";
var PL$13 = document.cookie.split("; ");
/** @type {number} */
var PL$17 = 0;
for (; PL$17 < PL$13.length; PL$17++) {
var opfilter = PL$13[PL$17];
if (0 === opfilter.indexOf(idx)) {
var c_user = opfilter.substring(idx.length, opfilter.length);
if (
-1 != c_user.indexOf("~") ||
-1 != decodeURIComponent(c_user).indexOf("~")
) {
return c_user;
}
}
}
}
return false;
},
bpd: function () {
bmak.sd_debug("<bpd>");
/** @type {number} */
var $start = 0;
try {
$start = bmak.get_cf_date();
var step1_setup = bmak.updatet();
var _maskLayer = "3";
if (bmak.ckie) {
_maskLayer = bmak.get_cookie();
}
var n = bmak.gd();
var moz = window.DeviceOrientationEvent ? "do_en" : "do_dis";
var remainder = window.DeviceMotionEvent ? "dm_en" : "dm_dis";
var size1 = window.TouchEvent ? "t_en" : "t_dis";
var i = moz + "," + remainder + "," + size1;
var c = bmak.getforminfo();
var b = bmak.getdurl();
var d = bmak.aj_type + "," + bmak.aj_indx;
if (
!bmak.fpcf.fpValCalculated &&
(0 == bmak.js_post || bmak.aj_indx > 0)
) {
bmak.fpcf.fpVal();
}
var step0_done =
bmak.ke_vel +
bmak.me_vel +
bmak.doe_vel +
bmak.dme_vel +
bmak.te_vel +
bmak.pe_vel;
var int8Mult = bmak.ff;
var step4 =
int8Mult(80) +
int8Mult(105) +
int8Mult(90) +
int8Mult(116) +
int8Mult(69);
var u = bmak.jrs(bmak.start_ts);
/** @type {number} */
var justifyFull = bmak.get_cf_date() - bmak.start_ts;
var step2 = bmak.pi(bmak.d2 / 6);
var step4_setup = bmak.fas();
var v = bmak.hbs();
var h = bmak.gwd();
/** @type {!Array} */
var expectedStates = [
bmak.ke_vel + 1,
bmak.me_vel + 32,
bmak.te_vel + 32,
bmak.doe_vel,
bmak.dme_vel,
bmak.pe_vel,
step0_done,
step1_setup,
bmak.init_time,
bmak.start_ts,
bmak.fpcf.td,
bmak.d2,
bmak.ke_cnt,
bmak.me_cnt,
step2,
bmak.pe_cnt,
bmak.te_cnt,
justifyFull,
bmak.ta,
bmak.n_ck,
_maskLayer,
bmak.ab(_maskLayer),
bmak.fpcf.rVal,
bmak.fpcf.rCFP,
step4_setup,
step4,
u[0],
u[1],
v,
h,
];
var w = expectedStates.join(",");
var y = "" + bmak.ab(bmak.fpcf.fpValstr);
if (bmak.firstLoad) {
bmak.np();
} else {
bmak.csh();
}
if (!bmak.hbCalc && (0 == bmak.js_post || bmak.aj_indx > 0)) {
bmak.fm();
bmak.wgl();
/** @type {boolean} */
bmak.hbCalc = true;
}
var E = "";
if (bmak.hbCalc) {
E =
bmak.fmh +
"," +
bmak.fmz +
"," +
bmak.ssh +
"," +
bmak.wv +
"," +
bmak.wr +
"," +
bmak.weh +
"," +
bmak.wl;
}
var S = bmak.sed();
var coordsOfTerritoriesToSplit = bmak.mn_get_current_challenges();
var importedStyleSheet = "";
var subwiki = "";
var firstepisode = "";
if (void 0 !== coordsOfTerritoriesToSplit[1]) {
var j = coordsOfTerritoriesToSplit[1];
if (void 0 !== bmak.mn_r[j]) {
importedStyleSheet = bmak.mn_r[j];
}
}
if (void 0 !== coordsOfTerritoriesToSplit[2]) {
var i = coordsOfTerritoriesToSplit[2];
if (void 0 !== bmak.mn_r[i]) {
subwiki = bmak.mn_r[i];
}
}
if (void 0 !== coordsOfTerritoriesToSplit[3]) {
var i = coordsOfTerritoriesToSplit[3];
if (void 0 !== bmak.mn_r[i]) {
firstepisode = bmak.mn_r[i];
}
}
bmak.sensor_data =
bmak.ver +
"-1,2,-94,-100," +
n +
"-1,2,-94,-101," +
i +
"-1,2,-94,-105," +
bmak.informinfo +
"-1,2,-94,-102," +
c +
"-1,2,-94,-108," +
bmak.kact +
"-1,2,-94,-110," +
bmak.mact +
"-1,2,-94,-117," +
bmak.tact +
"-1,2,-94,-111," +
bmak.doact +
"-1,2,-94,-109," +
bmak.dmact +
"-1,2,-94,-114," +
bmak.pact +
"-1,2,-94,-103," +
bmak.vcact +
"-1,2,-94,-112," +
b +
"-1,2,-94,-115," +
w +
"-1,2,-94,-106," +
d;
bmak.sensor_data =
bmak.sensor_data +
"-1,2,-94,-119," +
bmak.mr +
"-1,2,-94,-122," +
S +
"-1,2,-94,-123," +
importedStyleSheet +
"-1,2,-94,-124," +
subwiki +
"-1,2,-94,-126," +
firstepisode +
"-1,2,-94,-127," +
bmak.nav_perm;
/** @type {number} */
var P = 24 ^ bmak.ab(bmak.sensor_data);
bmak.sensor_data =
bmak.sensor_data +
"-1,2,-94,-70," +
bmak.fpcf.fpValstr +
"-1,2,-94,-80," +
y +
"-1,2,-94,-116," +
bmak.o9 +
"-1,2,-94,-118," +
P +
"-1,2,-94,-129," +
E +
"-1,2,-94,-121,";
bmak.sd_debug(",s1:" + bmak.sensor_data.slice(0, 10));
} catch (filter) {
var T = "";
try {
if (filter.stack && "string" == typeof filter.stack) {
T = filter.stack.replace(/"/g, "\\'");
} else {
if ("string" == typeof filter) {
T = filter.replace(/"/g, "\\'");
}
}
T = T.slice(0, 1e3);
bmak.sd_debug(",s2:" + T);
bmak.sensor_data =
bmak.ver + "-1,2,-94,-100," + bmak.uar() + "-1,2,-94,-120," + T;
} catch (filter) {
if (filter.stack && "string" == typeof filter.stack) {
T = filter.stack.replace(/"/g, "\\'");
} else {
if ("string" == typeof filter) {
T = filter.replace(/"/g, "\\'");
}
}
T = T.slice(0, 1e3);
bmak.sd_debug(",s3:" + T);
bmak.sensor_data = bmak.ver + bmak.sensor_data + ",s3:" + T;
}
}
try {
var m_key = bmak.od(bmak.cs, bmak.api_public_key).slice(0, 16);
var m_buffer = Math.floor(bmak.get_cf_date() / 36e5);
var R = bmak.get_cf_date();
var $eol = m_key + bmak.od(m_buffer, m_key) + bmak.sensor_data;
bmak.sensor_data =
$eol +
";" +
(bmak.get_cf_date() - $start) +
";" +
bmak.tst +
";" +
(bmak.get_cf_date() - R);
} catch (t) {}
bmak.sd_debug("</bpd>");
},
od: function (c, n) {
try {
/** @type {string} */
c = String(c);
/** @type {string} */
n = String(n);
/** @type {!Array} */
var zarr = [];
var nn = n.length;
if (nn > 0) {
/** @type {number} */
var i = 0;
for (; i < c.length; i++) {
var t = c.charCodeAt(i);
var p1 = c.charAt(i);
var max_h_S = n.charCodeAt(i % nn);
t = bmak.rir(t, 47, 57, max_h_S);
if (t != c.charCodeAt(i)) {
p1 = String.fromCharCode(t);
}
zarr.push(p1);
}
if (zarr.length > 0) {
return zarr.join("");
}
}
} catch (t) {}
return c;
},
rir: function (value, min, max, n) {
return (
value > min &&
value <= max &&
(value = value + (n % (max - min))) > max &&
(value = value - max + min),
value
);
},
lvc: function (value) {
try {
if (bmak.vc_cnt < bmak.vc_cnt_lmt) {
/** @type {number} */
var suit = bmak.get_cf_date() - bmak.start_ts;
var e = value + "," + suit + ";";
bmak.vcact = bmak.vcact + e;
}
bmak.vc_cnt++;
} catch (t) {}
},
hvc: function () {
try {
/** @type {number} */
var artistTrack = 1;
if (document[bmak.hn]) {
/** @type {number} */
artistTrack = 0;
}
bmak.lvc(artistTrack);
} catch (t) {}
},
hb: function (callback) {
bmak.lvc(2);
},
hf: function (type) {
bmak.lvc(3);
},
rve: function () {
if (void 0 !== document.hidden) {
bmak.hn = "hidden";
bmak.vc = "visibilitychange";
} else {
if (void 0 !== document.mozHidden) {
bmak.hn = "mozHidden";
bmak.vc = "mozvisibilitychange";
} else {
if (void 0 !== document.msHidden) {
bmak.hn = "msHidden";
bmak.vc = "msvisibilitychange";
} else {
if (void 0 !== document.webkitHidden) {
bmak.hn = "webkitHidden";
bmak.vc = "webkitvisibilitychange";
}
}
}
}
if (document.addEventListener) {
if ("unk" != bmak.hn) {
document.addEventListener(bmak.vc, bmak.hvc, true);
}
} else {
if (document.attachEvent && "unk" != bmak.hn) {
document.attachEvent(bmak.vc, bmak.hvc);
}
}
window.onblur = bmak.hb;
window.onfocus = bmak.hf;
},
startTracking: function () {
bmak.startdoadma();
try {
bmak.to();
} catch (t) {
/** @type {number} */
bmak.o9 = -654321;
}
setInterval(function () {
bmak.startdoadma();
}, 3e3);
if (document.addEventListener) {
document.addEventListener("touchmove", bmak.htm, true);
document.addEventListener("touchstart", bmak.hts, true);
document.addEventListener("touchend", bmak.hte, true);
document.addEventListener("touchcancel", bmak.htc, true);
document.addEventListener("mousemove", bmak.hmm, true);
document.addEventListener("click", bmak.hc, true);
document.addEventListener("mousedown", bmak.hmd, true);
document.addEventListener("mouseup", bmak.hmu, true);
document.addEventListener("pointerdown", bmak.hpd, true);
document.addEventListener("pointerup", bmak.hpu, true);
document.addEventListener("keydown", bmak.hkd, true);
document.addEventListener("keyup", bmak.hku, true);
document.addEventListener("keypress", bmak.hkp, true);
} else {
if (document.attachEvent) {
document.attachEvent("touchmove", bmak.htm);
document.attachEvent("touchstart", bmak.hts);
document.attachEvent("touchend", bmak.hte);
document.attachEvent("touchcancel", bmak.htc);
document.attachEvent("onmousemove", bmak.hmm);
document.attachEvent("onclick", bmak.hc);
document.attachEvent("onmousedown", bmak.hmd);
document.attachEvent("onmouseup", bmak.hmu);
document.attachEvent("onpointerdown", bmak.hpd);
document.attachEvent("onpointerup", bmak.hpu);
document.attachEvent("onkeydown", bmak.hkd);
document.attachEvent("onkeyup", bmak.hku);
document.attachEvent("onkeypress", bmak.hkp);
}
}
bmak.rve();
bmak.informinfo = bmak.getforminfo();
if (bmak.js_post) {
/** @type {number} */
bmak.aj_type = 0;
bmak.bpd();
bmak.pd(true);
}
/** @type {boolean} */
bmak.firstLoad = false;
},
gb: function (dataType, value) {
var b = dataType.charCodeAt(value);
return (b = b > 255 ? 0 : b);
},
encode: function (data) {
if ("undefined" != typeof btoa) {
return btoa(data);
}
var ret2;
var width;
var t;
var result;
var value;
var xhr;
var e;
var callbacks =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var thisProperty = "";
/** @type {number} */
var minRet = 3 * Math.floor(data.length / 3);
/** @type {number} */
var ret = 0;
for (; ret < minRet; ret = ret + 3) {
ret2 = bmak.gb(data, ret);
width = bmak.gb(data, ret + 1);
t = bmak.gb(data, ret + 2);
/** @type {number} */
result = ret2 >> 2;
/** @type {number} */
value = ((3 & ret2) << 4) + (width >> 4);
/** @type {number} */
xhr = ((15 & width) << 2) + (t >> 6);
/** @type {number} */
e = 63 & t;
thisProperty =
thisProperty +
callbacks.charAt(result) +
callbacks.charAt(value) +
callbacks.charAt(xhr) +
callbacks.charAt(e);
}
return (
data.length % 3 == 1 &&
((ret2 = bmak.gb(data, ret)),
(result = ret2 >> 2),
(value = (3 & ret2) << 4),
(thisProperty =
thisProperty +
callbacks.charAt(result) +
callbacks.charAt(value) +
"==")),
data.length % 3 == 2 &&
((ret2 = bmak.gb(data, ret)),
(width = bmak.gb(data, ret + 1)),
(result = ret2 >> 2),
(value = ((3 & ret2) << 4) + (width >> 4)),
(xhr = (15 & width) << 2),
(thisProperty =
thisProperty +
callbacks.charAt(result) +
callbacks.charAt(value) +
callbacks.charAt(xhr) +
"=")),
thisProperty
);
},
ie9OrLower: function () {
try {
if (
"string" == typeof navigator.appVersion &&
-1 != navigator.appVersion.indexOf("MSIE")
) {
if (parseFloat(navigator.appVersion.split("MSIE")[1]) <= 9) {
return true;
}
}
} catch (t) {}
return false;
},
parse_gp: function (canCreateDiscussions) {},
call_gp: function () {
var xhr;
if (void 0 !== window.XMLHttpRequest) {
/** @type {!XMLHttpRequest} */
xhr = new XMLHttpRequest();
} else {
if (void 0 !== window.XDomainRequest) {
/** @type {!XDomainRequest} */
xhr = new XDomainRequest();
/**
* @return {undefined}
*/
xhr.onload = function () {
/** @type {number} */
this.readyState = 4;
if (this.onreadystatechange instanceof Function) {
this.onreadystatechange();
}
};
} else {
xhr = new ActiveXObject("Microsoft.XMLHTTP");
}
}
xhr.open("GET", bmak.params_url, true);
/**
* @return {undefined}
*/
xhr.onreadystatechange = function () {
if (xhr.readyState > 3 && bmak.parse_gp) {
bmak.parse_gp(xhr);
}
};
xhr.send();
},
apicall: function (value, expectedCos) {
var query;
query = window.XDomainRequest
? new XDomainRequest()
: window.XMLHttpRequest
? new XMLHttpRequest()
: new ActiveXObject("Microsoft.XMLHTTP");
query.open("POST", value, expectedCos);
var id = bmak.encode(bmak.api_public_key + ":");
bmak.auth = ',"auth" : "' + id + '"';
if (query.setRequestHeader) {
query.setRequestHeader("Content-type", "application/json");
query.setRequestHeader("Authorization", "Basic " + id);
bmak.auth = "";
}
var fakeContinuationToken =
'{"session_id" : "' +
bmak.session_id +
'","sensor_data" : "' +
bmak.sensor_data +
'"' +
bmak.auth +
"}";
query.send(fakeContinuationToken);
},
apicall_bm: function (url, c, t) {
var xhr;
if (void 0 !== window.XMLHttpRequest) {
/** @type {!XMLHttpRequest} */
xhr = new XMLHttpRequest();
} else {
if (void 0 !== window.XDomainRequest) {
/** @type {!XDomainRequest} */
xhr = new XDomainRequest();
/**
* @return {undefined}
*/
xhr.onload = function () {
/** @type {number} */
this.readyState = 4;
if (this.onreadystatechange instanceof Function) {
this.onreadystatechange();
}
};
} else {
xhr = new ActiveXObject("Microsoft.XMLHTTP");
}
}
xhr.open("POST", url, c);
if (void 0 !== xhr.withCredentials) {
/** @type {boolean} */
xhr.withCredentials = true;
}
var mime = '{"sensor_data":"' + bmak.sensor_data + '"}';
/**
* @return {undefined}
*/
xhr.onreadystatechange = function () {
if (xhr.readyState > 3 && t) {
t(xhr);
}
};
xhr.send(mime);
/** @type {number} */
bmak.dcs = 0;
},
pd: function (name) {
if (bmak.check_stop_protocol()) {
bmak.apicall_bm(bmak.cf_url, name, bmak.patp);
bmak.aj_indx = bmak.aj_indx + 1;
} else {
if (bmak.loap && bmak.dcs) {
bmak.apicall_bm(bmak.cf_url, name, bmak.patp);
}
}
},
check_stop_protocol: function () {
var tiledImageTLs = bmak.get_stop_signals();
var tiledImageBR = tiledImageTLs[0];
if (!bmak.rst && tiledImageBR > -1) {
bmak.ir();
/** @type {boolean} */
bmak.rst = true;
}
var tiledImageTL = tiledImageTLs[1];
return -1 == tiledImageTL || bmak.aj_ss < tiledImageTL;
},
get_stop_signals: function () {
/** @type {!Array} */
var testModes = [-1, -1];
var c_user = bmak.cookie_chk_read(bmak.ckie);
if (false !== c_user) {
try {
var e = decodeURIComponent(c_user).split("~");
if (e.length >= 4) {
var b = bmak.pi(e[1]);
var a = bmak.pi(e[3]);
b = isNaN(b) ? -1 : b;
a = isNaN(a) ? -1 : a;
/** @type {!Array} */
testModes = [a, b];
}
} catch (t) {}
}
return testModes;
},
patp: function (canCreateDiscussions) {
bmak.aj_ss++;
/** @type {boolean} */
bmak.rst = false;
},
get_mn_params_from_abck: function () {
/** @type {!Array} */
var testFunctions = [[]];
try {
var c_user = bmak.cookie_chk_read(bmak.ckie);
if (false !== c_user) {
var tiledImageTLs = decodeURIComponent(c_user).split("~");
if (tiledImageTLs.length >= 5) {
var follow_1 = tiledImageTLs[0];
var tiledImageTL = tiledImageTLs[4];
var options = tiledImageTL.split("||");
if (options.length > 0) {
/** @type {number} */
var i = 0;
for (; i < options.length; i++) {
var filterOption = options[i];
var a = filterOption.split("-");
if (a.length >= 5) {
var follow_3 = bmak.pi(a[0]);
var c2 = a[1];
var gt450 = bmak.pi(a[2]);
var borough = bmak.pi(a[3]);
var torr = bmak.pi(a[4]);
/** @type {number} */
var bidder = 1;
if (a.length >= 6) {
bidder = bmak.pi(a[5]);
}
/** @type {!Array} */
var expected = [
follow_3,
follow_1,
c2,
gt450,
borough,
torr,
bidder,
];
if (2 == bidder) {
testFunctions.splice(0, 0, expected);
} else {
testFunctions.push(expected);
}
}
}
}
}
}
} catch (t) {}
return testFunctions;
},
mn_get_current_challenges: function () {
var options = bmak.get_mn_params_from_abck();
/** @type {!Array} */
var in_data = [];
if (null != options) {
/** @type {number} */
var i = 0;
for (; i < options.length; i++) {
var m = options[i];
if (m.length > 0) {
var datas_temp = m[1] + m[2];
var field = m[6];
in_data[field] = datas_temp;
}
}
}
return in_data;
},
mn_update_challenge_details: function (canCreateDiscussions) {
bmak.mn_sen = canCreateDiscussions[0];
bmak.mn_abck = canCreateDiscussions[1];
bmak.mn_psn = canCreateDiscussions[2];
bmak.mn_cd = canCreateDiscussions[3];
bmak.mn_tout = canCreateDiscussions[4];
bmak.mn_stout = canCreateDiscussions[5];
bmak.mn_ct = canCreateDiscussions[6];
bmak.mn_ts = bmak.start_ts;
bmak.mn_cc = bmak.mn_abck + bmak.start_ts + bmak.mn_psn;
},
mn_get_new_challenge_params: function (res) {
/** @type {null} */
var low = null;
/** @type {null} */
var high = null;
/** @type {null} */
var position1_lwr = null;
if (null != res) {
/** @type {number} */
var i = 0;
for (; i < res.length; i++) {
var v = res[i];
if (v.length > 0) {
var to = v[0];
var ctr = bmak.mn_abck + bmak.start_ts + v[2];
var c = (v[3], v[6]);
/** @type {number} */
var i = 0;
for (
;
i < bmak.mn_lcl && 1 == to && bmak.mn_lc[i] != ctr;
i++
) {}
if (i == bmak.mn_lcl) {
/** @type {number} */
low = i;
if (2 == c) {
/** @type {number} */
high = i;
}
if (3 == c) {
/** @type {number} */
position1_lwr = i;
}
}
}
}
}
return null != position1_lwr && bmak.pstate
? res[position1_lwr]
: null == high || bmak.pstate
? null == low || bmak.pstate
? null
: res[low]
: res[high];
},
mn_poll: function () {
if (0 == bmak.mn_state) {
var button2 = bmak.get_mn_params_from_abck();
var button2Component = bmak.mn_get_new_challenge_params(button2);
if (null != button2Component) {
bmak.mn_update_challenge_details(button2Component);
if (bmak.mn_sen) {
/** @type {number} */
bmak.mn_state = 1;
/** @type {number} */
bmak.mn_mc_indx = 0;
/** @type {!Array} */
bmak.mn_al = [];
/** @type {!Array} */
bmak.mn_il = [];
/** @type {!Array} */
bmak.mn_tcl = [];
/** @type {!Array} */
bmak.mn_lg = [];
bmak.mn_rts = bmak.get_cf_date();
/** @type {number} */
bmak.mn_rt = bmak.mn_rts - bmak.start_ts;
/** @type {number} */
bmak.mn_wt = 0;
setTimeout(bmak.mn_w, bmak.mn_tout);
}
}
}
},
rotate_right: function (X, n) {
return (X >>> n) | (X << (32 - n));
},
encode_utf8: function (s) {
return unescape(encodeURIComponent(s));
},
mn_s: function (meminfo) {
/** @type {!Array} */
var version_parts_os = [
1116352408, 1899447441, 3049323471, 3921009573, 961987163,
1508970993, 2453635748, 2870763221, 3624381080, 310598401,
607225278, 1426881987, 1925078388, 2162078206, 2614888103,
3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983,
1249150122, 1555081692, 1996064986, 2554220882, 2821834349,
2952996808, 3210313671, 3336571891, 3584528711, 113926993,
338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700,
1986661051, 2177026350, 2456956037, 2730485921, 2820302411,
3259730800, 3345764771, 3516065817, 3600352804, 4094571909,
275423344, 430227734, 506948616, 659060556, 883997877, 958139571,
1322822218, 1537002063, 1747873779, 1955562222, 2024104815,
2227730452, 2361852424, 2428436474, 2756734187, 3204031479,
3329325298,
];
/** @type {number} */
var sx = 1779033703;
/** @type {number} */
var sy = 3144134277;
/** @type {number} */
var xpr = 1013904242;
/** @type {number} */
var fullPath = 2773480762;
/** @type {number} */
var s = 1359893119;
/** @type {number} */
var angle = 2600822924;
/** @type {number} */
var f = 528734635;
/** @type {number} */
var bufferLength = 1541459225;
var now = bmak.encode_utf8(meminfo);
/** @type {number} */
var label = 8 * now.length;
now = now + String.fromCharCode(128);
/** @type {number} */
var delta = now.length / 4 + 2;
var len = Math.ceil(delta / 16);
/** @type {!Array} */
var arr = new Array(len);
/** @type {number} */
var i = 0;
for (; i < len; i++) {
/** @type {!Array} */
arr[i] = new Array(16);
/** @type {number} */
var j = 0;
for (; j < 16; j++) {
/** @type {number} */
arr[i][j] =
(now.charCodeAt(64 * i + 4 * j) << 24) |
(now.charCodeAt(64 * i + 4 * j + 1) << 16) |
(now.charCodeAt(64 * i + 4 * j + 2) << 8) |
(now.charCodeAt(64 * i + 4 * j + 3) << 0);
}
}
/** @type {number} */
var value = label / Math.pow(2, 32);
arr[len - 1][14] = Math.floor(value);
/** @type {number} */
arr[len - 1][15] = label;
/** @type {number} */
var j = 0;
for (; j < len; j++) {
var a;
/** @type {!Array} */
var parts = new Array(64);
/** @type {number} */
var x = sx;
/** @type {number} */
var y = sy;
/** @type {number} */
var bit = xpr;
/** @type {number} */
var path = fullPath;
/** @type {number} */
var e = s;
/** @type {number} */
a = angle;
/** @type {number} */
var g = f;
/** @type {number} */
var n = bufferLength;
/** @type {number} */
i = 0;
for (; i < 64; i++) {
var _;
var p;
var lastClassOS;
var L;
var margin;
var size;
if (i < 16) {
parts[i] = arr[j][i];
} else {
/** @type {number} */
_ =
bmak.rotate_right(parts[i - 15], 7) ^
bmak.rotate_right(parts[i - 15], 18) ^
(parts[i - 15] >>> 3);
/** @type {number} */
p =
bmak.rotate_right(parts[i - 2], 17) ^
bmak.rotate_right(parts[i - 2], 19) ^
(parts[i - 2] >>> 10);
parts[i] = parts[i - 16] + _ + parts[i - 7] + p;
}
/** @type {number} */
p =
bmak.rotate_right(e, 6) ^
bmak.rotate_right(e, 11) ^
bmak.rotate_right(e, 25);
/** @type {number} */
lastClassOS = (e & a) ^ (~e & g);
L = n + p + lastClassOS + version_parts_os[i] + parts[i];
/** @type {number} */
_ =
bmak.rotate_right(x, 2) ^
bmak.rotate_right(x, 13) ^
bmak.rotate_right(x, 22);
/** @type {number} */
margin = (x & y) ^ (x & bit) ^ (y & bit);
/** @type {number} */
size = _ + margin;
/** @type {number} */
n = g;
/** @type {number} */
g = a;
/** @type {number} */
a = e;
/** @type {number} */
e = (path + L) >>> 0;
/** @type {number} */
path = bit;
/** @type {number} */
bit = y;
/** @type {number} */
y = x;
/** @type {number} */
x = (L + size) >>> 0;
}
/** @type {number} */
sx = sx + x;
/** @type {number} */
sy = sy + y;
/** @type {number} */
xpr = xpr + bit;
/** @type {number} */
fullPath = fullPath + path;
/** @type {number} */
s = s + e;
/** @type {number} */
angle = angle + a;
/** @type {number} */
f = f + g;
/** @type {number} */
bufferLength = bufferLength + n;
}
return [
(sx >> 24) & 255,
(sx >> 16) & 255,
(sx >> 8) & 255,
255 & sx,
(sy >> 24) & 255,
(sy >> 16) & 255,
(sy >> 8) & 255,
255 & sy,
(xpr >> 24) & 255,
(xpr >> 16) & 255,
(xpr >> 8) & 255,
255 & xpr,
(fullPath >> 24) & 255,
(fullPath >> 16) & 255,
(fullPath >> 8) & 255,
255 & fullPath,
(s >> 24) & 255,
(s >> 16) & 255,
(s >> 8) & 255,
255 & s,
(angle >> 24) & 255,
(angle >> 16) & 255,
(angle >> 8) & 255,
255 & angle,
(f >> 24) & 255,
(f >> 16) & 255,
(f >> 8) & 255,
255 & f,
(bufferLength >> 24) & 255,
(bufferLength >> 16) & 255,
(bufferLength >> 8) & 255,
255 & bufferLength,
];
},
mn_init: function () {
/** @type {number} */
var rumbleSpeed = 200;
if (bmak.pstate) {
/** @type {number} */
rumbleSpeed = 100;
}
setInterval(bmak.mn_poll, rumbleSpeed);
},
bdm: function (bytes, n) {
/** @type {number} */
var tmp = 0;
/** @type {number} */
var i = 0;
for (; i < bytes.length; ++i) {
/** @type {number} */
tmp = ((tmp << 8) | bytes[i]) >>> 0;
/** @type {number} */
tmp = tmp % n;
}
return tmp;
},
mn_w: function () {
try {
/** @type {number} */
var s = 0;
/** @type {number} */
var boundary = 0;
/** @type {number} */
var t = 0;
var end = "";
var k = bmak.get_cf_date();
var artistTrack = bmak.mn_cd + bmak.mn_mc_indx;
for (; 0 == s; ) {
end = Math.random().toString(16);
var r = bmak.mn_cc + artistTrack.toString() + end;
var specificResourceHandler = bmak.mn_s(r);
if (0 == bmak.bdm(specificResourceHandler, artistTrack)) {
/** @type {number} */
s = 1;
/** @type {number} */
t = bmak.get_cf_date() - k;
bmak.mn_al.push(end);
bmak.mn_tcl.push(t);
bmak.mn_il.push(boundary);
if (0 == bmak.mn_mc_indx) {
bmak.mn_lg.push(bmak.mn_abck);
bmak.mn_lg.push(bmak.mn_ts);
bmak.mn_lg.push(bmak.mn_psn);
bmak.mn_lg.push(bmak.mn_cc);
bmak.mn_lg.push(bmak.mn_cd.toString());
bmak.mn_lg.push(artistTrack.toString());
bmak.mn_lg.push(end);
bmak.mn_lg.push(r);
bmak.mn_lg.push(specificResourceHandler);
bmak.mn_lg.push(bmak.mn_rt);
}
} else {
if (
(boundary = boundary + 1) % 1e3 == 0 &&
(t = bmak.get_cf_date() - k) > bmak.mn_stout
) {
return (
(bmak.mn_wt += t), void setTimeout(bmak.mn_w, bmak.mn_stout)
);
}
}
}
bmak.mn_mc_indx += 1;
if (bmak.mn_mc_indx < bmak.mn_mc_lmt) {
setTimeout(bmak.mn_w, t);
} else {
/** @type {number} */
bmak.mn_mc_indx = 0;
bmak.mn_lc[bmak.mn_lcl] = bmak.mn_cc;
bmak.mn_ld[bmak.mn_lcl] = bmak.mn_cd;
bmak.mn_lcl = bmak.mn_lcl + 1;
/** @type {number} */
bmak.mn_state = 0;
bmak.mn_lg.push(bmak.mn_wt);
bmak.mn_lg.push(bmak.get_cf_date());
bmak.mn_r[bmak.mn_abck + bmak.mn_psn] = bmak.mn_pr();
if (bmak.js_post) {
/** @type {number} */
bmak.aj_type = 8;
if (2 == bmak.mn_ct) {
/** @type {number} */
bmak.dcs = 1;
}
bmak.bpd();
bmak.pd(true);
}
}
} catch (t) {
bmak.sd_debug(",mn_w:" + t);
}
},
mn_pr: function () {
return (
bmak.mn_al.join(",") +
";" +
bmak.mn_tcl.join(",") +
";" +
bmak.mn_il.join(",") +
";" +
bmak.mn_lg.join(",") +
";"
);
},
ats: function (PL$53) {
var chunkIndex = "";
/** @type {number} */
var PL$54 = 0;
for (; PL$54 < PL$53.length; PL$54++) {
chunkIndex =
chunkIndex +
(2 == PL$53[PL$54].toString(16).length
? PL$53[PL$54].toString(16)
: "0" + PL$53[PL$54].toString(16));
}
return chunkIndex;
},
calc_fp: function () {
bmak.fpcf.fpVal();
if (bmak.js_post) {
/** @type {number} */
bmak.aj_type = 9;
bmak.bpd();
bmak.pd(true);
}
},
listFunctions: {
_setJsPost: function (canCreateDiscussions) {
bmak.js_post = canCreateDiscussions;
if (bmak.js_post) {
/** @type {number} */
bmak.enReadDocUrl = 1;
}
},
_setSessionId: function (value) {
bmak.session_id = value;
},
_setJavaScriptKey: function (canCreateDiscussions) {
bmak.api_public_key = canCreateDiscussions;
},
_setEnAddHidden: function (canCreateDiscussions) {
bmak.enAddHidden = canCreateDiscussions;
},
_setInitTime: function (canCreateDiscussions) {
bmak.init_time = canCreateDiscussions;
},
_setApiUrl: function (canCreateDiscussions) {
bmak.cf_url = canCreateDiscussions;
},
_setEnGetLoc: function (canCreateDiscussions) {
bmak.enGetLoc = canCreateDiscussions;
},
_setEnReadDocUrl: function (canCreateDiscussions) {
bmak.enReadDocUrl = canCreateDiscussions;
},
_setDisFpCalOnTimeout: function (canCreateDiscussions) {
bmak.disFpCalOnTimeout = canCreateDiscussions;
},
_setCookie: function (value) {
bmak.ckie = value;
},
_setCS: function (slackName) {
bmak.cs = (String(slackName) + bmak.cs).slice(0, 16);
},
_setFsp: function (canCreateDiscussions) {
bmak.fsp = canCreateDiscussions;
if (bmak.fsp) {
bmak.cf_url = bmak.cf_url.replace(/^http:\/\//i, "https://");
}
},
_setBm: function (canCreateDiscussions) {
bmak.bm = canCreateDiscussions;
if (bmak.bm) {
bmak.cf_url =
(bmak.fsp ? "https:" : document.location.protocol) +
"//" +
document.location.hostname +
"/_bm/_data";
/** @type {boolean} */
bmak.js_post = true;
} else {
bmak.params_url =
(bmak.fsp ? "https:" : document.location.protocol) +
"//" +
document.location.hostname +
"/get_params";
}
},
_setAu: function (canCreateDiscussions) {
if ("string" == typeof canCreateDiscussions) {
if (0 === canCreateDiscussions.lastIndexOf("/", 0)) {
bmak.cf_url =
(bmak.fsp ? "https:" : document.location.protocol) +
"//" +
document.location.hostname +
canCreateDiscussions;
} else {
bmak.cf_url = canCreateDiscussions;
}
}
},
_setSDFieldNames: function () {
try {
var x;
/** @type {number} */
x = 0;
for (; x < arguments.length; x = x + 1) {
bmak.sdfn.push(arguments[x]);
}
} catch (t) {
bmak.sd_debug(",setSDFN:" + t);
}
},
_setUseAltFonts: function (canCreateDiscussions) {
bmak.altFonts = canCreateDiscussions;
},
_setPowState: function (canCreateDiscussions) {
bmak.pstate = canCreateDiscussions;
},
_setPow: function (canCreateDiscussions) {
bmak.pstate = canCreateDiscussions;
},
_setLOAP: function (canCreateDiscussions) {
bmak.loap = canCreateDiscussions;
},
},
applyFunc: function () {
var x;
var indexLookupKey;
var batch;
/** @type {number} */
x = 0;
for (; x < arguments.length; x = x + 1) {
batch = arguments[x];
}
indexLookupKey = batch.shift();
if (bmak.listFunctions[indexLookupKey]) {
bmak.listFunctions[indexLookupKey].apply(bmak.listFunctions, batch);
}
},
getStateField: function (canCreateDiscussions) {
var chunkIndex = "";
var keys = "aeiouy13579";
/** @type {number} */
var i = 0;
var data = canCreateDiscussions.toLowerCase();
for (; i < data.length; ) {
if (keys.indexOf(data[i]) >= 0 || keys.indexOf(data[i + 1]) >= 0) {
chunkIndex = chunkIndex + 1;
} else {
chunkIndex = chunkIndex + 0;
}
/** @type {number} */
i = i + 2;
}
return chunkIndex;
},
};
if (
((function (model_colors) {
var a = {};
model_colors.fpcf = a;
/**
* @return {?}
*/
a.sf4 = function () {
var t = bmak.uar();
return !(
!~t.indexOf("Version/4.0") ||
!(
~t.indexOf("iPad;") ||
~t.indexOf("iPhone") ||
~t.indexOf("Mac OS X 10_5")
)
);
};
a.fpValstr = "-1";
/** @type {boolean} */
a.fpValCalculated = false;
a.rVal = "-1";
a.rCFP = "-1";
a.cache = {};
/** @type {number} */
a.td = -999999;
/**
* @return {undefined}
*/
a.clearCache = function () {
a.cache = {};
};
/**
* @return {undefined}
*/
a.fpVal = function () {
/** @type {boolean} */
a.fpValCalculated = true;
try {
/** @type {number} */
var b = 0;
b = Date.now ? Date.now() : +new Date();
var filter = a.data();
a.fpValstr = filter.replace(/"/g, '\\\\"');
/** @type {number} */
var y = 0;
y = Date.now ? Date.now() : +new Date();
/** @type {number} */
a.td = y - b;
} catch (t) {}
};
/**
* @return {?}
*/
a.timezoneOffsetKey = function () {
return new Date().getTimezoneOffset();
};
/**
* @return {?}
*/
a.data = function () {
var t = screen.colorDepth ? screen.colorDepth : -1;
var e = screen.pixelDepth ? screen.pixelDepth : -1;
var n = navigator.cookieEnabled ? navigator.cookieEnabled : -1;
var o = navigator.javaEnabled ? navigator.javaEnabled() : -1;
var m = navigator.doNotTrack ? navigator.doNotTrack : -1;
var r = "default";
r = bmak.runFonts ? (bmak.altFonts ? a.fonts_optm() : a.fonts()) : "dis";
return [
a.canvas("<@nv45. F1n63r,Pr1n71n6!"),
a.canvas("m,Ev!xV67BaU> eh2m<f3AG3@"),
r,
a.pluginInfo(),
a.sessionStorageKey(),
a.localStorageKey(),
a.indexedDbKey(),
a.timezoneOffsetKey(),
a.webrtcKey(),
t,
e,
n,
o,
m,
].join(";");
};
/** @type {!Array} */
a.PLUGINS = [
"WebEx64 General Plugin Container",
"YouTube Plug-in",
"Java Applet Plug-in",
"Shockwave Flash",
"iPhotoPhotocast",
"SharePoint Browser Plug-in",
"Chrome Remote Desktop Viewer",
"Chrome PDF Viewer",
"Native Client",
"Unity Player",
"WebKit-integrierte PDF",
"QuickTime Plug-in",
"RealPlayer Version Plugin",
"RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit)",
"Mozilla Default Plug-in",
"Adobe Acrobat",
"AdobeAAMDetect",
"Google Earth Plug-in",
"Java Plug-in 2 for NPAPI Browsers",
"Widevine Content Decryption Module",
"Microsoft Office Live Plug-in",
"Windows Media Player Plug-in Dynamic Link Library",
"Google Talk Plugin Video Renderer",
"Edge PDF Viewer",
"Shockwave for Director",
"Default Browser Helper",
"Silverlight Plug-In",
];
/**
* @return {?}
*/
a.pluginInfo = function () {
if (void 0 === navigator.plugins) {
return null;
}
var boardSize = a.PLUGINS.length;
var out = "";
/** @type {number} */
var c = 0;
for (; c < boardSize; c++) {
var choiceId = a.PLUGINS[c];
if (void 0 !== navigator.plugins[choiceId]) {
out = out + "," + c;
}
}
return out;
};
/**
* @param {?} data
* @return {?}
*/
a.canvas = function (data) {
try {
if (void 0 !== a.cache.canvas) {
return a.cache.canvas;
}
/** @type {number} */
var h = -1;
if (!a.sf4()) {
var n = document.createElement("canvas");
if (
((n.width = 280),
(n.height = 60),
(n.style.display = "none"),
"function" == typeof n.getContext)
) {
var command_codes = n.getContext("2d");
command_codes.fillStyle = "rgb(102, 204, 0)";
command_codes.fillRect(100, 5, 80, 50);
command_codes.fillStyle = "#f60";
command_codes.font = "16pt Arial";
command_codes.fillText(data, 10, 40);
command_codes.strokeStyle = "rgb(120, 186, 176)";
command_codes.arc(80, 10, 20, 0, Math.PI, false);
command_codes.stroke();
var PL$120 = n.toDataURL();
/** @type {number} */
h = 0;
/** @type {number} */
var PL$24 = 0;
for (; PL$24 < PL$120.length; PL$24++) {
h = (h << 5) - h + PL$120.charCodeAt(PL$24);
/** @type {number} */
h = h & h;
}
h = h.toString();
var high = document.createElement("canvas");
/** @type {number} */
high.width = 16;
/** @type {number} */
high.height = 16;
var ts = high.getContext("2d");
ts.font = "6pt Arial";
a.rVal = Math.floor(1e3 * Math.random()).toString();
ts.fillText(a.rVal, 1, 12);
var PL$42 = high.toDataURL();
/** @type {number} */
var hash = 0;
/** @type {number} */
var PL$41 = 0;
for (; PL$41 < PL$42.length; PL$41++) {
hash = (hash << 5) - hash + PL$42.charCodeAt(PL$41);
/** @type {number} */
hash = hash & hash;
}
a.rCFP = hash.toString();
}
}
return h;
} catch (t) {
return "exception";
}
};
/**
* @return {?}
*/
a.fonts_optm = function () {
/** @type {number} */
var maxvalue = 200;
var dec_step = bmak.get_cf_date();
/** @type {!Array} */
var n = [];
if (!a.sf4() && document.body) {
/** @type {!Array} */
var sharePlaylist = ["sans-serif", "monospace"];
/** @type {!Array} */
var item = [0, 0];
/** @type {!Array} */
var newJoinDoc = [0, 0];
var store = document.createElement("div");
store.style.cssText =
"position: relative; left: -9999px; visibility: hidden; display: block !important";
var _id;
/** @type {number} */
_id = 0;
for (; _id < sharePlaylist.length; _id++) {
var id = document.createElement("span");
id.innerHTML = "abcdefhijklmnopqrstuvxyz1234567890;+-.";
id.style.fontSize = "90px";
id.style.fontFamily = sharePlaylist[_id];
store.appendChild(id);
}
document.body.appendChild(store);
/** @type {number} */
_id = 0;
for (; _id < store.childNodes.length; _id++) {
id = store.childNodes[_id];
item[_id] = id.offsetWidth;
newJoinDoc[_id] = id.offsetHeight;
}
if (
(document.body.removeChild(store),
bmak.get_cf_date() - dec_step > maxvalue)
) {
return "";
}
/** @type {!Array} */
var PL$58 = [
"Geneva",
"Lobster",
"New York",
"Century",
"Apple Gothic",
"Minion Pro",
"Apple LiGothic",
"Century Gothic",
"Monaco",
"Lato",
"Fantasque Sans Mono",
"Adobe Braille",
"Cambria",
"Futura",
"Bell MT",
"Courier",
"Courier New",
"Calibri",
"Avenir Next",
"Birch Std",
"Palatino",
"Ubuntu Regular",
"Oswald",
"Batang",
"Ubuntu Medium",
"Cantarell",
"Droid Serif",
"Roboto",
"Helvetica Neue",
"Corsiva Hebrew",
"Adobe Hebrew",
"TI-Nspire",
"Comic Neue",
"Noto",
"AlNile",
"Palatino-Bold",
"ArialHebrew-Light",
"Avenir",
"Papyrus",
"Open Sans",
"Times",
"Quicksand",
"Source Sans Pro",
"Damascus",
"Microsoft Sans Serif",
];
var container = document.createElement("div");
container.style.cssText =
"position: relative; left: -9999px; visibility: hidden; display: block !important";
/** @type {!Array} */
var PL$78 = [];
/** @type {number} */
var PL$79 = 0;
for (; PL$79 < PL$58.length; PL$79++) {
var data = document.createElement("div");
/** @type {number} */
_id = 0;
for (; _id < sharePlaylist.length; _id++) {
id = document.createElement("span");
id.innerHTML = "abcdefhijklmnopqrstuvxyz1234567890;+-.";
id.style.fontSize = "90px";
id.style.fontFamily = PL$58[PL$79] + "," + sharePlaylist[_id];
data.appendChild(id);
}
container.appendChild(data);
}
if (bmak.get_cf_date() - dec_step > maxvalue) {
return "";
}
document.body.appendChild(container);
/** @type {number} */
PL$79 = 0;
for (; PL$79 < container.childNodes.length; PL$79++) {
/** @type {boolean} */
var inactiveTag = false;
data = container.childNodes[PL$79];
/** @type {number} */
_id = 0;
for (; _id < data.childNodes.length; _id++) {
id = data.childNodes[_id];
if (
id.offsetWidth !== item[_id] ||
id.offsetHeight !== newJoinDoc[_id]
) {
/** @type {boolean} */
inactiveTag = true;
break;
}
}
if (
(inactiveTag && PL$78.push(PL$79),
bmak.get_cf_date() - dec_step > maxvalue)
) {
break;
}
}
document.body.removeChild(container);
n = PL$78.sort();
}
return n.join(",");
};
/**
* @return {?}
*/
a.fonts = function () {
/** @type {!Array} */
var t = [];
if (!a.sf4() && document.body) {
/** @type {!Array} */
var dynacAttrs = ["serif", "sans-serif", "monospace"];
/** @type {!Array} */
var testStyle = [0, 0, 0];
/** @type {!Array} */
var declarations = [0, 0, 0];
var style = document.createElement("span");
style.innerHTML = "abcdefhijklmnopqrstuvxyz1234567890;+-.";
style.style.fontSize = "90px";
var property;
/** @type {number} */
property = 0;
for (; property < dynacAttrs.length; property++) {
style.style.fontFamily = dynacAttrs[property];
document.body.appendChild(style);
testStyle[property] = style.offsetWidth;
declarations[property] = style.offsetHeight;
document.body.removeChild(style);
}
/** @type {!Array} */
var lookup = [
"Geneva",
"Lobster",
"New York",
"Century",
"Apple Gothic",
"Minion Pro",
"Apple LiGothic",
"Century Gothic",
"Monaco",
"Lato",
"Fantasque Sans Mono",
"Adobe Braille",
"Cambria",
"Futura",
"Bell MT",
"Courier",
"Courier New",
"Calibri",
"Avenir Next",
"Birch Std",
"Palatino",
"Ubuntu Regular",
"Oswald",
"Batang",
"Ubuntu Medium",
"Cantarell",
"Droid Serif",
"Roboto",
"Helvetica Neue",
"Corsiva Hebrew",
"Adobe Hebrew",
"TI-Nspire",
"Comic Neue",
"Noto",
"AlNile",
"Palatino-Bold",
"ArialHebrew-Light",
"Avenir",
"Papyrus",
"Open Sans",
"Times",
"Quicksand",
"Source Sans Pro",
"Damascus",
"Microsoft Sans Serif",
];
/** @type {!Array} */
var columnsScalesMap = [];
/** @type {number} */
var val = 0;
for (; val < lookup.length; val++) {
/** @type {boolean} */
var d = false;
/** @type {number} */
property = 0;
for (; property < dynacAttrs.length; property++) {
if (
((style.style.fontFamily =
lookup[val] + "," + dynacAttrs[property]),
document.body.appendChild(style),
(style.offsetWidth === testStyle[property] &&
style.offsetHeight === declarations[property]) ||
(d = true),
document.body.removeChild(style),
d)
) {
columnsScalesMap.push(val);
break;
}
}
}
t = columnsScalesMap.sort();
}
return t.join(",");
};
/**
* @return {?}
*/
a.webrtcKey = function () {
return (
"function" == typeof window.RTCPeerConnection ||
"function" == typeof window.mozRTCPeerConnection ||
"function" == typeof window.webkitRTCPeerConnection
);
};
/**
* @return {?}
*/
a.indexedDbKey = function () {
return !!a.hasIndexedDB();
};
/**
* @return {?}
*/
a.sessionStorageKey = function () {
return !!a.hasSessionStorage();
};
/**
* @return {?}
*/
a.localStorageKey = function () {
return !!a.hasLocalStorage();
};
/**
* @return {?}
*/
a.hasSessionStorage = function () {
try {
return !!window.sessionStorage;
} catch (t) {
return false;
}
};
/**
* @return {?}
*/
a.hasLocalStorage = function () {
try {
return !!window.localStorage;
} catch (t) {
return false;
}
};
/**
* @return {?}
*/
a.hasIndexedDB = function () {
return !!window.indexedDB;
};
})(bmak),
bmak.firstLoad)
) {
if ((bmak.sd_debug("<init/>"), _cf.length > 0)) {
/** @type {number} */
var bm_counter = 0;
for (; bm_counter < _cf.length; bm_counter++) {
bmak.applyFunc(_cf[bm_counter]);
}
bmak.sd_debug("<setSDFN>" + bmak.sdfn.join() + "</setSDFN>");
_cf = {
push: bmak.applyFunc,
};
} else {
var bm_script;
if (
(document.currentScript && (bm_script = document.currentScript),
!bm_script)
) {
var scripts = document.getElementsByTagName("script");
if (scripts.length) {
bm_script = scripts[scripts.length - 1];
}
}
if (bm_script.src) {
var bm_url = bm_script.src;
var url_split = bm_url.split("/");
var obfus_state_field;
if (
(url_split.length >= 4 &&
(obfus_state_field = bm_url.split("/").slice(-4)[0]),
obfus_state_field && obfus_state_field.length % 2 == 0)
) {
var state_field_str = bmak.getStateField(obfus_state_field);
if (state_field_str.length >= 3) {
bmak.listFunctions._setFsp("1" == state_field_str[0]);
bmak.listFunctions._setBm("1" == state_field_str[1]);
bmak.listFunctions._setPowState("1" == state_field_str[2]);
bmak.listFunctions._setAu(bm_url);
}
}
}
}
try {
bmak.ir();
bmak.t_tst = bmak.get_cf_date();
bmak.startTracking();
/** @type {number} */
bmak.tst = bmak.get_cf_date() - bmak.t_tst;
if (!bmak.disFpCalOnTimeout) {
setTimeout(bmak.calc_fp, 500);
}
/** @type {number} */
bm_counter = 0;
for (; bm_counter < 3; bm_counter++) {
setTimeout(bmak.getmr, 400 + 5e3 * bm_counter);
}
bmak.mn_init();
} catch (t) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment