Created
October 26, 2014 19:52
-
-
Save ieee8023/2562ae7a353c57f457b1 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
| (function(t, e, i) { | |
| function o(t) { | |
| return t | |
| } | |
| function n(t) { | |
| var e, i = [], | |
| o = function() { | |
| var o = arguments, | |
| n = o.length; | |
| if (i) i.push.apply(i, o); | |
| else | |
| for (; n--;) o[n].apply(t, e); | |
| return t | |
| }; | |
| o.r = function() { | |
| e = arguments; | |
| if (i) { | |
| for (var o; o = i.shift();) o.apply(t, e); | |
| i = 0 | |
| } | |
| return t | |
| }; | |
| return o | |
| } | |
| function r() { | |
| var t, e, i = arguments, | |
| o = i.length, | |
| r = n(); | |
| t = o; | |
| for (; o--;)(e = i[o]) ? e(function() { | |
| --t || r.r() | |
| }) : --t; | |
| t || r.r(); | |
| return r | |
| } | |
| function a(t) { | |
| return t.split(" ") | |
| } | |
| function s(t) { | |
| var e = 1, | |
| i = arguments; | |
| return t.replace(/%s/g, function() { | |
| return i[e++] | |
| }) | |
| } | |
| function l(t, e) { | |
| return Math.max(t, e) | |
| } | |
| function c(t, e, i) { | |
| if (e) { | |
| i = i || {}; | |
| for (var o in e) e.hasOwnProperty(o) && (t[o] = o in i ? e[o] + i[o] : e[o]) | |
| } | |
| return t | |
| } | |
| function h(t, e, i) { | |
| for (var o = e.length; o--;) t[e[o]] *= i | |
| } | |
| function f(t, e) { | |
| return !(typeof t).indexOf(e) | |
| } | |
| function d(t, e) { | |
| return (t || "").indexOf(e) + 1 | |
| } | |
| function u(t, e, i) { | |
| i = parseInt(t, 10); | |
| return isNaN(i) ? t : e ? i * e : i | |
| } | |
| function p(t) { | |
| var e, i, o = a("HandheldFriendly MobileOptimized viewport"), | |
| n = 3, | |
| r = "querySelector"; | |
| if (t[r]) | |
| for (; n--;) { | |
| e = (t[r]("meta[name=" + o[n] + "]") || "").content; | |
| if (e) { | |
| e = 2 == n && (i = d(e, "width=")) ? u(e.substr(5 + i)) : 0; | |
| return l(isFinite(e) && e, 320) | |
| } | |
| } | |
| } | |
| function _(t, e) { | |
| return /\(ip(hone|ad|od( touch)?);/.test(t) && !d(e.appVersion, "Safari") | |
| } | |
| function g() { | |
| return (new Date).getTime() | |
| } | |
| function m(e, i, o, r, a) { | |
| function l(t, e, i) { | |
| function o() { | |
| t.removeEventListener(e, o, !1); | |
| i() | |
| } | |
| t.addEventListener(e, o, !1) | |
| } | |
| function h(t) { | |
| return t | |
| } | |
| function f(t, e, i, o) { | |
| function n() { | |
| var e = t.style; | |
| if (2 > w) { | |
| c(e, w ? g : m, w && v); | |
| if (w) { | |
| if (p) { | |
| t.zoom = 1; | |
| e.filter = "alpha(opacity=" + 100 * g.filter + ")" | |
| } | |
| _.b.r() | |
| } | |
| w++; | |
| r = +new Date; | |
| a = r + i | |
| } else { | |
| for (var o, l, h = b.length, f = +new Date, d = f > a ? 1 : (f - r) / i; h--;) { | |
| l = b[h]; | |
| o = (g[l] + y[l] * (-Math.cos(d * Math.PI) / 2 + .5)).toFixed(3) + v[l]; | |
| "filter" == l && (o = "alpha(opacity=" + 100 * o + ")"); | |
| e[l] = o | |
| } | |
| if (f > a) { | |
| s && (e.filter = ""); | |
| return _.a.r() | |
| } | |
| } | |
| k(n) | |
| } | |
| var r, a, s, l, h, f, u, p, _ = this, | |
| g = {}, | |
| m = {}, | |
| w = 0, | |
| b = [], | |
| y = {}, | |
| v = {}; | |
| for (l in e) | |
| if (e.hasOwnProperty(l) && !d("hvXY", l)) { | |
| h = e[l]; | |
| f = { | |
| x: e.h || "left", | |
| y: e.v || "top", | |
| opacity: 9 > ae ? "filter" : 0 | |
| }[l] || l; | |
| u = "opacity" == l ? "" : "px"; | |
| if (h.splice) { | |
| if (o) { | |
| w = h[0]; | |
| h[0] = h[1]; | |
| h[1] = w | |
| } | |
| if ("filter" == f) { | |
| s = 1 == h[1]; | |
| p = 1 | |
| } | |
| b.push(f); | |
| v[f] = u; | |
| h[1] = h[1] + (e[l.toUpperCase()] || 0); | |
| h[0] = h[0] + (e[l.toUpperCase()] || 0); | |
| y[f] = h[1] - h[0]; | |
| g[f] = h[0] | |
| } else m[f] = h | |
| } | |
| w = 0; | |
| k(n) | |
| } | |
| function u(e, i, o, r) { | |
| function a() { | |
| if (v) { | |
| m[_ + "Property"] = "all"; | |
| m[_ + "Duration"] = o + "ms"; | |
| m[_ + "TimingFunction"] = "ease-in-out"; | |
| l(e, x + "TransitionEnd", C.r); | |
| l(e, "transitionend", C.r); | |
| c(m, y); | |
| t(C.r, 2 * o) | |
| } else { | |
| c(m, b); | |
| v++; | |
| u.b.r(); | |
| k(a) | |
| } | |
| } | |
| var h, f, u = this, | |
| m = e.style, | |
| w = {}, | |
| b = {}, | |
| y = {}, | |
| v = 0, | |
| C = n(); | |
| r = !!r + 0; | |
| for (h in i) | |
| if (i.hasOwnProperty(h) && !d("XYhv", h)) { | |
| f = i[h]; | |
| if (f.splice) | |
| if (d("xy", h)) { | |
| w[p] = s(g, i.x && i.x[0 + r] * ("right" == i.h ? -1 : 1) || 0, i.y && i.y[0 + r] * ("bottom" == i.v ? -1 : 1) || 0); | |
| y[p] = s(g, i.x && i.x[1 - r] * ("right" == i.h ? -1 : 1) || 0, i.y && i.y[1 - r] * ("bottom" == i.v ? -1 : 1) || 0); | |
| delete i.x; | |
| delete i.y | |
| } else { | |
| w[h] = f[0 + r]; | |
| y[h] = f[1 - r] | |
| } else b[h] = f | |
| } | |
| c(m, w); | |
| C(function() { | |
| m[_ + "Property"] = "none"; | |
| m[_ + "Duration"] = "0s"; | |
| u.a.r() | |
| }); | |
| k(a) | |
| } | |
| for (var p, _, g, m, w, b = "Khtml O ms Moz webkit ".split(" "), y = i.createElement("dcxk"), v = y.style, x = "", k = "equestAnimationFrame", C = b.length; C--;) { | |
| p = b[C] + "Transform"; | |
| _ = b[C] + "Transition"; | |
| if (v[_] !== a && v[p] !== a) { | |
| x = b[C]; | |
| o.t3 = v[x + "Perspective"] !== a; | |
| g = o.t3 ? "translate3d(%spx,%spx,0)" : "translate(%spx,%spx)"; | |
| break | |
| } | |
| } | |
| v = y = null; | |
| m = C >= 0; | |
| c(o, m && { | |
| tr: m, | |
| tm: p, | |
| tn: _, | |
| vd: x, | |
| vc: "-" + x.toLowerCase() | |
| }); | |
| o.tc = m && o.vc + "-transform"; | |
| k = e["r" + k] || e[x.toLowerCase() + "R" + k] || function(e) { | |
| t(e, 13) | |
| }; | |
| w = r || !m ? f : u; | |
| return function(e, i, o, r, a) { | |
| var s = { | |
| c: function() { | |
| k = h | |
| }, | |
| o: c({}, i) | |
| }; | |
| s.a = n(s); | |
| s.b = n(s); | |
| r && s.a(r); | |
| 1 > o ? t(function() { | |
| s.b.r(); | |
| s.a.r() | |
| }, 1) : w.call(s, e, i, o, a); | |
| return s | |
| } | |
| } | |
| function w() { | |
| var t, e, i, o, n = "/floating-frame.", | |
| r = ee.getElementsByTagName("script"); | |
| for (i = 0; r.length > i; i++) | |
| if (r[i].src && -1 !== r[i].src.indexOf(n)) { | |
| X = e = r[i]; | |
| for (t in e) | |
| if (!isNaN(parseFloat(t)) && e[t] && f(e[t].sprite_img, "s")) return e[t]; | |
| o = e.src; | |
| break | |
| } | |
| if (o) { | |
| n = o.lastIndexOf("?"); | |
| if (-1 !== n) { | |
| n = o.substring(n + 1); | |
| return n && ie[n] && f(ie[n].sprite_img, "s") ? ie[n] : void 0 | |
| } | |
| } | |
| } | |
| function b() { | |
| var t, e = Z.concat(["message_html", "content_url", "allow_content_transparency", "allow_content_scroll", "animate_out_duration", "animate_in_duration", "visible_duration", "delay_duration", "ok_to_show", "on_ready_to_show", "opaque_outer_frame", "animation_properties"]), | |
| i = w(); | |
| if (i) { | |
| i.fp = i._accounting; | |
| if (i.fp && i.fp.stopTime && !isNaN(i.fp.stopTime) && !(g() > i.fp.stopTime) && i.fp.sendAccounting) { | |
| t = e.length; | |
| for (; t--;) i[e[t]] || (i[e[t]] = 0); | |
| t = i.animation_properties; | |
| i.animation_properties = i.animate_in_duration || i.animate_out_duration ? t[0] : 0; | |
| f(i.close_horizontal_padding, "n") || (i.close_horizontal_padding = i["border_" + i.close_align + "_width"]); | |
| if (0 > i.outer_width) { | |
| i.anchor_corner = i.anchor_corner.charAt(0) + "c"; | |
| 2 ^ he || (i.outer_width = he > 2.1 ? 320 : $ / ie.devicePixelRatio) | |
| } | |
| 0 > i.outer_height && (i.anchor_corner = "c" + i.anchor_corner.charAt(1)); | |
| if ("" === i.sprite_img) { | |
| me = c({}, i); | |
| i.outer_width = i.outer_height = -1; | |
| i.anchor_corner = "cc" | |
| } | |
| return i | |
| } | |
| } | |
| } | |
| function y() { | |
| for (var t; !t || t in ie || ee.getElementById(t); t = Math.random().toString(36).replace(/[\d.]+/, "")); | |
| return t | |
| } | |
| function v(t, e, i, o, n) { | |
| n = n || ee; | |
| var r, a, s = n.createElement(t); | |
| if (i) { | |
| a = n.createTextNode(i); | |
| s.appendChild(a) | |
| } | |
| if (o) | |
| for (r in o) o.hasOwnProperty(r) && s.setAttribute(r, o[r]); | |
| e.appendChild(s); | |
| return s | |
| } | |
| function x(t, e) { | |
| Ee && k(Ee + "/%s/" + t.join(";"), e) | |
| } | |
| function k(t, e) { | |
| var o = n(), | |
| r = y(), | |
| a = ee.createElement("script"); | |
| ie[r] = o.r; | |
| o(e, function() { | |
| ie[r] = i; | |
| a.parentNode.removeChild(a) | |
| }); | |
| t = s(t, r); | |
| t.length > 2048 && (t = t.substr(0, 2048)); | |
| a.src = t; | |
| X.parentNode.insertBefore(a, X) | |
| } | |
| function C(t, e) { | |
| e = e || ee; | |
| e.createStyleSheet ? e.createStyleSheet("").cssText = t : v("style", e.getElementsByTagName("head")[0], t) | |
| } | |
| function z(t) { | |
| c(t.style, { | |
| display: "none", | |
| background: "transparent none", | |
| borderWidth: 0, | |
| width: "auto", | |
| outlineWidth: 0 | |
| }) | |
| } | |
| function E(t) { | |
| C("@media print{#" + t + "{display:none}}") | |
| } | |
| function T() { | |
| var t, e, o, r = 600, | |
| a = n(); | |
| o = setInterval(function() { | |
| if (ee && ee.body && (e || ee.readyState === i || "complete" == ee.readyState || 4 == ee.readyState)) { | |
| clearInterval(o); | |
| a.r() | |
| } else if (0 > --r) clearInterval(o); | |
| else if (t) try { | |
| t("left"); | |
| e = 1 | |
| } catch (n) {} | |
| }, 100); | |
| if (!ke.require_full_page_load) | |
| if (ee.attachEvent) { | |
| t = ee.documentElement; | |
| t && (t = t.doScroll) | |
| } else le && ce(ee, "DOMContentLoaded", function() { | |
| e = 1 | |
| }); | |
| return a | |
| } | |
| function W(t, i, o, n, r, a) { | |
| function s() { | |
| if (!s.gone) { | |
| s.gone = !0; | |
| clearInterval(l); | |
| h.onload = null; | |
| h.onreadystatechange = null; | |
| if (a) try { | |
| a.contentWindow = h.contentWindow | |
| } catch (t) {} | |
| if (me && i.src) { | |
| try { | |
| h.contentWindow.opener = a | |
| } catch (t) {} | |
| h.src = i.src | |
| } | |
| o(h.contentWindow) | |
| } | |
| } | |
| r = r || ""; | |
| var l, c, h = n.createElement(8 > ae ? '<iframe name="' + r + '">' : "iframe"), | |
| f = h.style, | |
| d = e; | |
| h.name = r; | |
| h.setAttribute("style", "display:block!important"); | |
| re && d.hostname != document.domain && (h.src = d.protocol + "//" + d.host); | |
| if (ae >= 7) { | |
| f.width = f.height = "100%"; | |
| f.backgroundColor = "transparent" | |
| } | |
| for (c in i)(i.hasOwnProperty(c) && !me || "src" != c) && h.setAttribute(c, i[c]); | |
| 7 === ae && "100%" === i.height && ce(t, "resize", function() { | |
| f.height = t.offsetHeight + "px" | |
| }); | |
| "frameBorder" in i && (f.borderWidth = i.frameBorder + "px"); | |
| if (o) { | |
| h.onload = s; | |
| h.onreadystatechange = function() { | |
| "complete" === h.readyState && s() | |
| }; | |
| re || (l = setInterval(function() { | |
| h.contentWindow && s() | |
| }, 200)) | |
| } | |
| t.appendChild(h); | |
| return h | |
| } | |
| function A(t, e, i) { | |
| var n, r, s, c, h, d, u, p, _, g = [], | |
| m = 31, | |
| w = J, | |
| b = 10 * w, | |
| y = ve.vc, | |
| k = ve.tc; | |
| if (!re || re > 6) { | |
| u = t.style; | |
| u.position = "relative"; | |
| u.zIndex = se - 1; | |
| for (; u.zIndex != se - 1 && m > 0;) { | |
| se = Math.pow(2, --m) - 1; | |
| u.zIndex = se - 1 | |
| } | |
| u.position = "static" | |
| } | |
| _ = a("ne se sw nw"); | |
| m = _.length; | |
| for (; m--;) { | |
| n = _[m]; | |
| if (ke[n + "_corner_position"]) { | |
| c = ["position:absolute;overflow:hidden"]; | |
| if ("n" == n.charAt(0)) { | |
| c.push("top:0;z-index:" + (se - 4)); | |
| p = "border_top_width" | |
| } else { | |
| c.push("bottom:0;z-index:" + (se - 5)); | |
| p = "border_bottom_width" | |
| } | |
| if ("e" == n.charAt(1)) { | |
| c.push("right:0"); | |
| h = "border_right_width" | |
| } else { | |
| c.push("left:0"); | |
| h = "border_left_width" | |
| } | |
| s = n + "_corner_width"; | |
| ke[s] ? h = ke[s] : ke[s] = h = ke[h]; | |
| c.push("background-image:url(" + ke.sprite_img + ");" + "background-position:" + ke[n + "_corner_position"] + ";" + "width:" + h / w + "px;" + "height:" + ke[p] / w + "px"); | |
| g.push("." + n + "{" + c.join(";") + "}"); | |
| d = v("div", t, 0, 0, i); | |
| d.className = n | |
| } else ke[n + "_corner_width"] = 0 | |
| } | |
| _ = a("left bottom right top"); | |
| m = _.length; | |
| for (; m--;) { | |
| n = "border_" + _[m] + "_"; | |
| c = []; | |
| p = !1; | |
| r = n + "width"; | |
| if (ke[r]) { | |
| h = ke[r]; | |
| r = n + "color"; | |
| ke[r] && c.push("background-color:" + ke[r]); | |
| r = n + "position"; | |
| if (ke[r]) { | |
| c.push("background-position:" + ke[r]); | |
| c.push("background-image:url(" + ke.sprite_img + ")"); | |
| r = n + "repeat"; | |
| ke[r] && c.push("background-repeat:" + ke[r]) | |
| } | |
| s = !1; | |
| r = n.split("_")[1]; | |
| if ("top" == r) { | |
| p = !0; | |
| s = "n"; | |
| c.push("z-index:2") | |
| } else if ("bottom" == r) { | |
| p = !0; | |
| s = "s" | |
| } else("right" == r || "left" == r) && (s = !0); | |
| s && (s = p ? r + ":0;" + "left:" + ke[s + "w_corner_width"] + "px;" + (0 > ke.outer_width ? "right:" + ke[s + "e_corner_width"] : "width:" + (ke.outer_width - ke[s + "w_corner_width"] - ke[s + "e_corner_width"])) + "px;" : r + ":0;top:" + ke.border_top_width + "px;" + (0 > ke.outer_height ? "bottom:" + ke.border_bottom_width : "height:" + (ke.outer_height - ke.border_top_width - ke.border_bottom_width)) + "px;"); | |
| c.push("z-index:" + (se - (p ? "top" == r ? 5 : 6 : 2))); | |
| if (s) { | |
| g.push("." + r + "{position:absolute;" + (p ? "height" : "width") + ":" + h + "px;" + s + c.join(";") + "}"); | |
| d = v("div", t, 0, 0, i); | |
| d.className = r | |
| } | |
| } | |
| } | |
| if (ke.border_top_width && ke.close_position) { | |
| s = Math.floor((ke.border_top_width - ke.close_height) / 2); | |
| ke.close_vertical_offset && f(ke.close_vertical_offset, "n") && (s += ke.close_vertical_offset); | |
| d = v("a", t, 0, !q && { | |
| href: "#" | |
| }, i); | |
| d.className = "close"; | |
| if (q) { | |
| d = v("span", t, 0, 0, i); | |
| d.className = "target"; | |
| g.push(".target{position:absolute;" + ke.close_align + ":0;" + "top:0;" + "width:" + l(w * ke.close_width + ke.close_horizontal_padding, b) + "px;" + "height:" + l(ke.border_top_width, b) + "px;" + "z-index:" + se + ";" + "}") | |
| } | |
| d.onclick = function() { | |
| this.blur(); | |
| this.onclick = null; | |
| x([2], o); | |
| e(); | |
| return !1 | |
| }; | |
| g.push(".close{overflow:hidden;position:absolute;top:" + s + "px;" + ke.close_align + ":" + ke.close_horizontal_padding + "px;" + "width:" + ke.close_width + "px;" + "height:" + ke.close_height + "px;" + "background-image:url(" + ke.sprite_img + ");" + "background-position:" + ke.close_position + ";" + "zoom:" + (q && !k && w || 1) + ";" + "z-index:" + (se - 1) + ";}"); | |
| ke.close_hover_position && !q && g.push(".close:hover,.close:active{background-position:" + ke.close_hover_position + ";}"); | |
| ke.close_alt_text && (d.title = ke.close_alt_text) | |
| } | |
| q && k && 1 != w && g.push(".close,.top,.right,.bottom,.left,.nw,.sw,.ne,.se{" + k + ":scale(" + w + ");" + k + "-origin:0 0;" + "}" + ".se,.sw{" + k + "-origin-y:100%}" + ".se,.ne{" + k + "-origin-x:100%}" + ".top,.bottom{" + k + ":scale(1," + w + ")}" + ".right,.left{" + k + ":scale(" + w + ",1)}" + ".topText,.bottomText{" + y + "-text-size-adjust:" + 100 * w + "%}" + ".close{" + k + "-origin:" + ke.close_align + " 50%}"); | |
| _ = a("bottom top"); | |
| m = _.length; | |
| for (; m--;) { | |
| r = _[m]; | |
| if (ke["border_" + r + "_width"]) | |
| if (ke[r + "_text"]) { | |
| d = v("div", t, ke[r + "_text"], 0, i); | |
| d.className = r + "Text"; | |
| c = [r + ":" + ke[r + "_offset_vertical"] + "px;z-index:" + (se - 3)]; | |
| u = { | |
| color: "color", | |
| align: "text-align", | |
| direction: "text-direction", | |
| decoration: "text-decoration", | |
| font_size: "font-size", | |
| font_weight: "font-weight" | |
| }; | |
| for (n in u) | |
| if (u.hasOwnProperty(n)) { | |
| s = r + "_" + n; | |
| ke[s] && c.push(u[n] + ":" + ke[s]) | |
| } | |
| u = { | |
| letter_spacing: "letter-spacing", | |
| word_spacing: "word-spacing", | |
| offset_right: "right", | |
| offset_left: "left" | |
| }; | |
| for (n in u) | |
| if (u.hasOwnProperty(n)) { | |
| s = r + "_" + n; | |
| f(ke[s], "n") && c.push(u[n] + ":" + ke[s] + "px") | |
| } | |
| s = 0; | |
| if ("top" == r && ke.top_align == ke.close_align) { | |
| s = ke.close_horizontal_padding + ke.close_width + 2; | |
| ae > 6 ? c.push("padding-" + ke.close_align + ":" + s + "px") : "left" == ke.top_align && c.push("left:" + (s + ke.top_offset_left) + "px") | |
| } | |
| 7 > ae && c.push("width:" + (ke.outer_width - ke[r + "_offset_right"] - ke[r + "_offset_left"] - s) + "px"); | |
| g.push("." + r + "Text{position:absolute;" + c.join(";") + "}") | |
| } else 7 > re && g.push("." + r + "{font-size: 0;}") | |
| } | |
| g.push("#iwrap{position:absolute;top:" + ke.border_top_width + "px;" + "right:" + ke.border_right_width + "px;" + "bottom:" + ke.border_bottom_width + "px;" + "left:" + ke.border_left_width + "px;" + "}" + "iframe{overflow:hidden;border:none;position:relative;" + "overflow-x:" + (ke.allow_content_scroll ? "auto" : "hidden") + ";" + "overflow-y:" + (ke.allow_content_scroll ? "auto" : "hidden") + ";" + "z-index:" + se + ";" + "width:100%;" + "height:100%;" + "}"); | |
| return g | |
| } | |
| function H(t) { | |
| var e, i, o, n, r, a, s, l = !1, | |
| c = !1, | |
| h = ke.anchor_corner, | |
| f = !1, | |
| d = !1, | |
| u = ae >= 6 ? ee.documentElement : ee.body, | |
| p = this, | |
| _ = J, | |
| g = "px", | |
| m = fe && U; | |
| this.place = function() { | |
| p.setVinit(); | |
| p.setHinit(); | |
| t.style.top = e + (l ? u.clientHeight : 0) + u.scrollTop + g; | |
| t.style.left = (d ? u.clientWidth / 2 + i : i + (c ? u.clientWidth : 0) + u.scrollLeft) + g; | |
| f && (t.style.height = u.clientHeight + g) | |
| }; | |
| this.addListeners = function() { | |
| ce(ie, "scroll", this.place); | |
| ce(ie, "resize", o) | |
| }; | |
| this.removeListeners = function() { | |
| detachEvent("onscroll", this.place); | |
| detachEvent("onresize", o) | |
| }; | |
| this.init = function() { | |
| var w = t.firstChild.contentWindow.document, | |
| b = w.getElementsByTagName("iframe")[0]; | |
| t.style.position = "absolute"; | |
| if (0 > ke.outer_width) { | |
| h = h.charAt(0) + "w"; | |
| r = []; | |
| r.push(t, 0, b, ke.border_left_width + ke.border_right_width); | |
| a = w.getElementsByTagName("div"); | |
| for (s = 0; a.length > s; s++) "top" === a[s].className ? r.push(a[s], ke.ne_corner_width + ke.nw_corner_width) : "bottom" === a[s].className && r.push(a[s], ke.se_corner_width + ke.sw_corner_width); | |
| a = null | |
| } else b.style.width = ke.outer_width - ke.border_left_width - ke.border_right_width + g; | |
| if (0 > ke.outer_height) { | |
| h = "n" + h.charAt(1); | |
| n = []; | |
| n.push(t, 0, b, ke.border_top_width + ke.border_bottom_width); | |
| a = w.getElementsByTagName("div"); | |
| for (s = 0; a.length > s; s++)("right" === a[s].className || "left" === a[s].className) && n.push(a[s], ke.border_top_width + ke.border_bottom_width); | |
| a = null | |
| } else b.style.height = ke.outer_height - ke.border_top_width - ke.border_bottom_width + g; | |
| if (r || n) { | |
| o = function(t) { | |
| var e, i; | |
| if (r) { | |
| i = u.clientWidth - 2 * ke.horizontal_offset; | |
| for (e = 0; r.length > e; e += 2) r[e].style.width = i - r[e + 1] + g | |
| } | |
| if (n) { | |
| i = u.clientHeight - 2 * ke.vertical_offset; | |
| for (e = 0; n.length > e; e += 2) n[e].style.height = i - n[e + 1] + g | |
| } | |
| "noplace" !== t && p.place() | |
| }; | |
| o("noplace") | |
| } else o = p.place; | |
| this.setVinit = function() { | |
| outer_height = ke.outer_height; | |
| switch (h.charAt(0)) { | |
| case "s": | |
| e = -1 * ke.vertical_offset - ke.outer_height; | |
| m && (e -= (1 - _) * u.clientHeight); | |
| l = !0; | |
| break; | |
| case "n": | |
| e = ke.vertical_offset; | |
| break; | |
| case "c": | |
| e = 0; | |
| m && (e += _ * (u.clientHeight / 2)); | |
| t.style.height = "100%"; | |
| t.firstChild.style.position = "relative"; | |
| t.firstChild.style.top = "50%"; | |
| t.firstChild.style.marginTop = -1 * Math.floor(ke.outer_height / 2) + g; | |
| 7 > ae && (f = !0) | |
| } | |
| }; | |
| this.setVinit(); | |
| this.setHinit = function() { | |
| outer_width = ke.outer_width; | |
| switch (h.charAt(1)) { | |
| case "e": | |
| i = -1 * ke.horizontal_offset - ke.outer_width; | |
| c = !0; | |
| break; | |
| case "w": | |
| i = ke.horizontal_offset; | |
| break; | |
| case "c": | |
| d = !0; | |
| i = -1 * ke.outer_width / 2 | |
| } | |
| }; | |
| this.setHinit() | |
| } | |
| } | |
| function M(e, o) { | |
| function n() { | |
| b = ke.outer_height; | |
| d.minHeight = b + "px !important"; | |
| if ("c" === x) { | |
| o.marginTop = 0; | |
| T = f / 2 - b / 2 | |
| } else "s" === x && (T = f - b - v) | |
| } | |
| function r() { | |
| w = ke.outer_width; | |
| if ("c" === k) { | |
| z = ie.innerWidth / 2 - w / 2; | |
| E = 0 | |
| } else "e" == k && (E = ie.innerWidth - w - y); | |
| o.left = ("c" == k ? z : E) + "px" | |
| } | |
| function a() { | |
| "n" != x && ke.outer_height != b && n(); | |
| "w" != k && ke.outer_width != w && r(); | |
| var t, e; | |
| d.opacity = 1; | |
| W = 1; | |
| z = c; | |
| C = h; | |
| t = E + z; | |
| e = T + C; | |
| d[p + "Duration"] = 0; | |
| A && (d[u] = ""); | |
| d.left = t + "px"; | |
| d.top = e + "px" | |
| } | |
| function s(e) { | |
| var i = ie.innerWidth / _.clientWidth; | |
| if (D.ran || M > i || i > N) return D(!0); | |
| var o, n, r = !e || "scroll" === e.type, | |
| m = ie.innerHeight - f; | |
| clearTimeout(l); | |
| d.opacity = A && W && !he && !r ? .95 : 1; | |
| W = 0; | |
| o = ie.pageYOffset; | |
| n = ie.pageXOffset; | |
| !o && he && t(s, 1e3); | |
| "s" == x ? o += m : b > 0 && "c" === x && (o += m / 2); | |
| w > 0 && "c" === k && (n += ie.innerWidth / 2 - w / 2); | |
| d[p + "Duration"] = (r && e ? 0 : 300) + "ms"; | |
| d[p + "TimingFunction"] = "linear"; | |
| A && (d[u] = g ? "translate3d(" + (n - z) + "px, " + (o - C) + "px, 0)" : "translate(" + (n - z) + "px, " + (o - C) + "px)"); | |
| r && (l = t(a, 13)); | |
| c = n; | |
| h = o | |
| } | |
| Y = e.firstChild.contentWindow.onhashchange === i; | |
| var l, c, h, f, d = e.style, | |
| u = ve.tm, | |
| p = ve.tn, | |
| _ = ee.documentElement, | |
| g = ve.t3, | |
| m = +new Date, | |
| w = ke.outer_width, | |
| b = ke.outer_height, | |
| y = ke.horizontal_offset, | |
| v = ke.vertical_offset, | |
| x = ke.anchor_corner.charAt(0), | |
| k = ke.anchor_corner.charAt(1), | |
| C = 0, | |
| z = 0, | |
| E = y, | |
| T = v, | |
| W = 1, | |
| A = !Y && !he, | |
| H = 0 === ye && !ke.animate_in_duration, | |
| M = .95 * Q, | |
| N = 1.05 * Q; | |
| o.position = "absolute"; | |
| d[p + "Property"] = ve.tc; | |
| 0 > w ? e.style.width = Math.min(ee.body.scrollWidth, _.clientWidth * Q) - 2 * y + "px" : r(); | |
| f = ie.innerHeight; | |
| if (0 > b) { | |
| e.firstChild.height = f - 2 * v; | |
| e.firstChild.style.height = "" | |
| } else n(); | |
| o.top = T + "px"; | |
| A && ce(ee, "touchmove", function(t) { | |
| var e = +new Date; | |
| if (e - m > 200) { | |
| m = e; | |
| t.stopPropagation(); | |
| s(t) | |
| } | |
| }); | |
| ce(ee, "scroll", s); | |
| ye = function() { | |
| t(s, 500) | |
| }; | |
| H && ye(); | |
| this.place = s | |
| } | |
| function N() { | |
| return l($, te) > 999 && !he || he >= 3 | |
| } | |
| function I(t, e) { | |
| for (var i, o, n, r, a, s = e.length, l = t.hostname, c = t.pathname; s--;) { | |
| r = e[s]; | |
| a = r.indexOf("/"); | |
| i = r.substr(0, a); | |
| o = r.substr(a); | |
| n = 0; | |
| if (i.indexOf("*.")) { | |
| if (!i.indexOf("www.")) { | |
| e[s] = r.substr(4); | |
| s++ | |
| } | |
| } else { | |
| i = i.substr(2); | |
| n = 1 | |
| } | |
| if (i == l || n && l.substr(l.length - i.length - 1) == "." + i) { | |
| n = 0; | |
| a = o.length - 1; | |
| if ("*" == o.charAt(a)) { | |
| o = o.substr(0, a); | |
| n = 1 | |
| } | |
| if (o == c || n && !c.indexOf(o)) return 1 | |
| } | |
| } | |
| } | |
| function O() { | |
| var t = ie.orientation; | |
| if (!f(t, "n") && ie.matchMedia) { | |
| t = ie.matchMedia("(orientation: portrait)"); | |
| t && (t = t.matches ? 0 : 90) | |
| } | |
| f(t, "n") || (t = screen.width > screen.height ? 90 : 0); | |
| return t | |
| } | |
| function S() { | |
| var t = O(), | |
| e = q && R ? ie.innerWidth : 0, | |
| i = 1.05 * e; | |
| e *= .95; | |
| ce(ie, "onorientationchange" in ie ? "orientationchange" : "resize", function() { | |
| var o = O(), | |
| n = ie.innerWidth; | |
| (o != t || e && (n > i || e > n)) && D(!0) | |
| }) | |
| } | |
| function B() { | |
| var i = n(), | |
| o = new Image, | |
| r = ze, | |
| a = e.hostname; | |
| if (me) ue.r(); | |
| else { | |
| o.onload = function() { | |
| i(ue.r) | |
| }; | |
| o.src = ke.sprite_img; | |
| t(i.r, 1e3 * ke.delay_duration || 13) | |
| } | |
| if (r && !ke.fp.direct) { | |
| ze = n(); | |
| /^[^[].*:/.test(a) && (a = "[" + a + "]"); | |
| 65 > a.length && "http:" == e.protocol ? k(r + "/%s/" + a + (e.pathname || "/"), function(t) { | |
| t ? ze.r() : Ce(2, 6) | |
| }) : Ce(2, 10) | |
| } | |
| } | |
| function L(t, e) { | |
| var i, o = {}, | |
| n = ke.anchor_corner, | |
| r = ge, | |
| a = e ? u(r.style.width) : ke.outer_width, | |
| s = e ? u(r.style.height) : ke.outer_height; | |
| o.position = "relative"; | |
| if ("position" == t) | |
| if ("cc" === n && 7 > ae) | |
| if (0 > ke.outer_height) { | |
| o.y = [-1 * (ee.documentElement.clientHeight || ee.body.clientHeight), 0]; | |
| o.top = -1 * (ee.documentElement.clientHeight || ee.body.clientHeight) | |
| } else { | |
| o.y = [-1 * ke.outer_height / 2, (ee.documentElement.clientHeight || ee.body.clientHeight) / 2]; | |
| ke.animate_in_duration && (o.top = -1 * s) | |
| } else if ("cc" == n) { | |
| i = ie.innerHeight || ee.documentElement.clientHeight; | |
| ke.outer_height > 0 && (i = (i + s) / 2); | |
| o.y = [i, 0]; | |
| o.v = "bottom" | |
| } else if ("c" == n.charAt(0)) { | |
| o.x = [a + ke.horizontal_offset, 0]; | |
| o.h = "w" == n.charAt(1) && "right" | |
| } else { | |
| o.y = [-1 * (s + ke.vertical_offset), 0]; | |
| o.v = "s" == n.charAt(0) && "bottom" | |
| } else "opacity" == t && (o.opacity = [0, 1]); | |
| 7 > ae && "ce" === n && (r.style.overflow = "hidden"); | |
| return o | |
| } | |
| function D(e, i, o, n) { | |
| function r() { | |
| D.again = 0; | |
| n && n(); | |
| s.style.display = "none"; | |
| ke.fixIE && ke.fixIE.removeListeners(); | |
| try { | |
| var t = s.parentNode.removeChild(s); | |
| t = null | |
| } catch (e) {} | |
| } | |
| if (D.ran) { | |
| if (!(D.again && D.again <= g())) return; | |
| e = !0 | |
| } | |
| D.ran = !0; | |
| var a = ke.animation || { | |
| c: u | |
| }, | |
| s = ge; | |
| i = i || a.o; | |
| if (e === !0) { | |
| a.c(); | |
| D.again = g() + 25; | |
| return t(r, 0) | |
| } | |
| a.a(function() { | |
| i.position = "relative"; | |
| xe(s.firstChild, i, o || 1e3 * ke.animate_out_duration, r, 1) | |
| }) | |
| } | |
| function P(t) { | |
| t = ee[ae > 5 ? "documentElement" : "body"]; | |
| if (ke.minimum_width > t.clientWidth || ke.minimum_height > t.clientHeight) { | |
| Ce(2, 5); | |
| D(!0); | |
| return 1 | |
| } | |
| } | |
| function F(e, i, n) { | |
| function a() { | |
| ae > 6 && (d.firstChild.style[ve.tm || "position"] = ""); | |
| if (ke.visible_duration > 0) { | |
| G = t(_e.r, 1e3 * ke.visible_duration); | |
| r(_e, K)(function() { | |
| if (!D.ran) { | |
| x([3], o); | |
| D() | |
| } | |
| }) | |
| } | |
| ke.fixWebkit && ke.fixWebkit.place(); | |
| S() | |
| } | |
| function s() { | |
| var t, e, i = ie.innerHeight; | |
| s.t = g(); | |
| if (s.h != i) { | |
| s.h = i; | |
| i -= 2 * ke.vertical_offset; | |
| if (i != d.offsetHeight) { | |
| d.firstChild.contentDocument.getElementById("fpid").style.height = d.style.height = i + "px"; | |
| i -= ke.border_top_width + ke.border_bottom_width; | |
| t = d.firstChild.contentDocument.querySelectorAll(".right,.left,#iwrap"); | |
| for (e = 0; t.length > e; e++) t[e].style.height = i | |
| } | |
| } | |
| } | |
| function l() { | |
| if (ie.opera && 0 > ke.outer_height && ee.querySelectorAll) { | |
| ce(ie, "resize", function() { | |
| -100 > s.t - g() && s() | |
| }); | |
| var e = d.firstChild.contentDocument.getElementById("fpid").style; | |
| t(function() { | |
| e.position = "absolute"; | |
| e.width = "100%"; | |
| e.height = "100%" | |
| }, 50) | |
| } | |
| f = ke.animation = xe(d.firstChild, f, u(i) || 1e3 * ke.animate_in_duration, a); | |
| f.b(function() { | |
| var e = d.firstChild.contentWindow.document; | |
| d.style.display = e.getElementsByTagName("iframe")[0].style.display = "block"; | |
| Y && t(function() { | |
| e.body.style.borderRight = "1px solid transparent" | |
| }, 100) | |
| }); | |
| n && f.a(n) | |
| } | |
| if (!F.ran) { | |
| F.ran = !0; | |
| var h, f, d = ge, | |
| p = { | |
| zIndex: se, | |
| top: "auto", | |
| right: "auto", | |
| bottom: "auto", | |
| left: "auto" | |
| }, | |
| _ = e || ke.animation_properties, | |
| m = ke.anchor_corner; | |
| if (!P()) { | |
| Ce(1); | |
| le && d.firstChild && d.firstChild.contentWindow && ce(d.firstChild.contentWindow, "unload", function() {}); | |
| 0 > ke.outer_width ? p.left = p.right = ke.horizontal_offset + "px" : p.width = ke.outer_width + "px"; | |
| 0 > ke.outer_height ? p.top = p.bottom = ke.vertical_offset + "px" : p.height = ke.outer_height + "px"; | |
| if (R) { | |
| p.position = "fixed"; | |
| if (ke.outer_height > 0) | |
| if ("c" == m.charAt(0)) { | |
| p.top = "50%"; | |
| p.marginTop = -1 * Math.floor(ke.outer_height / 2) + "px" | |
| } else p["n" == m.charAt(0) ? "top" : "bottom"] = ke.vertical_offset + "px"; | |
| if (ke.outer_width > 0) | |
| if ("c" == m.charAt(1)) { | |
| p.left = "50%"; | |
| p.marginLeft = -1 * Math.floor(ke.outer_width / 2) + "px" | |
| } else p["e" == m.charAt(1) ? "right" : "left"] = ke.horizontal_offset + "px" | |
| } else if (ve.tr) ke.fixWebkit = new M(d, p); | |
| else { | |
| ke.fixIE = h = new H(d); | |
| h.init(); | |
| h.addListeners() | |
| } | |
| c(d.style, p); | |
| h && h.place(); | |
| _ && (f = L(_)); | |
| s.t = 0; | |
| s.h = ie.innerHeight; | |
| ue(l) | |
| } | |
| } | |
| } | |
| function j(t, e) { | |
| function i(t) { | |
| var e, i, o = t.split("&"), | |
| n = ke.anchor_corner, | |
| r = n.charAt(1), | |
| l = {}; | |
| if (h) { | |
| h = 0; | |
| ge.style.display = "none"; | |
| ge.firstChild.style.filter = "" | |
| } | |
| we && we(); | |
| switch (o[1]) { | |
| case "ready": | |
| if (P()) return; | |
| Ce(1); | |
| a(o[0]); | |
| break; | |
| case "set": | |
| l = [o[0]]; | |
| for (e = 2, i = o.length; i > e; e += 2) { | |
| !ke.v && o[e + 1] && (ke[o[e]] = u(o[e + 1], J)); | |
| l.push(o[e] + "=" + escape(ke[o[e]])) | |
| } | |
| a(l.join("&")); | |
| break; | |
| case "show": | |
| ke.v = 1; | |
| F(o[2], o[3], function() { | |
| s = ke.animation; | |
| a(o[0]) | |
| }); | |
| break; | |
| case "interaction": | |
| x(o.slice(2), function() { | |
| var t = [o[0]]; | |
| t.push.apply(t, arguments); | |
| a(t.join("&")) | |
| }); | |
| break; | |
| case "cancelAutoClose": | |
| clearTimeout(G); | |
| a(o[0]); | |
| break; | |
| case "remove": | |
| D(!0); | |
| break; | |
| case "hide": | |
| l = L(o[2], !0); | |
| delete l.position; | |
| D(0, l, u(o[3]), function() { | |
| a(o[0]) | |
| }); | |
| break; | |
| case "autoclose": | |
| K.r(); | |
| break; | |
| case "anim": | |
| var c = ge, | |
| f = ve.tn ? "px" : 0, | |
| d = c.style, | |
| p = u(d.width), | |
| _ = u(d.height), | |
| g = u(d.top), | |
| m = u(d.left), | |
| w = u(o[2]), | |
| b = u(o[3]), | |
| y = parseFloat(o[4]), | |
| v = u(o[5]), | |
| k = ke.fixIE || ke.fixWebkit, | |
| C = n.charAt(0), | |
| z = c.firstChild.contentWindow.document.getElementsByTagName("iframe")[0], | |
| E = ie.innerWidth || ee.body.clientWidth, | |
| T = ie.innerHeight || ee.body.clientHeight; | |
| if (w && ke.outer_width > 0) { | |
| w = Math.min(w, E); | |
| l.width = [p + f, w + f]; | |
| if (7 > ae) { | |
| xe(z, { | |
| width: [p, w] | |
| }, v); | |
| xe(c.firstChild, { | |
| width: [p, w] | |
| }, v) | |
| } | |
| k && "w" != r && (l.left = "e" == r ? [m + f, m - w + p + f] : [m + f, (E - w) / 2 + f]); | |
| k || "c" != r || (l.marginLeft = [u(d.marginLeft) + f, w / -2 + f]) | |
| } | |
| if (b && ke.outer_height > 0) { | |
| b = Math.min(b, T); | |
| l.height = [_ + f, b + f]; | |
| if (7 > ae) { | |
| xe(z, { | |
| height: [_, b] | |
| }, v); | |
| xe(c.firstChild, { | |
| height: [_, b] | |
| }, v) | |
| } | |
| k && "n" != C && (l.top = "s" == C ? [g + f, g - b + _ + f] : [g + f, (T - b) / 2 + f]); | |
| k || "c" != C || (l.marginTop = [u(d.marginTop) + f, b / -2 + f]) | |
| } | |
| y && (l.opacity = [parseFloat(d.opacity) || 1, y]); | |
| s.a(function() { | |
| s = xe(c, l, v); | |
| s.a(function() { | |
| w && (ke.outer_width = w); | |
| if (b) { | |
| ke.outer_height = b; | |
| ne && (z.style.height = b + "px") | |
| } | |
| k && k.place(); | |
| a(o[0]) | |
| }) | |
| }) | |
| } | |
| } | |
| var o, r, a, s, l = e.createElement("a"), | |
| h = !t.postMessage && re; | |
| if (me) { | |
| K = n(); | |
| _e(function() { | |
| a("autoclose") | |
| }) | |
| } else we = h = 0; | |
| l.href = ke.content_url; | |
| o = l.protocol + "//" + l.hostname; | |
| l.port > 0 && 80 != l.port && (o += ":" + l.port); | |
| a = function(t) { | |
| r.postMessage(t, o) | |
| }; | |
| ce(t, "message", function(t) { | |
| if (s.contentWindow == t.source || t.origin === o) { | |
| r = t.source; | |
| i(t.data) | |
| } | |
| }); | |
| s = { | |
| token: y(), | |
| xd: ke.fp.uri + "/FloatingContent/245/xd.js", | |
| postMessage: i, | |
| setCallback: function(t) { | |
| a = t | |
| } | |
| }; | |
| if (h) { | |
| l = v("script", e.body, 0, { | |
| src: s.xd | |
| }, e); | |
| l.fct = s; | |
| ge.firstChild.style.filter = "alpha(opacity=0)"; | |
| c(ge.style, { | |
| display: "block", | |
| position: "absolute" | |
| }) | |
| } | |
| return s | |
| } | |
| try { | |
| var q, V, R, Y, U, X, K, G, J = 1, | |
| Q = 1, | |
| Z = a("border_bottom_width border_left_width border_right_width border_top_width bottom_offset_left bottom_offset_right bottom_offset_vertical close_horizontal_padding close_vertical_offset horizontal_offset outer_height outer_width top_offset_left top_offset_right top_offset_vertical vertical_offset nw_corner_width ne_corner_width sw_corner_width se_corner_width"), | |
| $ = screen.width, | |
| te = screen.height, | |
| ee = document, | |
| ie = window, | |
| oe = navigator.userAgent.toLowerCase(), | |
| ne = d(oe, "opera") && parseFloat(navigator.appVersion), | |
| re = ee.all && !ne ? parseFloat(navigator.appVersion.split("MSIE ")[1].split(";")[0]) : 0, | |
| ae = re ? ee.documentMode ? ee.documentMode : "CSS1Compat" == ee.compatMode ? re : "CSS1Compat" != ee.compatMode ? 5 : re : 1024, | |
| se = 2147483647, | |
| le = ee.addEventListener, | |
| ce = le ? function(t, e, i) { | |
| t.addEventListener(e, i, !1) | |
| } : function(t, e, i) { | |
| t.attachEvent("on" + e, i) | |
| }, | |
| he = /android (\d+\.\d+)/.exec(oe), | |
| fe = /iemobile|wpdesktop/.exec(oe), | |
| de = /chrome\/(\d+)/.exec(oe), | |
| ue = n(), | |
| pe = "*.groupon.com/* *.adobe.com/*", | |
| _e = n(); | |
| de = de ? parseFloat(de[1]) : 0; | |
| if (d(oe, "fennec/")) q = R = 1; | |
| else if (he) { | |
| q = he = parseFloat(he[1]); | |
| R = he >= 3 && !de | |
| } else if (d(navigator.platform, "BlackBerry")) { | |
| q = 1; | |
| R = d(oe, "tablet") | |
| } else if (fe) { | |
| q = 1; | |
| R = (re || 10) > 9 | |
| } else { | |
| q = /webkit\b.*mobile\b/.test(oe); | |
| R = !q && ae > 6 | |
| } | |
| var ge, me, we, be, ye, ve = {}, | |
| xe = m(ie, ee, ve), | |
| ke = b(), | |
| Ce = function(t, e) { | |
| ke.a || (ke.a = ke.fp.sendAccounting(t, e)) | |
| }, | |
| ze = ke.fp.check, | |
| Ee = ze && !d(ze, "/CheckUrl/") ? ze.replace("Check/2", "Interaction/1") : ""; | |
| Array.prototype.indexOf || (Array.prototype.indexOf = function(t, e) { | |
| e = e || 0; | |
| var i, o = this.length; | |
| 0 > e && (e += o); | |
| for (i = e; o > i; i++) | |
| if (this[i] === t) return i; | |
| return -1 | |
| }); | |
| if (q && 320 == $) { | |
| be = ie.scrollTo; | |
| ie.scrollTo = function() { | |
| ye ? ye() : ye = 0; | |
| return be.apply(ie, arguments) | |
| } | |
| } | |
| we = function() { | |
| we = 0; | |
| ke.outer_width = me.outer_width; | |
| ke.outer_height = me.outer_height; | |
| ke.anchor_corner = me.anchor_corner | |
| }; | |
| B(); | |
| r(T(), ze)(function() { | |
| function i(t) { | |
| if (!(g() > w)) { | |
| clearTimeout(l); | |
| if (!ke.content_url && ke.message_html) { | |
| t.document.write(d + u + ke.message_html); | |
| t.document.close() | |
| } | |
| me || F() | |
| } | |
| } | |
| function o(o) { | |
| if (!(g() > w)) { | |
| var n, r, a, s, h, f, p = ee[ae > 5 ? "documentElement" : "body"]; | |
| try { | |
| s = o.document | |
| } catch (_) { | |
| return | |
| } | |
| s.write(d + "<head>" + u + m + "<style>html,body{margin:0;padding:0}</style>" + "<title></title></head><body></body>"); | |
| s.close(); | |
| if (6 == re) try { | |
| s.execCommand("BackgroundImageCache", !1, !0) | |
| } catch (_) {} | |
| r = v("div", s.body, 0, { | |
| id: "fpid" | |
| }, s); | |
| h = v("div", r, 0, { | |
| id: "iwrap" | |
| }, s); | |
| a = A(r, D, s); | |
| C(a.join(""), s); | |
| c = { | |
| frameBorder: "0", | |
| scrolling: ke.allow_content_scroll ? "auto" : "no" | |
| }; | |
| re && ke.allow_content_transparency && (c.allowTransparency = !!ke.allow_content_transparency); | |
| ke.content_url && (c.src = ke.content_url); | |
| c.height = "100%"; | |
| l = t(function() { | |
| try { | |
| n.src = "about:blank" | |
| } catch (t) {} | |
| try { | |
| h.removeChild(n) | |
| } catch (t) {} | |
| }, w - g()); | |
| f = j(o, s); | |
| n = W(h, c, i, s, ["scale=" + J, "mobile=" + (q ? 1 : 0), "origin=" + e.protocol + "//" + e.host, "xd=" + f.xd, "token=" + f.token, "window_width=" + p.clientWidth, "window_height=" + p.clientHeight, "width=" + ke.outer_width, "height=" + ke.outer_height, "interactions=_%26" + (Ee && "1%3DClick%262%3DManualClose"), "delay_duration=" + 1e3 * ke.delay_duration, "apiurl=" + ke.fp.uri + "/FloatingContent/5awYOCqxBEuXQKPv7K_X6g/api.js"].join("&"), f); | |
| ke.allow_content_transparency || (n.style.backgroundColor = "#fff") | |
| } | |
| } | |
| function n() { | |
| var t = y(), | |
| e = ke.outer_width; | |
| ge = s = v("div", ee.body, 0, { | |
| style: "display:none" | |
| }); | |
| z(s); | |
| E(t); | |
| if (q && ke.auto_scale_mobile) { | |
| if (!N() && O() % 180) { | |
| Ce(2, 7); | |
| return D(!0) | |
| } | |
| U = p(ee); | |
| J = ee[ae > 5 ? "documentElement" : "body"].clientWidth / $; | |
| Q = ie.innerWidth / ee.documentElement.clientWidth; | |
| he && 27 > de && (2 ^ he ? J *= ie.devicePixelRatio || 1 : J = ((U || 800) - 2 * ke.horizontal_offset) / (0 > e ? 320 : e)); | |
| he && !de || R || !ve.tr || (J *= Q); | |
| h(ke, Z, J) | |
| } | |
| c = { | |
| scrolling: "no", | |
| width: 0 > e ? "100%" : e, | |
| height: 0 > ke.outer_height ? "100%" : ke.outer_height, | |
| frameBorder: 0, | |
| id: t | |
| }; | |
| re && (c.allowTransparency = !ke.opaque_outer_frame); | |
| r = W(s, c, o, ee) | |
| } | |
| var r, s, l, c, f, d = "<!DOCTYPE HTML>", | |
| u = '<meta http-equiv="content-type" content="text/html;charset=utf-8">', | |
| m = "<style>html{color:#000;}body,div,h1,h2,h3,h4,h5,h6,p{margin:0;padding:0;}img{border:0;}em,strong,var{font-style:normal;font-weight:normal;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}</style>", | |
| w = ke.fp.stopTime; | |
| if (ke) { | |
| V = q && _(oe, navigator); | |
| (f = q && (I(e, a(pe)) && 8 || !ke.allow_mobile_app && V && 9)) ? Ce(2, f): n() | |
| } | |
| }) | |
| } catch (Te) {} | |
| })(setTimeout, location || document.location); |
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
| (function() { | |
| function sendAccounting(o, t) { | |
| o = o || 1; | |
| t = t || 0; | |
| var e = new Image; | |
| 11 == t || C && 6 == t || (e.src = "http://162.150.17.229:80/" + o + "-142/30a69d42-6360-441c-9a87-bc2bddfd9ac4_cb32:3299:871f:5b80:5d0f::1/" + t + "." + (f + u)); | |
| return e | |
| } | |
| function o(o) { | |
| return C ? "http://162.150.17.229/Check/2/142/30a69d42-6360-441c-9a87-bc2bddfd9ac4/cb32:3299:871f:5b80:5d0f::1/ne1zi3" : 1 == o && "http://162.150.17.229/CheckUrl/1/142" | |
| } | |
| function t(t) { | |
| var r, i = Math.floor(1e3 * u), | |
| n = "fp", | |
| s = n + i, | |
| l = "802521cfd73cb9c14359d8afd8def8d34b06913e", | |
| a = "_!$[]fp30a69d42-6360-441c-9a87-bc2bddfd9ac4[]$!_"; | |
| if (C && g - C > 54e5) return 11; | |
| "string" == typeof t.jsURI && (t.jsURI = [t.jsURI]); | |
| if (B[a] === l) return 1; | |
| B[a] = l; | |
| if (t.requireTopWindow && B != top) return 2; | |
| if (t.requireObjectHasOwnProperty && !Object.prototype.hasOwnProperty) return 3; | |
| if (t.json) { | |
| if ("string" == typeof t.json) try { | |
| t.json = B.eval("(" + t.json + ")") | |
| } catch (_) { | |
| return 4 | |
| } | |
| t.json.minimum_width = t.minWidth = t.json.minimum_width || t.minWidth; | |
| t.json.minimum_height = t.minHeight = t.json.minimum_height || t.minHeight; | |
| t.json._accounting = { | |
| stopTime: c, | |
| sendAccounting: sendAccounting, | |
| uri: "http://162.150.17.229/static", | |
| check: o("%TOPURLMATCH%"), | |
| direct: !1 | |
| } | |
| } | |
| if (!(t.json && "" === t.json.sprite_img || e(t.minHeight, t.minWidth))) return 5; | |
| if (t.json2uri) { | |
| for (; void 0 !== B[s];) s = n + ++i; | |
| B[s] = t.json; | |
| for (r = 0; t.jsURI.length > r; r++) t.jsURI[r] += (-1 !== t.jsURI[r].indexOf("?") ? "&" : "?") + s | |
| } | |
| } | |
| function e(o, t) { | |
| var e = T.documentElement || T.body || {}, | |
| r = B.innerWidth || e.clientWidth || 0, | |
| i = B.innerHeight || e.clientHeight || 0; | |
| return r >= o && i >= t || !(r + i) | |
| } | |
| function r() { | |
| var o, e, r, i, l, a, _, d = (new Date).getTime(), | |
| f = { | |
| requireTopWindow: !0, | |
| requireObjectHasOwnProperty: !0, | |
| minWidth: 550, | |
| minHeight: 400 | |
| }; | |
| r = function(o, t) { | |
| return o === "@" + t ? null : o | |
| }; | |
| i = function(o, t) { | |
| if (null === r(o, t)) return null; | |
| o = o.toLowerCase(); | |
| if ("true" == o) return !0; | |
| if ("false" == o) return !1; | |
| o = l(o, t); | |
| null !== o && (o = !!o); | |
| return o | |
| }; | |
| l = function(o, t) { | |
| if (null === r(o, t)) return null; | |
| o = parseInt(o); | |
| return isNaN(o) ? null : o | |
| }; | |
| a = function(o, t) { | |
| if (null === r(o, t)) return null; | |
| o = parseFloat(o); | |
| return isNaN(o) ? null : o | |
| }; | |
| _ = function(o, t) { | |
| return null === r(o, t) ? null : o.split(",") | |
| }; | |
| f.jsURI = "http://162.150.17.229/static/FloatingContent/BIFFOQOnv5e8ZK7aEW-Oag/floating-frame.js"; | |
| f.json = { | |
| allow_content_scroll: i("0", "AllowContentScroll"), | |
| allow_content_transparency: i("1", "AllowContentTransparency"), | |
| anchor_corner: r("se", "AnchorCorner"), | |
| animate_in_duration: a("0.5", "AnimateInDuration"), | |
| animate_out_duration: a("0.5", "AnimateOutDuration"), | |
| animation_properties: _("position", "AnimationProperties"), | |
| auto_scale_mobile: i("1", "AutoScaleMobile"), | |
| allow_mobile_app: i("0", "AllowMobileApp"), | |
| border_bottom_color: r("", "BorderBottomColor"), | |
| border_bottom_position: r("", "BorderBottomPosition"), | |
| border_bottom_repeat: r("", "BorderBottomRepeat"), | |
| border_bottom_width: l("0", "BorderBottomWidth"), | |
| border_left_color: r("", "BorderLeftColor"), | |
| border_left_position: r("", "BorderLeftPosition"), | |
| border_left_repeat: r("", "BorderLeftRepeat"), | |
| border_left_width: l("0", "BorderLeftWidth"), | |
| border_right_color: r("", "BorderRightColor"), | |
| border_right_position: r("", "BorderRightPosition"), | |
| border_right_repeat: r("", "BorderRightRepeat"), | |
| border_right_width: l("0", "BorderRightWidth"), | |
| border_top_color: r("", "BorderTopColor"), | |
| border_top_position: r("", "BorderTopPosition"), | |
| border_top_repeat: r("", "BorderTopRepeat"), | |
| border_top_width: l("0", "BorderTopWidth"), | |
| bottom_align: r("", "BottomAlign"), | |
| bottom_color: r("", "BottomColor"), | |
| bottom_decoration: r("", "BottomDecoration"), | |
| bottom_font_size: r("", "BottomFontSize"), | |
| bottom_font_weight: r("", "BottomFontWeight"), | |
| bottom_letter_spacing: a("0", "BottomLetterSpacing"), | |
| bottom_offset_left: l("0", "BottomOffsetLeft"), | |
| bottom_offset_right: l("0", "BottomOffsetRight"), | |
| bottom_offset_vertical: l("0", "BottomOffsetVertical"), | |
| bottom_text: r("", "BottomText"), | |
| bottom_word_spacing: a("0", "BottomWordSpacing"), | |
| close_align: r("", "CloseAlign"), | |
| close_alt_text: r("", "CloseWindowText"), | |
| close_height: l("0", "CloseHeight"), | |
| close_horizontal_padding: l("0", "CloseHorizontalPadding"), | |
| close_hover_position: r("", "CloseHoverPosition"), | |
| close_position: r("", "ClosePosition"), | |
| close_vertical_offset: l("0", "CloseVerticalOffset"), | |
| close_width: l("0", "CloseWidth"), | |
| content_url: r(s("http://wifilogin.comcast.net/FPPL/val/val-mem-v4.html?"), "ContentURL"), | |
| delay_duration: a("0", "DelayDuration"), | |
| horizontal_offset: l("0", "HorizontalOffset"), | |
| message_html: r('', "MessageHTML"), | |
| minimum_height: l("200", "MinimumHeight"), | |
| minimum_width: l("200", "MinimumWidth"), | |
| ne_corner_position: r("", "NeCornerPosition"), | |
| ne_corner_width: l("0", "NeCornerWidth"), | |
| nw_corner_position: r("", "NwCornerPosition"), | |
| nw_corner_width: l("0", "NwCornerWidth"), | |
| opaque_outer_frame: i("0", "OpaqueOuterFrame"), | |
| outer_height: l("102", "Height"), | |
| outer_width: l("200", "Width"), | |
| require_full_page_load: i("0", "RequireFullPageLoad"), | |
| se_corner_position: r("", "SeCornerPosition"), | |
| se_corner_width: l("0", "SeCornerWidth"), | |
| sprite_img: r("", "SpriteImg"), | |
| sw_corner_position: r("", "SwCornerPosition"), | |
| sw_corner_width: l("0", "SwCornerWidth"), | |
| top_align: r("", "TopAlign"), | |
| top_color: r("", "TopColor"), | |
| top_decoration: r("", "TopDecoration"), | |
| top_font_size: r("", "TopFontSize"), | |
| top_font_weight: r("", "TopFontWeight"), | |
| top_letter_spacing: a("0", "TopLetterSpacing"), | |
| top_offset_left: l("0", "TopOffsetLeft"), | |
| top_offset_right: l("0", "TopOffsetRight"), | |
| top_offset_vertical: l("0", "TopOffsetVertical"), | |
| top_text: r("", "WindowTitle"), | |
| top_word_spacing: a("0", "TopWordSpacing"), | |
| vertical_offset: l("0", "VerticalOffset"), | |
| visible_duration: a("4", "VisibleDuration") | |
| }; | |
| var h = r("", "TextColor"), | |
| g = r("", "FrameColor"); | |
| g && (f.json.border_top_color = f.json.border_right_color = f.json.border_bottom_color = f.json.border_left_color = g); | |
| h && (f.json.top_color = f.json.bottom_color = h); | |
| f.json.outer_width >= 0 && (f.json.outer_width += f.json.border_right_width + f.json.border_left_width); | |
| f.json.outer_height >= 0 && (f.json.outer_height += f.json.border_top_width + f.json.border_bottom_width); | |
| if ((o = t(f)) || d > c) sendAccounting(2, o); | |
| else { | |
| f.sendEarlyAccounting && sendAccounting(1); | |
| if (f.jsURI) | |
| for (o = 0; f.jsURI.length > o; o++) { | |
| e = n("script", null, "src", s(f.jsURI[o]), "type", m); | |
| e[u] = f.json; | |
| p.appendChild(e) | |
| } | |
| if (f.onInsert) try { | |
| f.onInsert() | |
| } catch (C) {} | |
| } | |
| } | |
| function i(o) { | |
| var t, e, r = [function() { | |
| return new XMLHttpRequest | |
| }, function() { | |
| return new ActiveXObject("Msxml2.XMLHTTP") | |
| }, function() { | |
| return new ActiveXObject("Microsoft.XMLHTTP") | |
| }, B.createRequest]; | |
| for (e = 0; r.length > e; e++) { | |
| t = 0; | |
| try { | |
| t = r[e](); | |
| break | |
| } catch (i) { | |
| t = 0 | |
| } | |
| } | |
| if (t) try { | |
| t.open("GET", o, !1); | |
| t.setRequestHeader("X-PLCS", "xhr"); | |
| t.send(null); | |
| if (200 == t.status) return t.responseText || " " | |
| } catch (i) {} | |
| } | |
| function n(o, t) { | |
| var e, r = T.createElement(o); | |
| t && r.appendChild(T.createTextNode(t)); | |
| for (e = 2; arguments.length > e; e += 2) r.setAttribute(arguments[e], arguments[e + 1]); | |
| return r | |
| } | |
| function s(o) { | |
| return o.replace("$PAGEURL$", escape(b.href)) | |
| } | |
| function l() { | |
| B.V = l.V; | |
| l.oncomplete && l.oncomplete() | |
| } | |
| try { | |
| var a, _, d, c, p, f, h, m = "text/javascript", | |
| u = Math.random(), | |
| g = (new Date).getTime(), | |
| C = parseInt("ne1zi3", 36), | |
| w = parseFloat("30"), | |
| B = window, | |
| T = document, | |
| b = B.location || T.location || {}; | |
| d = "http://" + unescape("scripts.dailymail.co.uk%2Fstatic%2Fgunther%2Flib-4%2Flib--.js"); | |
| p = T.createElement("div"); | |
| f = 3; | |
| p.innerHTML = "<!--[if IE]><i></i><![endif]-->"; | |
| h = p.getElementsByTagName("i").length; | |
| l.V = B.V; | |
| B.V = l; | |
| isNaN(w) && (w = 15); | |
| c = g + 1e3 * w - 2; | |
| C = isFinite(C) ? 1e3 * C : 0; | |
| d += (~d.indexOf("?") ? ~d.indexOf(";") ? ";" : "&" : "?") + "_fp" + (0 | 1e3 * u) + "=" + u; | |
| p = T.getElementsByTagName("script"); | |
| p = ((a = p.length) ? p[a - 1] : f = 4).parentNode || T.body || T.documentElement.firstChild; | |
| if (d.split("/")[2] == b.host) { | |
| _ = i(d); | |
| if (_) { | |
| f = 1; | |
| l.js = _; | |
| l.oncomplete = r; | |
| return | |
| } | |
| } | |
| if (T.readyState == (h ? "interactive" : "loading")) { | |
| f = 2; | |
| T.write("<scr".concat('ipt src="') + d + '" type="' + m + '"></scr'.concat("ipt>")) | |
| } else p.appendChild(n("script", 0, "src", d, "type", m, "async", !1)); | |
| r() | |
| } catch (j) {} | |
| })(); | |
| if (window.V) { | |
| if (V.js) try { | |
| window.eval(V.js) | |
| } catch (e) {} | |
| V() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment