/*!

   Flowplayer v6.0.3 (Thursday, 23. July 2015 09:32PM) | flowplayer.org/license

*/
(function () {
	var eds_flowplayer = function (e) { !function (e) { function t(e, t, n, r) { for (var o, i = n.slice(), a = function (e, t) { return e.currentTarget = t, e.eventPhase = e.target === e.currentTarget ? 2 : 3, e }(t, e), l = 0, s = i.length; l < s && (handler = i[l], "object" == typeof handler && "function" == typeof handler.handleEvent ? handler.handleEvent(a) : handler.call(e, a), !a.stoppedImmediatePropagation); l++); return o = !a.stoppedPropagation, r && o && e.parentNode ? e.parentNode.dispatchEvent(a) : !a.defaultPrevented } function n(e, t) { return { configurable: !0, get: e, set: t } } function r(e, t, r) { var o = g(t || e, r); h(e, "textContent", n(function () { return o.get.call(this) }, function (e) { o.set.call(this, e) })) } function o(e, t) { for (var n = e.length; n-- && e[n] !== t;); return n } function i() { if ("BR" === this.tagName) return "\n"; for (var e = this.firstChild, t = []; e;)8 !== e.nodeType && 7 !== e.nodeType && t.push(e.textContent), e = e.nextSibling; return t.join("") } function a(e) { var t = document.createEvent("Event"); t.initEvent("input", !0, !0), (e.srcElement || e.fromElement || document).dispatchEvent(t) } function l(e) { !f && E.test(document.readyState) && (f = !f, document.detachEvent(d, l), (e = document.createEvent("Event")).initEvent(p, !0, !0), document.dispatchEvent(e)) } function s(e) { for (var t; t = this.lastChild;)this.removeChild(t); null != e && this.appendChild(document.createTextNode(e)) } function u(t, n) { return n || (n = e.event), n.target || (n.target = n.srcElement || n.fromElement || document), n.timeStamp || (n.timeStamp = (new Date).getTime()), n } if (!document.createEvent) { var c = !0, f = !1, d = "onreadystatechange", p = "DOMContentLoaded", v = "__IE8__" + Math.random(), h = Object.defineProperty || function (e, t, n) { e[t] = n.value }, m = Object.defineProperties || function (t, n) { for (var r in n) if (y.call(n, r)) try { h(t, r, n[r]) } catch (n) { e.console && console.log(r + " failed on object:", t, n.message) } }, g = Object.getOwnPropertyDescriptor, y = Object.prototype.hasOwnProperty, b = e.Element.prototype, w = e.Text.prototype, x = /^[a-z]+$/, E = /loaded|complete/, k = {}, S = document.createElement("div"); r(e.HTMLCommentElement.prototype, b, "nodeValue"), r(e.HTMLScriptElement.prototype, null, "text"), r(w, null, "nodeValue"), r(e.HTMLTitleElement.prototype, null, "text"), h(e.HTMLStyleElement.prototype, "textContent", function (e) { return n(function () { return e.get.call(this.styleSheet) }, function (t) { e.set.call(this.styleSheet, t) }) }(g(e.CSSStyleSheet.prototype, "cssText"))), m(b, { textContent: { get: i, set: s }, firstElementChild: { get: function () { for (var e = this.childNodes || [], t = 0, n = e.length; t < n; t++)if (1 == e[t].nodeType) return e[t] } }, lastElementChild: { get: function () { for (var e = this.childNodes || [], t = e.length; t--;)if (1 == e[t].nodeType) return e[t] } }, oninput: { get: function () { return this._oninput || null }, set: function (e) { this._oninput && (this.removeEventListener("input", this._oninput), this._oninput = e, e && this.addEventListener("input", e)) } }, previousElementSibling: { get: function () { for (var e = this.previousSibling; e && 1 != e.nodeType;)e = e.previousSibling; return e } }, nextElementSibling: { get: function () { for (var e = this.nextSibling; e && 1 != e.nodeType;)e = e.nextSibling; return e } }, childElementCount: { get: function () { for (var e = 0, t = this.childNodes || [], n = t.length; n--; e += 1 == t[n].nodeType); return e } }, addEventListener: { value: function (e, n, r) { var i, l = this, s = "on" + e, c = l[v] || h(l, v, { value: {} })[v], f = c[s] || (c[s] = {}), d = f.h || (f.h = []); if (!y.call(f, "w")) { if (f.w = function (e) { return e[v] || t(l, u(0, e), d, !1) }, !y.call(k, s)) if (x.test(e)) try { (i = document.createEventObject())[v] = !0, 9 != l.nodeType && null == l.parentNode && S.appendChild(l), l.fireEvent(s, i), k[s] = !0 } catch (i) { for (k[s] = !1; S.hasChildNodes();)S.removeChild(S.firstChild) } else k[s] = !1; (f.n = k[s]) && l.attachEvent(s, f.w) } o(d, n) < 0 && d[r ? "unshift" : "push"](n), "input" === e && l.attachEvent("onkeyup", a) } }, dispatchEvent: { value: function (e) { var n, r = this, o = "on" + e.type, i = r[v], a = i && i[o], l = !!a; return e.target || (e.target = r), l ? a.n ? r.fireEvent(o, e) : t(r, e, a.h, !0) : !(n = r.parentNode) || n.dispatchEvent(e), !e.defaultPrevented } }, removeEventListener: { value: function (e, t, n) { var r = "on" + e, i = this[v], a = i && i[r], l = a && a.h, s = l ? o(l, t) : -1; -1 < s && l.splice(s, 1) } } }), m(w, { addEventListener: { value: b.addEventListener }, dispatchEvent: { value: b.dispatchEvent }, removeEventListener: { value: b.removeEventListener } }), m(e.XMLHttpRequest.prototype, { addEventListener: { value: function (e, t, n) { var r = this, i = "on" + e, a = r[v] || h(r, v, { value: {} })[v], l = a[i] || (a[i] = {}), s = l.h || (l.h = []); o(s, t) < 0 && (r[i] || (r[i] = function () { var t = document.createEvent("Event"); t.initEvent(e, !0, !0), r.dispatchEvent(t) }), s[n ? "unshift" : "push"](t)) } }, dispatchEvent: { value: function (e) { var n = this, r = "on" + e.type, o = n[v], i = o && o[r]; return !!i && (i.n ? n.fireEvent(r, e) : t(n, e, i.h, !0)) } }, removeEventListener: { value: b.removeEventListener } }), m(e.Event.prototype, { bubbles: { value: !0, writable: !0 }, cancelable: { value: !0, writable: !0 }, preventDefault: { value: function () { this.cancelable && (this.defaultPrevented = !0, this.returnValue = !1) } }, stopPropagation: { value: function () { this.stoppedPropagation = !0, this.cancelBubble = !0 } }, stopImmediatePropagation: { value: function () { this.stoppedImmediatePropagation = !0, this.stopPropagation() } }, initEvent: { value: function (e, t, n) { this.type = e, this.bubbles = !!t, this.cancelable = !!n, this.bubbles || this.stopPropagation() } } }), m(e.HTMLDocument.prototype, { defaultView: { get: function () { return this.parentWindow } }, textContent: { get: function () { return 11 === this.nodeType ? i.call(this) : null }, set: function (e) { 11 === this.nodeType && s.call(this, e) } }, addEventListener: { value: function (t, n, r) { var o = this; b.addEventListener.call(o, t, n, r), c && t === p && !E.test(o.readyState) && (c = !1, o.attachEvent(d, l), e == top && function e(t) { try { o.documentElement.doScroll("left"), l() } catch (t) { setTimeout(e, 50) } }()) } }, dispatchEvent: { value: b.dispatchEvent }, removeEventListener: { value: b.removeEventListener }, createEvent: { value: function (e) { var t; if ("Event" !== e) throw new Error("unsupported " + e); return (t = document.createEventObject()).timeStamp = (new Date).getTime(), t } } }), m(e.Window.prototype, { getComputedStyle: { value: function () { function e(e) { this._ = e } function t() { } var n = /^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/, r = /^(top|right|bottom|left)$/, o = /\-([a-z])/g, i = function (e, t) { return t.toUpperCase() }; return e.prototype.getPropertyValue = function (e) { var t, a, l, s = this._, u = s.style, c = s.currentStyle, f = s.runtimeStyle; return e = ("float" === e ? "style-float" : e).replace(o, i), t = c ? c[e] : u[e], n.test(t) && !r.test(e) && (a = u.left, (l = f && f.left) && (f.left = c.left), u.left = "fontSize" === e ? "1em" : t, t = u.pixelLeft + "px", u.left = a, l && (f.left = l)), null == t ? t : t + "" || "auto" }, t.prototype.getPropertyValue = function () { return null }, function (n, r) { return r ? new t(n) : new e(n) } }() }, addEventListener: { value: function (n, r, i) { var a, l = e, s = "on" + n; l[s] || (l[s] = function (e) { return t(l, u(0, e), a, !1) }), o(a = l[s][v] || (l[s][v] = []), r) < 0 && a[i ? "unshift" : "push"](r) } }, dispatchEvent: { value: function (t) { var n = e["on" + t.type]; return !n || !1 !== n.call(e, t) && !t.defaultPrevented } }, removeEventListener: { value: function (t, n, r) { var i = (e["on" + t] || Object)[v], a = i ? o(i, n) : -1; -1 < a && i.splice(a, 1) } } }) } }(this), function (e) { if ("object" == typeof exports && "undefined" != typeof module) module.exports = e(); else if ("function" == typeof define && define.amd) define([], e); else { var t; "undefined" != typeof window ? t = window : "undefined" != typeof global ? t = global : "undefined" != typeof self && (t = self), t.flowplayer = e() } }(function () { return function e(t, n, r) { function o(a, l) { if (!n[a]) { if (!t[a]) { var s = "function" == typeof require && require; if (!l && s) return s(a, !0); if (i) return i(a, !0); var u = new Error("Cannot find module '" + a + "'"); throw u.code = "MODULE_NOT_FOUND", u } var c = n[a] = { exports: {} }; t[a][0].call(c.exports, function (e) { var n = t[a][1][e]; return o(n || e) }, c, c.exports, e, t, n, r) } return n[a].exports } for (var i = "function" == typeof require && require, a = 0; a < r.length; a++)o(r[a]); return o }({ 1: [function (e, t, n) { "use strict"; var r = t.exports = {}, o = e("class-list"), i = window.eds1_10, a = e("punycode"), l = e("computed-style"); r.noop = function () { }, r.identity = function (e) { return e }, r.removeNode = function (e) { e && e.parentNode && e.parentNode.removeChild(e) }, r.find = function (e, t) { return i ? i(e, t).toArray() : (t = t || document, Array.prototype.map.call(t.querySelectorAll(e), function (e) { return e })) }, r.text = function (e, t) { e["innerText" in e ? "innerText" : "textContent"] = t }, r.findDirect = function (e, t) { return r.find(e, t).filter(function (e) { return e.parentNode === t }) }, r.hasClass = function (e, t) { return o(e).contains(t) }, r.css = function (e, t, n) { return "object" == typeof t ? Object.keys(t).forEach(function (n) { r.css(e, n, t[n]) }) : void 0 !== n ? "" === n ? e ? e.style.removeProperty(t) : void 0 : e ? e.style.setProperty(t, n) : void 0 : e ? l(e, t) : void 0 }, r.createElement = function (e, t, n) { try { var o = document.createElement(e); for (var a in t) t.hasOwnProperty(a) && ("css" === a ? r.css(o, t[a]) : r.attr(o, a, t[a])); return o.innerHTML = n || "", o } catch (r) { if (!i) throw r; return i("<" + e + ">" + n + "</" + e + ">").attr(t)[0] } }, r.toggleClass = function (e, t, n) { if (e) { var r = o(e); void 0 === n ? r.toggle(t) : n ? r.add(t) : n || r.remove(t) } }, r.addClass = function (e, t) { return r.toggleClass(e, t, !0) }, r.removeClass = function (e, t) { return r.toggleClass(e, t, !1) }, r.append = function (e, t) { return e.appendChild(t), e }, r.appendTo = function (e, t) { return r.append(t, e), e }, r.prepend = function (e, t) { e.insertBefore(t, e.firstChild) }, r.insertAfter = function (e, t, n) { t == r.lastChild(e) && e.appendChild(n); var o = Array.prototype.indexOf.call(e.children, t); e.insertBefore(n, e.children[o + 1]) }, r.html = function (e, t) { (e = e.length ? e : [e]).forEach(function (e) { e.innerHTML = t }) }, r.attr = function (e, t, n) { if ("class" === t && (t = "className"), r.hasOwnOrPrototypeProperty(e, t)) try { e[t] = n } catch (r) { if (!i) throw r; i(e).attr(t, n) } else !1 === n ? e.removeAttribute(t) : e.setAttribute(t, n); return e }, r.prop = function (e, t, n) { if (void 0 === n) return e && e[t]; e[t] = n }, r.offset = function (e) { var t = e.getBoundingClientRect(); return e.offsetWidth / e.offsetHeight > e.clientWidth / e.clientHeight && (t = { left: 100 * t.left, right: 100 * t.right, top: 100 * t.top, bottom: 100 * t.bottom, width: 100 * t.width, height: 100 * t.height }), t }, r.width = function (e, t) { if (t) return e.style.width = ("" + t).replace(/px$/, "") + "px"; var n = r.offset(e).width; return void 0 === n ? e.offsetWidth : n }, r.height = function (e, t) { if (t) return e.style.height = ("" + t).replace(/px$/, "") + "px"; var n = r.offset(e).height; return void 0 === n ? e.offsetHeight : n }, r.lastChild = function (e) { return e.children[e.children.length - 1] }, r.hasParent = function (e, t) { for (var n = e.parentElement; n;) { if (r.matches(n, t)) return !0; n = n.parentElement } return !1 }, r.createAbsoluteUrl = function (e) { return r.createElement("a", { href: e }).href }, r.xhrGet = function (e, t, n) { var r = new XMLHttpRequest; r.onreadystatechange = function () { if (4 === this.readyState) return this.status >= 400 ? n() : void t(this.responseText) }, r.open("get", e, !0), r.send() }, r.pick = function (e, t) { var n = {}; return t.forEach(function (t) { e.hasOwnProperty(t) && (n[t] = e[t]) }), n }, r.hostname = function (e) { return a.toUnicode(e || window.location.hostname) }, r.browser = { webkit: "WebkitAppearance" in document.documentElement.style }, r.getPrototype = function (e) { return Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__ }, r.hasOwnOrPrototypeProperty = function (e, t) { for (var n = e; n;) { if (Object.prototype.hasOwnProperty.call(n, t)) return !0; n = r.getPrototype(n) } return !1 }, r.matches = function (e, t) { var n = Element.prototype; return (n.matches || n.matchesSelector || n.mozMatchesSelector || n.msMatchesSelector || n.oMatchesSelector || n.webkitMatchesSelector || function (e) { for (var t = (this.document || this.ownerDocument).querySelectorAll(e), n = 0; t[n] && t[n] !== this;)n++; return !!t[n] }).call(e, t) }, function (e) { function t(e) { return e.replace(/-[a-z]/g, function (e) { return e[1].toUpperCase() }) } void 0 !== e.setAttribute && (e.setProperty = function (e, n) { return this.setAttribute(t(e), String(n)) }, e.getPropertyValue = function (e) { return this.getAttribute(t(e)) || null }, e.removeProperty = function (e) { var n = this.getPropertyValue(e); return this.removeAttribute(t(e)), n }) }(window.CSSStyleDeclaration.prototype) }, { "class-list": 22, "computed-style": 24, punycode: 21 }], 2: [function (e, t, n) { "use strict"; var r = e("../common"); t.exports = function (e, t, n, o) { n = n || "opaque"; var i = "obj" + ("" + Math.random()).slice(2, 15), a = '<object class="fp-engine" id="' + i + '" name="' + i + '" ', l = navigator.userAgent.indexOf("MSIE") > -1; a += l ? 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">' : ' data="' + e + '" type="application/x-shockwave-flash">'; var s = { width: "100%", height: "100%", allowscriptaccess: "always", wmode: n, quality: "high", flashvars: "", movie: e + (l ? "?" + i : ""), name: i }; "transparent" !== n && (s.bgcolor = o || "#333333"), Object.keys(t).forEach(function (e) { s.flashvars += e + "=" + t[e] + "&" }), Object.keys(s).forEach(function (e) { a += '<param name="' + e + '" value="' + s[e] + '"/>' }), a += "</object>"; var u = r.createElement("div", {}, a); return r.find("object", u) }, window.attachEvent && window.attachEvent("onbeforeunload", function () { __flash_savedUnloadHandler = __flash_unloadHandler = function () { } }) }, { "../common": 1 }], 3: [function (e, t, n) { "use strict"; var r, o = e("../flowplayer"), i = e("../common"), a = e("./embed"), l = e("extend-object"), s = e("bean"); (r = function (e, t) { var n, u, c, f = e.conf, d = (e.video, window, { engineName: r.engineName, pick: function (t) { if (o.support.flashVideo) { for (var n, r, i = 0; i < t.length; i++)if (r = t[i], /mp4|flv|flash/i.test(r.type) && (n = r), e.conf.swfHls && /mpegurl/i.test(r.type) && (n = r), n && !/mp4/i.test(n.type)) return n; return n } }, load: function (r) { function v(e) { return e.replace(/&amp;/g, "%26").replace(/&/g, "%26").replace(/=/g, "%3D") } n = r; var h = i.findDirect("video", t)[0] || i.find(".fp-player > video", t)[0], m = v(r.src), g = /^https?:/.test(m), y = function () { i.removeNode(h) }; o.support.video && i.prop(h, "autoplay") && r.sources.some(function (e) { return !!h.canPlayType(e.type) }) ? s.one(h, "timeupdate", y) : y(); var b = r.rtmp || f.rtmp; if (g || b || (m = i.createAbsoluteUrl(m)), c && p(r) && c.data !== f.swfHls && d.unload(), c) { ["live", "preload", "loop"].forEach(function (e) { r.hasOwnProperty(e) && c.__set(e, r[e]) }), Object.keys(r.flashls || {}).forEach(function (e) { c.__set("hls_" + e, r.flashls[e]) }); var w = !1; if (!g && b) c.__set("rtmp", b.url || b); else w = !!c.__get("rtmp"), c.__set("rtmp", null); c.__play(m, w || r.rtmp && r.rtmp !== f.rtmp) } else { u = "fpCallback" + ("" + Math.random()).slice(3, 15); var x = { hostname: f.embedded ? i.hostname(f.hostname) : i.hostname(location.hostname), url: m, callback: u }; t.getAttribute("data-origin") && (x.origin = t.getAttribute("data-origin")), ["proxy", "key", "autoplay", "preload", "subscribe", "live", "loop", "debug", "splash", "poster", "rtmpt"].forEach(function (e) { f.hasOwnProperty(e) && (x[e] = f[e]), r.hasOwnProperty(e) && (x[e] = r[e]), (f.rtmp || {}).hasOwnProperty(e) && (x[e] = (f.rtmp || {})[e]), (r.rtmp || {}).hasOwnProperty(e) && (x[e] = (r.rtmp || {})[e]) }), f.rtmp && (x.rtmp = f.rtmp.url || f.rtmp), r.rtmp && (x.rtmp = r.rtmp.url || r.rtmp), Object.keys(r.flashls || {}).forEach(function (e) { var t = r.flashls[e]; x["hls_" + e] = t }), void 0 !== f.bufferTime && (x.bufferTime = f.bufferTime), g && delete x.rtmp, x.rtmp && (x.rtmp = v(x.rtmp)); var E, k = i.css(t, "background-color") || ""; 0 === k.indexOf("rgb") ? E = function (e) { function t(e) { return ("0" + parseInt(e).toString(16)).slice(-2) } if (!(e = e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))) return; return "#" + t(e[1]) + t(e[2]) + t(e[3]) }(k) : 0 === k.indexOf("#") && (E = function (e) { return 7 === e.length ? e : "#" + e.split("").slice(1).map(function (e) { return e + e }).join("") }(k)), x.initialVolume = e.volumeLevel; var S = p(r) ? f.swfHls : f.swf; c = a(S, x, f.wmode, E)[0]; var T = i.find(".fp-player", t)[0]; i.prepend(T, c), setTimeout(function () { try { if (!c.PercentLoaded()) return e.trigger("error", [e, { code: 7, url: f.swf }]) } catch (e) { } }, 5e3), setTimeout(function () { void 0 === c.PercentLoaded && e.trigger("flashdisabled", [e]) }, 1e3), c.pollInterval = setInterval(function () { if (c) { var t = c.__status ? c.__status() : null; t && (e.playing && t.time && t.time !== e.video.time && e.trigger("progress", [e, t.time]), r.buffer = t.buffer / r.bytes * r.duration, e.trigger("buffer", [e, r.buffer]), !r.buffered && t.time > 0 && (r.buffered = !0, e.trigger("buffered", [e]))) } }, 250), window[u] = function (r, o) { var i = n; f.debug && (0 === r.indexOf("debug") && o && o.length ? console.log.apply(console, ["-- " + r].concat(o)) : console.log("--", r, o)); var a = { type: r }; switch (r) { case "ready": o = l(i, o); break; case "click": a.flash = !0; break; case "keydown": a.which = o; break; case "seek": i.time = o; break; case "status": e.trigger("progress", [e, o.time]), o.buffer < i.bytes && !i.buffered ? (i.buffer = o.buffer / i.bytes * i.duration, e.trigger("buffer", i.buffer)) : i.buffered || (i.buffered = !0, e.trigger("buffered")) }"click" === r || "keydown" === r ? (a.target = t, s.fire(t, r, [a])) : "buffered" != r && "unload" !== r ? setTimeout(function () { e.trigger(a, [e, o]) }, 1) : "unload" === r && e.trigger(a, [e, o]) } } }, speed: i.noop, unload: function () { c && c.__unload && c.__unload(); try { u && window[u] && delete window[u] } catch (e) { } i.find("object", t).forEach(i.removeNode), c = 0, e.off(".flashengine"), clearInterval(c.pollInterval) } }); function p(e) { return /application\/x-mpegurl/i.test(e.type) } return ["pause", "resume", "seek", "volume"].forEach(function (t) { d[t] = function (n) { try { e.ready && ("seek" == t && e.video.time && !e.paused && e.trigger("beforeseek"), void 0 === n ? c["__" + t]() : c["__" + t](n)) } catch (n) { if (void 0 === c["__" + t]) return e.trigger("flashdisabled", [e]); throw n } } }), d }).engineName = "flash", r.canPlay = function (e, t) { return o.support.flashVideo && /video\/(mp4|flash|flv)/i.test(e) || o.support.flashVideo && t.swfHls && /mpegurl/i.test(e) }, o.engines.push(r) }, { "../common": 1, "../flowplayer": 18, "./embed": 2, bean: 20, "extend-object": 26 }], 4: [function (e, t, n) { "use strict"; var r, o = e("../flowplayer"), i = e("bean"), a = e("class-list"), l = e("extend-object"), s = e("../common"), u = document.createElement("video"), c = { ended: "finish", pause: "pause", play: "resume", progress: "buffer", timeupdate: "progress", volumechange: "volume", ratechange: "speed", seeked: "seek", loadeddata: "ready", error: "error", dataunavailable: "error", webkitendfullscreen: !o.support.inlineVideo && "unload" }; function f(e, t) { return t = t || 100, Math.round(e * t) / t } function d(e) { return /mpegurl/i.test(e) ? "application/x-mpegurl" : e } function p(e) { return /^(video|application)/i.test(e) || (e = d(e)), !!u.canPlayType(e).replace("no", "") } var v, h = function (e, t, n, o) { if (void 0 === t && (t = !0), void 0 === n && (n = "none"), void 0 === o && (o = !0), o && r) return r.type = d(e.type), r.src = e.src, r; var i = document.createElement("video"); return i.src = e.src, i.type = d(e.type), i.className = "fp-engine", i.autoplay = !!t && "autoplay", i.preload = n, i.setAttribute("x-webkit-airplay", "allow"), o && (r = i), i }; (v = function (e, t) { var n, u, d = s.findDirect("video", t)[0] || s.find(".fp-player > video", t)[0], m = o.support, g = (s.find("track", d)[0], e.conf); return { engineName: v.engineName, pick: function (e) { if (m.video) { if (g.videoTypePreference) { var t = function (e, t) { var n = e.filter(function (e) { return e.type === t }); return n.length ? n[0] : null }(e, g.videoTypePreference); if (t) return t } for (var n = 0; n < e.length; n++)if (p(e[n].type)) return e[n] } }, load: function (r) { var o = !1, v = s.find(".fp-player", t)[0], y = !1; g.splash && !d ? (d = h(r), s.prepend(v, d), o = !0) : d ? (a(d).add("fp-engine"), s.find("source,track", d).forEach(s.removeNode), e.conf.nativesubtitles || s.attr(d, "crossorigin", !1), y = d.src === r.src) : (d = h(r, !!r.autoplay || !!g.autoplay, g.clip.preload || "metadata", !1), s.prepend(v, d), o = !0), m.inlineVideo || s.css(d, { position: "absolute", top: "-9999em" }), i.off(d, "timeupdate", s.noop), i.on(d, "timeupdate", s.noop), s.prop(d, "loop", !(!r.loop && !g.loop)), void 0 !== u && (d.volume = u), (e.video.src && r.src != e.video.src || r.index) && s.attr(d, "autoplay", "autoplay"), d.src = r.src, d.type = r.type, function (r, o, u) { var d = t.getAttribute("data-flowplayer-instance-id"); if (r.listeners && r.listeners.hasOwnProperty(d)) return void (r.listeners[d] = u); (r.listeners || (r.listeners = {}))[d] = u, i.on(o, "error", function (t) { try { p(t.target.getAttribute("type")) && e.trigger("error", [e, { code: 4, video: l(u, { src: r.src, url: r.src }) }]) } catch (e) { } }), e.on("shutdown", function () { i.off(o) }), Object.keys(c).forEach(function (o) { var i = c[o]; i && t.addEventListener(o, function (c) { var p; if ((u = r.listeners[d], c.target && a(c.target).contains("fp-engine")) && (g.debug && !/progress/.test(i) && console.log(o, "->", i, c), (e.ready || /ready|error/.test(i)) && i && s.find("video", t).length)) if ("unload" !== i) { var v = function () { e.trigger(i, [e, p]) }; switch (i) { case "ready": p = l(u, { duration: r.duration, width: r.videoWidth, height: r.videoHeight, url: r.currentSrc, src: r.currentSrc }); try { p.seekable = !g.live && /mpegurl/i.test(u && u.type || "") && r.duration || r.seekable && r.seekable.end(null) } catch (e) { } if (n = n || setInterval(function () { try { p.buffer = r.buffered.end(null) } catch (e) { } p.buffer && (f(p.buffer, 1e3) < f(p.duration, 1e3) && !p.buffered ? e.trigger("buffer", c) : p.buffered || (p.buffered = !0, e.trigger("buffer", c).trigger("buffered", c), clearInterval(n), n = 0)) }, 250), !g.live && !p.duration && !m.hlsDuration && "loadeddata" === o) { var h = function () { p.duration = r.duration; try { p.seekable = r.seekable && r.seekable.end(null) } catch (e) { } v(), r.removeEventListener("durationchange", h), a(t).remove("is-live") }; r.addEventListener("durationchange", h); var y = function () { e.ready || r.duration || (p.duration = 0, a(t).add("is-live"), v()), r.removeEventListener("timeupdate", y) }; return void r.addEventListener("timeupdate", y) } break; case "progress": case "seek": e.video.duration; if (r.currentTime > 0 || e.live) p = Math.max(r.currentTime, 0); else if ("progress" == i) return; break; case "speed": p = f(r.playbackRate); break; case "volume": p = f(r.volume); break; case "error": try { (p = (c.srcElement || c.originalTarget).error).video = l(u, { src: r.src, url: r.src }) } catch (e) { return } }v() } else e.unload() }, !0) }) }(d, s.find("source", d).concat(d), r), ("none" == g.clip.preload || "mpegurl" == r.type) && m.zeropreload && m.dataload || d.load(), (o || y) && d.load(), d.paused && (r.autoplay || g.autoplay) && d.play() }, pause: function () { d.pause() }, resume: function () { d.play() }, speed: function (e) { d.playbackRate = e }, seek: function (t) { try { var n = e.paused; d.currentTime = t, n && d.pause() } catch (e) { } }, volume: function (e) { u = e, d && (d.volume = e) }, unload: function () { s.find("video.fp-engine", t).forEach(s.removeNode), m.cachedVideoTag || (r = null), n = clearInterval(n), d = 0 } } }).canPlay = function (e) { return o.support.video && p(e) }, v.engineName = "html5", o.engines.push(v) }, { "../common": 1, "../flowplayer": 18, bean: 20, "class-list": 22, "extend-object": 26 }], 5: [function (e, t, n) { "use strict"; var r = e("../flowplayer"), o = e("./resolve").TYPE_RE, i = e("scriptjs"), a = e("bean"); r(function (e, t) { var n, r = e.conf.analytics, l = 0, s = 0; if (r) { "undefined" == typeof _gat && i("//google-analytics.com/ga.js"); var u = function () { var e = _gat._getTracker(r); return e._setAllowLinker(!0), e }, c = function (r, i, a) { (a = a || e.video, l && "undefined" != typeof _gat) && (u()._trackEvent("Video / Seconds played", e.engine.engineName + "/" + a.type, a.title || t.getAttribute("title") || a.src.split("/").slice(-1)[0].replace(o, ""), Math.round(l / 1e3)), l = 0, n && (clearTimeout(n), n = null)) }; e.bind("load unload", c).bind("progress", function () { e.seeking || (l += s ? +new Date - s : 0, s = +new Date), n || (n = setTimeout(function () { n = null, u()._trackEvent("Flowplayer heartbeat", "Heartbeat", "", 0, !0) }, 6e5)) }).bind("pause", function () { s = 0 }), e.bind("shutdown", function () { a.off(window, "unload", c) }), a.on(window, "unload", c) } }) }, { "../flowplayer": 18, "./resolve": 13, bean: 20, scriptjs: 29 }], 6: [function (e, t, n) { "use strict"; var r = e("../flowplayer"), o = e("class-list"), i = e("../common"), a = e("bean"); r(function (e, t) { var n = / ?cue\d+ ?/, r = !1; function l(e) { t.className = t.className.replace(n, " "), e >= 0 && o(t).add("cue" + e) } var s = {}, u = -.125, c = function (t) { var n = e.cuepoints.indexOf(t); isNaN(t) || (t = { time: t }), t.index = n, l(n), e.trigger("cuepoint", [e, t]) }; function f(t) { var n = t && !isNaN(t.time) ? t.time : t; return n < 0 && (n = e.video.duration + n), .125 * Math.round(n / .125) } e.on("progress", function (e, t, n) { if (!r) for (var o = f(n); u < o;)s[u += .125] && s[u].forEach(c) }).on("unload", l).on("beforeseek", function () { r = !0 }).on("seek", function (e, t, n) { l(), u = f(n || 0) - .125, r = !1, !n && s[0] && s[0].forEach(c) }).on("ready", function (t, n, r) { u = -.125; var o = r.cuepoints || e.conf.cuepoints || []; e.setCuepoints(o) }).on("finish", function () { u = -.125 }), e.conf.generate_cuepoints && e.bind("load", function () { i.find(".fp-cuepoint", t).forEach(i.removeNode) }), e.setCuepoints = function (t) { return e.cuepoints = [], s = {}, t.forEach(e.addCuepoint), e }, e.addCuepoint = function (n) { e.cuepoints || (e.cuepoints = []); var r = f(n); if (s[r] || (s[r] = []), s[r].push(n), e.cuepoints.push(n), e.conf.generate_cuepoints && !1 !== n.visible) { var o = e.video.duration, l = i.find(".fp-timeline", t)[0]; i.css(l, "overflow", "visible"); var u = n.time || n; u < 0 && (u = o + n); var c = i.createElement("a", { className: "fp-cuepoint fp-cuepoint" + (e.cuepoints.length - 1) }); i.css(c, "left", u / o * 100 + "%"), l.appendChild(c), a.on(c, "mousedown", function (t) { return t.preventDefault(), e.seek(u), !1 }) } return e }, e.removeCuepoint = function (t) { var n = e.cuepoints.indexOf(t), r = f(t); if (-1 !== n) { e.cuepoints = e.cuepoints.slice(0, n).concat(e.cuepoints.slice(n + 1)); var o = s[r].indexOf(t); if (-1 !== o) return s[r] = s[r].slice(0, o).concat(s[r].slice(o + 1)), e } } }) }, { "../common": 1, "../flowplayer": 18, bean: 20, "class-list": 22 }], 7: [function (e, t, n) { "use strict"; var r = e("../flowplayer"), o = e("bean"), i = e("../common"), a = (e("is-object"), e("extend-object")), l = e("class-list"); r(function (e, t) { if (!1 !== e.conf.embed) { e.conf; var n = i.find(".fp-ui", t)[0], r = i.createElement("a", { class: "fp-embed", title: "Copy to your site" }), l = i.createElement("div", { class: "fp-embed-code" }, "<label>Paste this HTML code on your site to embed.</label><textarea></textarea>"), u = i.find("textarea", l)[0]; n.appendChild(r), n.appendChild(l), e.embedCode = function () { var n = e.conf.embed || {}, r = e.video; if (n.iframe) { e.conf.embed.iframe; var o = n.width || r.width || i.width(t), l = n.height || r.height || i.height(t); return '<iframe src="' + e.conf.embed.iframe + '" frameBorder="0" allowfullscreen width="' + o + '" height="' + l + '"></iframe>' } var s = ["ratio", "rtmp", "live", "bufferTime", "origin", "analytics", "key", "subscribe", "swf", "swfHls", "embed", "adaptiveRatio", "logo"]; n.playlist && s.push("playlist"); var u = i.pick(e.conf, s); u.logo && (u.logo = i.createElement("img", { src: u.logo }).src), n.playlist && e.conf.playlist.length || (u.clip = a({}, e.conf.clip, i.pick(e.video, ["sources"]))); var c = 'var w=window,d=document,e;w._fpes||(w._fpes=[],w.addEventListener("load",function(){var s=d.createElement("script");s.src="//embed.flowplayer.org/6.0.3/embed.min.js",d.body.appendChild(s)})),e=[].slice.call(d.getElementsByTagName("script"),-1)[0].parentNode,w._fpes.push({e:e,l:"$library",c:$conf});\n'.replace("$conf", JSON.stringify(u)).replace("$library", n.library || ""); return '<a href="$href">Watch video!\n<script>$script<\/script></a>'.replace("$href", e.conf.origin || window.location.href).replace("$script", c) }, s(t, ".fp-embed", "is-embedding"), o.on(t, "click", ".fp-embed-code textarea", function () { u.select() }), o.on(t, "click", ".fp-embed", function () { u.textContent = e.embedCode().replace(/(\r\n|\n|\r)/gm, ""), u.focus(), u.select() }) } }); var s = function (e, t, n) { function r() { a.remove(n), o.off(document, ".st") } var a = l(e); o.on(e, "click", t || "a", function (e) { e.preventDefault(), a.toggle(n), a.contains(n) && (o.on(document, "keydown.st", function (e) { 27 == e.which && r() }), o.on(document, "click.st", function (e) { i.hasParent(e.target, "." + n) || r() })) }) } }, { "../common": 1, "../flowplayer": 18, bean: 20, "class-list": 22, "extend-object": 26, "is-object": 28 }], 8: [function (e, t, n) { "use strict"; t.exports = function (e, t) { t || (t = document.createElement("div")); var n = {}, r = {}, o = function (e, o, i) { var a = e.split(".")[0], l = function (s) { i && (t.removeEventListener(a, l), n[e].splice(n[e].indexOf(l), 1)); var u = [s].concat(r[s.timeStamp + s.type] || []); o && o.apply(void 0, u) }; t.addEventListener(a, l), n[e] || (n[e] = []), n[e].push(l) }; e.on = e.bind = function (t, n) { return t.split(" ").forEach(function (e) { o(e, n) }), e }, e.one = function (t, n) { return t.split(" ").forEach(function (e) { o(e, n, !0) }), e }; e.off = e.unbind = function (r) { return r.split(" ").forEach(function (e) { var r = e.split(".").slice(1), o = e.split(".")[0]; Object.keys(n).filter(function (e) { var t, n = e.split(".").slice(1); return (!o || 0 === e.indexOf(o)) && (t = n, 0 === r.filter(function (e) { return -1 === t.indexOf(e) }).length) }).forEach(function (e) { var r = n[e], o = e.split(".")[0]; r.forEach(function (e) { t.removeEventListener(o, e), r.splice(r.indexOf(e), 1) }) }) }), e }, e.trigger = function (n, o, i) { if (n) { o = (o || []).length ? o || [] : [o]; var a, l = document.createEvent("Event"); return a = n.type || n, l.initEvent(a, !1, !0), r[l.timeStamp + l.type] = o, t.dispatchEvent(l), i ? l : e } } }, t.exports.EVENTS = ["beforeseek", "disable", "error", "finish", "fullscreen", "fullscreen-exit", "load", "mute", "pause", "progress", "ready", "resume", "seek", "speed", "stop", "unload", "volume", "boot", "shutdown"] }, {}], 9: [function (e, t, n) { "use strict"; var r, o = e("../flowplayer"), i = e("bean"), a = e("class-list"), l = (e("extend-object"), e("../common")), s = (o.support.browser.mozilla, "fullscreen-exit"), u = o.support.fullscreen, c = (document.exitFullscreen, navigator.userAgent.toLowerCase()), f = /(safari)[ \/]([\w.]+)/.exec(c) && !/(chrome)[ \/]([\w.]+)/.exec(c); i.on(document, "fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr", function (e) { var t = document.webkitCurrentFullScreenElement || document.mozFullScreenElement || document.fullscreenElement || document.msFullscreenElement || e.target; if (r || t.parentNode && t.parentNode.getAttribute("data-flowplayer-instance-id")) { var n = r || o(t.parentNode); t && !r ? r = n.trigger("fullscreen", [t]) : (r.trigger(s, [r]), r = null) } }), o(function (e, t) { var n = l.createElement("div", { className: "fp-player" }); if (Array.prototype.map.call(t.children, l.identity).forEach(function (e) { l.matches(e, ".fp-ratio,script") || n.appendChild(e) }), t.appendChild(n), e.conf.fullscreen) { var o, c, d, p = window, v = a(t); e.isFullscreen = !1, e.fullscreen = function (t) { if (!e.disabled) return void 0 === t && (t = !e.isFullscreen), t && (o = p.scrollY, c = p.scrollX), u ? t ? ["requestFullScreen", "webkitRequestFullScreen", "mozRequestFullScreen", "msRequestFullscreen"].forEach(function (e) { if ("function" == typeof n[e]) return n[e](Element.ALLOW_KEYBOARD_INPUT), !f || document.webkitCurrentFullScreenElement || document.mozFullScreenElement || n[e](), !1 }) : ["exitFullscreen", "webkitCancelFullScreen", "mozCancelFullScreen", "msExitFullscreen"].forEach(function (e) { if ("function" == typeof document[e]) return document[e](), !1 }) : e.trigger(t ? "fullscreen" : s, [e]), e }, e.on("mousedown.fs", function () { +new Date - d < 150 && e.ready && e.fullscreen(), d = +new Date }), e.on("fullscreen", function (n) { v.add("is-fullscreen"), u || l.css(t, "position", "fixed"), e.isFullscreen = !0 }).on(s, function (n) { var r; u || "html5" !== e.engine || (r = t.css("opacity") || "", l.css(t, "opacity", 0)), u || l.css(t, "position", ""), v.remove("is-fullscreen"), u || "html5" !== e.engine || setTimeout(function () { t.css("opacity", r) }), e.isFullscreen = !1, p.scrollTo(c, o) }).on("unload", function () { e.isFullscreen && e.fullscreen() }), e.on("shutdown", function () { i.off(document, ".ffscr"), r = null }) } }) }, { "../common": 1, "../flowplayer": 18, bean: 20, "class-list": 22, "extend-object": 26 }], 10: [function (e, t, n) { "use strict"; var r, o, i = e("../flowplayer"), a = e("bean"), l = e("../common"), s = e("class-list"); a.on(document, "keydown.fp", function (e) { var t = r, n = e.ctrlKey || e.metaKey || e.altKey, i = e.which, a = t && t.conf, l = o && s(o); if (t && a.keyboard && !t.disabled) { if (-1 != [63, 187, 191].indexOf(i)) return l.toggle("is-help"), !1; if (27 == i && l.contains("is-help")) return l.toggle("is-help"), !1; if (!n && t.ready) { if (e.preventDefault(), e.shiftKey) return void (39 == i ? t.speed(!0) : 37 == i && t.speed(!1)); if (i < 58 && i > 47) return t.seekTo(i - 48); switch (i) { case 38: case 75: t.volume(t.volumeLevel + .15); break; case 40: case 74: t.volume(t.volumeLevel - .15); break; case 39: case 76: t.seeking = !0, t.seek(!0); break; case 37: case 72: t.seeking = !0, t.seek(!1); break; case 190: t.seekTo(); break; case 32: t.toggle(); break; case 70: a.fullscreen && t.fullscreen(); break; case 77: t.mute(); break; case 81: t.unload() } } } }), i(function (e, t) { if (e.conf.keyboard) { a.on(t, "mouseenter mouseleave", function (n) { (r = e.disabled || "mouseover" != n.type ? 0 : e) && (o = t) }); var n = i.support.video && "flash" !== e.conf.engine && document.createElement("video").playbackRate ? "<p><em>shift</em> + <em>&#8592;</em><em>&#8594;</em>slower / faster</p>" : ""; if (t.appendChild(l.createElement("div", { className: "fp-help" }, '         <a class="fp-close"></a>         <div class="fp-help-section fp-help-basics">            <p><em>space</em>play / pause</p>            <p><em>q</em>unload | stop</p>            <p><em>f</em>fullscreen</p>' + n + '         </div>         <div class="fp-help-section">            <p><em>&#8593;</em><em>&#8595;</em>volume</p>            <p><em>m</em>mute</p>         </div>         <div class="fp-help-section">            <p><em>&#8592;</em><em>&#8594;</em>seek</p>            <p><em>&nbsp;. </em>seek to previous            </p><p><em>1</em><em>2</em>&hellip; <em>6</em> seek to 10%, 20% &hellip; 60% </p>         </div>   ')), e.conf.tooltip) { var u = l.find(".fp-ui", t)[0]; u.setAttribute("title", "Hit ? for help"), a.one(t, "mouseout.tip", ".fp-ui", function () { u.removeAttribute("title") }) } a.on(t, "click", ".fp-close", function () { s(t).toggle("is-help") }), e.bind("shutdown", function () { o == t && (o = null) }) } }) }, { "../common": 1, "../flowplayer": 18, bean: 20, "class-list": 22 }], 11: [function (e, t, n) { "use strict"; var r = e("../flowplayer"), o = /IEMobile/.test(window.navigator.userAgent), i = e("class-list"), a = e("../common"), l = e("bean"), s = e("./ui").format, u = window.navigator.userAgent; (r.support.touch || o) && r(function (e, t) { var n = /Android/.test(u) && !/Firefox/.test(u) && !/Opera/.test(u), c = /Silk/.test(u), f = n ? parseFloat(/Android\ ((\d+\.\d+)|\d+)/.exec(u)[1], 10) : 0, d = i(t); if (n && !o) { if (!/Chrome/.test(u) && f < 4) { var p = e.load; e.load = function (t, n) { var r = p.apply(e, arguments); return e.trigger("ready", [e, e.video]), r } } var v, h = 0, m = function (e) { v = setInterval(function () { e.video.time = ++h, e.trigger("progress", [e, h]) }, 1e3) }; e.bind("ready pause unload", function () { v && (clearInterval(v), v = null) }), e.bind("ready", function () { h = 0 }), e.bind("resume", function (t, n) { if (n.live) return h ? m(n) : void e.one("progress", function (e, t, n) { 0 === n && m(t) }) }) } r.support.volume || (d.add("no-volume"), d.add("no-mute")), d.add("is-touch"), e.sliders && e.sliders.timeline && e.sliders.timeline.disableAnimation(), r.support.inlineVideo && !e.conf.native_fullscreen || (e.conf.nativesubtitles = !0); var g = !1; l.on(t, "touchmove", function () { g = !0 }), l.on(t, "touchend click", function (t) { if (!g) return e.playing && !d.contains("is-mouseover") ? (d.add("is-mouseover"), d.remove("is-mouseout"), t.preventDefault(), void t.stopPropagation()) : void (e.playing || e.splash || !d.contains("is-mouseout") || d.contains("is-mouseover") || setTimeout(function () { e.playing || e.splash || e.resume() }, 400)); g = !1 }), e.conf.native_fullscreen && "function" == typeof document.createElement("video").webkitEnterFullScreen && (e.fullscreen = function () { var e = a.find("video.fp-engine", t)[0]; e.webkitEnterFullScreen(), l.one(e, "webkitendfullscreen", function () { a.prop(e, "controls", !0), a.prop(e, "controls", !1) }) }), (n || c) && e.bind("ready", function () { var n = a.find("video.fp-engine", t)[0]; l.one(n, "canplay", function () { n.play() }), n.play(), e.bind("progress.dur", function () { var r = n.duration; 1 !== r && (e.video.duration = r, a.find(".fp-duration", t)[0].innerHTML = s(r), e.unbind("progress.dur")) }) }) }) }, { "../common": 1, "../flowplayer": 18, "./ui": 17, bean: 20, "class-list": 22 }], 12: [function (e, t, n) { "use strict"; var r = e("../flowplayer"), o = e("extend-object"), i = e("bean"), a = e("class-list"), l = e("../common"), s = e("./resolve"), u = new s, c = window.eds1_10, f = /^#/; r(function (e, t) { var n = o({ active: "is-active", advance: !0, query: ".fp-playlist a" }, e.conf), r = n.active, d = a(t); function p() { return l.find(n.query, v()) } function v() { if (!f.test(n.query)) return t } function h() { return l.find(n.query + "." + r, v()) } function m() { var n = l.find(".fp-playlist", t)[0]; if (!n) { n = l.createElement("div", { className: "fp-playlist" }); var r = l.find(".fp-next,.fp-prev", t); r.length ? r[0].parentElement.insertBefore(n, r[0]) : l.insertAfter(t, l.find("video", t)[0], n) } n.innerHTML = "", e.conf.playlist[0].length && (e.conf.playlist = e.conf.playlist.map(function (e) { if ("string" == typeof e) { var t = e.split(s.TYPE_RE)[1]; return { sources: [{ type: "m3u8" === t.toLowerCase() ? "application/x-mpegurl" : "video/" + t, src: e }] } } return { sources: e.map(function (e) { var t = {}; return Object.keys(e).forEach(function (n) { t.type = /mpegurl/i.test(n) ? "application/x-mpegurl" : "video/" + n, t.src = e[n] }), t }) } })), e.conf.playlist.forEach(function (e, t) { var r = e.sources[0].src; n.appendChild(l.createElement("a", { href: r, "data-index": t })) }) } e.play = function (t) { if (void 0 === t) return e.resume(); if ("number" == typeof t && !e.conf.playlist[t]) return e; if ("number" != typeof t) return e.load.apply(null, arguments); var n = o({ index: t }, e.conf.playlist[t]); return t === e.video.index ? e.load(n, function () { e.resume() }) : (e.off("resume.fromfirst"), e.load(n, function () { e.video.index = t }), e) }, e.next = function (t) { t && t.preventDefault(); var n = e.video.index; return -1 != n && (n = n === e.conf.playlist.length - 1 ? 0 : n + 1, e.play(n)), e }, e.prev = function (t) { t && t.preventDefault(); var n = e.video.index; return -1 != n && (n = 0 === n ? e.conf.playlist.length - 1 : n - 1, e.play(n)), e }, e.setPlaylist = function (t) { return e.conf.playlist = t, delete e.video.index, m(), e }, e.addPlaylistItem = function (t) { return e.setPlaylist(e.conf.playlist.concat([t])) }, e.removePlaylistItem = function (t) { var n = e.conf.playlist; return e.setPlaylist(n.slice(0, t).concat(n.slice(t + 1))) }, i.on(t, "click", ".fp-next", e.next), i.on(t, "click", ".fp-prev", e.prev), n.advance && e.off("finish.pl").on("finish.pl", function (e, t) { if (t.video.loop) return t.seek(0, function () { t.resume() }); var r = t.video.index >= 0 ? t.video.index + 1 : void 0; r < t.conf.playlist.length || n.loop ? (r = r === t.conf.playlist.length ? 0 : r, d.remove("is-finished"), setTimeout(function () { t.play(r) })) : t.conf.playlist.length > 1 && t.one("resume.fromfirst", function () { return t.play(0), !1 }) }); var g = !1; e.conf.playlist.length && (g = !0, m(), e.conf.clip && e.conf.clip.sources.length || (e.conf.clip = e.conf.playlist[0])), p().length && !g && (e.conf.playlist = [], p().forEach(function (t) { var n = t.href; t.setAttribute("data-index", e.conf.playlist.length); var r = u.resolve(n, e.conf.clip.sources); c && o(r, c(t).data()), e.conf.playlist.push(r) })), i.on(f.test(n.query) ? document : t, "click", n.query, function (t) { t.preventDefault(); var n = t.currentTarget, r = Number(n.getAttribute("data-index")); -1 != r && e.play(r) }), e.on("load", function (o, i, s) { if (e.conf.playlist.length) { var u = h()[0], c = u && u.getAttribute("data-index"), f = s.index = s.index || e.video.index || 0, p = l.find(n.query + '[data-index="' + f + '"]', v())[0], m = f == e.conf.playlist.length - 1; u && a(u).remove(r), p && a(p).add(r), d.remove("video" + c), d.add("video" + f), l.toggleClass(t, "last-video", m), s.index = i.video.index = f, s.is_last = i.video.is_last = m } }).on("unload.pl", function () { e.conf.playlist.length && (h().forEach(function (e) { a(e).toggle(r) }), e.conf.playlist.forEach(function (e, t) { d.remove("video" + t) })) }), e.conf.playlist.length && (e.conf.loop = !1) }) }, { "../common": 1, "../flowplayer": 18, "./resolve": 13, bean: 20, "class-list": 22, "extend-object": 26 }], 13: [function (e, t, n) { "use strict"; var r = /\.(\w{3,4})(\?.*)?$/i, o = e("extend-object"); function i(e) { var t = e.attr("src"), n = e.attr("type") || "", i = t.split(r)[1]; return n = n.toLowerCase(), o(e.data(), { src: t, suffix: i || n, type: n || i }) } function a(e) { return /mpegurl/i.test(e) ? "application/x-mpegurl" : "video/" + e } t.exports = function () { this.sourcesFromVideoTag = function (e, t) { var n = []; return t("source", e).each(function () { n.push(i(t(this))) }), !n.length && e.length && n.push(i(e)), n }, this.resolve = function (e, t) { return e ? ("string" == typeof e && ((e = { src: e, sources: [] }).sources = (t || []).map(function (t) { var n = t.src.split(r)[1]; return { type: t.type, src: e.src.replace(r, "." + n + "$2") } })), e instanceof Array && (e = { sources: e.map(function (e) { return e.type && e.src ? e : Object.keys(e).reduce(function (t, n) { return o(t, { type: a(n), src: e[n] }) }, {}) }) }), e) : { sources: t } } }, t.exports.TYPE_RE = r }, { "extend-object": 26 }], 14: [function (e, t, n) { "use strict"; var r = e("class-list"), o = e("bean"), i = e("../common"); t.exports = function (e, t) { /iPad/.test(navigator.userAgent) && /CriOS/.test(navigator.userAgent); var n, a, l, s, u, c, f = i.lastChild(e), d = r(e), p = r(f), v = !1, h = function () { a = i.offset(e), l = i.width(e), i.height(e), s = l, c = b(u) }, m = function (t) { n || t == w.value || u && !(t < u) || (o.fire(e, "slide", [t]), w.value = t) }, g = function (e) { var n = e.pageX || e.clientX; !n && e.originalEvent && e.originalEvent.touches && e.originalEvent.touches.length && (n = e.originalEvent.touches[0].pageX); var r = n - a.left, o = (r = Math.max(0, Math.min(c || s, r))) / s; return t && (o = 1 - o), y(o, 0, !0) }, y = function (e, t) { void 0 === t && (t = 0), e > 1 && (e = 1); var n = Math.round(1e3 * e) / 10 + "%"; return (!u || e <= u) && (p.remove("animated"), v ? p.remove("animated") : (p.add("animated"), i.css(f, "transition-duration", (t || 0) + "ms")), i.css(f, "width", n)), e }, b = function (e) { return Math.max(0, Math.min(s, e * l)) }, w = { max: function (e) { u = e }, disable: function (e) { n = e }, slide: function (e, t, n) { h(), n && m(e), y(e, t) }, disableAnimation: function (t, n) { v = !1 !== t, i.toggleClass(e, "no-animation", !!n) } }; return h(), o.on(e, "mousedown.sld touchstart", function (e) { if (e.preventDefault(), !n) { var t = (r = m, i = 100, function () { a || (r.apply(this, arguments), a = 1, setTimeout(function () { a = 0 }, i)) }); h(), w.dragging = !0, d.add("is-dragging"), m(g(e)), o.on(document, "mousemove.sld touchmove.sld", function (e) { e.preventDefault(), t(g(e)) }), o.one(document, "mouseup touchend", function () { w.dragging = !1, d.remove("is-dragging"), o.off(document, "mousemove.sld touchmove.sld") }) } var r, i, a }), w } }, { "../common": 1, bean: 20, "class-list": 22 }], 15: [function (e, t, n) { "use strict"; var r = e("../flowplayer"), o = e("../common"), i = e("bean"), a = e("class-list"); r.defaults.subtitleParser = function (e) { var t = /^(([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/; function n(e) { var t = e.split(":"); return 2 == t.length && t.unshift(0), 60 * t[0] * 60 + 60 * t[1] + parseFloat(t[2].replace(",", ".")) } for (var r, o, i, a = [], l = 0, s = e.split("\n"), u = s.length, c = {}; l < u; l++)if (o = t.exec(s[l])) { for (r = s[l - 1], i = "<p>" + s[++l] + "</p><br/>"; "string" == typeof s[++l] && s[l].trim() && l < s.length;)i += "<p>" + s[l] + "</p><br/>"; c = { title: r, startTime: n(o[1]), endTime: n(o[3]), text: i }, a.push(c) } return a }, r(function (e, t) { var n, l, s, u, c = a(t); i.on(t, "click", ".fp-menu", function (e) { a(u).toggle("dropdown-open") }), i.on(t, "click", ".fp-menu li[data-subtitle-index]", function (t) { var n = t.target.getAttribute("data-subtitle-index"); if ("-1" === n) return e.disableSubtitles(); e.loadSubtitles(n) }); var f = function () { var r = o.find(".fp-player", t)[0]; s = (s = o.find(".fp-subtitle", t)[0]) || o.appendTo(o.createElement("div", { class: "fp-subtitle" }), r), Array.prototype.forEach.call(s.children, o.removeNode), n = a(s), o.find(".fp-menu", t).forEach(o.removeNode), function () { u = o.createElement("a", { className: "fp-menu" }); var n = o.createElement("ul", { className: "fp-dropdown fp-dropup" }); n.appendChild(o.createElement("li", { "data-subtitle-index": -1 }, "No subtitles")), (e.video.subtitles || []).forEach(function (e, t) { var r = e.srclang || "en", i = e.label || "Default (" + r + ")", a = o.createElement("li", { "data-subtitle-index": t }, i); n.appendChild(a) }), u.appendChild(n), o.find(".fp-controls", t)[0].appendChild(u) }() }; e.on("ready", function (n, i, a) { var l = i.conf; if (r.support.subtitles && l.nativesubtitles && "html5" == i.engine.engineName) { var s = function (e) { var n = o.find("video", t)[0].textTracks; n.length && (n[0].mode = e) }; if (!a.subtitles || !a.subtitles.length) return; var u = o.find("video.fp-engine", t)[0]; return a.subtitles.forEach(function (e) { u.appendChild(o.createElement("track", { kind: "subtitles", srclang: e.srclang || "en", label: e.label || "en", src: e.src, default: e.default })) }), s("disabled"), void s("showing") } if (i.subtitles = [], f(), c.remove("has-menu"), e.disableSubtitles(), a.subtitles && a.subtitles.length) { c.add("has-menu"); var d = a.subtitles.filter(function (e) { return e.default })[0]; d && i.loadSubtitles(a.subtitles.indexOf(d)) } }), e.bind("cuepoint", function (e, t, r) { r.subtitle ? (l = r.index, o.html(s, r.subtitle.text), n.add("fp-active")) : r.subtitleEnd && (n.remove("fp-active"), l = r.index) }), e.bind("seek", function (t, r, o) { l && e.cuepoints[l] && e.cuepoints[l].time > o && (n.remove("fp-active"), l = null), (e.cuepoints || []).forEach(function (t) { var n = t.subtitle; n && l != t.index ? o >= t.time && (!n.endTime || o <= n.endTime) && e.trigger("cuepoint", [e, t]) : t.subtitleEnd && o >= t.time && t.index == l + 1 && e.trigger("cuepoint", [e, t]) }) }); var d = function (e) { o.toggleClass(o.find("li.active", t)[0], "active"), o.toggleClass(o.find('li[data-subtitle-index="' + e + '"]', t)[0], "active") }; e.disableSubtitles = function () { return e.subtitles = [], (e.cuepoints || []).forEach(function (t) { (t.subtitle || t.subtitleEnd) && e.removeCuepoint(t) }), s && Array.prototype.forEach.call(s.children, o.removeNode), d(-1), e }, e.loadSubtitles = function (t) { e.disableSubtitles(); var n = e.video.subtitles[t].src; if (n) return d(t), o.xhrGet(n, function (t) { e.conf.subtitleParser(t).forEach(function (t) { var n = { time: t.startTime, subtitle: t, visible: !1 }; e.subtitles.push(t), e.addCuepoint(n), e.addCuepoint({ time: t.endTime, subtitleEnd: t.title, visible: !1 }), 0 !== t.startTime || e.video.time || e.trigger("cuepoint", [e, n]) }) }, function () { return e.trigger("error", { code: 8, url: n }), !1 }), e } }) }, { "../common": 1, "../flowplayer": 18, bean: 20, "class-list": 22 }], 16: [function (e, t, n) { "use strict"; var r = e("../flowplayer"), o = e("extend-object"); !function () { var e = {}, t = navigator.userAgent.toLowerCase(), n = /(chrome)[ \/]([\w.]+)/.exec(t) || /(safari)[ \/]([\w.]+)/.exec(t) || /(webkit)[ \/]([\w.]+)/.exec(t) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t) || /(msie) ([\w.]+)/.exec(t) || t.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t) || []; n[1] && (e[n[1]] = !0, e.version = n[2] || "0"); var i, a = ((i = document.createElement("video")).loop = !0, i.autoplay = !0, i.preload = !0, i), l = navigator.userAgent, s = e.msie || /Trident\/7/.test(l), u = /iPad|MeeGo/.test(l) && !/CriOS/.test(l), c = /iPad/.test(l) && /CriOS/.test(l), f = /iP(hone|od)/i.test(l) && !/iPad/.test(l) && !/IEMobile/i.test(l), d = /Android/.test(l) && !/Firefox/.test(l), p = /Android/.test(l) && /Firefox/.test(l), v = /Silk/.test(l), h = /IEMobile/.test(l), m = h ? parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(l)[1], 10) : 0, g = h ? parseFloat(/IEMobile\/(\d+\.\d+)/.exec(l)[1], 10) : 0, y = (u && function (e) { var t = /Version\/(\d\.\d)/.exec(e); t && t.length > 1 && parseFloat(t[1], 10) }(l), d ? parseFloat(/Android\ ((\d+\.\d+)|\d+)/.exec(l)[1], 10) : 0), b = o(r.support, { browser: e, subtitles: !!a.addTextTrack, fullscreen: "function" == typeof document.webkitCancelFullScreen && !/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(l) || document.mozFullScreenEnabled || "function" == typeof document.exitFullscreen || "function" == typeof document.msExitFullscreen, inlineBlock: !(s && e.version < 8), touch: "ontouchstart" in window, dataload: !u && !f && !h, zeropreload: !s && !d, volume: !(u || d || f || v || c), cachedVideoTag: !(u || f || c || h), firstframe: !(f || u || d || v || c || h || p), inlineVideo: !f && (!h || m >= 8.1 && g >= 11) && (!d || y >= 3), hlsDuration: !d && (!e.safari || u || f || c), seekable: !u && !c }); try { var w = navigator.plugins["Shockwave Flash"], x = s ? new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version") : w.description; s || w[0].enabledPlugin ? ((x = x.split(/\D+/)).length && !x[0] && (x = x.slice(1)), b.flashVideo = x[0] > 9 || 9 == x[0] && x[3] >= 115) : b.flashVideo = !1 } catch (e) { } try { b.video = !!a.canPlayType, b.video && a.canPlayType("video/mp4") } catch (e) { b.video = !1 } b.animation = function () { for (var e = ["", "Webkit", "Moz", "O", "ms", "Khtml"], t = document.createElement("p"), n = 0; n < e.length; n++)if (void 0 !== t.style[e[n] + "AnimationName"]) return !0 }() }() }, { "../flowplayer": 18, "extend-object": 26 }], 17: [function (e, t, n) { "use strict"; var r = e("../flowplayer"), o = e("../common"), i = e("class-list"), a = e("bean"), l = e("./slider"); function s(e) { return (e = parseInt(e, 10)) >= 10 ? e : "0" + e } function u(e) { e = e || 0; var t = Math.floor(e / 3600), n = Math.floor(e / 60); return e -= 60 * n, t >= 1 ? t + ":" + s(n -= 60 * t) + ":" + s(e) : s(n) + ":" + s(e) } r(function (e, t) { var n, s = e.conf, c = r.support, f = i(t); o.find(".fp-ratio,.fp-ui", t).forEach(o.removeNode), f.add("flowplayer"), t.appendChild(o.createElement("div", { className: "fp-ratio" })); var d = o.createElement("div", { className: "fp-ui" }, '         <div class="waiting"><em></em><em></em><em></em></div>         <a class="fullscreen"></a>         <a class="unload"></a>         <p class="speed"></p>         <div class="controls">            <a class="play"></a>            <div class="timeline">               <div class="buffer"></div>               <div class="progress"></div>            </div>            <div class="timeline-tooltip fp-tooltip"></div>            <div class="volume">               <a class="mute"></a>               <div class="volumeslider">                  <div class="volumelevel"></div>               </div>            </div>         </div>         <div class="time">            <em class="elapsed">00:00</em>            <em class="remaining"></em>            <em class="duration">00:00</em>         </div>         <div class="message"><h2></h2><p></p></div>'.replace(/class="/g, 'class="fp-')); function p(e) { return o.find(".fp-" + e, t)[0] } t.appendChild(d); p("progress"); var v = p("buffer"), h = p("elapsed"), m = p("remaining"), g = p("waiting"), y = p("ratio"), b = p("speed"), w = i(b), x = p("duration"), E = p("controls"), k = p("timeline-tooltip"), S = o.css(y, "padding-top"), T = p("timeline"), C = l(T, e.rtl), N = (p("volume"), p("fullscreen")), O = p("volumeslider"), P = l(O, e.rtl), j = f.contains("fixed-controls") || f.contains("no-toggle"); function _(e) { o.css(y, "padding-top", 100 * e + "%"), c.inlineBlock || o.height(o.find("object", t)[0], o.height(t)) } function A(e) { e ? (f.add("is-mouseover"), f.remove("is-mouseout")) : (f.add("is-mouseout"), f.remove("is-mouseover")) } C.disableAnimation(f.contains("is-touch")), e.sliders = e.sliders || {}, e.sliders.timeline = C, e.sliders.volume = P, c.animation || o.html(g, "<p>loading &hellip;</p>"), s.ratio && _(s.ratio); try { s.fullscreen || o.removeNode(N) } catch (e) { o.removeNode(N) } e.on("ready", function (e, n, r) { var i = n.video.duration; C.disable(n.disabled || !i), s.adaptiveRatio && !isNaN(r.height / r.width) && _(r.height / r.width), o.html([x, m], u(i)), o.toggleClass(t, "is-long", i >= 3600), P.slide(n.volumeLevel), "flash" === n.engine.engineName ? C.disableAnimation(!0, !0) : C.disableAnimation(!1), o.find(".fp-title", d).forEach(o.removeNode), r.title && o.prepend(d, o.createElement("div", { className: "fp-title" }, r.title)) }).on("unload", function () { S || o.css(y, "paddingTop", ""), C.slide(0) }).on("buffer", function () { var t = e.video, n = t.buffer / t.duration; !t.seekable && c.seekable && C.max(n), n < 1 ? o.css(v, "width", 100 * n + "%") : o.css(v, "width", "100%") }).on("speed", function (e, t, n) { o.text(b, n + "x"), w.add("fp-hilite"), setTimeout(function () { w.remove("fp-hilite") }, 1e3) }).on("buffered", function () { o.css(v, "width", "100%"), C.max(1) }).on("progress", function () { var t = e.video.time, n = e.video.duration; C.dragging || C.slide(t / n, e.seeking ? 0 : 250), o.html(h, u(t)), o.html(m, "-" + u(n - t)) }).on("finish resume seek", function (e) { o.toggleClass(t, "is-finished", "finish" == e.type) }).on("stop", function () { o.html(h, u(0)), C.slide(0, 100) }).on("finish", function () { o.html(h, u(e.video.duration)), C.slide(1, 100), f.remove("is-seeking") }).on("beforeseek", function () { }).on("volume", function () { P.slide(e.volumeLevel) }).on("disable", function () { var n = e.disabled; C.disable(n), P.disable(n), o.toggleClass(t, "is-disabled", e.disabled) }).on("mute", function (e, n, r) { o.toggleClass(t, "is-muted", r) }).on("error", function (e, n, r) { if (o.removeClass(t, "is-loading"), o.addClass(t, "is-error"), r) { r.message = s.errors[r.code], n.error = !0; var i = o.find(".fp-message", t)[0], a = r.video || n.video; o.find("h2", i)[0].innerHTML = (n.engine && n.engine.engineName || "html5") + ": " + r.message, o.find("p", i)[0].innerHTML = r.url || a.url || a.src || s.errorUrls[r.code], n.off("mouseenter click"), f.remove("is-mouseover") } }), a.on(t, "mouseenter mouseleave", function (r) { if (!j) { var o, i = "mouseover" == r.type; if (A(i), i) { var l = function () { A(!0), o = new Date }; e.on("pause.x volume.x", l), a.on(t, "mousemove.x", l), n = setInterval(function () { new Date - o > s.mouseoutTimeout && (A(!1), o = new Date) }, 100) } else a.off(t, "mousemove.x"), e.off("pause.x volume.x"), clearInterval(n) } }), a.on(t, "mouseleave", function () { (C.dragging || P.dragging) && (f.add("is-mouseover"), f.remove("is-mouseout")) }), a.on(t, "click.player", function (t) { if (!e.disabled) { var n = i(t.target); return n.contains("fp-ui") || n.contains("fp-engine") || t.flash ? (t.preventDefault && t.preventDefault(), e.toggle()) : void 0 } }), a.on(t, "mousemove", ".fp-timeline", function (t) { var n = t.pageX || t.clientX, r = (n - o.offset(T).left) / o.width(T), i = r * e.video.duration; r < 0 || (o.html(k, u(i)), o.css(k, "left", n - o.offset(E).left - o.width(k) / 2 + "px")) }), a.on(t, "contextmenu", function (e) { var n = o.offset(o.find(".fp-player", t)[0]), r = window, i = e.clientX - n.left, l = e.clientY - (n.top + r.scrollY), s = o.find(".fp-context-menu", t)[0]; s && (e.preventDefault(), o.css(s, { left: i + "px", top: l + "px", display: "block" }), a.on(t, "click", ".fp-context-menu", function (e) { e.stopPropagation() }), a.on(document, "click.outsidemenu", function (e) { o.css(s, "display", "none"), a.off(document, "click.outsidemenu") })) }), e.on("flashdisabled", function () { f.add("is-flash-disabled"), e.one("ready", function () { f.remove("is-flash-disabled"), o.find(".fp-flash-disabled", t).forEach(o.removeNode) }), t.appendChild(o.createElement("div", { className: "fp-flash-disabled" }, "Adobe Flash is disabled for this page, click player area to enable")) }), s.poster && o.css(t, "background-image", "url(" + s.poster + ")"); var D = o.css(t, "background-color"), M = "none" != o.css(t, "background-image") || D && "rgba(0, 0, 0, 0)" != D && "transparent" != D; !M || s.splash || s.autoplay || e.on("ready stop", function () { f.add("is-poster"), e.one("progress", function () { f.remove("is-poster") }) }), "string" == typeof s.splash && o.css(t, "background-image", "url('" + s.splash + "')"), !M && e.forcedSplash && o.css(t, "background-color", "#555"), a.on(t, "click", ".fp-toggle, .fp-play", function () { e.disabled || e.toggle() }), a.on(t, "click", ".fp-mute", function () { e.mute() }), a.on(t, "click", ".fp-fullscreen", function () { e.fullscreen() }), a.on(t, "click", ".fp-unload", function () { e.unload() }), a.on(T, "slide", function (t) { e.seeking = !0, e.seek(t * e.video.duration) }), a.on(O, "slide", function (t) { e.volume(t) }); var L = p("time"); a.on(t, "click", ".fp-time", function () { i(L).toggle("is-inverted") }), A(j), e.on("shutdown", function () { a.off(T), a.off(O) }) }), t.exports.format = u }, { "../common": 1, "../flowplayer": 18, "./slider": 14, bean: 20, "class-list": 22 }], 18: [function (e, t, n) { "use strict"; var r = e("extend-object"), o = e("is-function"), i = e("class-list"), a = e("bean"), l = e("./common"), s = e("./ext/events"), u = [], c = [], f = (window.navigator.userAgent, window.onbeforeunload); window.onbeforeunload = function (e) { if (u.forEach(function (e) { e.conf.splash ? e.unload() : e.bind("error", function () { l.find(".flowplayer.is-error .fp-message").forEach(l.removeNode) }) }), f) return f(e) }; var d = !1; try { "object" == typeof window.localStorage && (window.localStorage.flowplayerTestStorage = "test", d = !0) } catch (e) { } var p = /Safari/.exec(navigator.userAgent) && !/Chrome/.exec(navigator.userAgent), v = /(\d+\.\d+) Safari/.exec(navigator.userAgent), h = v ? Number(v[1]) : 100, m = t.exports = function (e, t, n) { if (o(e)) return c.push(e); if ("number" == typeof e || void 0 === e) return u[e || 0]; if (e.nodeType) { if (null !== e.getAttribute("data-flowplayer-instance-id")) return u[e.getAttribute("data-flowplayer-instance-id")]; if (!t) return; return w(e, t, n) } if (e.eds1_10) return m(e[0], t, n); if ("string" == typeof e) { var r = l.find(e)[0]; return r && m(r, t, n) } }; r(m, { version: "6.0.3", engines: [], conf: {}, set: function (e, t) { "string" == typeof e ? m.conf[e] = t : r(m.conf, e) }, support: {}, defaults: { debug: !!d && !!localStorage.flowplayerDebug, disabled: !1, fullscreen: window == window.top, keyboard: !0, ratio: 9 / 16, adaptiveRatio: !1, rtmp: 0, proxy: "best", splash: !1, live: !1, swf: "//releases.flowplayer.org/6.0.3/flowplayer.swf", swfHls: "//releases.flowplayer.org/6.0.3/flowplayerhls.swf", speeds: [.25, .5, 1, 1.5, 2], tooltip: !0, mouseoutTimeout: 5e3, volume: d ? "true" == localStorage.muted ? 0 : isNaN(localStorage.volume) ? 1 : localStorage.volume || 1 : 1, errors: ["", "Video loading aborted", "Network error", "Video not properly encoded", "Video file not found", "Unsupported video", "Skin not found", "SWF file not found", "Subtitles not found", "Invalid RTMP URL", "Unsupported video format. Try installing Adobe Flash."], errorUrls: ["", "", "", "", "", "", "", "", "", "", "http://get.adobe.com/flashplayer/"], playlist: [], hlsFix: p && h < 8 }, bean: a, common: l, extend: r }); var g = 0, y = e("./ext/resolve"); if (void 0 !== window.eds1_10) { var b = window.eds1_10; b(function () { "function" == typeof b.fn.flowplayer && b('.flowplayer:has(video,script[type="application/json"])').flowplayer() }); b.fn.flowplayer = function (e, t) { return this.each(function () { "string" == typeof e && (e = { swf: e }), o(e) && (t = e, e = {}); var n = b(this), i = n.find('script[type="application/json"]'), a = i.length ? JSON.parse(i.text()) : function (e) { if (!e.length) return {}; var t = e.data() || {}, n = {}; return b.each(["autoplay", "loop", "preload", "poster"], function (r, o) { var i = e.attr(o); void 0 !== i && -1 !== ["autoplay", "poster"].indexOf(o) ? n[o] = i || !0 : void 0 !== i && (t[o] = i || !0) }), t.subtitles = e.find("track").map(function () { var e = b(this); return { src: e.attr("src"), kind: e.attr("kind"), label: e.attr("label"), srclang: e.attr("srclang"), default: e.prop("default") } }).get(), t.sources = (new y).sourcesFromVideoTag(e, b), r(n, { clip: t }) }(n.find("video")), l = w(this, b.extend({}, e || {}, a, n.data()), t); s.EVENTS.forEach(function (e) { l.on(e + ".jquery", function (e) { n.trigger.call(n, e.type, e.detail && e.detail.args) }) }), n.data("flowplayer", l) }) } } function w(e, t, n) { t && t.embed && (t.embed = r({}, m.defaults.embed, t.embed)); var f, p, v = e, h = i(v), b = r({}, m.defaults, m.conf, t), w = {}, x = new y; h.add("is-loading"); try { w = d ? window.localStorage : w } catch (e) { } var E = v.currentStyle && "rtl" === v.currentStyle.direction || window.getComputedStyle && null !== window.getComputedStyle(v, null) && "rtl" === window.getComputedStyle(v, null).getPropertyValue("direction"); E && h.add("is-rtl"); var k = { conf: b, currentSpeed: 1, volumeLevel: b.muted ? 0 : void 0 === b.volume ? 1 * w.volume : b.volume, video: {}, disabled: !1, finished: !1, loading: !1, muted: "true" == w.muted || b.muted, paused: !1, playing: !1, ready: !1, splash: !1, rtl: E, load: function (e, t) { if (!k.error && !k.loading) { k.video = {}, k.finished = !1, e = e || b.clip, e = r({}, x.resolve(e, b.clip.sources)), (k.playing || k.engine) && (e.autoplay = !0); var n = S(e); if (!n) return k.trigger("error", [k, { code: m.support.flashVideo ? 5 : 10 }]); if (!n.engineName) throw new Error("engineName property of factory should be exposed"); if (k.engine && n.engineName === k.engine.engineName || (k.ready = !1, k.engine && (k.engine.unload(), k.conf.autoplay = !0), p = k.engine = n(k, v), k.one("ready", function () { p.volume(k.volumeLevel) })), r(e, p.pick(e.sources.filter(function (e) { return !e.engine || e.engine === p.engineName }))), e.src) e.src = l.createElement("a", { href: e.src }).href, k.trigger("load", [k, e, p], !0).defaultPrevented ? k.loading = !1 : (p.load(e), o(e) && (t = e), t && k.one("ready", t)); return k } }, pause: function (e) { return !k.ready || k.seeking || k.loading || (p.pause(), k.one("pause", e)), k }, resume: function () { return k.ready && k.paused && (p.resume(), k.finished && (k.trigger("resume", [k]), k.finished = !1)), k }, toggle: function () { return k.ready ? k.paused ? k.resume() : k.pause() : k.load() }, seek: function (e, t) { if (k.ready && !k.live) { if ("boolean" == typeof e) { var n = .1 * k.video.duration; e = k.video.time + (e ? n : -n) } e = f = Math.min(Math.max(e, 0), k.video.duration).toFixed(1), k.trigger("beforeseek", [k, e], !0).defaultPrevented ? (k.seeking = !1, l.toggleClass(v, "is-seeking", k.seeking)) : (p.seek(e), o(t) && k.one("seek", t)) } return k }, seekTo: function (e, t) { var n = void 0 === e ? f : .1 * k.video.duration * e; return k.seek(n, t) }, mute: function (e, t) { return void 0 === e && (e = !k.muted), t || (w.muted = k.muted = e, w.volume = isNaN(w.volume) ? b.volume : w.volume), k.volume(e ? 0 : w.volume, !0), k.trigger("mute", [k, e]), k }, volume: function (e, t) { return k.ready && (e = Math.min(Math.max(e, 0), 1), t || (w.volume = e), p.volume(e)), k }, speed: function (e, t) { return k.ready && ("boolean" == typeof e && (e = b.speeds[b.speeds.indexOf(k.currentSpeed) + (e ? 1 : -1)] || k.currentSpeed), p.speed(e), t && v.one("speed", t)), k }, stop: function () { return k.ready && (k.pause(), k.seek(0, function () { k.trigger("stop") })), k }, unload: function () { return h.contains("is-embedding") || (b.splash ? (k.trigger("unload", [k]), p && p.unload()) : k.stop()), k }, shutdown: function () { k.unload(), k.trigger("shutdown", [k]), a.off(v), delete u[v.getAttribute("data-flowplayer-instance-id")] }, disable: function (e) { return void 0 === e && (e = !k.disabled), e != k.disabled && (k.disabled = e, k.trigger("disable", e)), k } }; k.conf = r(k.conf, b), s(k); var S = function (e) { var t, n = m.engines; if (b.engine) { var r = n.filter(function (e) { return e.engineName === b.engine })[0]; if (r && e.sources.some(function (e) { return (!e.engine || e.engine === r.engineName) && r.canPlay(e.type, k.conf) })) return r } return b.enginePreference && (n = m.engines.filter(function (e) { return b.enginePreference.indexOf(e.engineName) > -1 }).sort(function (e, t) { return b.enginePreference.indexOf(e.engineName) - b.enginePreference.indexOf(t.engineName) })), e.sources.some(function (e) { var r = n.filter(function (t) { return (!e.engine || e.engine === t.engineName) && t.canPlay(e.type, k.conf) }).shift(); return r && (t = r), !!r }), t }; return v.getAttribute("data-flowplayer-instance-id") || (v.setAttribute("data-flowplayer-instance-id", g++), k.on("boot", function () { (b.splash || h.contains("is-splash") || !m.support.firstframe) && (k.forcedSplash = !b.splash && !h.contains("is-splash"), k.splash = b.autoplay = !0, b.splash || (b.splash = !0), h.add("is-splash")), b.splash && l.find("video", v).forEach(l.removeNode), (b.live || h.contains("is-live")) && (k.live = b.live = !0, h.add("is-live")), c.forEach(function (e) { e(k, v) }), u.push(k), b.splash ? k.unload() : k.load(), b.disabled && k.disable(), k.one("ready", n) }).on("load", function (e, t, n) { b.splash && l.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function (e) { var t = e.getAttribute("data-flowplayer-instance-id"); if (t !== v.getAttribute("data-flowplayer-instance-id")) { var n = u[Number(t)]; n && n.conf.splash && n.unload() } }), h.add("is-loading"), t.loading = !0, void 0 !== n.live && (l.toggleClass(v, "is-live", n.live), t.live = n.live) }).on("ready", function (e, t, n) { n.time = 0, t.video = n, h.remove("is-loading"), t.loading = !1, t.muted ? t.mute(!0, !0) : t.volume(t.volumeLevel); var r = t.conf.hlsFix && /mpegurl/i.exec(n.type); l.toggleClass(v, "hls-fix", !!r) }).on("unload", function (e) { h.remove("is-loading"), k.loading = !1 }).on("ready unload", function (e) { var t = "ready" == e.type; l.toggleClass(v, "is-splash", !t), l.toggleClass(v, "is-ready", t), k.ready = t, k.splash = !t }).on("progress", function (e, t, n) { t.video.time = n }).on("speed", function (e, t, n) { t.currentSpeed = n }).on("volume", function (e, t, n) { t.volumeLevel = Math.round(100 * n) / 100, t.muted ? n && t.mute(!1) : w.volume = n }).on("beforeseek seek", function (e) { k.seeking = "beforeseek" == e.type, l.toggleClass(v, "is-seeking", k.seeking) }).on("ready pause resume unload finish stop", function (e, t, n) { k.paused = /pause|finish|unload|stop/.test(e.type), k.paused = k.paused || "ready" === e.type && !b.autoplay && !k.playing, k.playing = !k.paused, l.toggleClass(v, "is-paused", k.paused), l.toggleClass(v, "is-playing", k.playing), k.load.ed || k.pause() }).on("finish", function (e) { k.finished = !0 }).on("error", function () { })), k.trigger("boot", [k, v]), k } }, { "./common": 1, "./ext/events": 8, "./ext/resolve": 13, bean: 20, "class-list": 22, "extend-object": 26, "is-function": 27 }], 19: [function (e, t, n) { e("es5-shim"); var r = t.exports = e("./flowplayer"); e("./ext/support"), e("./engine/embed"), e("./engine/html5"), e("./engine/flash"), e("./ext/ui"), e("./ext/keyboard"), e("./ext/playlist"), e("./ext/cuepoint"), e("./ext/subtitle"), e("./ext/analytics"), e("./ext/embed"), e("./ext/fullscreen"), e("./ext/mobile"), r(function (e, t) { var n = e.conf, o = r.common, i = o.createElement, a = n.swf.indexOf("flowplayer.org") && n.e && t.getAttribute("data-origin"), l = a ? function (e) { var t = document.createElement("a"); return t.href = e, o.hostname(t.hostname) }(a) : o.hostname(), s = (document, n.key); "file:" == location.protocol && (l = "localhost"), e.load.ed = 1, n.hostname = l, n.origin = a || location.href, a && function (e, t) { -1 === e.className.split(" ").indexOf(t) && (e.className += " " + t) }(t, "is-embedded"), "string" == typeof s && (s = s.split(/,\s*/)); var u = function (e, n) { var r = i("a", { href: n, className: "fp-brand" }); r.innerHTML = e, o.find(".fp-controls", t)[0].appendChild(r) }; if (s && "function" == typeof key_check && key_check(s, l)) { if (n.logo) { var c = i("a", { href: a, className: "fp-logo" }); n.embed && n.embed.popup && (c.target = "_blank"); var f = i("img", { src: n.logo }); c.appendChild(f), t.appendChild(c) } n.brand && a || n.brand && n.brand.showOnOrigin ? u(n.brand.text || n.brand, a || location.href) : o.addClass(t, "no-brand") } else { u("flowplayer", "http://flowplayer.org"); c = i("a", { href: "http://flowplayer.org" }); t.appendChild(c); var d = i("div", { className: "fp-context-menu" }, '<ul><li class="copyright">&copy; 2015</li><li><a href="http://flowplayer.org">About Flowplayer</a></li><li><a href="http://flowplayer.org/license">GPL based license</a></li></ul>'), p = window.location.href.indexOf("localhost"), v = o.find(".fp-player", t)[0]; 7 !== p && (v || t).appendChild(d), e.on("pause resume finish unload ready", function (e, n) { o.removeClass(t, "no-brand"); var r = -1; if (n.video.src) for (var i = [["org", "flowplayer", "drive"], ["org", "flowplayer", "my"]], a = 0; a < i.length && -1 === (r = n.video.src.indexOf("://" + i[a].reverse().join("."))); a++); if ((4 === r || 5 === r) && o.addClass(t, "no-brand"), /pause|resume/.test(e.type) && "flash" != n.engine.engineName && 4 != r && 5 != r) { var l = { display: "block", position: "absolute", left: "16px", bottom: "46px", zIndex: 99999, width: "100px", height: "20px", backgroundImage: "url(" + [".png", "logo", "/", ".net", ".cloudfront", "d32wqyuo10o653", "//"].reverse().join("") + ")" }; for (var s in l) l.hasOwnProperty(s) && (c.style[s] = l[s]); n.load.ed = function (e) { return "none" !== window.getComputedStyle(e).display }(c) && (7 === p || d.parentNode == t || d.parentNode == v) && !o.hasClass(t, "no-brand"), n.load.ed || n.pause() } else c.style.display = "none" }) } }) }, { "./engine/embed": 2, "./engine/flash": 3, "./engine/html5": 4, "./ext/analytics": 5, "./ext/cuepoint": 6, "./ext/embed": 7, "./ext/fullscreen": 9, "./ext/keyboard": 10, "./ext/mobile": 11, "./ext/playlist": 12, "./ext/subtitle": 15, "./ext/support": 16, "./ext/ui": 17, "./flowplayer": 18, "es5-shim": 25 }], 20: [function (e, t, n) { var r, o; r = this, o = function (e, t) { e = e || "bean", t = t || this; var n, r, o, i, a, l = window, s = t[e], u = /[^\.]*(?=\..*)\.|.*/, c = /\..*/, f = "addEventListener", d = document || {}, p = d.documentElement || {}, v = p[f], h = v ? f : "attachEvent", m = {}, g = Array.prototype.slice, y = function (e, t) { return e.split(t || " ") }, b = function (e) { return "string" == typeof e }, w = function (e) { return "function" == typeof e }, x = function (e, t, n) { for (n = 0; n < t.length; n++)t[n] && (e[t[n]] = 1); return e }({}, y("click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll " + (v ? "show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete " : ""))), E = (i = "compareDocumentPosition" in p ? function (e, t) { return t.compareDocumentPosition && 16 == (16 & t.compareDocumentPosition(e)) } : "contains" in p ? function (e, t) { return (t = 9 === t.nodeType || t === window ? p : t) !== e && t.contains(e) } : function (e, t) { for (; e = e.parentNode;)if (e === t) return 1; return 0 }, { mouseenter: { base: "mouseover", condition: a = function (e) { var t = e.relatedTarget; return t ? t !== this && "xul" !== t.prefix && !/document/.test(this.toString()) && !i(t, this) : null == t } }, mouseleave: { base: "mouseout", condition: a }, mousewheel: { base: /Firefox/.test(navigator.userAgent) ? "DOMMouseScroll" : "mousewheel" } }), k = function () { var e = y("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"), t = e.concat(y("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")), n = t.concat(y("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")), r = e.concat(y("char charCode key keyCode keyIdentifier keyLocation location")), o = e.concat(y("data")), i = e.concat(y("touches targetTouches changedTouches scale rotation")), a = e.concat(y("data origin source")), s = e.concat(y("state")), u = /over|out/, c = [{ reg: /key/i, fix: function (e, t) { return t.keyCode = e.keyCode || e.which, r } }, { reg: /click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i, fix: function (e, n, r) { return n.rightClick = 3 === e.which || 2 === e.button, n.pos = { x: 0, y: 0 }, e.pageX || e.pageY ? (n.clientX = e.pageX, n.clientY = e.pageY) : (e.clientX || e.clientY) && (n.clientX = e.clientX + d.body.scrollLeft + p.scrollLeft, n.clientY = e.clientY + d.body.scrollTop + p.scrollTop), u.test(r) && (n.relatedTarget = e.relatedTarget || e[("mouseover" == r ? "from" : "to") + "Element"]), t } }, { reg: /mouse.*(wheel|scroll)/i, fix: function () { return n } }, { reg: /^text/i, fix: function () { return o } }, { reg: /^touch|^gesture/i, fix: function () { return i } }, { reg: /^message$/i, fix: function () { return a } }, { reg: /^popstate$/i, fix: function () { return s } }, { reg: /.*/, fix: function () { return e } }], f = {}, v = function (e, t, n) { if (arguments.length && (e = e || ((t.ownerDocument || t.document || t).parentWindow || l).event, this.originalEvent = e, this.isNative = n, this.isBean = !0, e)) { var r, o, i, a, s, u = e.type, d = e.target || e.srcElement; if (this.target = d && 3 === d.nodeType ? d.parentNode : d, n) { if (!(s = f[u])) for (r = 0, o = c.length; r < o; r++)if (c[r].reg.test(u)) { f[u] = s = c[r].fix; break } for (r = (a = s(e, this, u)).length; r--;)!((i = a[r]) in this) && i in e && (this[i] = e[i]) } } }; return v.prototype.preventDefault = function () { this.originalEvent.preventDefault ? this.originalEvent.preventDefault() : this.originalEvent.returnValue = !1 }, v.prototype.stopPropagation = function () { this.originalEvent.stopPropagation ? this.originalEvent.stopPropagation() : this.originalEvent.cancelBubble = !0 }, v.prototype.stop = function () { this.preventDefault(), this.stopPropagation(), this.stopped = !0 }, v.prototype.stopImmediatePropagation = function () { this.originalEvent.stopImmediatePropagation && this.originalEvent.stopImmediatePropagation(), this.isImmediatePropagationStopped = function () { return !0 } }, v.prototype.isImmediatePropagationStopped = function () { return this.originalEvent.isImmediatePropagationStopped && this.originalEvent.isImmediatePropagationStopped() }, v.prototype.clone = function (e) { var t = new v(this, this.element, this.isNative); return t.currentTarget = e, t }, v }(), S = function (e, t) { return v || t || e !== d && e !== l ? e : p }, T = function () { var e = function (e, t, n, r) { var o = function (n, o) { return t.apply(e, r ? g.call(o, n ? 0 : 1).concat(r) : o) }, i = function (n, r) { return t.__beanDel ? t.__beanDel.ft(n.target, e) : r }, a = n ? function (e) { var t = i(e, this); if (n.apply(t, arguments)) return e && (e.currentTarget = t), o(e, arguments) } : function (e) { return t.__beanDel && (e = e.clone(i(e))), o(e, arguments) }; return a.__beanDel = t.__beanDel, a }, t = function (t, n, r, o, i, a, l) { var s, u = E[n]; "unload" == n && (r = j(_, t, n, r, o)), u && (u.condition && (r = e(t, r, u.condition, a)), n = u.base || n), this.isNative = s = x[n] && !!t[h], this.customType = !v && !s && n, this.element = t, this.type = n, this.original = o, this.namespaces = i, this.eventType = v || s ? n : "propertychange", this.target = S(t, s), this[h] = !!this.target[h], this.root = l, this.handler = e(t, r, null, a) }; return t.prototype.inNamespaces = function (e) { var t, n, r = 0; if (!e) return !0; if (!this.namespaces) return !1; for (t = e.length; t--;)for (n = this.namespaces.length; n--;)e[t] == this.namespaces[n] && r++; return e.length === r }, t.prototype.matches = function (e, t, n) { return !(this.element !== e || t && this.original !== t || n && this.handler !== n) }, t }(), C = (r = {}, o = function (e, t, n, i, a, l) { var s = a ? "r" : "$"; if (t && "*" != t) { var u, c = 0, f = r[s + t], d = "*" == e; if (!f) return; for (u = f.length; c < u; c++)if ((d || f[c].matches(e, n, i)) && !l(f[c], f, c, t)) return } else for (var p in r) p.charAt(0) == s && o(e, p.substr(1), n, i, a, l) }, { has: function (e, t, n, o) { var i, a = r[(o ? "r" : "$") + t]; if (a) for (i = a.length; i--;)if (!a[i].root && a[i].matches(e, n, null)) return !0; return !1 }, get: function (e, t, n, r) { var i = []; return o(e, t, n, null, r, function (e) { return i.push(e) }), i }, put: function (e) { var t = !e.root && !this.has(e.element, e.type, null, !1), n = (e.root ? "r" : "$") + e.type; return (r[n] || (r[n] = [])).push(e), t }, del: function (e) { o(e.element, e.type, null, e.handler, e.root, function (e, t, n) { return t.splice(n, 1), e.removed = !0, 0 === t.length && delete r[(e.root ? "r" : "$") + e.type], !1 }) }, entries: function () { var e, t = []; for (e in r) "$" == e.charAt(0) && (t = t.concat(r[e])); return t } }), N = function (e) { n = arguments.length ? e : d.querySelectorAll ? function (e, t) { return t.querySelectorAll(e) } : function () { throw new Error("Bean: No selector engine installed") } }, O = function (e, t) { if (v || !t || !e || e.propertyName == "_on" + t) { var n = C.get(this, t || e.type, null, !1), r = n.length, o = 0; for (e = new k(e, this, !0), t && (e.type = t); o < r && !e.isImmediatePropagationStopped(); o++)n[o].removed || n[o].handler.call(this, e) } }, P = v ? function (e, t, n) { e[n ? f : "removeEventListener"](t, O, !1) } : function (e, t, n, r) { var o; n ? (C.put(o = new T(e, r || t, function (t) { O.call(e, t, r) }, O, null, null, !0)), r && null == e["_on" + r] && (e["_on" + r] = 0), o.target.attachEvent("on" + o.eventType, o.handler)) : (o = C.get(e, r || t, O, !0)[0]) && (o.target.detachEvent("on" + o.eventType, o.handler), C.del(o)) }, j = function (e, t, n, r, o) { return function () { r.apply(this, arguments), e(t, n, o) } }, _ = function (e, t, n, r) { var o, i, a = t && t.replace(c, ""), l = C.get(e, a, null, !1), s = {}; for (o = 0, i = l.length; o < i; o++)n && l[o].original !== n || !l[o].inNamespaces(r) || (C.del(l[o]), !s[l[o].eventType] && l[o][h] && (s[l[o].eventType] = { t: l[o].eventType, c: l[o].type })); for (o in s) C.has(e, s[o].t, null, !1) || P(e, s[o].t, !1, s[o].c) }, A = v ? function (e, t, n) { var r = d.createEvent(e ? "HTMLEvents" : "UIEvents"); r[e ? "initEvent" : "initUIEvent"](t, !0, !0, l, 1), n.dispatchEvent(r) } : function (e, t, n) { n = S(n, e), e ? n.fireEvent("on" + t, d.createEventObject()) : n["_on" + t]++ }, D = function (e, t, n) { var r, o, i, a, l = b(t); if (l && t.indexOf(" ") > 0) { for (a = (t = y(t)).length; a--;)D(e, t[a], n); return e } if ((o = l && t.replace(c, "")) && E[o] && (o = E[o].base), !t || l) (i = l && t.replace(u, "")) && (i = y(i, ".")), _(e, o, n, i); else if (w(t)) _(e, null, t); else for (r in t) t.hasOwnProperty(r) && D(e, r, t[r]); return e }, M = function (e, t, r, o) { var i, a, l, s, f, d, p; if (void 0 !== r || "object" != typeof t) { for (w(r) ? (f = g.call(arguments, 3), o = i = r) : (i = o, f = g.call(arguments, 4), o = function (e, t) { var r = function (t, r) { for (var o, i = b(e) ? n(e, r) : e; t && t !== r; t = t.parentNode)for (o = i.length; o--;)if (i[o] === t) return t }, o = function (e) { var n = r(e.target, this); n && t.apply(n, arguments) }; return o.__beanDel = { ft: r, selector: e }, o }(r, i)), l = y(t), this === m && (o = j(D, e, t, o, i)), s = l.length; s--;)p = C.put(d = new T(e, l[s].replace(c, ""), o, i, y(l[s].replace(u, ""), "."), f, !1)), d[h] && p && P(e, d.eventType, !0, d.customType); return e } for (a in t) t.hasOwnProperty(a) && M.call(this, e, a, t[a]) }, L = { on: M, add: function (e, t, n, r) { return M.apply(null, b(n) ? [e, n, t, r].concat(arguments.length > 3 ? g.call(arguments, 5) : []) : g.call(arguments)) }, one: function () { return M.apply(m, arguments) }, off: D, remove: D, clone: function (e, t, n) { for (var r, o, i = C.get(t, n, null, !1), a = i.length, l = 0; l < a; l++)i[l].original && (r = [e, i[l].type], (o = i[l].handler.__beanDel) && r.push(o.selector), r.push(i[l].original), M.apply(null, r)); return e }, fire: function (e, t, n) { var r, o, i, a, l, s = y(t); for (r = s.length; r--;)if (t = s[r].replace(c, ""), (a = s[r].replace(u, "")) && (a = y(a, ".")), a || n || !e[h]) for (l = C.get(e, t, null, !1), n = [!1].concat(n), o = 0, i = l.length; o < i; o++)l[o].inNamespaces(a) && l[o].handler.apply(e, n); else A(x[t], t, e); return e }, Event: k, setSelectorEngine: N, noConflict: function () { return t[e] = s, this } }; if (l.attachEvent) { var F = function () { var e, t = C.entries(); for (e in t) t[e].type && "unload" !== t[e].type && D(t[e].element, t[e].type); l.detachEvent("onunload", F), l.CollectGarbage && l.CollectGarbage() }; l.attachEvent("onunload", F) } return N(), L }, void 0 !== t && t.exports ? t.exports = o() : r.bean = o() }, {}], 21: [function (e, t, n) { (function (e) { !function (r) { var o = "object" == typeof n && n, i = "object" == typeof t && t && t.exports == o && t, a = "object" == typeof e && e; a.global !== a && a.window !== a || (r = a); var l, s, u = 2147483647, c = 36, f = 1, d = 26, p = 38, v = 700, h = 72, m = 128, g = "-", y = /^xn--/, b = /[^ -~]/, w = /\x2E|\u3002|\uFF0E|\uFF61/g, x = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, E = c - f, k = Math.floor, S = String.fromCharCode; function T(e) { throw RangeError(x[e]) } function C(e, t) { for (var n = e.length; n--;)e[n] = t(e[n]); return e } function N(e, t) { return C(e.split(w), t).join(".") } function O(e) { for (var t, n, r = [], o = 0, i = e.length; o < i;)(t = e.charCodeAt(o++)) >= 55296 && t <= 56319 && o < i ? 56320 == (64512 & (n = e.charCodeAt(o++))) ? r.push(((1023 & t) << 10) + (1023 & n) + 65536) : (r.push(t), o--) : r.push(t); return r } function P(e) { return C(e, function (e) { var t = ""; return e > 65535 && (t += S((e -= 65536) >>> 10 & 1023 | 55296), e = 56320 | 1023 & e), t += S(e) }).join("") } function j(e, t) { return e + 22 + 75 * (e < 26) - ((0 != t) << 5) } function _(e, t, n) { var r = 0; for (e = n ? k(e / v) : e >> 1, e += k(e / t); e > E * d >> 1; r += c)e = k(e / E); return k(r + (E + 1) * e / (e + p)) } function A(e) { var t, n, r, o, i, a, l, s, p, v, y, b = [], w = e.length, x = 0, E = m, S = h; for ((n = e.lastIndexOf(g)) < 0 && (n = 0), r = 0; r < n; ++r)e.charCodeAt(r) >= 128 && T("not-basic"), b.push(e.charCodeAt(r)); for (o = n > 0 ? n + 1 : 0; o < w;) { for (i = x, a = 1, l = c; o >= w && T("invalid-input"), ((s = (y = e.charCodeAt(o++)) - 48 < 10 ? y - 22 : y - 65 < 26 ? y - 65 : y - 97 < 26 ? y - 97 : c) >= c || s > k((u - x) / a)) && T("overflow"), x += s * a, !(s < (p = l <= S ? f : l >= S + d ? d : l - S)); l += c)a > k(u / (v = c - p)) && T("overflow"), a *= v; S = _(x - i, t = b.length + 1, 0 == i), k(x / t) > u - E && T("overflow"), E += k(x / t), x %= t, b.splice(x++, 0, E) } return P(b) } function D(e) { var t, n, r, o, i, a, l, s, p, v, y, b, w, x, E, C = []; for (b = (e = O(e)).length, t = m, n = 0, i = h, a = 0; a < b; ++a)(y = e[a]) < 128 && C.push(S(y)); for (r = o = C.length, o && C.push(g); r < b;) { for (l = u, a = 0; a < b; ++a)(y = e[a]) >= t && y < l && (l = y); for (l - t > k((u - n) / (w = r + 1)) && T("overflow"), n += (l - t) * w, t = l, a = 0; a < b; ++a)if ((y = e[a]) < t && ++n > u && T("overflow"), y == t) { for (s = n, p = c; !(s < (v = p <= i ? f : p >= i + d ? d : p - i)); p += c)E = s - v, x = c - v, C.push(S(j(v + E % x, 0))), s = k(E / x); C.push(S(j(s, 0))), i = _(n, w, r == o), n = 0, ++r } ++n, ++t } return C.join("") } if (l = { version: "1.2.4", ucs2: { decode: O, encode: P }, decode: A, encode: D, toASCII: function (e) { return N(e, function (e) { return b.test(e) ? "xn--" + D(e) : e }) }, toUnicode: function (e) { return N(e, function (e) { return y.test(e) ? A(e.slice(4).toLowerCase()) : e }) } }, o && !o.nodeType) if (i) i.exports = l; else for (s in l) l.hasOwnProperty(s) && (o[s] = l[s]); else r.punycode = l }(this) }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) }, {}], 22: [function (e, t, n) { var r = e("indexof"); function o(e) { return !!e } t.exports = function (e) { var t = e.classList; if (t) return t; var n = { add: i, remove: a, contains: l, toggle: function (e) { return l(e) ? (a(e), !1) : (i(e), !0) }, toString: function () { return e.className }, length: 0, item: function (e) { return s()[e] || null } }; return n; function i(e) { var t = s(); r(t, e) > -1 || (t.push(e), u(t)) } function a(e) { var t = s(), n = r(t, e); -1 !== n && (t.splice(n, 1), u(t)) } function l(e) { return r(s(), e) > -1 } function s() { var t = e.className; return function (e, t) { for (var n = [], r = 0; r < e.length; r++)t(e[r]) && n.push(e[r]); return n }(t.split(" "), o) } function u(t) { var r = t.length; e.className = t.join(" "), n.length = r; for (var o = 0; o < t.length; o++)n[o] = t[o]; delete t[r] } } }, { indexof: 23 }], 23: [function (e, t, n) { var r = [].indexOf; t.exports = function (e, t) { if (r) return e.indexOf(t); for (var n = 0; n < e.length; ++n)if (e[n] === t) return n; return -1 } }, {}], 24: [function (e, t, n) { t.exports = function (e, t, n, r) { if (r = (n = window.getComputedStyle) ? n(e) : e.currentStyle) return r[t.replace(/-(\w)/gi, function (e, t) { return t.toUpperCase() })] } }, {}], 25: [function (e, t, n) { !function (e, r) { "use strict"; "object" == typeof n ? t.exports = r() : e.returnExports = r() }(this, function () { var e, t, n = Array, r = n.prototype, o = Object, i = o.prototype, a = Function.prototype, l = String, s = l.prototype, u = Number, c = u.prototype, f = r.slice, d = r.splice, p = r.push, v = r.unshift, h = r.concat, m = a.call, g = Math.max, y = Math.min, b = i.toString, w = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag, x = Function.prototype.toString; e = function (e) { if ("function" != typeof e) return !1; if (w) return function (e) { try { return x.call(e), !0 } catch (e) { return !1 } }(e); var t = b.call(e); return "[object Function]" === t || "[object GeneratorFunction]" === t }; var E, k = RegExp.prototype.exec; t = function (e) { return "object" == typeof e && (w ? function (e) { try { return k.call(e), !0 } catch (e) { return !1 } }(e) : "[object RegExp]" === b.call(e)) }; var S = String.prototype.valueOf; E = function (e) { return "string" == typeof e || "object" == typeof e && (w ? function (e) { try { return S.call(e), !0 } catch (e) { return !1 } }(e) : "[object String]" === b.call(e)) }; var T, C, N, O = (T = i.hasOwnProperty, N = o.defineProperty && function () { try { var e = {}; for (var t in o.defineProperty(e, "x", { enumerable: !1, value: e }), e) return !1; return e.x === e } catch (e) { return !1 } }(), C = N ? function (e, t, n, r) { !r && t in e || o.defineProperty(e, t, { configurable: !0, enumerable: !1, writable: !0, value: n }) } : function (e, t, n, r) { !r && t in e || (e[t] = n) }, function (e, t, n) { for (var r in t) T.call(t, r) && C(e, r, t[r], n) }), P = function (e) { var t = typeof e; return null === e || "object" !== t && "function" !== t }, j = function (e) { var t = +e; return t != t ? t = 0 : 0 !== t && t !== 1 / 0 && t !== -1 / 0 && (t = (t > 0 || -1) * Math.floor(Math.abs(t))), t }, _ = function (t) { var n, r, o; if (P(t)) return t; if (r = t.valueOf, e(r) && (n = r.call(t), P(n))) return n; if (o = t.toString, e(o) && (n = o.call(t), P(n))) return n; throw new TypeError }, A = function (e) { if (null == e) throw new TypeError("can't convert " + e + " to object"); return o(e) }, D = function (e) { return e >>> 0 }, M = function () { }; O(a, { bind: function (t) { var n = this; if (!e(n)) throw new TypeError("Function.prototype.bind called on incompatible " + n); for (var r, i = f.call(arguments, 1), a = g(0, n.length - i.length), l = [], s = 0; s < a; s++)p.call(l, "$" + s); return r = Function("binder", "return function (" + l.join(",") + "){ return binder.apply(this, arguments); }")(function () { if (this instanceof r) { var e = n.apply(this, h.call(i, f.call(arguments))); return o(e) === e ? e : this } return n.apply(t, h.call(i, f.call(arguments))) }), n.prototype && (M.prototype = n.prototype, r.prototype = new M, M.prototype = null), r } }); var L = m.bind(i.hasOwnProperty), F = m.bind(i.toString), I = m.bind(s.slice), $ = m.bind(s.split), R = n.isArray || function (e) { return "[object Array]" === F(e) }, V = 1 !== [].unshift(0); O(r, { unshift: function () { return v.apply(this, arguments), this.length } }, V), O(n, { isArray: R }); var H = o("a"), U = "a" !== H[0] || !(0 in H), q = function (e) { var t = !0, n = !0; return e && (e.call("foo", function (e, n, r) { "object" != typeof r && (t = !1) }), e.call([1], function () { "use strict"; n = "string" == typeof this }, "x")), !!e && t && n }; O(r, { forEach: function (t) { var n, r = A(this), o = U && E(this) ? $(this, "") : r, i = -1, a = o.length >>> 0; if (arguments.length > 1 && (n = arguments[1]), !e(t)) throw new TypeError("Array.prototype.forEach callback must be a function"); for (; ++i < a;)i in o && (void 0 !== n ? t.call(n, o[i], i, r) : t(o[i], i, r)) } }, !q(r.forEach)), O(r, { map: function (t) { var r, o = A(this), i = U && E(this) ? $(this, "") : o, a = i.length >>> 0, l = n(a); if (arguments.length > 1 && (r = arguments[1]), !e(t)) throw new TypeError("Array.prototype.map callback must be a function"); for (var s = 0; s < a; s++)s in i && (l[s] = void 0 !== r ? t.call(r, i[s], s, o) : t(i[s], s, o)); return l } }, !q(r.map)), O(r, { filter: function (t) { var n, r, o = A(this), i = U && E(this) ? $(this, "") : o, a = i.length >>> 0, l = []; if (arguments.length > 1 && (r = arguments[1]), !e(t)) throw new TypeError("Array.prototype.filter callback must be a function"); for (var s = 0; s < a; s++)s in i && (n = i[s], (void 0 === r ? t(n, s, o) : t.call(r, n, s, o)) && p.call(l, n)); return l } }, !q(r.filter)), O(r, { every: function (t) { var n, r = A(this), o = U && E(this) ? $(this, "") : r, i = o.length >>> 0; if (arguments.length > 1 && (n = arguments[1]), !e(t)) throw new TypeError("Array.prototype.every callback must be a function"); for (var a = 0; a < i; a++)if (a in o && !(void 0 === n ? t(o[a], a, r) : t.call(n, o[a], a, r))) return !1; return !0 } }, !q(r.every)), O(r, { some: function (t) { var n, r = A(this), o = U && E(this) ? $(this, "") : r, i = o.length >>> 0; if (arguments.length > 1 && (n = arguments[1]), !e(t)) throw new TypeError("Array.prototype.some callback must be a function"); for (var a = 0; a < i; a++)if (a in o && (void 0 === n ? t(o[a], a, r) : t.call(n, o[a], a, r))) return !0; return !1 } }, !q(r.some)); var z = !1; r.reduce && (z = "object" == typeof r.reduce.call("es5", function (e, t, n, r) { return r })), O(r, { reduce: function (t) { var n = A(this), r = U && E(this) ? $(this, "") : n, o = r.length >>> 0; if (!e(t)) throw new TypeError("Array.prototype.reduce callback must be a function"); if (0 === o && 1 === arguments.length) throw new TypeError("reduce of empty array with no initial value"); var i, a = 0; if (arguments.length >= 2) i = arguments[1]; else for (; ;) { if (a in r) { i = r[a++]; break } if (++a >= o) throw new TypeError("reduce of empty array with no initial value") } for (; a < o; a++)a in r && (i = t(i, r[a], a, n)); return i } }, !z); var X = !1; r.reduceRight && (X = "object" == typeof r.reduceRight.call("es5", function (e, t, n, r) { return r })), O(r, { reduceRight: function (t) { var n, r = A(this), o = U && E(this) ? $(this, "") : r, i = o.length >>> 0; if (!e(t)) throw new TypeError("Array.prototype.reduceRight callback must be a function"); if (0 === i && 1 === arguments.length) throw new TypeError("reduceRight of empty array with no initial value"); var a = i - 1; if (arguments.length >= 2) n = arguments[1]; else for (; ;) { if (a in o) { n = o[a--]; break } if (--a < 0) throw new TypeError("reduceRight of empty array with no initial value") } if (a < 0) return n; do { a in o && (n = t(n, o[a], a, r)) } while (a--); return n } }, !X); var B = r.indexOf && -1 !== [0, 1].indexOf(1, 2); O(r, { indexOf: function (e) { var t = U && E(this) ? $(this, "") : A(this), n = t.length >>> 0; if (0 === n) return -1; var r = 0; for (arguments.length > 1 && (r = j(arguments[1])), r = r >= 0 ? r : g(0, n + r); r < n; r++)if (r in t && t[r] === e) return r; return -1 } }, B); var Y = r.lastIndexOf && -1 !== [0, 1].lastIndexOf(0, -3); O(r, { lastIndexOf: function (e) { var t = U && E(this) ? $(this, "") : A(this), n = t.length >>> 0; if (0 === n) return -1; var r = n - 1; for (arguments.length > 1 && (r = y(r, j(arguments[1]))), r = r >= 0 ? r : n - Math.abs(r); r >= 0; r--)if (r in t && e === t[r]) return r; return -1 } }, Y); var W, K, Z = (K = (W = [1, 2]).splice(), 2 === W.length && R(K) && 0 === K.length); O(r, { splice: function (e, t) { return 0 === arguments.length ? [] : d.apply(this, arguments) } }, !Z); var G, J = (G = {}, r.splice.call(G, 0, 0, 1), 1 === G.length); O(r, { splice: function (e, t) { if (0 === arguments.length) return []; var n = arguments; return this.length = g(j(this.length), 0), arguments.length > 0 && "number" != typeof t && ((n = f.call(arguments)).length < 2 ? p.call(n, this.length - e) : n[1] = j(t)), d.apply(this, n) } }, !J); var Q, ee = ((Q = new n(1e5))[8] = "x", Q.splice(1, 1), 7 === Q.indexOf("x")), te = function () { var e = []; return e[256] = "a", e.splice(257, 0, "b"), "a" === e[256] }(); O(r, { splice: function (e, t) { for (var n, r = A(this), o = [], i = D(r.length), a = j(e), s = a < 0 ? g(i + a, 0) : y(a, i), u = y(g(j(t), 0), i - s), c = 0; c < u;)n = l(s + c), L(r, n) && (o[c] = r[n]), c += 1; var d, p = f.call(arguments, 2), v = p.length; if (v < u) { for (c = s; c < i - u;)n = l(c + u), d = l(c + v), L(r, n) ? r[d] = r[n] : delete r[d], c += 1; for (c = i; c > i - u + v;)delete r[c - 1], c -= 1 } else if (v > u) for (c = i - u; c > s;)n = l(c + u - 1), d = l(c + v - 1), L(r, n) ? r[d] = r[n] : delete r[d], c -= 1; c = s; for (var h = 0; h < p.length; ++h)r[c] = p[h], c += 1; return r.length = i - u + v, o } }, !ee || !te); var ne = !{ toString: null }.propertyIsEnumerable("toString"), re = function () { }.propertyIsEnumerable("prototype"), oe = !L("x", "0"), ie = function (e) { var t = e.constructor; return t && t.prototype === e }, ae = { $window: !0, $console: !0, $parent: !0, $self: !0, $frames: !0, $frameElement: !0, $webkitIndexedDB: !0, $webkitStorageInfo: !0 }, le = function () { if ("undefined" == typeof window) return !1; for (var e in window) if (!ae["$" + e] && L(window, e) && null !== window[e] && "object" == typeof window[e]) try { ie(window[e]) } catch (e) { return !0 } return !1 }(), se = ["toString", "toLocaleString", "valueOf", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "constructor"], ue = se.length, ce = function (t) { var n = "[object Arguments]" === F(t); return n || (n = !R(t) && null !== t && "object" == typeof t && "number" == typeof t.length && t.length >= 0 && e(t.callee)), n }; O(o, { keys: function (t) { var n = e(t), r = ce(t), o = null !== t && "object" == typeof t, i = o && E(t); if (!o && !n && !r) throw new TypeError("Object.keys called on a non-object"); var a = [], s = re && n; if (i && oe || r) for (var u = 0; u < t.length; ++u)p.call(a, l(u)); if (!r) for (var c in t) s && "prototype" === c || !L(t, c) || p.call(a, l(c)); if (ne) for (var f = function (e) { if ("undefined" == typeof window || !le) return ie(e); try { return ie(e) } catch (e) { return !1 } }(t), d = 0; d < ue; d++) { var v = se[d]; f && "constructor" === v || !L(t, v) || p.call(a, v) } return a } }); var fe = o.keys && function () { return 2 === o.keys(arguments).length }(1, 2), de = o.keys; O(o, { keys: function (e) { return ce(e) ? de(f.call(e)) : de(e) } }, !fe); var pe = Date.prototype.toISOString && -1 === new Date(-621987552e5).toISOString().indexOf("-000001"), ve = Date.prototype.toISOString && "1969-12-31T23:59:59.999Z" !== new Date(-1).toISOString(); O(Date.prototype, { toISOString: function () { var e, t, n, r, o; if (!isFinite(this)) throw new RangeError("Date.prototype.toISOString called on non-finite value."); for (r = this.getUTCFullYear(), o = this.getUTCMonth(), r += Math.floor(o / 12), e = [(o = (o % 12 + 12) % 12) + 1, this.getUTCDate(), this.getUTCHours(), this.getUTCMinutes(), this.getUTCSeconds()], r = (r < 0 ? "-" : r > 9999 ? "+" : "") + I("00000" + Math.abs(r), 0 <= r && r <= 9999 ? -4 : -6), t = e.length; t--;)(n = e[t]) < 10 && (e[t] = "0" + n); return r + "-" + f.call(e, 0, 2).join("-") + "T" + f.call(e, 2).join(":") + "." + I("000" + this.getUTCMilliseconds(), -3) + "Z" } }, pe || ve), function () { try { return Date.prototype.toJSON && null === new Date(NaN).toJSON() && -1 !== new Date(-621987552e5).toJSON().indexOf("-000001") && Date.prototype.toJSON.call({ toISOString: function () { return !0 } }) } catch (e) { return !1 } }() || (Date.prototype.toJSON = function (t) { var n = o(this), r = _(n); if ("number" == typeof r && !isFinite(r)) return null; var i = n.toISOString; if (!e(i)) throw new TypeError("toISOString property is not callable"); return i.call(n) }); var he = 1e15 === Date.parse("+033658-09-27T01:46:40.000Z"), me = !isNaN(Date.parse("2012-04-04T24:00:00.500Z")) || !isNaN(Date.parse("2012-11-31T23:59:59.000Z")) || !isNaN(Date.parse("2012-12-31T23:59:60.000Z")), ge = isNaN(Date.parse("2000-01-01T00:00:00.000Z")); Date.parse && !ge && !me && he || (Date = function (e) { var t = function (n, r, o, i, a, s, u) { var c, f = arguments.length; return c = this instanceof e ? 1 === f && l(n) === n ? new e(t.parse(n)) : f >= 7 ? new e(n, r, o, i, a, s, u) : f >= 6 ? new e(n, r, o, i, a, s) : f >= 5 ? new e(n, r, o, i, a) : f >= 4 ? new e(n, r, o, i) : f >= 3 ? new e(n, r, o) : f >= 2 ? new e(n, r) : f >= 1 ? new e(n) : new e : e.apply(this, arguments), O(c, { constructor: t }, !0), c }, n = new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"), r = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365], o = function (e, t) { var n = t > 1 ? 1 : 0; return r[t] + Math.floor((e - 1969 + n) / 4) - Math.floor((e - 1901 + n) / 100) + Math.floor((e - 1601 + n) / 400) + 365 * (e - 1970) }; for (var i in e) L(e, i) && (t[i] = e[i]); O(t, { now: e.now, UTC: e.UTC }, !0), t.prototype = e.prototype, O(t.prototype, { constructor: t }, !0); return O(t, { parse: function (t) { var r = n.exec(t); if (r) { var i, a = u(r[1]), l = u(r[2] || 1) - 1, s = u(r[3] || 1) - 1, c = u(r[4] || 0), f = u(r[5] || 0), d = u(r[6] || 0), p = Math.floor(1e3 * u(r[7] || 0)), v = Boolean(r[4] && !r[8]), h = "-" === r[9] ? 1 : -1, m = u(r[10] || 0), g = u(r[11] || 0); return c < (f > 0 || d > 0 || p > 0 ? 24 : 25) && f < 60 && d < 60 && p < 1e3 && l > -1 && l < 12 && m < 24 && g < 60 && s > -1 && s < o(a, l + 1) - o(a, l) && (i = 1e3 * (60 * ((i = 60 * (24 * (o(a, l) + s) + c + m * h)) + f + g * h) + d) + p, v && (i = u(new e(1970, 0, 1, 0, 0, 0, i))), -864e13 <= i && i <= 864e13) ? i : NaN } return e.parse.apply(this, arguments) } }), t }(Date)), Date.now || (Date.now = function () { return (new Date).getTime() }); var ye, be = c.toFixed && ("0.000" !== 8e-5.toFixed(3) || "1" !== .9.toFixed(0) || "1.25" !== 1.255.toFixed(2) || "1000000000000000128" !== (0xde0b6b3a7640080).toFixed(0)), we = { base: 1e7, size: 6, data: [0, 0, 0, 0, 0, 0], multiply: function (e, t) { for (var n = -1, r = t; ++n < we.size;)r += e * we.data[n], we.data[n] = r % we.base, r = Math.floor(r / we.base) }, divide: function (e) { for (var t = we.size, n = 0; --t >= 0;)n += we.data[t], we.data[t] = Math.floor(n / e), n = n % e * we.base }, numToString: function () { for (var e = we.size, t = ""; --e >= 0;)if ("" !== t || 0 === e || 0 !== we.data[e]) { var n = l(we.data[e]); "" === t ? t = n : t += I("0000000", 0, 7 - n.length) + n } return t }, pow: function e(t, n, r) { return 0 === n ? r : n % 2 == 1 ? e(t, n - 1, r * t) : e(t * t, n / 2, r) }, log: function (e) { for (var t = 0, n = e; n >= 4096;)t += 12, n /= 4096; for (; n >= 2;)t += 1, n /= 2; return t } }; O(c, { toFixed: function (e) { var t, n, r, o, i, a, s, c; if ((t = (t = u(e)) != t ? 0 : Math.floor(t)) < 0 || t > 20) throw new RangeError("Number.toFixed called with invalid number of decimals"); if ((n = u(this)) != n) return "NaN"; if (n <= -1e21 || n >= 1e21) return l(n); if (r = "", n < 0 && (r = "-", n = -n), o = "0", n > 1e-21) if (a = (i = we.log(n * we.pow(2, 69, 1)) - 69) < 0 ? n * we.pow(2, -i, 1) : n / we.pow(2, i, 1), a *= 4503599627370496, (i = 52 - i) > 0) { for (we.multiply(0, a), s = t; s >= 7;)we.multiply(1e7, 0), s -= 7; for (we.multiply(we.pow(10, s, 1), 0), s = i - 1; s >= 23;)we.divide(1 << 23), s -= 23; we.divide(1 << s), we.multiply(1, 1), we.divide(2), o = we.numToString() } else we.multiply(0, a), we.multiply(1 << -i, 0), o = we.numToString() + I("0.00000000000000000000", 2, 2 + t); return o = t > 0 ? (c = o.length) <= t ? r + I("0.0000000000000000000", 0, t - c + 2) + o : r + I(o, 0, c - t) + "." + I(o, c - t) : r + o } }, be), 2 !== "ab".split(/(?:ab)*/).length || 4 !== ".".split(/(.?)(.?)/).length || "t" === "tesst".split(/(s)*/)[1] || 4 !== "test".split(/(?:)/, -1).length || "".split(/.?/).length || ".".split(/()()/).length > 1 ? (ye = void 0 === /()??/.exec("")[1], s.split = function (e, n) { var r = this; if (void 0 === e && 0 === n) return []; if (!t(e)) return $(this, e, n); var o, i, a, l, s = [], u = (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.unicode ? "u" : "") + (e.sticky ? "y" : ""), c = 0, d = new RegExp(e.source, u + "g"); r += "", ye || (o = new RegExp("^" + d.source + "$(?!\\s)", u)); var v = void 0 === n ? -1 >>> 0 : D(n); for (i = d.exec(r); i && !((a = i.index + i[0].length) > c && (p.call(s, I(r, c, i.index)), !ye && i.length > 1 && i[0].replace(o, function () { for (var e = 1; e < arguments.length - 2; e++)void 0 === arguments[e] && (i[e] = void 0) }), i.length > 1 && i.index < r.length && p.apply(s, f.call(i, 1)), l = i[0].length, c = a, s.length >= v));)d.lastIndex === i.index && d.lastIndex++ , i = d.exec(r); return c === r.length ? !l && d.test("") || p.call(s, "") : p.call(s, I(r, c)), s.length > v ? I(s, 0, v) : s }) : "0".split(void 0, 0).length && (s.split = function (e, t) { return void 0 === e && 0 === t ? [] : $(this, e, t) }); var xe, Ee = s.replace; (xe = [], "x".replace(/x(.)?/g, function (e, t) { p.call(xe, t) }), 1 === xe.length && void 0 === xe[0]) || (s.replace = function (n, r) { var o = e(r), i = t(n) && /\)[*?]/.test(n.source); if (o && i) { return Ee.call(this, n, function (e) { var t = arguments.length, o = n.lastIndex; n.lastIndex = 0; var i = n.exec(e) || []; return n.lastIndex = o, p.call(i, arguments[t - 2], arguments[t - 1]), r.apply(this, i) }) } return Ee.call(this, n, r) }); var ke = s.substr, Se = "".substr && "b" !== "0b".substr(-1); O(s, { substr: function (e, t) { var n = e; return e < 0 && (n = g(this.length + e, 0)), ke.call(this, n, t) } }, Se); var Te, Ce, Ne = "\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff", Oe = "[" + Ne + "]", Pe = new RegExp("^" + Oe + Oe + "*"), je = new RegExp(Oe + Oe + "*$"), _e = s.trim && (Ne.trim() || !"​".trim()); O(s, { trim: function () { if (null == this) throw new TypeError("can't convert " + this + " to object"); return l(this).replace(Pe, "").replace(je, "") } }, _e), 8 === parseInt(Ne + "08") && 22 === parseInt(Ne + "0x16") || (parseInt = (Te = parseInt, Ce = /^0[xX]/, function (e, t) { var n = l(e).trim(), r = u(t) || (Ce.test(n) ? 16 : 10); return Te(n, r) })) }) }, {}], 26: [function (e, t, n) { var r = [], o = r.forEach, i = r.slice; t.exports = function (e) { return o.call(i.call(arguments, 1), function (t) { if (t) for (var n in t) e[n] = t[n] }), e } }, {}], 27: [function (e, t, n) { t.exports = function (e) { var t = r.call(e); return "[object Function]" === t || "function" == typeof e && "[object RegExp]" !== t || "undefined" != typeof window && (e === window.setTimeout || e === window.alert || e === window.confirm || e === window.prompt) }; var r = Object.prototype.toString }, {}], 28: [function (e, t, n) { "use strict"; t.exports = function (e) { return "object" == typeof e && null !== e } }, {}], 29: [function (e, t, n) { !function (e, n) { void 0 !== t && t.exports ? t.exports = n() : this.$script = n() }(0, function () { var e, t, n = document, r = n.getElementsByTagName("head")[0], o = !1, i = "push", a = "readyState", l = "onreadystatechange", s = {}, u = {}, c = {}, f = {}; function d(e, t) { for (var n = 0, r = e.length; n < r; ++n)if (!t(e[n])) return o; return 1 } function p(e, t) { d(e, function (e) { return !t(e) }) } function v(t, n, r) { t = t[i] ? t : [t]; var o = n && n.call, a = o ? n : r, l = o ? t.join("") : n, m = t.length; function g(e) { return e.call ? e() : s[e] } function y() { if (!--m) for (var e in s[l] = 1, a && a(), c) d(e.split("|"), g) && !p(c[e], g) && (c[e] = []) } return setTimeout(function () { p(t, function t(n, r) { return null === n ? y() : (n = r || -1 !== n.indexOf(".js") || /^https?:\/\//.test(n) || !e ? n : e + n + ".js", f[n] ? (l && (u[l] = 1), 2 == f[n] ? y() : setTimeout(function () { t(n, !0) }, 0)) : (f[n] = 1, l && (u[l] = 1), void h(n, y))) }) }, 0), v } function h(e, o) { var i, s = n.createElement("script"); s.onload = s.onerror = s[l] = function () { s[a] && !/^c|loade/.test(s[a]) || i || (s.onload = s[l] = null, i = 1, f[e] = 2, o()) }, s.async = 1, s.src = t ? e + (-1 === e.indexOf("?") ? "?" : "&") + t : e, r.insertBefore(s, r.lastChild) } return v.get = h, v.order = function (e, t, n) { !function r(o) { o = e.shift(), e.length ? v(o, r) : v(o, t, n) }() }, v.path = function (t) { e = t }, v.urlArgs = function (e) { t = e }, v.ready = function (e, t, n) { e = e[i] ? e : [e]; var r, o = []; return !p(e, function (e) { s[e] || o[i](e) }) && d(e, function (e) { return s[e] }) ? t() : (r = e.join("|"), c[r] = c[r] || [], c[r][i](t), n && n(o)), v }, v.done = function (e) { v([null], e) }, v }) }, {}] }, {}, [19])(19) }) };

	if (typeof eds1_10 !== 'undefined')
		eds_flowplayer(eds1_10);
})();