jQuery(document).ready(function(t) { var e = 300, s = "Mehr anzeigen", i = ".excerpt"; t(".more").each(function() { var i = t(this).html(); if (i.length > e) { var a = i.substr(0, e) + '...' + i.substr(e, i.length - e) + '  ' + s + ""; t(this).html(a) } }), t(".morelink").click(function() { return t(this).hasClass("less") ? (t(this).removeClass("less"), t(i).removeClass("less"), t(this).html(s)) : (t(this).addClass("less"), t(i).addClass("less"), t(this).html("Weniger anzeigen")), t(this).parent().prev().toggle(), t(this).prev().toggle(), !1 }); var a, n = (a = 0, function(t, e) { clearTimeout(a), a = setTimeout(t, e) }); t(window).scroll(function() { t(this).scrollTop() > 115 && window.innerWidth > 959 && (t("#header").addClass("sticky"), n(function() { t("#header").addClass("animate") }, 10)), t(this).scrollTop() < 115 && n(function() { t("#header").removeClass("animate"), n(function() { t("#header").removeClass("sticky"), window.innerWidth > 959 && (t("#navbar").removeClass("sticky"), t(".menu-toogle").removeClass("active")) }, 5) }, 1) }), t(".arg").on("click", function(e) { var s; (s = t(".remove", this).data("url")) && (window.location.bref = s) }), t(".menu-toogle").on("click", function(e) { t(this).toggleClass("active"), t("#navbar").toggleClass("sticky"), e.stopPropagation() }), t(".search-toogle").on("click", function(e) { t(this).toggleClass("active"), t(".header-search").toggleClass("active"), t("#s").focus(), e.stopPropagation() }), t(document).click(function() { t(".dropdown").removeClass("active") }), t(".tabs").each(function() { t("li.tab", this).click(function() { t(".tabs li").removeClass("active"), t(this).addClass("active"), t(".wrap").hide(); var e = t(this).attr("data-id"); return t("#" + e).fadeIn("fast"), !1 }) }), window.innerWidth < 959 ? t(".header-user").each(function() { var e = t(this).html(); t(".navbar-content").prepend('") }) : (t(".tooltip-w").tipsy({ live: !0, gravity: "w", opacity: .95 }), t(".tooltip").tipsy({ live: !0, gravity: "n", opacity: .95 }), t(".tooltip-s").tipsy({ live: !0, gravity: "s", opacity: .95 }), t(".tooltip-sw").tipsy({ live: !0, gravity: "sw", opacity: .95 }), t(".existing_item").tipsy({ className: "kepsy", kepsy: !0, fade: !1, html: !0, live: !0, opacity: .95, gravity: t.fn.tipsy.autoWE, title: function() { return t(this).find(".existing-details").html() } })), t(window).resize(function() { window.innerWidth > 959 ? (t(".menu-user").hide(), t("#navbar").removeClass("sticky"), t(".menu-toogle").removeClass("active")) : t(".menu-user").show() }), t(".c-sidebar").each(function() { 200 > t(this).outerWidth() && t(this).addClass("full") }), t(".select-type").click(function() { var e = t(this).attr("data-open"); return t(".select-type").removeClass("active"), t(this).addClass("active"), t(e).slideDown(300, function() { t("html, body").animate({ scrollTop: t(this).offset().top - 80 }, 200) }), !1 }) }); ! function(t, e) { "use strict"; function r(r, a, i, l, u) { function f() { var e, o, f, d; y = t.devicePixelRatio > 1, s(i), a.delay >= 0 && setTimeout(function() { c(!0) }, a.delay), (a.delay < 0 || a.combined) && (l.e = (e = a.throttle, o = function(t) { "resize" === t.type && (v = p = -1), c(t.all) }, d = 0, function(t, n) { function i() { d = +new Date, o.call(r, t) } var l = +new Date - d; f && clearTimeout(f), l > e || !a.enableThrottle || n ? i() : f = setTimeout(i, e - l) }), l.a = function(t) { s(t), i.push.apply(i, t) }, l.g = function() { return i = n(i).filter(function() { return !n(this).data(a.loadedName) }) }, l.f = function(t) { for (var e = 0; e < t.length; e++) { var r = i.filter(t[e]); r.length && c(!1, r) } }, c(), n(a.appendScroll).on("scroll." + u + " resize." + u, l.e)) } function s(t) { for (var i = a.defaultImage, o = a.placeholder, l = a.imageBase, u = a.srcsetAttribute, f = a.loaderAttribute, s = a._f || {}, c = 0, d = (t = n(t).filter(function() { var t = n(this), r = A(this); return !t.data(a.handledName) && (t.attr(a.attribute) || t.attr(u) || t.attr(f) || s[r] !== e) }).data("plugin_" + a.name, r)).length; c < d; c++) { var h = n(t[c]), m = A(t[c]), b = h.attr(a.imageBaseAttribute) || l; m == L && b && h.attr(u) && h.attr(u, g(h.attr(u), b)), s[m] === e || h.attr(f) || h.attr(f, s[m]), m == L && i && !h.attr(T) ? h.attr(T, i) : m == L || !o || h.css(N) && "none" != h.css(N) || h.css(N, "url('" + o + "')") } } function c(e, o) { if (i.length) { for (var l = o || i, u = !1, f = a.imageBase || "", s = a.srcsetAttribute, c = a.handledName, g = 0; g < l.length; g++) if (e || o || (w = l[g], void 0, void 0, void 0, void 0, void 0, B = w.getBoundingClientRect(), I = a.scrollDirection, E = a.threshold, F = (p >= 0 ? p : p = n(t).height()) + E > B.top && -E < B.bottom, C = (v >= 0 ? v : v = n(t).width()) + E > B.left && -E < B.right, "vertical" == I ? F : "horizontal" == I ? C : F && C)) { var h = n(l[g]), m = A(l[g]), b = h.attr(a.attribute), y = h.attr(a.imageBaseAttribute) || f, z = h.attr(a.loaderAttribute); h.data(c) || a.visibleOnly && !h.is(":visible") || !((b || h.attr(s)) && (m == L && (y + b != h.attr(T) || h.attr(s) != h.attr(D)) || m != L && y + b != h.css(N)) || z) || (u = !0, h.data(c, !0), d(h, m, y, z)) } var w, B, I, E, F, C; u && (i = n(i).filter(function() { return !n(this).data(c) })) } else a.autoDestroy && r.destroy() } function d(t, e, r, i) { ++b; var o = function() { m("onError", t), h(), o = n.noop }; m("beforeLoad", t); var l = a.attribute, u = a.srcsetAttribute, f = a.sizesAttribute, s = a.retinaAttribute, c = a.removeAttribute, d = a.loadedName, A = t.attr(s); if (i) { var g = function() { c && t.removeAttr(a.loaderAttribute), t.data(d, !0), m(z, t), setTimeout(h, 1), g = n.noop }; t.off(B).one(B, o).one(w, g), m(i, t, function(e) { e ? (t.off(w), g()) : (t.off(B), o()) }) || t.trigger(B) } else { var v = n(new Image); v.one(B, o).one(w, function() { t.hide(), e == L ? t.attr(I, v.attr(I)).attr(D, v.attr(D)).attr(T, v.attr(T)) : t.css(N, "url('" + v.attr(T) + "')"), t[a.effect](a.effectTime), c && (t.removeAttr(l + " " + u + " " + s + " " + a.imageBaseAttribute), f !== I && t.removeAttr(f)), t.data(d, !0), m(z, t), v.remove(), h() }); var p = (y && A ? A : t.attr(l)) || ""; v.attr(I, t.attr(f)).attr(D, t.attr(u)).attr(T, p ? r + p : null), v.complete && v.trigger(w) } } function A(t) { return t.tagName.toLowerCase() } function g(t, e) { if (e) { var r = t.split(","); t = ""; for (var a = 0, n = r.length; a < n; a++) t += e + r[a].trim() + (a !== n - 1 ? "," : "") } return t } function h() { --b, i.length || b || m("onFinishedAll") } function m(t, e, n) { return !!(t = a[t]) && (t.apply(r, [].slice.call(arguments, 1)), !0) } var b = 0, v = -1, p = -1, y = !1, z = "afterLoad", w = "load", B = "error", L = "img", T = "src", D = "srcset", I = "sizes", N = "background-image"; "event" == a.bind || o ? f() : n(t).on(w + "." + u, f) } function a(a, o) { var l = this, u = n.extend({}, l.config, o), f = {}, s = u.name + "-" + ++i; return l.config = function(t, r) { return r === e ? u[t] : (u[t] = r, l) }, l.addItems = function(t) { return f.a && f.a("string" === n.type(t) ? n(t) : t), l }, l.getItems = function() { return f.g ? f.g() : {} }, l.update = function(t) { return f.e && f.e({}, !t), l }, l.force = function(t) { return f.f && f.f("string" === n.type(t) ? n(t) : t), l }, l.loadAll = function() { return f.e && f.e({ all: !0 }, !0), l }, l.destroy = function() { return n(u.appendScroll).off("." + s, f.e), n(t).off("." + s), f = {}, e }, r(l, u, a, f, s), u.chainable ? a : l } var n = t.jQuery || t.Zepto, i = 0, o = !1; n.fn.Lazy = n.fn.lazy = function(t) { return new a(this, t) }, n.Lazy = n.lazy = function(t, r, i) { if (n.isFunction(r) && (i = r, r = []), n.isFunction(i)) { t = n.isArray(t) ? t : [t], r = n.isArray(r) ? r : [r]; for (var o = a.prototype.config, l = o._f || (o._f = {}), u = 0, f = t.length; u < f; u++)(o[t[u]] === e || n.isFunction(o[t[u]])) && (o[t[u]] = i); for (var s = 0, c = r.length; s < c; s++) l[r[s]] = t[0] } }, a.prototype.config = { name: "lazy", chainable: !0, autoDestroy: !0, bind: "load", threshold: 500, visibleOnly: !1, appendScroll: t, scrollDirection: "both", imageBase: null, defaultImage: "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==", placeholder: null, delay: -1, combined: !1, attribute: "data-src", srcsetAttribute: "data-srcset", sizesAttribute: "data-sizes", retinaAttribute: "data-retina", loaderAttribute: "data-loader", imageBaseAttribute: "data-imagebase", removeAttribute: !0, handledName: "handled", loadedName: "loaded", effect: "show", effectTime: 0, enableThrottle: !0, throttle: 250, beforeLoad: e, afterLoad: e, onError: e, onFinishedAll: e }, n(t).on("load", function() { o = !0 }) }(window); $(function() { $('img').Lazy(); }); ! function(t) { function i(t, i) { return "function" == typeof t ? t.call(i) : t } function e(i, e) { this.$element = t(i), this.options = e, this.enabled = !0, this.fixTitle() } e.prototype = { show: function() { var e = this.getTitle(); if (e && this.enabled) { var s = this.tip(), n = ".tipsy-inner"; this.options.kepsy && (n = ".kepsy-inner"), s.find(n)[this.options.html ? "html" : "text"](e), s[0].className = "tipsy", s.remove().css({ top: 0, left: 0, visibility: "hidden", display: "block" }).prependTo(document.body); var o, a = t.extend({}, this.$element.offset(), { width: this.$element[0].offsetWidth, height: this.$element[0].offsetHeight }), l = s[0].offsetWidth, f = s[0].offsetHeight, h = i(this.options.gravity, this.$element[0]); switch (h.charAt(0)) { case "n": o = { top: a.top + a.height + this.options.offset, left: a.left + a.width / 2 - l / 2 }; break; case "s": o = { top: a.top - f - this.options.offset, left: a.left + a.width / 2 - l / 2 }; break; case "e": o = { top: a.top + a.height / 2 - f / 2, left: a.left - l - this.options.offset }; break; case "w": o = { top: a.top + a.height / 2 - f / 2, left: a.left + a.width + this.options.offset } } 2 == h.length && ("w" == h.charAt(1) ? o.left = a.left + a.width / 2 - 15 : o.left = a.left + a.width / 2 - l + 15), s.css(o).addClass("tipsy-" + h), s.find(".tipsy-arrow")[0].className = "tipsy-arrow tipsy-arrow-" + h.charAt(0), this.options.className && s.addClass(i(this.options.className, this.$element[0])), this.options.fade ? s.stop().css({ opacity: 0, display: "block", visibility: "visible" }).animate({ opacity: this.options.opacity }) : s.css({ visibility: "visible", opacity: this.options.opacity }) } }, hide: function() { this.options.fade ? this.tip().stop().fadeOut(function() { t(this).remove() }) : this.tip().remove() }, fixTitle: function() { var t = this.$element; (t.attr("title") || "string" != typeof t.attr("original-title")) && t.attr("original-title", t.attr("title") || "").removeAttr("title") }, getTitle: function() { var t, i = this.$element, e = this.options; return this.fixTitle(), "string" == typeof(e = this.options).title ? t = i.attr("title" == e.title ? "original-title" : e.title) : "function" == typeof e.title && (t = e.title.call(i[0])), (t = ("" + t).replace(/(^\s*|\s*$)/, "")) || e.fallback }, tip: function() { var i = '
'; return this.options.kepsy && (i = '
'), this.$tip || (this.$tip = t('
').html(i), this.$tip.data("tipsy-pointee", this.$element[0])), this.$tip }, validate: function() { this.$element[0].parentNode || (this.hide(), this.$element = null, this.options = null) }, enable: function() { this.enabled = !0 }, disable: function() { this.enabled = !1 }, toggleEnabled: function() { this.enabled = !this.enabled } }, t.fn.tipsy = function(i) { function s(s) { var n = t.data(s, "tipsy"); return n || (n = new e(s, t.fn.tipsy.elementOptions(s, i)), t.data(s, "tipsy", n)), n } if (!0 === i) return this.data("tipsy"); if ("string" == typeof i) { var n = this.data("tipsy"); return n && n[i](), this } if ((i = t.extend({}, t.fn.tipsy.defaults, i)).on || this.each(function() { s(this) }), "manual" != i.trigger) { var o = i.on ? "on" : "bind", a = "hover" == i.trigger ? "mouseenter" : "focus", l = "hover" == i.trigger ? "mouseleave" : "blur"; this[o](a, function() { var t = s(this); t.hoverState = "in", 0 == i.delayIn ? t.show() : (t.fixTitle(), setTimeout(function() { "in" == t.hoverState && t.show() }, i.delayIn)) })[o](l, function() { var t = s(this); t.hoverState = "out", 0 == i.delayOut ? t.hide() : setTimeout(function() { "out" == t.hoverState && t.hide() }, i.delayOut) }) } return this }, t.fn.tipsy.defaults = { className: null, kepsy: !1, delayIn: 0, delayOut: 0, fade: !1, fallback: "", gravity: "n", html: !1, live: !1, offset: 0, opacity: .8, title: "title", trigger: "hover" }, t.fn.tipsy.revalidate = function() { t(".tipsy").each(function() { var i = t.data(this, "tipsy-pointee"); i && function(t) { for (; t = t.parentNode;) if (t == document) return !0; return !1 }(i) || t(this).remove() }) }, t.fn.tipsy.elementOptions = function(i, e) { return t.metadata ? t.extend({}, e, t(i).metadata()) : e }, t.fn.tipsy.autoNS = function() { return t(this).offset().top > t(document).scrollTop() + t(window).height() / 2 ? "s" : "n" }, t.fn.tipsy.autoWE = function() { return t(this).offset().left > t(document).scrollLeft() + t(window).width() / 2 ? "e" : "w" }, t.fn.tipsy.autoBounds = function(i, e) { return function() { var s = { ns: e[0], ew: e.length > 1 && e[1] }, n = t(document).scrollTop() + i, o = t(document).scrollLeft() + i, a = t(this); return a.offset().top < n && (s.ns = "n"), a.offset().left < o && (s.ew = "w"), t(window).width() + t(document).scrollLeft() - a.offset().left < i && (s.ew = "e"), t(window).height() + t(document).scrollTop() - a.offset().top < i && (s.ns = "s"), s.ns + (s.ew ? s.ew : "") } } }(jQuery); jQuery(document).ready(function(e) { var a, s = { api: "/include/live.php", nonce: "273e0f8ea3", area: "#live-search", button: "#search-button", more: "Alle Filme für %s anzeigen" }, n = (a = 0, function(e, s) { clearTimeout(a), a = setTimeout(e, s) }), i = !1, r = !0; e("#s").on("input", function() { var a = this.value; n(function() { return a.length <= 1 ? (e(s.area).hide(), void e(s.button).find("span").removeClass("icon-spinner1").removeClass("animate-spin")) : void(i || (i = !0, e(s.button).find("span").addClass("icon-spinner1").addClass("animate-spin"), e(s.area).find("ul").addClass("process").addClass("noselect"), e.ajax({ type: "POST", url: s.api, data: { keyword: a, nonce: s.nonce }, dataType: "json", success: function(n) { if (n.error) e(s.area).hide(); else { e(s.area).show(); var i = '' + a + "", r = '' + s.more.replace("%s", i) + "", t = []; e.each(n, function(e, a) { name = "", date = "", imdb = "", !1 !== a.extra.date && (date = " (" + a.extra.date + ")"), !1 !== a.extra.names && (name = a.extra.names), !1 !== a.extra.imdb && (imdb = "
IMDB: " + a.extra.imdb + "
"), t.push("
  • " + a.title + "
    " + name + date + "
    " + imdb + "
  • ") }), e(s.area).html("") } }, complete: function() { i = !1, r = !1, e(s.button).find("span").removeClass("icon-spinner1").removeClass("animate-spin"), e(s.area).find("ul").removeClass("process").removeClass("noselect") } }))) }, 500) }), e(document).on("keypress", "#search-form", function(e) { return r ? 13 != s.area.keyCode : void 0 }), e(document).click(function() { e(s.area.target), 0 == e(s.area.target).closest("#s").length ? e(s.area).hide() : e(s.area).show() }) }); function twpopup(o) { window.open(o, "twshare", "height=550,width=650,resizable=1,toolbar=0,menubar=0,status=0,location=0") } function fbpopup(o) { window.open(o, "fbshare", "height=550,width=650,resizable=0,toolbar=0,menubar=0,status=0,location=0,scrollbars=0") } function glpopup(o) { window.open(o, "glshare", "height=550,width=650,resizable=0,toolbar=0,menubar=0,status=0,location=0,scrollbars=0") };