-
-
Save pganti/626f3e51a3fbbcd80d61194b71467909 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var EPLAYER_BUILDNUMBER = "1.134.0 - marcin.derlatka.master.53591f61"; | |
!function(a) { | |
"use strict"; | |
!function(a) { | |
if (function() { | |
var b = !0 | |
, c = !1 | |
, d = ""; | |
try { | |
var e = "object" == typeof a.IXC_246_12615068276446206 && a.IXC_246_12615068276446206; | |
if (b = !e || void 0 === e.CanRun || "_246_12615068276446206" !== e._246_12615068276446206 || e.CanRun("vadb")) | |
e = a.IXC_246_12615068276446206 = a.IXC_246_12615068276446206 || {}, | |
e.InitStartTime = (a.performance ? a.performance : Date).now(), | |
e._246_12615068276446206 = "_246_12615068276446206", | |
a.INSTART_TARGET_NAME = "vadb", | |
a.I11C = a.I11C || {}; | |
else { | |
var f = a.INSTART_TARGET_NAME; | |
d = "double nanovisor injection: vadb after " + f, | |
(c = "vadb" !== f) && console.warn(d) | |
} | |
a.INSTART = a.INSTART || {}, | |
a.INSTART.Init = function() { | |
c && console.error("ignored Init call after " + d) | |
} | |
} catch (a) { | |
try { | |
console.error(a) | |
} catch (a) {} | |
b = !0 | |
} | |
return b | |
}()) { | |
!function() { | |
function b(a, c) { | |
return (b = Object.setPrototypeOf || { | |
__proto__: [] | |
}instanceof Array && function(a, b) { | |
a.__proto__ = b | |
} | |
|| function(a, b) { | |
for (var c in b) | |
b.hasOwnProperty(c) && (a[c] = b[c]) | |
} | |
)(a, c) | |
} | |
function c(a) { | |
return a.split("").filter(function(a, b) { | |
return 0 == b % 2 | |
}).reverse().join("") | |
} | |
function d(a, b) { | |
a || (console.error(b), | |
0 < (a = []).length && console.log(a)) | |
} | |
function e(a, b, c) { | |
var e = Object.getOwnPropertyDescriptor(a, b) || {}; | |
if (!1 !== e.writable) { | |
e.writable = !1, | |
e.value = c; | |
try { | |
Object.defineProperty(a, b, e) | |
} catch (a) {} | |
} else | |
d(e.value === c, b + " is already defined on object with different value"); | |
return c | |
} | |
function f(a, b, c) { | |
try { | |
a[b] = c | |
} catch (a) {} | |
return c | |
} | |
function g(b, c, g) { | |
b = b.split("."), | |
g = g ? e : f; | |
for (var h, i = a || {}, j = 0; j < b.length - 1; ++j) { | |
if (h = b[j], | |
!i) | |
return; | |
i = g(i, h, i[h] || {}) | |
} | |
h = b[b.length - 1], | |
i && (d(!!h, "In Export, name not defined"), | |
g(i, h, c)) | |
} | |
function h(a) { | |
return "string" == typeof a && 0 < a.length ? a : null | |
} | |
function i(a) { | |
return { | |
ihcseme: a.ihcseme, | |
iedercslaitn: a.iedercslaitn, | |
imodnia: a.imodnia, | |
ioptr: a.ioptr, | |
ihtapeman: a.ihtapeman, | |
iuqyre: a.iuqyre, | |
igarftnem: a.igarftnem | |
} | |
} | |
function j(a) { | |
return a[K] || a[O] === C | |
} | |
function k(a) { | |
return void 0 === a && (a = ga), | |
1 === a.o.iytep | |
} | |
function l(a) { | |
return void 0 === a && (a = ga), | |
2 === a.o.iytep | |
} | |
function m(a, b, c) { | |
var d; | |
return (d = {})[O] = a, | |
d[K] = b, | |
a = d, | |
c && (a[L] = c), | |
a | |
} | |
function n(a, c) { | |
function d() { | |
this.constructor = a | |
} | |
b(a, c), | |
a.prototype = null === c ? Object.create(c) : (d.prototype = c.prototype, | |
new d) | |
} | |
function o() { | |
if (void 0 !== qa) | |
return qa; | |
var b = !0; | |
try { | |
if ("l2n9s8hg5p" !== a.atob(a.btoa("l2n9s8hg5p"))) | |
throw "l2n9s8hg5p"; | |
b = !1 | |
} catch (a) {} | |
return qa = b | |
} | |
function p() { | |
if (void 0 !== ra) | |
return ra; | |
var a = !1 | |
, b = Object.getOwnPropertyDescriptor(HTMLFrameElement.prototype, "contentWindow"); | |
return (b = b && b.get && b.get.toString()) && (a = -1 === b.indexOf(w)), | |
ra = a | |
} | |
function q(a, b, c, d, e) { | |
return new va(function(f) { | |
var g, h = "script" === a ? z : B, i = (void 0 === g && (g = ga), | |
4 === g.o.iytep); | |
if (k() || i || l()) { | |
var j; | |
i && (j = setTimeout(function() { | |
f(m(h, !1, "Timed out on error")) | |
}, 500)); | |
var n = !1 | |
, o = function(a) { | |
if (!n) { | |
n = !0, | |
i && clearTimeout(j); | |
var b = !1; | |
"load" === a.type ? b = !1 : "error" === a.type && (b = !0), | |
f(m(h, b, a.currentTarget.href)), | |
p && p.parentNode && p.parentNode.removeChild(p) | |
} | |
} | |
, p = document.createElement("link"); | |
p.onload = o, | |
p.onerror = o, | |
p.rel = e || l() ? "prefetch" : "preload", | |
p.as = a, | |
c && p.setAttribute("crossorigin", "anonymous"), | |
d && p.setAttribute("referrerpolicy", "no-referrer"), | |
o = Math.floor(Math.random() * b.length), | |
p.href = b[o], | |
ua && ua.parentNode ? ua && ua.parentNode && ua.parentNode.insertBefore(p, ua) : document.head.appendChild(p), | |
1 < b.length && b.splice(o, 1) | |
} else | |
f(m(h, !1, "Neither Chrome nor Safari")) | |
} | |
) | |
} | |
function r(a, b) { | |
g(u + "." + a, b), | |
g(t + "." + a, b) | |
} | |
function s() { | |
for (var a = [], b = 0; b < arguments.length; b++) | |
a[b] = arguments[b]; | |
za ? a.forEach(function(a) { | |
return a(za) | |
}) : Aa = Aa.concat(a) | |
} | |
var t = c("C31012I4") | |
, u = c("C40012I6"); | |
c("T1R7A6T2S6N6I3"); | |
var v = c("d2e4r8i2f4_2d3a2o0l8n4o5_4e0l4g9o8o2g4") | |
, w = c("e8d5o4c8 9e9v9i6t6a4n7") | |
, x = c("k9c7a0b2l4l0a1C6d0b2A0r8e6t4s6i8g9e7R0"); | |
c("E9B9U2O6Y4"), | |
c("B4U5O4Y9"), | |
c("P7B9A2"), | |
c("B1A2"), | |
c("S5T8A4T8S7B8D3A6"), | |
c("G3D2A6"), | |
c("P6C5X0E6"); | |
var y = c("X2L4O3V0"); | |
c("E1N2O2N4"), | |
c("E8V3A4R8B5"); | |
var z = c("T4P4I1R6C7S8B7") | |
, A = c("G3M6I0B5") | |
, B = c("L7M1T4H5B2"); | |
c("I4R8U5D9A4D9E9K2C1O4L5B7"); | |
var C = c("E9M2A9R7F2B0"); | |
c("D6E7T4S2E9U4Q9E1R8D5A2P5F4D8"), | |
c("D3E9D4A4O3L9P7F9D9"), | |
c("E0L6B6A0W2E4I4V0P3F2D4"), | |
c("E9G7N4A1H5C7W4E0I0V7P2F8D5"), | |
c("D0E0R7E9D7N3E9R0P6F0D6"); | |
var D = c("T6N7E4M1E2L4E7"); | |
c("D9F6"), | |
c("T7S9I7H1"), | |
c("I7R1U9D8A9D1E7D1A0O4L2"); | |
var E = c("K9R5O4W7T7E6N0"); | |
c("O4F8N0I2G5I1S0N4O2N4"), | |
c("S7T0A5T0S7D5I2B4E1R3P5"), | |
c("S0T4S7E3T3G3I9S3N9O5N6T0P9R3"), | |
c("T2L4U1S7E1R8D3E0R6O6T8S3"); | |
var F = c("T8N7E9S0E9R3P9") | |
, G = c("T7O2N4") | |
, H = c("Y9D3A1E6R4T0O0N0"); | |
c("e2t5u2o9r7.6h895r109m2"), | |
c("c30517i1h3p5r2o9m1"), | |
c("r2e9r4r8e7f6e9r5.8c30313i8"); | |
var I = c("0101g9/2"); | |
c("e5t4a8t4S6h1p4r6o2M0"), | |
c("d6e3k1c1o0l5b0"), | |
c("d8e9k7c5o0l5b0n0u6"); | |
var J = c("/5)0]8z5-1a395-308[5]297-004[9g6:5?0(8/5^1") | |
, K = c("d1e5t9c4e3t4e1D4") | |
, L = c("n8o3s4a1e8R6") | |
, M = c("s8t6l2u8s8e3R2") | |
, N = c("y1c0n3e8t0a9L8n4o2i5t8c9e0t0e6D6") | |
, O = c("e6p4y5T9") | |
, P = c("D5E2D6A0O0L1_5V5") | |
, Q = c("D4E0D1A3O8L8T4O7N0_5V8"); | |
c("e5g8a4r5o3t9S8n7o4i7s5s7e5s5"), | |
c("d0f4c10213i3"); | |
var R, S = c("l9r8u7d6b4a6t0e4g7.5c00517i7"), T = {}, U = /^(?:([^:\/?#]+):)?(?:\/\/+(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+)?)?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/, V = /[#\/\?@]/g, W = /[#\/\?]/g, X = /[#\?]/g, Y = /[#]/g, Z = /(\/|^)(?:[^.\/][^\/]*|\.{2,}(?:[^.\/][^\/]*)|\.{3,}[^\/]*)\/\.\.(?:\/|$)/, $ = /^([\/])?(?:\.\.(?:[\/]|$))+/, _ = /(^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$)|([^.]+[.](?:([^.]{2}[.][^.]{2})|([^.]+))$)/, aa = /[^.]+[.](no|com|co|io|it|de|net|org|fr|one|tv|today|fm|kr|jp|com[.]au|co[.]uk|ca)$/, ba = /^([^=]*)(?:=(.*))?$/, ca = function() { | |
function a(a) { | |
if (a) { | |
if ("string" == typeof a) { | |
var b = T[a] ? T[a] : null; | |
if (b) | |
a = i(b); | |
else if (b = U.exec("" + a)) { | |
var c = b[7]; | |
c = i(b = { | |
ihcseme: h(b[1]), | |
iedercslaitn: h(b[2]), | |
imodnia: h(b[3]), | |
ioptr: h(b[4]), | |
ihtapeman: h(b[5]), | |
iuqyre: h(b[6]), | |
igarftnem: "string" == typeof c ? c : null | |
}); | |
var d = Object.keys(T); | |
0 !== d.length && 4 < d.length && delete T[d[d.length % 5]], | |
T[a] = c, | |
a = b | |
} else | |
a = { | |
ihcseme: null, | |
iedercslaitn: null, | |
imodnia: null, | |
ioptr: null, | |
ihtapeman: a, | |
iuqyre: null, | |
igarftnem: null | |
} | |
} | |
this.israpirude = a | |
} | |
this.israpirude || (this.israpirude = { | |
ihcseme: null, | |
iedercslaitn: null, | |
imodnia: null, | |
ioptr: null, | |
ihtapeman: null, | |
iuqyre: null, | |
igarftnem: null | |
}), | |
this.iacehc = { | |
f: null, | |
iironig: null, | |
i: null, | |
j: null, | |
l: null, | |
c: [null] | |
} | |
} | |
return a.prototype.itegferh = function() { | |
var a; | |
if (!(a = this.iacehc.f)) { | |
var b = ""; | |
null !== (a = this.israpirude).ihcseme && (b += a.ihcseme + ":"), | |
null !== a.imodnia && (b += "//", | |
null !== a.iedercslaitn && (b += a.iedercslaitn + "@"), | |
b += a.imodnia, | |
null !== a.ioptr && (b += ":" + a.ioptr)), | |
null !== a.ihtapeman && (b += a.ihtapeman), | |
null !== a.iuqyre && (b += "?" + a.iuqyre), | |
null !== a.igarftnem && (b += "#" + a.igarftnem), | |
a = this.iacehc.f = b | |
} | |
return a | |
} | |
, | |
a.prototype.iotegnigir = function() { | |
var a = this.iacehc; | |
if (!a.iironig) { | |
var b = "" | |
, c = this.istegemehc(); | |
this.icurtssilruderut() || !c ? (c && (b += c + ":"), | |
(c = this.itegtsoh()) && (b += "//" + c), | |
a.iironig = "" !== b ? b : null) : a.iironig = "null" | |
} | |
return a.iironig | |
} | |
, | |
a.prototype.istegemehc = function() { | |
return this.israpirude.ihcseme | |
} | |
, | |
a.prototype.iosbasilruetul = function() { | |
return !!this.israpirude.ihcseme && !!this.israpirude.imodnia | |
} | |
, | |
a.prototype.icurtssilruderut = function() { | |
var a = this.israpirude.ihcseme; | |
return null !== a && ("http" === a || "https" === a || "ftp" === a) | |
} | |
, | |
a.prototype.istesemehc = function(a) { | |
return null !== a && V.test(a) ? this : (this.israpirude.ihcseme = a ? a.toLowerCase() : null, | |
(a = this.iacehc).f = null, | |
a.iironig = null, | |
this) | |
} | |
, | |
a.prototype.irpteglocoto = function() { | |
var a = this.istegemehc(); | |
return a && a + ":" | |
} | |
, | |
a.prototype.iderctegslaitne = function() { | |
return this.israpirude.iedercslaitn | |
} | |
, | |
a.prototype.iderctesslaitne = function(a) { | |
return null !== a && V.test(a) ? this : (this.israpirude.iedercslaitn = a, | |
this.iacehc.f = null, | |
this) | |
} | |
, | |
a.prototype.itegtsoh = function() { | |
var a = this.iacehc; | |
if (!a.i) { | |
var b = "" | |
, c = this.idtegniamo(); | |
c && (b += c, | |
(c = this.itegtrop()) && (b += ":" + c)), | |
a.i = "" !== b ? b : null | |
} | |
return a.i | |
} | |
, | |
a.prototype.idtegniamo = function() { | |
return this.israpirude.imodnia | |
} | |
, | |
a.prototype.idtesniamo = function(a) { | |
return null !== a && W.test(a) ? this : (this.israpirude.imodnia = a, | |
(a = this.israpirude.ihtapeman) && "/" !== a[0] && (this.israpirude.ihtapeman = "/" + a), | |
(a = this.iacehc).f = null, | |
a.iironig = null, | |
a.i = null, | |
a.j = null, | |
a.l = null, | |
this) | |
} | |
, | |
a.prototype.iamodtoorkcehcehcacdltdnani = function() { | |
var a = this.iacehc; | |
if (!a.j) { | |
var b = this.idtegniamo(); | |
if (b) { | |
var c = aa.exec(b); | |
c ? (a.j = c[0], | |
a.l = c[1]) : (c = _.exec(b)) && (a.j = c[0], | |
(a.l = c[4] || null) || (a.l = c[3])) | |
} | |
} | |
} | |
, | |
a.prototype.ielpottegniamodlev = function() { | |
return this.iamodtoorkcehcehcacdltdnani(), | |
this.iacehc.l | |
} | |
, | |
a.prototype.ioortegniamodt = function() { | |
return this.iamodtoorkcehcehcacdltdnani(), | |
this.iacehc.j || this.idtegniamo() | |
} | |
, | |
a.prototype.itegtrop = function() { | |
return this.israpirude.ioptr | |
} | |
, | |
a.prototype.itestrop = function(a) { | |
if (a) { | |
if ((a = Number(a)) !== (65535 & a)) | |
return this; | |
this.israpirude.ioptr = "" + a | |
} else | |
this.israpirude.ioptr = null; | |
return (a = this.iacehc).f = null, | |
a.iironig = null, | |
a.i = null, | |
this | |
} | |
, | |
a.prototype.iteghtap = function() { | |
var a = "" | |
, b = this.iaptegemanht(); | |
return b && (a += b), | |
(b = this.iqtegyreu()) && (a += "?" + b), | |
(b = this.irftegtnemga()) && (a += "#" + b), | |
"" !== a ? a : null | |
} | |
, | |
a.prototype.iaptegemanht = function() { | |
return this.israpirude.ihtapeman | |
} | |
, | |
a.prototype.iaptesemanht = function(b, c) { | |
if (b) { | |
if (X.test(b)) | |
return this; | |
b = !c || !this.icurtssilruderut() && this.istegemehc() ? b : a.da(b), | |
this.israpirude.ihtapeman = this.israpirude.imodnia && "/" !== b[0] ? "/" + b : b || null | |
} else | |
this.israpirude.ihtapeman = null; | |
return this.iacehc.f = null, | |
this | |
} | |
, | |
a.prototype.izilamronemanhtape = function() { | |
return this.iaptesemanht(this.israpirude.ihtapeman, !0) | |
} | |
, | |
a.prototype.isteghcrae = function() { | |
var a = this.iqtegyreu(); | |
return a && "?" + a | |
} | |
, | |
a.prototype.iqtegyreu = function() { | |
return this.israpirude.iuqyre | |
} | |
, | |
a.prototype.iqtesyreu = function(a) { | |
return null !== a && Y.test(a) ? this : (this.israpirude.iuqyre = a, | |
(a = this.iacehc).f = null, | |
a.c = [null], | |
this) | |
} | |
, | |
a.prototype.iteghsah = function() { | |
var a = this.irftegtnemga(); | |
return a && "#" + a | |
} | |
, | |
a.prototype.irftegtnemga = function() { | |
return this.israpirude.igarftnem | |
} | |
, | |
a.prototype.irftestnemga = function(a) { | |
return this.israpirude.igarftnem = a, | |
this.iacehc.f = null, | |
this | |
} | |
, | |
a.prototype.iqddayreu = function(a) { | |
var b = a; | |
return this.israpirude.iuqyre && (b = this.israpirude.iuqyre + "&" + a), | |
this.iqtesyreu(b) | |
} | |
, | |
a.prototype.ieuqddamarapyr = function(a, b) { | |
return this.iqddayreu(b ? a + "=" + b : a) | |
} | |
, | |
a.prototype.iarapkcehcehcacretem = function() { | |
var a = this.iacehc; | |
if (1 === a.c.length && null === a.c[0]) { | |
var b = this.israpirude.iuqyre; | |
if (b) { | |
for (var c = [], d = -1, e = 0, f = (b = b.split("&")).length; e < f; ++e) { | |
var g = ba.exec(b[e]); | |
g && (c[++d] = g[1], | |
g[2] || "" === g[2] ? c[++d] = g[2] : c[++d] = null) | |
} | |
a.c = c | |
} else | |
a.c = [] | |
} | |
} | |
, | |
a.prototype.iapllatessretemar = function(a) { | |
for (var b = "", c = "", d = a.length, e = 0; e < d; ) { | |
var f = a[e++] | |
, g = a[e++]; | |
b += c + f, | |
c = "&", | |
(g || "" === g) && (b += "=" + g) | |
} | |
return this.iqtesyreu(b || null) | |
} | |
, | |
a.prototype.iemaraptesseulavret = function(a, b) { | |
"string" == typeof b && (b = [b]), | |
this.iarapkcehcehcacretem(); | |
for (var c = 0, d = this.iacehc.c, e = [], f = 0, g = d.length; f < g; f += 2) | |
a === d[f] ? c < b.length && e.push(a, b[c++]) : e.push(d[f], d[f + 1]); | |
for (; c < b.length; ) | |
e.push(a, b[c++]); | |
return this.iapllatessretemar(e), | |
this | |
} | |
, | |
a.prototype.ipevomerretemara = function(a) { | |
return this.iemaraptesseulavret(a, []) | |
} | |
, | |
a.prototype.iapllategsretemar = function() { | |
return this.iarapkcehcehcacretem(), | |
this.iacehc.c.slice(0, this.iacehc.c.length) | |
} | |
, | |
a.prototype.iemaraptegseulavret = function(a) { | |
this.iarapkcehcehcacretem(); | |
for (var b = this.iacehc.c, c = [], d = 0, e = b.length; d < e; d += 2) | |
a === b[d] && c.push(b[d + 1]); | |
return c | |
} | |
, | |
a.prototype.imaraptegeulavrete = function(a) { | |
this.iarapkcehcehcacretem(); | |
for (var b = this.iacehc.c, c = 0, d = b.length; c < d; c += 2) | |
if (a === b[c]) | |
return b[c + 1]; | |
return null | |
} | |
, | |
a.da = function(a) { | |
a = a.replace(/(^|\/)\.(?:\/|$)/g, "$1").replace(/\/{2,}/g, "/"); | |
for (var b; (b = a.replace(Z, "$1")) != a; a = b) | |
; | |
return a.replace($, "$1") | |
} | |
, | |
a.prototype.itumetaercwodahselba = function(b) { | |
return new (b = b || a)(Object.create(this.israpirude)) | |
} | |
, | |
a.prototype.ierfeze = function() { | |
return Object.freeze(this.israpirude), | |
this | |
} | |
, | |
a.prototype.ilceno = function() { | |
return new a({ | |
ihcseme: this.israpirude.ihcseme, | |
iedercslaitn: this.israpirude.iedercslaitn, | |
imodnia: this.israpirude.imodnia, | |
ioptr: this.israpirude.ioptr, | |
ihtapeman: this.israpirude.ihtapeman, | |
iuqyre: this.israpirude.iuqyre, | |
igarftnem: this.israpirude.igarftnem | |
}) | |
} | |
, | |
a.prototype.iiresezila = function() { | |
var a = this.israpirude; | |
return [a.ihcseme, a.iedercslaitn, a.imodnia, a.ioptr, a.ihtapeman, a.iuqyre, a.igarftnem] | |
} | |
, | |
a | |
}(), da = function() { | |
function a(a, b) { | |
this.m = a, | |
this.ta = b | |
} | |
return a.prototype.iulr = function() { | |
return this.ta.url | |
} | |
, | |
a.prototype.W = function() { | |
return 1223 === this.m.status ? 204 : this.m.status | |
} | |
, | |
a.prototype.Headers = function() { | |
return this.m.getAllResponseHeaders() | |
} | |
, | |
a.prototype.iaehred = function(a) { | |
return this.m.getResponseHeader(a) | |
} | |
, | |
a.prototype.Error = function() { | |
return 100 > this.W() || 599 < this.W() ? "Network request failed" : null | |
} | |
, | |
a.prototype.Text = function() { | |
return this.m.responseText | |
} | |
, | |
a | |
}(), ea = { | |
ea: XMLHttpRequest, | |
na: XMLHttpRequest.prototype.open, | |
qa: XMLHttpRequest.prototype.send | |
}, fa = ((R = {})[O] = y, | |
R[K] = !1, | |
R); | |
a.addEventListener("message", function(a) { | |
"string" != typeof (a = a.data) || 0 !== a.lastIndexOf(P, P.length + 1) && 0 !== a.lastIndexOf(Q, Q.length + 1) || (fa[K] = !0, | |
fa[L] = a) | |
}); | |
var ga, ha, ia, ja, ka, la, ma = function() { | |
function a(a) { | |
this.o = this.N(a, [{ | |
a: /MSIE\s([\d]+)(\.([\d]+))?(\.([\d]+))?/, | |
iytep: 3 | |
}, { | |
a: /Edge\/([\d]+)(\.([\d]+))?(\.([\d]+))?/, | |
iytep: 5 | |
}, { | |
a: /Trident.*rv:([\d]+)(\.([\d]+))?(\.([\d]+))?/, | |
iytep: 3 | |
}, { | |
a: /Chrome\/([\d]+)(\.([\d]+))?(\.([\d]+))?/, | |
iytep: 1 | |
}, { | |
a: /Firefox\/([\d]+)(\.([\d]+))?(\.([\d]+))?/, | |
iytep: 2 | |
}, { | |
a: /Version\/([\d]+)(\.([\d]+))?(\.([\d]+))?.*Safari/, | |
iytep: 4 | |
}]) || { | |
iytep: 0, | |
D: 0, | |
G: 0, | |
F: 0 | |
}, | |
this.oa = this.N(a, [{ | |
a: /Android\s([\d]+)(\.([\d]+))?(\.([\d]+))?/, | |
iytep: 1 | |
}, { | |
a: /CPU OS ([\d]+)(_([\d]+))?(_([\d]+))?/, | |
iytep: 2 | |
}, { | |
a: /CPU iPhone OS ([\d]+)(_([\d]+))?(_([\d]+))?/, | |
iytep: 2 | |
}, { | |
a: /Mac OS X ([\d]+)(_([\d]+))?(_([\d]+))?/, | |
iytep: 3 | |
}, { | |
a: /Windows NT ([\d]+)(.([\d]+))?(.([\d]+))?/, | |
iytep: 4 | |
}, { | |
a: /Linux [a-z]*([\d]+)(_([\d]+))?(_([\d]+))?/, | |
iytep: 5 | |
}, { | |
a: /CrOS [a-z]*([\d]+)(_([\d]+))?(_([\d]+))?/, | |
iytep: 5 | |
}]) || { | |
iytep: 0, | |
D: 0, | |
G: 0, | |
F: 0 | |
} | |
} | |
return a.prototype.N = function(a, b) { | |
for (var c = 0; c < b.length; ++c) { | |
var d = b[c] | |
, e = d.a.exec(a); | |
if (null !== e) | |
return { | |
iytep: d.iytep, | |
D: parseInt(e[1]) || 0, | |
G: parseInt(e[3]) || 0, | |
F: parseInt(e[5]) || 0 | |
} | |
} | |
return { | |
iytep: 0, | |
D: 0, | |
F: 0, | |
G: 0 | |
} | |
} | |
, | |
a | |
}(); | |
ja = "undefined" != typeof navigator && navigator.userAgent ? navigator.userAgent : "", | |
ga = new ma(ja), | |
ha = ga.o, | |
ia = ga.oa, | |
(la = ka || (ka = {}))[la.PENDING = 0] = "PENDING", | |
la[la.FULLFILLED = 1] = "FULLFILLED", | |
la[la.REJECTED = 2] = "REJECTED", | |
y = function() { | |
function a(a) { | |
if (!a) | |
throw "no executor provided"; | |
if ("object" != typeof this) | |
throw "use new"; | |
if ("function" != typeof a) | |
throw "not a function"; | |
this.state = ka.P, | |
this.ha(a) | |
} | |
return a.prototype.ha = function(a) { | |
var b = this; | |
try { | |
a(function(a) { | |
b.pa(a) | |
}, function(a) { | |
b.U(a) | |
}) | |
} catch (a) { | |
b.U(a) | |
} | |
} | |
, | |
a.prototype.pa = function(a) { | |
this.$ && this.$.call(this, a), | |
this.state = ka.M | |
} | |
, | |
a.prototype.U = function(a) { | |
this.L && this.L.call(this, a), | |
this.state = ka.S | |
} | |
, | |
a.prototype.then = function(b, c) { | |
return this.state === ka.P ? (this.L = c, | |
this.$ = b) : this.state === ka.M ? b.call(this, void 0) : this.state === ka.S && c.call(this, void 0), | |
new a(function() {} | |
) | |
} | |
, | |
a.prototype.catch = function(b) { | |
return this.state === ka.P ? this.L = b : this.state !== ka.M && this.state === ka.S && b.call(this, void 0), | |
new a(function() {} | |
) | |
} | |
, | |
a.prototype.all = function(b) { | |
var c = Array.prototype.slice.call(b); | |
return new a(function(a, b) { | |
function d(f, g) { | |
try { | |
if (g && ("object" == typeof g || "function" == typeof g)) { | |
var h = g.then; | |
if ("function" == typeof h) | |
return void h.call(g, function(a) { | |
d(f, a) | |
}, b) | |
} | |
c[f] = g, | |
0 == --e && a(c) | |
} catch (a) { | |
b(a) | |
} | |
} | |
if (0 === c.length) | |
return a([]); | |
for (var e = c.length, f = 0; f < c.length; f++) | |
d(f, c[f]) | |
} | |
) | |
} | |
, | |
a | |
}(), | |
(new ca).idtesniamo(a.location.hostname).ioortegniamodt(); | |
var na = "aHR0cHM6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9mYXZpY29uLmljbw== aHR0cHM6Ly9zMC4ybWRuLm5ldC8xNjM1OTA5LzF4MWltYWdlLmpwZw== aHR0cHM6Ly9jb25uZWN0LmZhY2Vib29rLm5ldC9mYXZpY29uLmljbw== aHR0cHM6Ly9hZHMudHdpdHRlci5jb20vZmF2aWNvbi5pY28= aHR0cHM6Ly93d3cuZ29vZ2xlLWFuYWx5dGljcy5jb20vX191dG0uZ2lm aHR0cHM6Ly90cGMuZ29vZ2xlc3luZGljYXRpb24uY29tL2Zhdmljb24uaWNv aHR0cHM6Ly9zZWN1cmUuZm9vdHByaW50Lm5ldC95aWVsZG1hbmFnZXIvYXBleC9tZWRpYXN0b3JlL2FkY2hvaWNlXzEucG5n".split(" ") | |
, oa = "aHR0cHM6Ly9jZG4uZmxhc2h0YWxraW5nLmNvbS83MTE5NS8xODkwMTQ2L2pzL3Rpbnlyb29tLmpz aHR0cHM6Ly9jZG4ubWVkaWF2b2ljZS5jb20vbmF0aXZlYWRzL3NjcmlwdC9jYWZlbW9tL3BvbGFyX3RoZXN0aXJfcGlwaW5nLmpz aHR0cHM6Ly9jLmJldHJhZC5jb20vYS9uLzI3OS83ODE3NS5qcw== aHR0cHM6Ly9zY3JpcHRzLmhvc3QuYmFubmVyZmxvdy5jb20vMS4wLjAvd2lkZ2V0Lm1pbi5qcw== aHR0cHM6Ly9zdGF0aWMuZG91YmxlY2xpY2submV0L2luc3RyZWFtL2FkX3N0YXR1cy5qcw== aHR0cHM6Ly9zMC4ybWRuLm5ldC82OTU1NTEyLzE0OTkzNDQxOTMxMjMvd2ViLzMwMHgyNTBfZWRnZS5qcw==".split(" ") | |
, pa = "aHR0cHM6Ly9ydGF4LmNyaXRlby5jb20vZGVsaXZlcnkvcnRhL3J0YS5qcw== aHR0cHM6Ly9pYi5hZG54cy5jb20vanB0 aHR0cHM6Ly90bHguM2xpZnQuY29tL2hlYWRlci9hdWN0aW9u aHR0cHM6Ly9hZC55aWVsZGxhYi5uZXQveXAvNTE5NDc4 aHR0cHM6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wYWdlYWQvanMvZ29vZ2xlX3RvcF9leHAuanM= aHR0cHM6Ly9zZWN1cmUuYWRueHMuY29tL3R0ag==".split(" ") | |
, qa = void 0 | |
, ra = void 0 | |
, sa = new (R = function(a) { | |
function b() { | |
var b = a.call(this) || this; | |
return b.Z = !1, | |
a.prototype.v.call(b, function() {}), | |
b | |
} | |
return n(b, a), | |
b.prototype.s = function(a) { | |
return function() { | |
if (!this.Z) { | |
for (var b = 0, c = a.length; b < c; ++b) | |
a[b].apply(this, arguments); | |
this.Z = !0 | |
} | |
} | |
} | |
, | |
b | |
}(function(a) { | |
function b() { | |
var b = a.call(this) || this; | |
return a.prototype.v.call(b, function() { | |
b.ma = this, | |
b.O = arguments | |
}), | |
b | |
} | |
return n(b, a), | |
b.prototype.s = function(b) { | |
var c = this | |
, d = a.prototype.s.call(this, b); | |
return function() { | |
d.apply(this, arguments), | |
c.ra() | |
} | |
} | |
, | |
b.prototype.v = function(b) { | |
this.O ? b.apply(this.ma, this.O) : a.prototype.v.call(this, b) | |
} | |
, | |
b | |
}(function() { | |
function a() { | |
this.b = this.w | |
} | |
return a.prototype.w = function() {} | |
, | |
a.prototype.s = function(a) { | |
return function() { | |
for (var b = 0, c = a.length; b < c; ++b) | |
a[b].apply(this, arguments) | |
} | |
} | |
, | |
a.prototype.v = function(a) { | |
if (this.b === this.w) | |
this.b = a; | |
else if (this.b !== this.Y) { | |
var b = this.K; | |
b || (b = this.K = [this.b, a], | |
this.b = this.Y = this.s(b)) | |
} else | |
this.K.push(a) | |
} | |
, | |
a.prototype.ra = function() { | |
this.b !== this.w && (this.b !== this.Y ? this.b = this.w : this.K.length = 0) | |
} | |
, | |
a | |
}()))) | |
, ta = k() && o() && p(); | |
sa.b(ta), | |
sa = new R, | |
ta = k() && o() && !p(), | |
sa.b(ta), | |
sa = void 0, | |
R = new R, | |
v = k() && (void 0 !== sa ? sa : sa = !!a[v]), | |
R.b(v); | |
var ua = a.document.currentScript || a.document.scripts[document.scripts.length - 1] | |
, va = a.Promise || y | |
, wa = "&ad_box_ &ad_channel= &ad_classid= &ad_height= &ad_keyword= &ad_network_ &ad_number= &ad_type= &ad_type_ &ad_url= &ad_zones= &adbannerid=".split(" ") | |
, xa = [["iframe", "google_ads_frame"], ["iframe", "google_ads_iframe"], ["div", "ADV-SLOT-"], ["div", "YFBMSN"], ["div", "google_dfp_"], ["div", "MarketGid"]] | |
, ya = function() { | |
function b(a) { | |
this.T = {}, | |
this.Config = a, | |
this.h = { | |
I: 0, | |
J: 0, | |
H: 0 | |
}, | |
this.la = this.ja() | |
} | |
return b.prototype.ia = function() { | |
for (var b = [], c = new Date, d = 1; 6 >= d; d++) { | |
var e = d + ":" + c.getMonth() + ":" + d + ":" + c.getDate() + ":" + d + ":" + c.getHours() % 2 + ":" + d | |
, f = S + "=" + d + "&ad_channel=1"; | |
e = "//hxyzhas.g00." + new ca(a.location.href).ioortegniamodt() + I + "/" + encodeURIComponent(a.btoa(e)) + "/ad?" + f, | |
b.push(e) | |
} | |
return b | |
} | |
, | |
b.prototype.ja = function() { | |
for (var a = [], b = this.Config.iadb.icolbdaslru_k ? this.Config.iadb.icolbdaslru_k.slice() : this.Config.iadb.isabnoitceriderelbanesrotcetedkniltpircsde ? this.ia() : oa.slice(), c = pa.slice(), d = 0; d < this.Config.iadb.iircsdekcolbmunsrotcetedkniltp; d++) | |
a.push(q("track", b, !1, k(), !1)); | |
for (d = 0; d < this.Config.iadb.isdekcolbnamregmunsrotcetedkniltpirc; d++) | |
a.push(q("track", c, void 0, void 0, void 0)); | |
for (d = 0; d < this.Config.iadb.ihtnemelemunsrotcetededi; d++) | |
a.push(new va(function(a) { | |
var b = xa[Math.floor(Math.random() * xa.length)] | |
, c = document.createElement(b[0]); | |
c.id = b[1], | |
c.style.width = "1px", | |
c.style.height = "1px", | |
c.style.top = "-555px", | |
c.style.left = "-555px", | |
c.style.display = "block"; | |
var d = setInterval(function() { | |
document && document.body && (document.body.appendChild(c), | |
clearInterval(d), | |
setTimeout(function() { | |
var b, d = getComputedStyle(c), e = !1; | |
("none" === d.display || (b = d.getPropertyValue("-moz-binding")) && -1 !== b.indexOf("abp-elemhidehit")) && (e = !0), | |
a(m(D, e)), | |
c && c.parentNode && c.parentNode.removeChild(c) | |
}, 200)) | |
}, 10) | |
} | |
)); | |
for (d = 0; d < this.Config.iadb.iidekcolbmunsrotcetedgm; d++) | |
a.push(new va(function(a) { | |
function b(b) { | |
var d = !1; | |
"load" === b.type ? d = !1 : "error" === b.type && (d = !0), | |
a(m(A, d, b.currentTarget.src)), | |
c && (b = b.target) && b.parentNode && b.parentNode.removeChild(b) | |
} | |
var c = 4 === ha.iytep && 3 === ia.iytep | |
, d = document.createElement("img"); | |
d.onload = b, | |
d.onerror = b; | |
var e = Math.floor(Math.random() * na.length); | |
d.src = na[e] + "?" + wa[Math.floor(Math.random() * wa.length)], | |
c && document.body.appendChild(d), | |
1 < na.length && na.splice(e, 1) | |
} | |
)); | |
return this.h.I = a.length, | |
a | |
} | |
, | |
b.prototype.fa = function(a) { | |
for (var b = this, c = 0; c < this.h.I; c++) | |
this.la[c].then(function(c) { | |
return b.aa(c, a) | |
}) | |
} | |
, | |
b.prototype.aa = function(a, b) { | |
if (this.h.J++, | |
a[K]) { | |
var c = ++this.h.H; | |
!this.T[E] && c >= this.Config.iadb.inoitceteddlohserht && (this.T[E] = !0) | |
} | |
b(a) | |
} | |
, | |
b | |
}(); | |
[na, oa, pa].forEach(function(b) { | |
return b.forEach(function(b, c, d) { | |
return d[c] = a.atob(b) | |
}) | |
}); | |
var za, Aa = []; | |
r(x, s), | |
!a[u] && g(u, {}), | |
!a[t] && g(t, {}), | |
x = function() { | |
function b(a) { | |
var b; | |
this.B = !1, | |
this.g = ((b = {})[M] = [], | |
b[N] = 0, | |
b[K] = !1, | |
b), | |
this.ga = Date.now(), | |
this.V = this.u = !1, | |
this.Config = a, | |
this.C = new ya(a) | |
} | |
return b.prototype.R = function() { | |
this.u || (this.u = !0, | |
r(this.Config.iadb.ivetatselbaira, this.B ? this.Config.iadb.iolbetatseulavdekc : this.Config.iadb.ilbtonetatseulavdekco), | |
r(this.Config.iadb.iycnetalelbairav, this.g[N]), | |
function(b, c) { | |
za = b; | |
var d = !0; | |
try { | |
Aa.forEach(function(a) { | |
d = a(b) && d | |
}); | |
var e = c && a[c]; | |
e && e instanceof Array && (e.forEach(function(a) { | |
d = a(b) && d | |
}), | |
e.push = s) | |
} catch (a) { | |
d = !1 | |
} | |
}(this.g, this.Config.iadb.iotelbairavlabolgskcabllacretsiger)) | |
} | |
, | |
b.prototype.ca = function() { | |
if (this.u) { | |
var a = this.C.h; | |
if (a.J === a.I) | |
return !0 | |
} | |
return !1 | |
} | |
, | |
b.prototype.ka = function() { | |
var a = this.Config.iadb.iircsdekcolbmunsrotcetedkniltp + this.Config.iadb.ihtnemelemunsrotcetededi | |
, b = this.C.h | |
, c = this.Config.iadb.inoitceteddlohserht; | |
return b.H >= c ? F : a === b.J && b.H < c ? G : H | |
} | |
, | |
b.prototype.X = function() { | |
if (!this.V) { | |
this.V = !0; | |
var b = this.Config.iadb.itemeletdbatniopdneyr | |
, c = this.g; | |
if (b) | |
try { | |
var d = []; | |
d = c[M] && (c[K] ? c[M] : c[M].filter(j)), | |
fa[K] && d.push(fa); | |
var e = { | |
adbType: [c[K] ? F : G], | |
otherData: JSON.stringify(d), | |
clientIpAddr: "", | |
userAgent: navigator.userAgent, | |
pageUrl: a.location.href, | |
detectionTime: c[N] | |
} | |
, f = { | |
data_stream_type: "adb", | |
json_data: JSON.stringify(e), | |
generated_timestamp_msec: Date.now() | |
}; | |
a.navigator.sendBeacon ? a.navigator.sendBeacon(b, JSON.stringify(f)) : function(a, b) { | |
void 0 === b && (b = ea); | |
var c = new b.ea | |
, d = null; | |
if ("string" != typeof a.url && (d = a.url.itegferh()), | |
a.url = d || a.url, | |
a.onload && (c.onload = function() { | |
return a.onload(new da(c,a)) | |
} | |
), | |
a.onerror && (c.onerror = function() { | |
return a.onerror(new da(c,a)) | |
} | |
), | |
c.withCredentials = !!a.credentials, | |
a.ua && c.overrideMimeType(a.ua), | |
b.na.call(c, a.method, a.url, !1 !== a.async), | |
a.A) | |
for (d = 0; d < a.A.length; d++) | |
c.setRequestHeader(a.A[d].ianem, a.A[d].sa); | |
d = a.body && ("string" == typeof a.body ? a.body : JSON.stringify(a.body)); | |
var e = !1 === a.async; | |
try { | |
b.qa.call(c, d) | |
} catch (b) { | |
e && a.onerror && a.onerror(null) | |
} | |
e && new da(c,a) | |
}({ | |
method: "POST", | |
url: b, | |
body: f, | |
async: !0, | |
onload: void 0, | |
onerror: void 0, | |
onchange: void 0, | |
A: [{ | |
ianem: "Content-type", | |
sa: "text/plain" | |
}] | |
}) | |
} catch (a) {} | |
} | |
} | |
, | |
b.prototype.ba = function() { | |
var b = this; | |
a.addEventListener("unload", function() { | |
return b.X() | |
}), | |
a.setTimeout(function() { | |
return b.R() | |
}, 5e3), | |
this.C.fa(function(a) { | |
b.g[M].push(a), | |
b.u ? b.ca() && b.X() : (a = b.ka()) !== H && (b.B = a === F, | |
b.g[K] = b.B, | |
b.g[N] = Date.now() - b.ga, | |
b.R()) | |
}) | |
} | |
, | |
b | |
}(), | |
new RegExp(J,"i").test(a.location.pathname) || new x({ | |
iadb: { | |
inoitceteddlohserht: 3, | |
ierelbanenoitcerid: !1, | |
iycnetalelbairav: "Abdt", | |
iidekcolbmunsrotcetedgm: 0, | |
iircsdekcolbmunsrotcetedkniltp: 4, | |
imthdekcolbmunsrotcetedknill: 0, | |
ihtnemelemunsrotcetededi: 4, | |
isdekcolbnamregmunsrotcetedkniltpirc: 0, | |
iolbetatseulavdekc: "blocked", | |
ilbtonetatseulavdekco: "not-blocked", | |
ivetatselbaira: "MorphState" | |
} | |
}).ba() | |
}(); | |
try { | |
a.INSTART.Init(null) | |
} catch (a) {} | |
} | |
}(a), | |
a.I11C && a.I11C.RegisterAbdCallback(function(a) { | |
a && a.Detected ? localStorage.setItem("I11C", "true") : localStorage.getItem("I11C") && localStorage.removeItem("I11C") | |
}), | |
function(a, b) { | |
function c(a) { | |
this.time = a.time, | |
this.target = a.target, | |
this.rootBounds = a.rootBounds, | |
this.boundingClientRect = a.boundingClientRect, | |
this.intersectionRect = a.intersectionRect || k(), | |
this.isIntersecting = !!a.intersectionRect; | |
var b = this.boundingClientRect | |
, c = b.width * b.height | |
, d = this.intersectionRect | |
, e = d.width * d.height; | |
this.intersectionRatio = c ? e / c : this.isIntersecting ? 1 : 0 | |
} | |
function d(a, b) { | |
var c = b || {}; | |
if ("function" != typeof a) | |
throw new Error("callback must be a function"); | |
if (c.root && 1 != c.root.nodeType) | |
throw new Error("root must be an Element"); | |
this._checkForIntersections = f(this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT), | |
this._callback = a, | |
this._observationTargets = [], | |
this._queuedEntries = [], | |
this._rootMarginValues = this._parseRootMargin(c.rootMargin), | |
this.thresholds = this._initThresholds(c.threshold), | |
this.root = c.root || null, | |
this.rootMargin = this._rootMarginValues.map(function(a) { | |
return a.value + a.unit | |
}).join(" ") | |
} | |
function e() { | |
return a.performance && performance.now && performance.now() | |
} | |
function f(a, b) { | |
var c = null; | |
return function() { | |
c || (c = setTimeout(function() { | |
a(), | |
c = null | |
}, b)) | |
} | |
} | |
function g(a, b, c, d) { | |
"function" == typeof a.addEventListener ? a.addEventListener(b, c, d || !1) : "function" == typeof a.attachEvent && a.attachEvent("on" + b, c) | |
} | |
function h(a, b, c, d) { | |
"function" == typeof a.removeEventListener ? a.removeEventListener(b, c, d || !1) : "function" == typeof a.detatchEvent && a.detatchEvent("on" + b, c) | |
} | |
function i(a, b) { | |
var c = Math.max(a.top, b.top) | |
, d = Math.min(a.bottom, b.bottom) | |
, e = Math.max(a.left, b.left) | |
, f = Math.min(a.right, b.right) | |
, g = f - e | |
, h = d - c; | |
return g >= 0 && h >= 0 && { | |
top: c, | |
bottom: d, | |
left: e, | |
right: f, | |
width: g, | |
height: h | |
} | |
} | |
function j(a) { | |
var b; | |
try { | |
b = a.getBoundingClientRect() | |
} catch (a) {} | |
return b ? (b.width && b.height || (b = { | |
top: b.top, | |
right: b.right, | |
bottom: b.bottom, | |
left: b.left, | |
width: b.right - b.left, | |
height: b.bottom - b.top | |
}), | |
b) : k() | |
} | |
function k() { | |
return { | |
top: 0, | |
bottom: 0, | |
left: 0, | |
right: 0, | |
width: 0, | |
height: 0 | |
} | |
} | |
function l(a, b) { | |
for (var c = b; c; ) { | |
if (c == a) | |
return !0; | |
c = m(c) | |
} | |
return !1 | |
} | |
function m(a) { | |
var b = a.parentNode; | |
return b && 11 == b.nodeType && b.host ? b.host : b | |
} | |
if ("IntersectionObserver"in a && "IntersectionObserverEntry"in a && "intersectionRatio"in a.IntersectionObserverEntry.prototype) | |
return void ("isIntersecting"in a.IntersectionObserverEntry.prototype || Object.defineProperty(a.IntersectionObserverEntry.prototype, "isIntersecting", { | |
get: function() { | |
return this.intersectionRatio > 0 | |
} | |
})); | |
var n = []; | |
d.prototype.THROTTLE_TIMEOUT = 100, | |
d.prototype.POLL_INTERVAL = null, | |
d.prototype.USE_MUTATION_OBSERVER = !0, | |
d.prototype.observe = function(a) { | |
if (!this._observationTargets.some(function(b) { | |
return b.element == a | |
})) { | |
if (!a || 1 != a.nodeType) | |
throw new Error("target must be an Element"); | |
this._registerInstance(), | |
this._observationTargets.push({ | |
element: a, | |
entry: null | |
}), | |
this._monitorIntersections(), | |
this._checkForIntersections() | |
} | |
} | |
, | |
d.prototype.unobserve = function(a) { | |
this._observationTargets = this._observationTargets.filter(function(b) { | |
return b.element != a | |
}), | |
this._observationTargets.length || (this._unmonitorIntersections(), | |
this._unregisterInstance()) | |
} | |
, | |
d.prototype.disconnect = function() { | |
this._observationTargets = [], | |
this._unmonitorIntersections(), | |
this._unregisterInstance() | |
} | |
, | |
d.prototype.takeRecords = function() { | |
var a = this._queuedEntries.slice(); | |
return this._queuedEntries = [], | |
a | |
} | |
, | |
d.prototype._initThresholds = function(a) { | |
var b = a || [0]; | |
return Array.isArray(b) || (b = [b]), | |
b.sort().filter(function(a, b, c) { | |
if ("number" != typeof a || isNaN(a) || a < 0 || a > 1) | |
throw new Error("threshold must be a number between 0 and 1 inclusively"); | |
return a !== c[b - 1] | |
}) | |
} | |
, | |
d.prototype._parseRootMargin = function(a) { | |
var b = a || "0px" | |
, c = b.split(/\s+/).map(function(a) { | |
var b = /^(-?\d*\.?\d+)(px|%)$/.exec(a); | |
if (!b) | |
throw new Error("rootMargin must be specified in pixels or percent"); | |
return { | |
value: parseFloat(b[1]), | |
unit: b[2] | |
} | |
}); | |
return c[1] = c[1] || c[0], | |
c[2] = c[2] || c[0], | |
c[3] = c[3] || c[1], | |
c | |
} | |
, | |
d.prototype._monitorIntersections = function() { | |
this._monitoringIntersections || (this._monitoringIntersections = !0, | |
this.POLL_INTERVAL ? this._monitoringInterval = setInterval(this._checkForIntersections, this.POLL_INTERVAL) : (g(a, "resize", this._checkForIntersections, !0), | |
g(b, "scroll", this._checkForIntersections, !0), | |
this.USE_MUTATION_OBSERVER && "MutationObserver"in a && (this._domObserver = new MutationObserver(this._checkForIntersections), | |
this._domObserver.observe(b, { | |
attributes: !0, | |
childList: !0, | |
characterData: !0, | |
subtree: !0 | |
})))) | |
} | |
, | |
d.prototype._unmonitorIntersections = function() { | |
this._monitoringIntersections && (this._monitoringIntersections = !1, | |
clearInterval(this._monitoringInterval), | |
this._monitoringInterval = null, | |
h(a, "resize", this._checkForIntersections, !0), | |
h(b, "scroll", this._checkForIntersections, !0), | |
this._domObserver && (this._domObserver.disconnect(), | |
this._domObserver = null)) | |
} | |
, | |
d.prototype._checkForIntersections = function() { | |
var a = this._rootIsInDom() | |
, b = a ? this._getRootRect() : k(); | |
this._observationTargets.forEach(function(d) { | |
var f = d.element | |
, g = j(f) | |
, h = this._rootContainsTarget(f) | |
, i = d.entry | |
, k = a && h && this._computeTargetAndRootIntersection(f, b) | |
, l = d.entry = new c({ | |
time: e(), | |
target: f, | |
boundingClientRect: g, | |
rootBounds: b, | |
intersectionRect: k | |
}); | |
i ? a && h ? this._hasCrossedThreshold(i, l) && this._queuedEntries.push(l) : i && i.isIntersecting && this._queuedEntries.push(l) : this._queuedEntries.push(l) | |
}, this), | |
this._queuedEntries.length && this._callback(this.takeRecords(), this) | |
} | |
, | |
d.prototype._computeTargetAndRootIntersection = function(c, d) { | |
if ("none" != a.getComputedStyle(c).display) { | |
for (var e = j(c), f = e, g = m(c), h = !1; !h; ) { | |
var k = null | |
, l = 1 == g.nodeType ? a.getComputedStyle(g) : {}; | |
if ("none" == l.display) | |
return; | |
if (g == this.root || g == b ? (h = !0, | |
k = d) : g != b.body && g != b.documentElement && "visible" != l.overflow && (k = j(g)), | |
k && !(f = i(k, f))) | |
break; | |
g = m(g) | |
} | |
return f | |
} | |
} | |
, | |
d.prototype._getRootRect = function() { | |
var a; | |
if (this.root) | |
a = j(this.root); | |
else { | |
var c = b.documentElement | |
, d = b.body; | |
a = { | |
top: 0, | |
left: 0, | |
right: c.clientWidth || d.clientWidth, | |
width: c.clientWidth || d.clientWidth, | |
bottom: c.clientHeight || d.clientHeight, | |
height: c.clientHeight || d.clientHeight | |
} | |
} | |
return this._expandRectByRootMargin(a) | |
} | |
, | |
d.prototype._expandRectByRootMargin = function(a) { | |
var b = this._rootMarginValues.map(function(b, c) { | |
return "px" == b.unit ? b.value : b.value * (c % 2 ? a.width : a.height) / 100 | |
}) | |
, c = { | |
top: a.top - b[0], | |
right: a.right + b[1], | |
bottom: a.bottom + b[2], | |
left: a.left - b[3] | |
}; | |
return c.width = c.right - c.left, | |
c.height = c.bottom - c.top, | |
c | |
} | |
, | |
d.prototype._hasCrossedThreshold = function(a, b) { | |
var c = a && a.isIntersecting ? a.intersectionRatio || 0 : -1 | |
, d = b.isIntersecting ? b.intersectionRatio || 0 : -1; | |
if (c !== d) | |
for (var e = 0; e < this.thresholds.length; e++) { | |
var f = this.thresholds[e]; | |
if (f == c || f == d || f < c != f < d) | |
return !0 | |
} | |
} | |
, | |
d.prototype._rootIsInDom = function() { | |
return !this.root || l(b, this.root) | |
} | |
, | |
d.prototype._rootContainsTarget = function(a) { | |
return l(this.root || b, a) | |
} | |
, | |
d.prototype._registerInstance = function() { | |
n.indexOf(this) < 0 && n.push(this) | |
} | |
, | |
d.prototype._unregisterInstance = function() { | |
var a = n.indexOf(this); | |
-1 != a && n.splice(a, 1) | |
} | |
, | |
a.IntersectionObserver = d, | |
a.IntersectionObserverEntry = c | |
}(a, document), | |
function() { | |
function b(a, b) { | |
b = b || { | |
bubbles: !1, | |
cancelable: !1, | |
detail: void 0 | |
}; | |
var c = document.createEvent("CustomEvent"); | |
return c.initCustomEvent(a, b.bubbles, b.cancelable, b.detail), | |
c | |
} | |
if ("function" == typeof a.CustomEvent) | |
return !1; | |
b.prototype = a.Event.prototype, | |
a.CustomEvent = b | |
}(); | |
var b; | |
if (a._PERFORMGROUP_EPLAYER) | |
return void a._PERFORMGROUP_EPLAYER.initEplayer(); | |
b = a._PERFORMGROUP_EPLAYER; | |
var c = function(a) { | |
this.pInstance = a, | |
this.eventTarget = document.createDocumentFragment() | |
}; | |
api.prototype.agents = {}, | |
api.prototype.eventTarget = document.createDocumentFragment(), | |
api.prototype.getPlayerById = function(a) { | |
for (var c in b.players) | |
if (b.players.hasOwnProperty(c)) { | |
var d = b.players[c]; | |
if (d.id === a && !0 === d.apiEnabled) | |
return d | |
} | |
return null | |
} | |
, | |
api.prototype.subscribe = function(a) { | |
var b = this.getPlayerById(a); | |
if (null !== b) | |
return this.agents.hasOwnProperty(a) || (this.agents[a] = new c(b)), | |
this.agents[a]; | |
error("Can not subscribe to that player. Probably not existing?", a, "0001") | |
} | |
, | |
api.prototype.unsubscribe = function(a) { | |
if (null !== this.agents[a]) | |
return void delete this.agents[a]; | |
error("No player to unsubscribe from!", a, "0002") | |
} | |
, | |
api.prototype.detectIE11 = function() { | |
return a.navigator.userAgent.indexOf("Trident/") >= -1 | |
} | |
, | |
api.prototype.removeEventListener = function(a, b) { | |
return eventTarget.removeEventListener ? eventTarget.removeEventListener(a, b) : eventTarget.detachEvent(a, b) | |
} | |
, | |
api.prototype.dispatchEvent = function(b) { | |
return !1 === this.detectIE11() ? eventTarget.dispatchEvent(b) : a.dispatchEvent(b) | |
} | |
, | |
api.prototype.warn = function(a, b, c) { | |
console.warn(a, { | |
id: b, | |
errorNumber: c | |
}) | |
} | |
, | |
api.prototype.error = function(a, b, c) { | |
console.error(a, [{ | |
id: b, | |
errorNumber: c | |
}]) | |
} | |
, | |
api.prototype.addEventListener = function(b, c) { | |
return !1 === this.detectIE11() ? eventTarget.addEventListener(b, c) : a.addEventListener(b, c, !1) | |
} | |
, | |
c.prototype = Object.create(api.prototype), | |
c.prototype.playContent = function(b, c) { | |
void 0 === c && (c = !0), | |
a.epAPI.agents[this.pInstance.id] ? this.pInstance.playContent(this.pInstance, b, c) : a.epAPI.getPlayerById(this.pInstance.id) ? this.error("That player is unsubscribed from the API. Please subscribe it again for further connection.", b, 2e3) : this.error("No ePlayer instance found on that specified id.", b, 1e3) | |
} | |
; | |
var d, e = function() { | |
function c(a, b) { | |
return -1 !== a.indexOf(b) | |
} | |
function f(a) { | |
if (a.indexOf("%") > -1 && (a = decodeURIComponent(a)), | |
!1 === c(a, "#")) | |
return { | |
playerId: null, | |
pureId: null, | |
id: null | |
}; | |
var b = a.split("#"); | |
if (!1 === c(b[1], ".")) | |
return { | |
playerId: null, | |
pureId: null, | |
id: null | |
}; | |
var d = b[1] | |
, e = d.split("$") | |
, f = e[0] | |
, g = f.split(".") | |
, h = d.split(".")[0]; | |
return { | |
playerId: d, | |
pureId: f, | |
playerType: g[2], | |
id: h | |
} | |
} | |
function g() { | |
var b = document.getElementsByTagName("script") | |
, c = m(b); | |
if (c) { | |
var d = "https:" === a.location.protocol; | |
try { | |
var e = f(c.src) | |
, g = e.playerId | |
, h = e.pureId | |
, i = { | |
dimensions: { | |
width: 0, | |
height: 0, | |
hashWidth: !1, | |
hashHeight: !1 | |
} | |
} | |
, k = document.createElement("iframe") | |
, o = c.src.split(oa)[0] + "eplayer.html#" | |
, p = document.createElement("div"); | |
c.setAttribute("data-loaded", !0), | |
p.id = "wrapper_" + g, | |
localStorage.getItem("I11C") && (pa = !0, | |
o = o.replace("/eplayer/", "/g00/eplayer/")), | |
o = d ? o.replace("http://", "https://secure.") : o, | |
k.id = g, | |
k.scrolling = "no", | |
k.frameBorder = 0, | |
k.allowtransparency = !0, | |
k.src = "about:blank", | |
k.setAttribute("data-width", c.getAttribute("data-width")), | |
k.setAttribute("data-height", c.getAttribute("data-height")), | |
k.setAttribute("allowFullScreen", ""), | |
k.setAttribute("webkitallowfullscreen", ""), | |
k.setAttribute("allow", "autoplay; fullscreen"), | |
k.setAttribute("style", ha.initial), | |
i.iframe = k, | |
i.id = e.id, | |
i.apiEnabled = !1, | |
i.timing = { | |
start: Z() | |
}, | |
i.pureId = h, | |
i.wrapper = p, | |
i.initial = !0, | |
i.isMoreVideoOpen = !1, | |
i.timing = { | |
start: Z() | |
}, | |
i.autoPlay = !1, | |
i.scrollToPlay = !1, | |
i.scrollSetting = null, | |
i.clone = !1, | |
i.scrollToPlayPending = !1, | |
i.visible = !1, | |
i.isInPopup = !1, | |
i.hasBeenVisible = !1, | |
i.isStartInLightbox = !1, | |
i.isStartInLargePopup = !1; | |
var q = null; | |
ka[h] ? (q = l(), | |
h = h + "_clone(" + q + ")", | |
ka[h] = i, | |
ka[h].clone = !0) : ka[h] = i, | |
j(h, g), | |
la[h] = 1, | |
t(), | |
c.parentElement.insertBefore(p, c), | |
p.appendChild(k), | |
c.parentElement.removeChild(c), | |
n(i, !0), | |
k.src = o + g + (null !== g && -1 !== g.indexOf("$") ? "&" : "$") + s(h, !1, q, d), | |
setTimeout(function() { | |
G(h) | |
}, 2e3) | |
} catch (a) { | |
console.log(a) | |
} | |
} | |
} | |
function h() { | |
if (void 0 === a.BS) { | |
var b = document.createElement("script"); | |
b.type = "text/javascript", | |
b.src = "//player.performgroup.com/eplayer/assets/brandSafety.js", | |
b.async = !0, | |
document.head.appendChild(b) | |
} else | |
a.BS.init("urls") | |
} | |
function i() { | |
var a, b = document.getElementById("ripcode-boot"); | |
b || (a = document.createElement("script"), | |
a.id = "ripcode-boot", | |
a.src = "//a.ripco.de/ripcode.js", | |
a.setAttribute("data-id", "QWtjpVkEO9xyhins"), | |
document.body.appendChild(a)) | |
} | |
function j(a, b) { | |
null !== b && b.indexOf("s=1") > -1 && (ka[a].iframe.style.display = "none") | |
} | |
function k(a) { | |
"LOCKED" === a.semstatus || "LIVE" === a.semstatus || "PROCESSING" === a.semstatus ? a.style.display = "block" : a.id.indexOf("s=1") > -1 && (a.style.display = "none") | |
} | |
function l() { | |
var a = 0; | |
try { | |
for (var b in ka) | |
if (-1 !== b.indexOf("_clone(")) { | |
var c = /_clone((.*))/ | |
, d = b.match(c)[1] | |
, e = parseInt(d.charAt(1)); | |
a = e > a ? e : a + 1 | |
} | |
} catch (a) {} | |
return a | |
} | |
function m(a) { | |
for (var b = 0; b < a.length; b++) { | |
var c = a[b]; | |
if (-1 !== c.src.indexOf(oa) && !c.getAttribute("data-loaded")) | |
return c | |
} | |
return null | |
} | |
function n(a, b) { | |
if (a = o(a), | |
!0 !== b) { | |
if (a.iframe && (!a.iframe.getAttribute("data-lightbox") || "false" === a.iframe.getAttribute("data-lightbox")) && (a.dimensions.width !== a.iframe.parentElement.offsetWidth || a.dimensions.height !== a.iframe.parentElement.offsetHeight)) | |
if (!1 === a.hasWidth && !1 === a.hasHeight) { | |
var c = z(a.iframe.parentElement.offsetWidth, a.playerType); | |
c = c <= ga.height ? c : ga.height, | |
a.dimensions.height = c, | |
a.iframe.height = a.dimensions.height, | |
a.iframe.setAttribute("style", "width:1px;min-width:100%") | |
} else | |
!0 === a.hasWidth && !1 === a.hasHeight ? (a.dimensions.height = z(a.dimensions.width, a.playerType), | |
a.iframe.height = a.dimensions.height, | |
a.iframe.width = a.dimensions.width) : !1 === a.hasWidth && !0 === a.hasHeight ? (a.iframe.height = a.dimensions.height >= fa.height ? a.dimensions.height : fa.height, | |
a.dimensions.width = A(a.iframe.height, a.playerType), | |
a.iframe.width = a.dimensions.width) : !0 === a.hasWidth && !0 === a.hasHeight && (a.iframe.width = a.dimensions.width, | |
a.iframe.height = a.dimensions.height); | |
k(a.iframe) | |
} else if (!1 === a.hasWidth && !1 === a.hasHeight) { | |
a.iframe.setAttribute("style", "width:1px;min-width:100%;"); | |
var d = z(a.iframe.clientWidth, "sixteenByNine"); | |
a.dimensions.height = d, | |
a.iframe.height = a.dimensions.height, | |
k(a.iframe) | |
} | |
} | |
function o(a) { | |
var b = a.iframe.getAttribute("data-width") | |
, c = a.iframe.getAttribute("data-height"); | |
return a.hasWidth = "null" !== b && "" !== b, | |
a.hasHeight = "null" !== c && "" !== c, | |
a.dimensions.width = a.hasWidth ? b : "100%", | |
a.dimensions.height = a.hasHeight ? c : "100%", | |
a | |
} | |
function p(b, c) { | |
var d = new CustomEvent(b,{ | |
detail: c | |
}); | |
a.epAPI.dispatchEvent(d); | |
var e = a.epAPI.agents[d.detail]; | |
e && e.eventTarget.dispatchEvent(d) | |
} | |
function q(b, c) { | |
if (c && ka[b]) { | |
if ((c.error || !c.state) && c.error.indexOf("104") < -1) | |
return void delete ka[b]; | |
if (ka[b].autoPlay = c.autoPlay, | |
ka[b].scrollToPlay = c.scrollToPlay, | |
ka[b].scrollSetting = c.scrollSetting, | |
ka[b].type = c.state, | |
ka[b].isShared = c.isShared, | |
d = c.browserInfo, | |
"auto" === c.state ? r(b) : "popup" === ka[b].type ? (Y(b, "defaulttype"), | |
!0 === c.isShared && (r(b), | |
I()), | |
(c.autoPlay || c.scrollToPlay || c.isShared) && (r(b), | |
I()), | |
!0 === c.scrollToPlay && (ka[b].type = "scroll", | |
I())) : d.smartphone && "scroll" === ka[b].type && (c.autoPlay || c.scrollToPlay) && (r(b), | |
I()), | |
ka[b].configReady = !0, | |
ka[b].timing = $(ka[b].timing), | |
Y(b, "playerLoadTimingFinished", ka[b].timing.load), | |
ka[b].apiEnabled = c.apiEnabled, | |
!0 === ka[b].apiEnabled) { | |
ka[b].playContent = _; | |
p(a.epAPI.events.PLAYER_READY, ka[b].id) | |
} | |
c.bootstrapRequestTiming && (ka[b].bootstrapRequestTiming = c.bootstrapRequestTiming), | |
delete la[b], | |
0 === Object.keys(la).length && C() | |
} | |
} | |
function r(a) { | |
(ka[a].autoPlay || ka[a].scrollToPlay || ka[a].isShared) && (Object.keys(ka).length > 1 || d.smartphone && "scroll" === ka[a].type ? X(a) : W(a)) | |
} | |
function s(c, d, e, f) { | |
var g = null | |
, h = a.location !== a.parent.location ? document.referrer : document.location.href | |
, i = document.location.hash.split("#")[1] | |
, j = ""; | |
if (i) { | |
if (g = u(i), | |
!0 === d) | |
return g; | |
g && g.playerID && -1 !== c.indexOf(g.playerID) && "true" === g.share && (j = i) | |
} | |
return h = -1 !== h.indexOf("#") ? h.split("#")[0] : h, | |
j.indexOf("&") > -1 && (j += "&"), | |
j += "location=" + encodeURIComponent(encodeURIComponent(h)), | |
j += "&visibility=" + (function() { | |
return void 0 !== b.players[c] && M(b.players[c].iframe) | |
}() ? "visible" : "hidden"), | |
j += "&secure=" + f, | |
null !== e && (j += "&cloneId=" + e), | |
j += "&embedStyle=s" | |
} | |
function t() { | |
var b, c; | |
!1 === ja && (a.addEventListener("resize", L), | |
a.addEventListener("message", w), | |
a.addEventListener("scroll", I), | |
b = 0, | |
c = setInterval(function() { | |
I(), | |
10 == ++b && clearInterval(c) | |
}, 1e3), | |
ja = !0) | |
} | |
function u(a) { | |
var b = a.split("&"); | |
if (b) { | |
for (var c = {}, d = 0; d < b.length; d++) { | |
var e = b[d].split("=")[0] | |
, f = b[d].split("=")[1]; | |
c[e] = f | |
} | |
return c | |
} | |
return null | |
} | |
function v(a, b) { | |
for (var c in ka) | |
ka.hasOwnProperty(c) && ("keywords" === b ? Y(c, "keywordsForGTM", a) : "status" === b ? Y(c, "brandSafetyReady", !0) : Y(c, "bucketsForDFP", a)) | |
} | |
function w(b) { | |
var c; | |
try { | |
c = JSON.parse(b.data) | |
} catch (a) { | |
return | |
} | |
var d = ka[c.playerId]; | |
if ("bucketDetected" === c.playerEvent) | |
v(c.data); | |
else if ("keywordsDetected" === c.playerEvent) | |
v(c.data, "keywords"); | |
else if ("brandSafetyReady" === c.playerEvent) | |
v(c.data, "status"); | |
else if ("initBrandSafety" === c.playerEvent) | |
a.dispatchEvent(new CustomEvent("initBrandSafety")); | |
else if (!c.playerEvent || !c.playerId || !d) | |
return; | |
if ("lightbox" === c.playerEvent) | |
!d.iframe || d.iframe.getAttribute("data-lightbox") && "false" !== d.iframe.getAttribute("data-lightbox") || P(c.playerId); | |
else if ("normalmode" === c.playerEvent) | |
V(c.playerId); | |
else if ("configReady" === c.playerEvent) | |
q(c.playerId, c.playerData); | |
else if ("sixteenByNine" === c.playerEvent || "rightrail" === c.playerEvent || "chromeless" === c.playerEvent || "fullwidth" === c.playerEvent || x(c.playerEvent)) | |
y(c.playerId, c.playerEvent); | |
else if ("disablepopup" === c.playerEvent) { | |
d.type = "click", | |
d.isInPopup = !1; | |
var e = "rightrail"; | |
"popup" !== d.playerType && (e = d.playerType), | |
y(c.playerId, e) | |
} else if ("initialStateChanged" === c.playerEvent) | |
d.initial = !1; | |
else if ("morevideotoggle" === c.playerEvent) | |
d.isMoreVideoOpen = c.playerData.value; | |
else if ("typeoverride" === c.playerEvent) | |
d.type = c.playerData.type; | |
else if ("playerType" === c.playerEvent) | |
y(c.playerId, c.playerData.value); | |
else if ("popupAlignment" === c.playerEvent) | |
d.popupAlignment = c.playerData.value; | |
else if ("scrollToPlayer" === c.playerEvent) | |
O(c.playerId); | |
else if ("SEMplayerStatus" === c.playerEvent) | |
d.iframe.semstatus = c.playerData.value, | |
k(d.iframe); | |
else if ("enableRipcode" === c.playerEvent) | |
i(); | |
else if ("forcePopup" === c.playerEvent) | |
Q(c.playerId, d); | |
else if ("forceStartInLightbox" === c.playerEvent) | |
d.isStartInLightbox = !0; | |
else if ("forceStartInPopup" === c.playerEvent) | |
d.isStartInLargePopup = !0; | |
else if ("setPopupWidth" === c.playerEvent) { | |
var f = c.playerData.value | |
, g = f / (16 / 9); | |
ha.popup += "width:" + f + "px; height:" + g + "px;" | |
} | |
if (void 0 !== d && !0 === d.apiEnabled && function(b) { | |
for (var c in a.epAPI.events) | |
if (a.epAPI.events[c] === b) | |
return !0 | |
}(c.playerEvent)) { | |
var h = d.id; | |
a.epAPI.agents[h] && p(c.playerEvent, d.id) | |
} | |
} | |
function x(a) { | |
return -1 !== ["widget", "mobileWidget", "widget-defaultState", "widget-noThumbTitle", "widget-noPublisherLogo", "widget-singleThumb", "mobileWidget-defaultState", "mobileWidget-noThumbTitle", "mobileWidget-noPublisherLogo"].indexOf(a, 0) | |
} | |
function y(a, b) { | |
if (ka[a] && ka[a].iframe && b) { | |
ka[a].playerType = b, | |
"popup" === ka[a].playerType && (ka[a].playerType = "rightrail", | |
b = "rightrail"); | |
var c = ka[a].iframe; | |
"sixteenByNine" === b ? c.setAttribute("style", ha.sixteenByNine) : "rightrail" === b ? c.setAttribute("style", ha.rightRail) : "chromeless" === b ? c.setAttribute("style", ha.chromeless) : x(b) ? c.setAttribute("style", ha.widget) : "adunit" === b ? c.setAttribute("style", ha.adunit) : "fullwidth" === b && c.setAttribute("style", ha.chromeless), | |
n(ka[a], !1), | |
Y(a, "playerTypeSet") | |
} | |
} | |
function z(a, b) { | |
if ("rightrail" === b) | |
return Math.round(9 * (a - 34) / 16 + 217); | |
if ("sixteenByNine" === b) | |
return Math.round(9 * a / 16); | |
if ("chromeless" === b) | |
return Math.round(9 * (a - 34) / 16 + 186); | |
if ("fullwidth" === b) | |
return Math.round(9 * a / 16 + 161); | |
if ("widget-defaultState" === b) | |
return 165; | |
if ("widget-noThumbTitle" === b) | |
return 130; | |
if ("widget-noPublisherLogo" === b) | |
return 120; | |
if ("widget-singleThumb" === b) | |
return 90; | |
if ("widget" === b) | |
return 165; | |
if ("mobileWidget" === b) | |
return Math.round(.85 * a) + 60; | |
if ("mobileWidget-defaultState" === b || "mobileWidget-noThumbTitle" === b) | |
return Math.round(.85 * a) + 60; | |
if ("mobileWidget-noPublisherLogo" === b) | |
return Math.round(.85 * a); | |
if ("adunit" === b) { | |
return a / 1.2 | |
} | |
} | |
function A(a, b) { | |
return "rightrail" === b ? Math.round(16 * (a - 197.5) / 9) : "sixteenByNine" === b ? Math.round(16 * a / 9) : "chromeless" === b ? Math.round(16 * (a - 186) / 9) : "adunit" === b ? 250 / 300 * a : void 0 | |
} | |
function B() { | |
for (var a in ka) | |
ea.observe(document.getElementById(ka[a].iframe.id)) | |
} | |
function C() { | |
na = $(na), | |
h(), | |
I(), | |
B(), | |
D(), | |
E(), | |
F() | |
} | |
function D() { | |
var b = !1 | |
, c = { | |
consentData: null, | |
gdprApplies: null, | |
vendorConsents: "NoCMP" | |
} | |
, d = [323] | |
, e = function(a, b) { | |
for (var c in ka) | |
ka.hasOwnProperty(c) && Y(c, a, b) | |
}; | |
"__cmp"in a ? (__cmp("getConsentData", null, function(a) { | |
b = !0, | |
e("vendorConsentData", a) | |
}), | |
__cmp("getVendorConsents", d, function(a) { | |
var b = a.vendorConsents ? a.vendorConsents[d] : "NoCMP"; | |
e("vendorConsents", b) | |
}), | |
setTimeout(function() { | |
b || e("vendorConsentData", c) | |
}, 1e3)) : e("vendorConsentData", c) | |
} | |
function E() { | |
if (pa) | |
for (var a in ka) | |
ka.hasOwnProperty(a) && Y(a, "adBlockDetected") | |
} | |
function F() { | |
if ("gtmDataLayer"in a) | |
for (var b in ka) | |
ka.hasOwnProperty(b) && Y(b, "gtmTags", a.gtmDataLayer[0]) | |
} | |
function G(a) { | |
var b = s(a, !0); | |
null !== b && b.playerID && -1 !== a.indexOf(b.playerID) && O(a) | |
} | |
function H() { | |
for (var a in ka) | |
if (!0 === ka[a].isInPopup) | |
return !0; | |
return !1 | |
} | |
function I() { | |
clearTimeout(qa), | |
qa = setTimeout(function() { | |
var a, b; | |
if (!0 === ia) | |
return void S(); | |
for (var c in ka) | |
if (ka.hasOwnProperty(c)) { | |
if (a = ka[c].iframe, | |
b = ka[c].wrapper, | |
!a || !b || !ka[c].type) | |
continue; | |
var d = M(ka[c].wrapper); | |
if ("scroll" === ka[c].type && !0 === ka[c].initial) | |
(!0 === d && !ma[c] || !1 === d && !0 === ma[c]) && (ka[c].scrollToPlayPending = d, | |
ka[c].visible = d); | |
else if ("popup" === ka[c].type) | |
!0 === ka[c].configReady && !1 === ka[c].initial && !1 === ka[c].isMoreVideoOpen && !1 === d && !1 === H() && (ka[c].isInPopup = !0, | |
Q(c, ka[c])); | |
else if (!0 === ka[c].configReady && !1 === ka[c].initial && ma[c] !== d) { | |
var e = { | |
playerevent: "externalVisibilityChange", | |
data: d | |
}; | |
Y(c, "externalVisibilityChange", e) | |
} | |
ma[c] = d | |
} | |
J() | |
}, 200) | |
} | |
function J() { | |
var a; | |
for (var b in ka) | |
if (ka.hasOwnProperty(b)) { | |
if (a = ka[b], | |
!1 === a.initial) | |
break; | |
if (!0 === a.hasBeenVisible && !1 === a.visible && (a.isStartInLightbox || a.isStartInLargePopup) || !0 === a.visible && !1 === a.isStartInLightbox && !1 === a.isStartInLargePopup) { | |
K(b, a.visible); | |
break | |
} | |
!1 === a.hasBeenVisible && (a.hasBeenVisible = a.visible) | |
} | |
} | |
function K(a, b) { | |
var c = { | |
playerevent: "scrollToPlay", | |
data: b | |
}; | |
Y(a, c.playerevent, c) | |
} | |
function L() { | |
S(); | |
for (var a in ka) | |
ka.hasOwnProperty(a) && (n(ka[a]), | |
!0 === ka[a].isInPopup && Q(e, ka[a])) | |
} | |
function M(a) { | |
var b = a.getBoundingClientRect() | |
, c = N() | |
, d = { | |
top: b.top < 0 ? 0 : Math.min(b.top, c.height), | |
bottom: b.bottom < 0 ? 0 : Math.min(b.bottom, c.height), | |
left: b.left < 0 ? 0 : Math.min(b.left, c.width), | |
right: b.right < 0 ? 0 : Math.min(b.right, c.width) | |
}; | |
return (d.bottom - d.top) * (d.right - d.left) / ((b.bottom - b.top) * (b.right - b.left)) >= .5 | |
} | |
function N() { | |
return { | |
width: a.innerWidtht || document.documentElement.clientWidth, | |
height: a.innerHeight || document.documentElementclientHeight | |
} | |
} | |
function O(a) { | |
ka[a] && ka[a].iframe && ka[a].iframe.scrollIntoView() | |
} | |
function P(a) { | |
if (!0 !== ia && ka[a] && ka[a].iframe) { | |
var b = ka[a].iframe | |
, c = U(b.parentElement); | |
R(b.parentNode), | |
ia = !0, | |
Y(a, "lightboxFinished"), | |
ba = ka[a], | |
!1 === c ? b.setAttribute("style", ha.lightbox) : (ka[a].transformLightbox = !0, | |
S()), | |
b.setAttribute("data-lightbox", "true") | |
} | |
} | |
function Q(b, c) { | |
var d = c.iframe | |
, e = ha.popup; | |
ca = c, | |
c.popupAlignment.indexOf("BOTTOM") > -1 ? e += "bottom:5px;" : c.popupAlignment.indexOf("TOP") > -1 && (e += "top:5px;"), | |
"BOTTOM_RIGHT" === c.popupAlignment || "TOP_RIGHT" === c.popupAlignment ? e += "right:20px;" : "BOTTOM_CENTER_RIGHT" === c.popupAlignment || "TOP_CENTER_RIGHT" === c.popupAlignment ? a.innerWidth > 830 ? e += "right:25%; transform:translateX(50%);" : e += "right:20px;" : "BOTTOM_CENTER" === c.popupAlignment || "TOP_CENTER" === c.popupAlignment ? e += "left:50%; transform:translateX(-50%);" : "BOTTOM_CENTER_LEFT" === c.popupAlignment || "TOP_CENTER_LEFT" === c.popupAlignment ? a.innerWidth > 830 ? e += "left:25%; transform:translateX(-50%);" : e += "left:5px;" : "BOTTOM_LEFT" !== c.popupAlignment && "TOP_LEFT" !== c.popupAlignment || (e += "left:5px;"), | |
d.setAttribute("style", e), | |
Y(b, "popup") | |
} | |
function R(a) { | |
var b = "width: " + a.offsetWidth + "px; height: " + a.offsetHeight + "px; position: relative;"; | |
a.setAttribute("style", b) | |
} | |
function S() { | |
if (!0 === ia && ba && ba.iframe && !0 === ba.transformLightbox) { | |
var a = N() | |
, b = ba.iframe.parentNode.getBoundingClientRect() | |
, c = { | |
left: -1 * b.left, | |
top: -1 * b.top | |
} | |
, d = "position: absolute; z-index: 10000001; left: " + c.left + "px; top: " + c.top + "px; width: " + a.width + "px; height: " + a.height + "px; overflow: hidden;"; | |
ba.iframe.setAttribute("style", d) | |
} | |
} | |
function T(a) { | |
return a.currentStyle || document.defaultView.getComputedStyle(a) | |
} | |
function U(a) { | |
for (var b = ["transform", "webkitTransform", "msTransform", "mozTransform", "oTransform"], c = T(a), d = 0, e = b.length; d < e; d++) | |
if (c[b[d]] && "" !== c[b[d]] && "none" !== c[b[d]]) | |
return !0; | |
return !!a.parentElement && U(a.parentElement) | |
} | |
function V(a) { | |
if (!1 !== ia && ka[a] && ka[a].iframe) { | |
var b = ka[a].iframe; | |
b.setAttribute("data-lightbox", "false"), | |
!1 === x(ka[a].playerType) ? y(a, ka[a].playerType) : b.setAttribute("style", ha.widget), | |
n(ka[a], !1), | |
ka[a].wrapper.removeAttribute("style"), | |
ia = !1, | |
ba = null | |
} | |
} | |
function W(a) { | |
Y(a, "externalAutoplay", { | |
playerevent: "externalAutoplay", | |
data: M(ka[a].wrapper) | |
}) | |
} | |
function X(a) { | |
Y(a, "externalForceScrollToPlay") && (ka[a].type = "scroll", | |
ka[a].scrollToPlay = !0) | |
} | |
function Y(a, b, c) { | |
if (!ka[a] || !ka[a].iframe) | |
return !1; | |
var d = { | |
playerevent: b | |
}; | |
null !== c && void 0 !== c && (d.data = c); | |
var e = JSON.stringify(d) | |
, f = ka[a].iframe; | |
if (f.contentWindow) | |
f.contentWindow.postMessage(e, "*"); | |
else { | |
var g = function() { | |
Y(a, b, c) | |
}; | |
f.addEventListener("load", g) | |
} | |
return !0 | |
} | |
function Z() { | |
return (new Date).getTime() | |
} | |
function $(a) { | |
if (a.start) | |
return a.finish = Z(), | |
a.load = (a.finish - a.start) / 1e3, | |
a | |
} | |
function _(a, b, c) { | |
Y(a.pureId, "externalPlayContent", { | |
videouuid: b, | |
isScrollEnabled: c | |
}) | |
} | |
function aa(a) { | |
var b = a[0].target.id | |
, c = b.indexOf("$"); | |
Y(-1 === c ? b : b.slice(0, c), "visibilityState", a[0].intersectionRatio > .5) | |
} | |
var ba, ca, da = { | |
threshold: .5 | |
}, ea = new IntersectionObserver(aa,da), fa = { | |
width: 274, | |
height: 352, | |
sixteenByNineWidth: 250, | |
sixteenByNineHeight: 140, | |
chromelessHeight: 318, | |
popupWidth: 350, | |
popupHeight: 197 | |
}, ga = { | |
height: 792 | |
}, ha = { | |
initial: "background-color:transparent; height: " + fa.sixteenByNineHeight + "px; width: " + fa.sixteenByNineWidth + "px", | |
rightRail: "background-color:transparent; max-height:" + ga.height + "px; min-width: " + fa.width + "px; min-height: " + fa.height + "px;", | |
sixteenByNine: "background-color:transparent; min-width: " + fa.sixteenByNineWidth + "px; min-height:0px;", | |
lightbox: "position:fixed; z-index:10000001; left:0; top:0; width:100%; height:100%; min-width:" + fa.width + "px; min-height:" + fa.height + "px", | |
chromeless: "background-color:transparent;min-width: " + fa.width + "px; min-height: " + fa.chromelessHeight + "px;", | |
widget: "min-height:0;", | |
popup: "position:fixed; -webkit-transition: opacity 0.5s ease-in-out; z-index:10000001; background-color:transparent; min-width:" + fa.popupWidth + "px; min-height: " + fa.popupHeight + "px; max-width: 80%;", | |
wrapper: "", | |
adunit: "" | |
}, ia = !1, ja = !1, ka = {}, la = {}, ma = {}, na = { | |
start: Z() | |
}, oa = "eplayer3.js", pa = !1, qa = null; | |
return { | |
initEplayer: g, | |
timing: na, | |
players: ka | |
} | |
}; | |
b = e(), | |
b.initEplayer(), | |
a._PERFORMGROUP_EPLAYER = b | |
}(window); | |
//# sourceMappingURL=eplayer3.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment