Minified Flowplayer resource
authorThierry Florac <tflorac@ulthar.net>
Wed, 26 Sep 2018 14:50:54 +0200
changeset 110 8ad0cdc0ed00
parent 109 a4e9e69a7344
child 111 6e9608b34a8c
Minified Flowplayer resource
src/pyams_media/skin/resources/flowplayer/flowplayer.min.js
--- a/src/pyams_media/skin/resources/flowplayer/flowplayer.min.js	Tue Sep 25 11:30:48 2018 +0200
+++ b/src/pyams_media/skin/resources/flowplayer/flowplayer.min.js	Wed Sep 26 14:50:54 2018 +0200
@@ -1,27 +1,1 @@
-/*
-
-   Flowplayer v6.0.5 (Wednesday, 13. January 2016 09:17AM) | flowplayer.org/license
-
-*/
-/* (C) WebReflection Mit Style License */
-(function(X){function V(g,m,d,b){for(var f,p=d.slice(),c=B(m,g),l=0,h=p.length;l<h;l++){handler=p[l],typeof handler=="object"&&typeof handler.handleEvent=="function"?handler.handleEvent(c):handler.call(g,c);if(c.stoppedImmediatePropagation){break}}return f=!c.stoppedPropagation,b&&f&&g.parentNode?g.parentNode.dispatchEvent(c):!c.defaultPrevented}function z(b,a){return{configurable:!0,get:b,set:a}}function aa(c,a,d){var b=W(a||c,d);F(c,"textContent",z(function(){return b.get.call(this)},function(f){b.set.call(this,f)}))}function B(b,a){return b.currentTarget=a,b.eventPhase=b.target===b.currentTarget?2:3,b}function G(b,a){var c=b.length;while(c--&&b[c]!==a){}return c}function k(){if(this.tagName==="BR"){return"\n"}var b=this.firstChild,a=[];while(b){b.nodeType!==8&&b.nodeType!==7&&a.push(b.textContent),b=b.nextSibling}return a.join("")}function A(a){return a.nodeType!==9&&document.documentElement.contains(a)}function j(a){!O&&Y.test(document.readyState)&&(O=!O,document.detachEvent(K,j),a=document.createEvent("Event"),a.initEvent(R,!0,!0),document.dispatchEvent(a))}function q(b){var a;while(a=this.lastChild){this.removeChild(a)}b!=null&&this.appendChild(document.createTextNode(b))}function J(a,b){return b||(b=X.event),b.target||(b.target=b.srcElement||b.fromElement||document),b.timeStamp||(b.timeStamp=(new Date).getTime()),b}if(document.createEvent){return}var H=!0,O=!1,K="onreadystatechange",R="DOMContentLoaded",I="__IE8__"+Math.random(),M=X.Object,F=M.defineProperty||function(b,a,c){b[a]=c.value},ab=M.defineProperties||function(b,d){for(var c in d){if(Q.call(d,c)){try{F(b,c,d[c])}catch(a){X.console&&console.log(c+" failed on object:",b,a.message)}}}},W=M.getOwnPropertyDescriptor,Q=M.prototype.hasOwnProperty,Z=X.Element.prototype,U=X.Text.prototype,L=/^[a-z]+$/,Y=/loaded|complete/,D={},P=document.createElement("div");aa(X.HTMLCommentElement.prototype,Z,"nodeValue"),aa(X.HTMLScriptElement.prototype,null,"text"),aa(U,null,"nodeValue"),aa(X.HTMLTitleElement.prototype,null,"text"),F(X.HTMLStyleElement.prototype,"textContent",function(a){return z(function(){return a.get.call(this.styleSheet)},function(b){a.set.call(this.styleSheet,b)})}(W(X.CSSStyleSheet.prototype,"cssText"))),ab(Z,{textContent:{get:k,set:q},firstElementChild:{get:function(){for(var b=this.childNodes||[],a=0,c=b.length;a<c;a++){if(b[a].nodeType==1){return b[a]}}}},lastElementChild:{get:function(){for(var b=this.childNodes||[],a=b.length;a--;){if(b[a].nodeType==1){return b[a]}}}},previousElementSibling:{get:function(){var a=this.previousSibling;while(a&&a.nodeType!=1){a=a.previousSibling}return a}},nextElementSibling:{get:function(){var a=this.nextSibling;while(a&&a.nodeType!=1){a=a.nextSibling}return a}},childElementCount:{get:function(){for(var b=0,a=this.childNodes||[],c=a.length;c--;b+=a[c].nodeType==1){}return b}},addEventListener:{value:function(m,u,g){var b=this,h="on"+m,d=b[I]||F(b,I,{value:{}})[I],s=d[h]||(d[h]={}),l=s.h||(s.h=[]),p;if(!Q.call(s,"w")){s.w=function(a){return a[I]||V(b,J(b,a),l,!1)};if(!Q.call(D,h)){if(L.test(m)){try{p=document.createEventObject(),p[I]=!0,b.nodeType!=9&&b.parentNode==null&&P.appendChild(b),b.fireEvent(h,p),D[h]=!0}catch(p){D[h]=!1;while(P.hasChildNodes()){P.removeChild(P.firstChild)}}}else{D[h]=!1}}(s.n=D[h])&&b.attachEvent(h,s.w)}G(l,u)<0&&l[g?"unshift":"push"](u)}},dispatchEvent:{value:function(f){var c=this,h="on"+f.type,d=c[I],b=d&&d[h],g=!!b,a;return f.target||(f.target=c),g?b.n?c.fireEvent(h,f):V(c,f,b.h,!0):(a=c.parentNode)?a.dispatchEvent(f):!0,!f.defaultPrevented}},removeEventListener:{value:function(l,s,d){var b=this,g="on"+l,c=b[I],p=c&&c[g],m=p&&p.h,h=m?G(m,s):-1;-1<h&&m.splice(h,1)}}}),ab(U,{addEventListener:{value:Z.addEventListener},dispatchEvent:{value:Z.dispatchEvent},removeEventListener:{value:Z.removeEventListener}}),ab(X.XMLHttpRequest.prototype,{addEventListener:{value:function(l,d,p){var g=this,c="on"+l,m=g[I]||F(g,I,{value:{}})[I],b=m[c]||(m[c]={}),h=b.h||(b.h=[]);G(h,d)<0&&(g[c]||(g[c]=function(){var a=document.createEvent("Event");a.initEvent(l,!0,!0),g.dispatchEvent(a)}),h[p?"unshift":"push"](d))}},dispatchEvent:{value:function(d){var b=this,g="on"+d.type,c=b[I],a=c&&c[g],f=!!a;return f&&(a.n?b.fireEvent(g,d):V(b,d,a.h,!0))}},removeEventListener:{value:Z.removeEventListener}}),ab(X.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(b,a,c){this.type=b,this.bubbles=!!a,this.cancelable=!!c,this.bubbles||this.stopPropagation()}}}),ab(X.HTMLDocument.prototype,{textContent:{get:function(){return this.nodeType===11?k.call(this):null},set:function(a){this.nodeType===11&&q.call(this,a)}},addEventListener:{value:function(f,d,e){var c=this;Z.addEventListener.call(c,f,d,e),H&&f===R&&!Y.test(c.readyState)&&(H=!1,c.attachEvent(K,j),X==top&&function b(g){try{c.documentElement.doScroll("left"),j()}catch(a){setTimeout(b,50)}}())}},dispatchEvent:{value:Z.dispatchEvent},removeEventListener:{value:Z.removeEventListener},createEvent:{value:function(b){var a;if(b!=="Event"){throw new Error("unsupported "+b)}return a=document.createEventObject(),a.timeStamp=(new Date).getTime(),a}}}),ab(X.Window.prototype,{getComputedStyle:{value:function(){function b(h){this._=h}function c(){}var f=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,a=/^(top|right|bottom|left)$/,g=/\-([a-z])/g,d=function(i,h){return h.toUpperCase()};return b.prototype.getPropertyValue=function(n){var p=this._,t=p.style,m=p.currentStyle,h=p.runtimeStyle,r,e,v;return n=(n==="float"?"style-float":n).replace(g,d),r=m?m[n]:t[n],f.test(r)&&!a.test(n)&&(e=t.left,v=h&&h.left,v&&(h.left=m.left),t.left=n==="fontSize"?"1em":r,r=t.pixelLeft+"px",t.left=e,v&&(h.left=v)),r==null?r:r+""||"auto"},c.prototype.getPropertyValue=function(){return null},function(i,h){return h?new c(i):new b(i)}}()},addEventListener:{value:function(c,f,d){var b=X,e="on"+c,a;b[e]||(b[e]=function(g){return V(b,J(b,g),a,!1)}),a=b[e][I]||(b[e][I]=[]),G(a,f)<0&&a[d?"unshift":"push"](f)}},dispatchEvent:{value:function(a){var b=X["on"+a.type];return b?b.call(X,a)!==!1&&!a.defaultPrevented:!0}},removeEventListener:{value:function(e,g,f){var d="on"+e,c=(X[d]||M)[I],b=c?G(c,g):-1;-1<b&&c.splice(b,1)}}})})(this);!function(b){if("object"==typeof exports&&"undefined"!=typeof module){module.exports=b()}else{if("function"==typeof define&&define.amd){define([],b)}else{var a;"undefined"!=typeof window?a=window:"undefined"!=typeof global?a=global:"undefined"!=typeof self&&(a=self),a.flowplayer=b()}}}(function(){var d,b,a;return(function c(f,k,h){function g(q,n){if(!k[q]){if(!f[q]){var m=typeof require=="function"&&require;if(!n&&m){return m(q,!0)}if(e){return e(q,!0)}var p=new Error("Cannot find module '"+q+"'");throw p.code="MODULE_NOT_FOUND",p}var i=k[q]={exports:{}};f[q][0].call(i.exports,function(l){var o=f[q][1][l];return g(o?o:l)},i,i.exports,c,f,k,h)}return k[q].exports}var e=typeof require=="function"&&require;for(var j=0;j<h.length;j++){g(h[j])}return g})({1:[function(i,g,f){var h=g.exports={},k=i("class-list"),j=window.jQuery,l=i("punycode"),e=i("computed-style");h.noop=function(){};h.identity=function(m){return m};h.removeNode=function(m){if(!m||!m.parentNode){return}m.parentNode.removeChild(m)};h.find=function(n,m){if(j){return j(n,m).toArray()}m=m||document;return Array.prototype.map.call(m.querySelectorAll(n),function(o){return o})};h.text=function(n,m){n[("innerText" in n)?"innerText":"textContent"]=m};h.findDirect=function(n,m){return h.find(n,m).filter(function(o){return o.parentNode===m})};h.hasClass=function(n,m){return k(n).contains(m)};h.isSameDomain=function(o){var n=window.location,m=h.createElement("a",{href:o});return n.hostname===m.hostname&&n.protocol===m.protocol&&n.port===m.port};h.css=function(m,o,n){if(typeof o==="object"){return Object.keys(o).forEach(function(p){h.css(m,p,o[p])})}if(typeof n!=="undefined"){if(n===""){return m?m.style.removeProperty(o):undefined}return m?m.style.setProperty(o,n):undefined}return m?e(m,o):undefined};h.createElement=function(m,n,r){try{var p=document.createElement(m);for(var o in n){if(!n.hasOwnProperty(o)){continue}if(o==="css"){h.css(p,n[o])}else{h.attr(p,o,n[o])}}p.innerHTML=r||"";return p}catch(q){if(!j){throw q}return j("<"+m+">"+r+"</"+m+">").attr(n)[0]}};h.toggleClass=function(p,n,m){if(!p){return}var o=k(p);if(typeof m==="undefined"){o.toggle(n)}else{if(m){o.add(n)}else{if(!m){o.remove(n)}}}};h.addClass=function(n,m){return h.toggleClass(n,m,true)};h.removeClass=function(n,m){return h.toggleClass(n,m,false)};h.append=function(m,n){m.appendChild(n);return m};h.appendTo=function(n,m){h.append(m,n);return n};h.prepend=function(m,n){m.insertBefore(n,m.firstChild)};h.insertAfter=function(n,p,m){if(p==h.lastChild(n)){n.appendChild(m)}var o=Array.prototype.indexOf.call(n.children,p);n.insertBefore(m,n.children[o+1])};h.html=function(m,n){m=m.length?m:[m];m.forEach(function(o){o.innerHTML=n})};h.attr=function(n,m,p){if(m==="class"){m="className"}if(h.hasOwnOrPrototypeProperty(n,m)){try{n[m]=p}catch(o){if(j){j(n).attr(m,p)}else{throw o}}}else{if(p===false){n.removeAttribute(m)}else{n.setAttribute(m,p)}}return n};h.prop=function(n,m,o){if(typeof o==="undefined"){return n&&n[m]}n[m]=o};h.offset=function(n){var m=n.getBoundingClientRect();if(n.offsetWidth/n.offsetHeight>n.clientWidth/n.clientHeight){m={left:m.left*100,right:m.right*100,top:m.top*100,bottom:m.bottom*100,width:m.width*100,height:m.height*100}}return m};h.width=function(n,o){if(o){return n.style.width=(""+o).replace(/px$/,"")+"px"}var m=h.offset(n).width;return typeof m==="undefined"?n.offsetWidth:m};h.height=function(n,o){if(o){return n.style.height=(""+o).replace(/px$/,"")+"px"}var m=h.offset(n).height;return typeof m==="undefined"?n.offsetHeight:m};h.lastChild=function(m){return m.children[m.children.length-1]};h.hasParent=function(n,o){var m=n.parentElement;while(m){if(h.matches(m,o)){return true}m=m.parentElement}return false};h.createAbsoluteUrl=function(m){return h.createElement("a",{href:m}).href};h.xhrGet=function(m,o,n){var p=new XMLHttpRequest();p.onreadystatechange=function(){if(this.readyState!==4){return}if(this.status>=400){return n()}o(this.responseText)};p.open("get",m,true);p.send()};h.pick=function(o,n){var m={};n.forEach(function(p){if(o.hasOwnProperty(p)){m[p]=o[p]}});return m};h.hostname=function(m){return l.toUnicode(m||window.location.hostname)};h.browser={webkit:"WebkitAppearance" in document.documentElement.style};h.getPrototype=function(m){if(!Object.getPrototypeOf){return m.__proto__}return Object.getPrototypeOf(m)};h.hasOwnOrPrototypeProperty=function(m,p){var n=m;while(n){if(Object.prototype.hasOwnProperty.call(n,p)){return true}n=h.getPrototype(n)}return false};h.matches=function(p,m){var o=Element.prototype,n=o.matches||o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector||function(q){var s=this,t=(s.document||s.ownerDocument).querySelectorAll(q),r=0;while(t[r]&&t[r]!==s){r++}return t[r]?true:false};return n.call(p,m)};(function(n){function m(o){return o.replace(/-[a-z]/g,function(p){return p[1].toUpperCase()})}if(typeof n.setAttribute!=="undefined"){n.setProperty=function(p,o){return this.setAttribute(m(p),String(o))};n.getPropertyValue=function(o){return this.getAttribute(m(o))||null};n.removeProperty=function(p){var o=this.getPropertyValue(p);this.removeAttribute(m(p));return o}}})(window.CSSStyleDeclaration.prototype)},{"class-list":22,"computed-style":24,punycode:21}],2:[function(h,f,e){var g=h("../common");f.exports=function i(n,o,m,q){m=m||"opaque";var k="obj"+(""+Math.random()).slice(2,15),r='<object class="fp-engine" id="'+k+'" name="'+k+'" ',p=navigator.userAgent.indexOf("MSIE")>-1;r+=p?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+n+'" type="application/x-shockwave-flash">';var j={width:"100%",height:"100%",allowscriptaccess:"always",wmode:m,quality:"high",flashvars:"",movie:n+(p?"?"+k:""),name:k};if(m!=="transparent"){j.bgcolor=q||"#333333"}Object.keys(o).forEach(function(s){j.flashvars+=s+"="+o[s]+"&"});Object.keys(j).forEach(function(s){r+='<param name="'+s+'" value="'+j[s]+'"/>'});r+="</object>";var l=g.createElement("div",{},r);return g.find("object",l)};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})}},{"../common":1}],3:[function(f,g,i){var e=f("../flowplayer"),m=f("../common"),l=f("./embed"),n=f("extend-object"),o=f("bean"),j;j=function h(A,z){var x=A.conf,q=A.video,B,p,r,w;var v=window;var y={engineName:j.engineName,pick:function(C){var D=n({},(function(){if(e.support.flashVideo){var G;for(var E=0,F;E<C.length;E++){F=C[E];if(/mp4|flv|flash/i.test(F.type)){G=F}if(A.conf.swfHls&&/mpegurl/i.test(F.type)){G=F}if(G&&!/mp4/i.test(G.type)){return G}}return G}})());if(!D){return}if(D.src&&!k(D.src)&&!A.conf.rtmp&&!D.rtmp){D.src=m.createAbsoluteUrl(D.src)}return D},load:function(G){B=G;function D(R){return R.replace(/&amp;/g,"%26").replace(/&/g,"%26").replace(/=/g,"%3D")}var J=m.findDirect("video",z)[0]||m.find(".fp-player > video",z)[0],F=G.src,O=k(F);var P=function(){m.removeNode(J)};var K=function(R){return R.some(function(S){return !!J.canPlayType(S.type)})};if(e.support.video&&m.prop(J,"autoplay")&&K(G.sources)){o.one(J,"timeupdate",P)}else{P()}var L=G.rtmp||x.rtmp;if(!O&&!L){F=m.createAbsoluteUrl(F)}if(w&&u(G)&&w.data!==x.swfHls){y.unload()}if(w){["live","preload","loop"].forEach(function(R){if(!G.hasOwnProperty(R)){return}w.__set(R,G[R])});Object.keys(G.flashls||{}).forEach(function(R){w.__set("hls_"+R,G.flashls[R])});var Q=false;if(!O&&L){w.__set("rtmp",L.url||L)}else{var M=w.__get("rtmp");Q=!!M;w.__set("rtmp",null)}w.__play(F,Q||G.rtmp&&G.rtmp!==x.rtmp)}else{p="fpCallback"+(""+Math.random()).slice(3,15);F=D(F);var C={hostname:x.embedded?m.hostname(x.hostname):m.hostname(location.hostname),url:F,callback:p};if(z.getAttribute("data-origin")){C.origin=z.getAttribute("data-origin")}["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(R){if(x.hasOwnProperty(R)){C[R]=x[R]}if(G.hasOwnProperty(R)){C[R]=G[R]}if((x.rtmp||{}).hasOwnProperty(R)){C[R]=(x.rtmp||{})[R]}if((G.rtmp||{}).hasOwnProperty(R)){C[R]=(G.rtmp||{})[R]}});if(x.rtmp){C.rtmp=x.rtmp.url||x.rtmp}if(G.rtmp){C.rtmp=G.rtmp.url||G.rtmp}Object.keys(G.flashls||{}).forEach(function(R){var S=G.flashls[R];C["hls_"+R]=S});if(x.bufferTime!==undefined){C.bufferTime=x.bufferTime}if(O){delete C.rtmp}if(C.rtmp){C.rtmp=D(C.rtmp)}var N=x.bgcolor||m.css(z,"background-color")||"",I;if(N.indexOf("rgb")===0){I=s(N)}else{if(N.indexOf("#")===0){I=t(N)}}C.initialVolume=A.volumeLevel;var H=u(G)?x.swfHls:x.swf;w=l(H,C,x.wmode,I)[0];var E=m.find(".fp-player",z)[0];m.prepend(E,w);setTimeout(function(){try{if(!w.PercentLoaded()){return A.trigger("error",[A,{code:7,url:x.swf}])}}catch(R){}},5000);setTimeout(function(){if(typeof w.PercentLoaded==="undefined"){A.trigger("flashdisabled",[A])}},1000);A.off("resume.flashhack").on("resume.flashhack",function(){var R=setTimeout(function(){if(A.playing){A.trigger("flashdisabled",[A])}},1000);A.one("progress",function(){clearTimeout(R)})});w.pollInterval=setInterval(function(){if(!w){return}var R=w.__status?w.__status():null;if(!R){return}if(A.playing&&R.time&&R.time!==A.video.time){A.trigger("progress",[A,R.time])}G.buffer=R.buffer/G.bytes*G.duration;A.trigger("buffer",[A,G.buffer]);if(!G.buffered&&R.time>0){G.buffered=true;A.trigger("buffered",[A])}},250);window[p]=function(S,R){var U=B;if(x.debug){if(S.indexOf("debug")===0&&R&&R.length){console.log.apply(console,["-- "+S].concat(R))}else{console.log("--",S,R)}}var T={type:S};switch(S){case"ready":R=n(U,R);break;case"click":T.flash=true;break;case"keydown":T.which=R;break;case"seek":U.time=R;break;case"status":A.trigger("progress",[A,R.time]);if(R.buffer<U.bytes&&!U.buffered){U.buffer=R.buffer/U.bytes*U.duration;A.trigger("buffer",U.buffer)}else{if(!U.buffered){U.buffered=true;A.trigger("buffered")}}break}if(S==="click"||S==="keydown"){T.target=z;o.fire(z,S,[T])}else{if(S!="buffered"&&S!=="unload"){setTimeout(function(){A.trigger(T,[A,R])},1)}else{if(S==="unload"){A.trigger(T,[A,R])}}}}}},speed:m.noop,unload:function(){if(w&&w.__unload){w.__unload()}try{if(p&&window[p]){delete window[p]}}catch(C){}m.find("object",z).forEach(m.removeNode);w=0;A.off(".flashengine");clearInterval(w.pollInterval)}};["pause","resume","seek","volume"].forEach(function(C){y[C]=function(D){try{if(A.ready){if(D===undefined){w["__"+C]()}else{w["__"+C](D)}}}catch(E){if(typeof w["__"+C]==="undefined"){return A.trigger("flashdisabled",[A])}throw E}}});function s(C){function D(E){return("0"+parseInt(E).toString(16)).slice(-2)}C=C.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(!C){return}return"#"+D(C[1])+D(C[2])+D(C[3])}function t(D){if(D.length===7){return D}var C=D.split("").slice(1);return"#"+C.map(function(E){return E+E}).join("")}function u(C){return/application\/x-mpegurl/i.test(C.type)}return y};j.engineName="flash";j.canPlay=function(q,p){return e.support.flashVideo&&/video\/(mp4|flash|flv)/i.test(q)||e.support.flashVideo&&p.swfHls&&/mpegurl/i.test(q)};e.engines.push(j);function k(p){return/^https?:/.test(p)}},{"../common":1,"../flowplayer":18,"./embed":2,bean:20,"extend-object":26}],4:[function(f,g,i){var e=f("../flowplayer"),t=f("bean"),h=f("class-list"),p=f("extend-object"),n=f("../common");var s=document.createElement("video");var o={ended:"finish",pause:"pause",play:"resume",progress:"buffer",timeupdate:"progress",volumechange:"volume",ratechange:"speed",seeked:"seek",loadeddata:"ready",error:"error",dataunavailable:"error",webkitendfullscreen:!e.support.inlineVideo&&"unload"};function u(w,v){v=v||100;return Math.round(w*v)/v}function q(v){return/mpegurl/i.test(v)?"application/x-mpegurl":v}function l(v){if(!/^(video|application)/i.test(v)){v=q(v)}return !!s.canPlayType(v).replace("no","")}function k(w,x){var v=w.filter(function(y){return y.type===x});return v.length?v[0]:null}var j;var m=function(y,z,w,v){if(typeof z==="undefined"){z=true}if(typeof w==="undefined"){w="none"}if(typeof v==="undefined"){v=true}if(v&&j){j.type=q(y.type);j.src=y.src;n.find("track",j).forEach(n.removeNode);j.removeAttribute("crossorigin");return j}var x=document.createElement("video");x.src=y.src;x.type=q(y.type);x.className="fp-engine";x.autoplay=z?"autoplay":false;x.preload=w;x.setAttribute("x-webkit-airplay","allow");if(v){j=x}return x};var r;r=function(D,B){var z=n.findDirect("video",B)[0]||n.find(".fp-player > video",B)[0],C=e.support,w=n.find("track",z)[0],A=D.conf,E,v,y;return E={engineName:r.engineName,pick:function(F){var G=(function(){if(C.video){if(A.videoTypePreference){var I=k(F,A.videoTypePreference);if(I){return I}}for(var H=0,J;H<F.length;H++){if(l(F[H].type)){return F[H]}}}})();if(!G){return}if(typeof G.src==="string"){G.src=n.createAbsoluteUrl(G.src)}return G},load:function(H){var I=false,F=n.find(".fp-player",B)[0],G=false;if(A.splash&&!z){z=m(H);n.prepend(F,z);I=true}else{if(!z){z=m(H,!!H.autoplay||!!A.autoplay,A.clip.preload||"metadata",false);n.prepend(F,z);I=true}else{h(z).add("fp-engine");n.find("source,track",z).forEach(n.removeNode);if(!D.conf.nativesubtitles){n.attr(z,"crossorigin",false)}G=z.src===H.src}}if(!C.inlineVideo){n.css(z,{position:"absolute",top:"-9999em"})}t.off(z,"timeupdate",n.noop);t.on(z,"timeupdate",n.noop);n.prop(z,"loop",!!(H.loop||A.loop));if(typeof y!=="undefined"){z.volume=y}if(D.video.src&&H.src!=D.video.src||H.index){n.attr(z,"autoplay","autoplay")}z.src=H.src;z.type=H.type;E._listeners=x(z,n.find("source",z).concat(z),H);if(A.clip.preload!="none"&&H.type!="mpegurl"||!C.zeropreload||!C.dataload){z.load()}if(I||G){z.load()}if(z.paused&&(H.autoplay||A.autoplay)){z.play()}},pause:function(){z.pause()},resume:function(){z.play()},speed:function(F){z.playbackRate=F},seek:function(H){try{var F=D.paused;z.currentTime=H;if(F){z.pause()}}catch(G){}},volume:function(F){y=F;if(z){z.volume=F}},unload:function(){n.find("video.fp-engine",B).forEach(n.removeNode);if(!C.cachedVideoTag){j=null}v=clearInterval(v);var F=B.getAttribute("data-flowplayer-instance-id");delete z.listeners[F];z=0;if(E._listeners){Object.keys(E._listeners).forEach(function(G){E._listeners[G].forEach(function(H){B.removeEventListener(G,H,true)})})}}};function x(G,F,I){var H=B.getAttribute("data-flowplayer-instance-id");if(G.listeners&&G.listeners.hasOwnProperty(H)){G.listeners[H]=I;return}(G.listeners||(G.listeners={}))[H]=I;t.on(F,"error",function(K){try{if(l(K.target.getAttribute("type"))){D.trigger("error",[D,{code:4,video:p(I,{src:G.src,url:G.src})}])}}catch(L){}});D.on("shutdown",function(){t.off(F)});var J={};Object.keys(o).forEach(function(M){var L=o[M];if(!L){return}var K=function(S){I=G.listeners[H];if(!S.target||!h(S.target).contains("fp-engine")){return}if(A.debug&&!/progress/.test(L)){console.log(M,"->",L,S)}if(!D.ready&&!/ready|error/.test(L)||!L||!n.find("video",B).length){return}var V,Q;if(L==="unload"){D.unload();return}var T=function(){D.trigger(L,[D,V])};switch(L){case"ready":V=p(I,{duration:G.duration,width:G.videoWidth,height:G.videoHeight,url:G.currentSrc,src:G.currentSrc});try{V.seekable=!D.live&&/mpegurl/i.test(I?(I.type||""):"")&&G.duration||G.seekable&&G.seekable.end(null)}catch(P){}v=v||setInterval(function(){try{V.buffer=G.buffered.end(null)}catch(W){}if(V.buffer){if(u(V.buffer,1000)<u(V.duration,1000)&&!V.buffered){D.trigger("buffer",S)}else{if(!V.buffered){V.buffered=true;D.trigger("buffer",S).trigger("buffered",S);clearInterval(v);v=0}}}},250);if(!D.live&&!V.duration&&!C.hlsDuration&&M==="loadeddata"){var R=function(){V.duration=G.duration;try{V.seekable=G.seekable&&G.seekable.end(null)}catch(W){}T();G.removeEventListener("durationchange",R);h(B).remove("is-live")};G.addEventListener("durationchange",R);var N=function(){if(!D.ready&&!G.duration){V.duration=0;h(B).add("is-live");T()}G.removeEventListener("timeupdate",N)};G.addEventListener("timeupdate",N);return}break;case"progress":case"seek":var O=D.video.duration;if(G.currentTime>0||D.live){V=Math.max(G.currentTime,0)}else{if(L=="progress"){return}}break;case"speed":V=u(G.playbackRate);break;case"volume":V=u(G.volume);break;case"error":try{V=(S.srcElement||S.originalTarget).error;V.video=p(I,{src:G.src,url:G.src})}catch(U){return}}T()};B.addEventListener(M,K,true);if(!J[M]){J[M]=[]}J[M].push(K)});return J}};r.canPlay=function(v){return e.support.video&&l(v)};r.engineName="html5";e.engines.push(r)},{"../common":1,"../flowplayer":18,bean:20,"class-list":22,"extend-object":26}],5:[function(k,i,g){var e=k("../flowplayer"),h=k("./resolve").TYPE_RE,j=k("scriptjs"),f=k("bean");e(function(n,m){var s=n.conf.analytics,q=0,o=0,r;if(s){if(typeof _gat=="undefined"){j("//google-analytics.com/ga.js")}var p=function(){var t=_gat._getTracker(s);t._setAllowLinker(true);return t};var l=function l(w,t,v){v=v||n.video;if(q&&typeof _gat!="undefined"){var u=p();u._trackEvent("Video / Seconds played",n.engine.engineName+"/"+v.type,v.title||m.getAttribute("title")||v.src.split("/").slice(-1)[0].replace(h,""),Math.round(q/1000));q=0;if(r){clearTimeout(r);r=null}}};n.bind("load unload",l).bind("progress",function(){if(!n.seeking){q+=o?(+new Date()-o):0;o=+new Date()}if(!r){r=setTimeout(function(){r=null;var t=p();t._trackEvent("Flowplayer heartbeat","Heartbeat","",0,true)},10*60*1000)}}).bind("pause",function(){o=0});n.bind("shutdown",function(){f.off(window,"unload",l)});f.on(window,"unload",l)}})},{"../flowplayer":18,"./resolve":13,bean:20,scriptjs:29}],6:[function(j,h,g){var e=j("../flowplayer"),k=j("class-list"),i=j("../common"),f=j("bean");e(function(u,s){var m=/ ?cue\d+ ?/;var l=0,o=false;function t(v){s.className=s.className.replace(m," ");if(v>=0){k(s).add("cue"+v)}}var p={},r=-0.125;var n=function(w){var v=u.cuepoints.indexOf(w);if(!isNaN(w)){w={time:w}}w.index=v;t(v);u.trigger("cuepoint",[u,w])};u.on("progress",function(y,v,x){if(o){return}var w=q(x);while(r<w){r+=0.125;if(!p[r]){continue}p[r].forEach(n)}}).on("unload",t).on("beforeseek",function(v){setTimeout(function(){if(!v.defaultPrevented){o=true}})}).on("seek",function(w,v,x){t();r=q(x||0)-0.125;o=false;if(!x&&p[0]){p[0].forEach(n)}}).on("ready",function(y,w,x){r=-0.125;var v=x.cuepoints||u.conf.cuepoints||[];u.setCuepoints(v)}).on("finish",function(){r=-0.125});if(u.conf.generate_cuepoints){u.bind("load",function(){i.find(".fp-cuepoint",s).forEach(i.removeNode)})}u.setCuepoints=function(v){u.cuepoints=[];p={};v.forEach(u.addCuepoint);return u};u.addCuepoint=function(v){if(!u.cuepoints){u.cuepoints=[]}var y=q(v);if(!p[y]){p[y]=[]}p[y].push(v);u.cuepoints.push(v);if(u.conf.generate_cuepoints&&v.visible!==false){var A=u.video.duration,x=i.find(".fp-timeline",s)[0];i.css(x,"overflow","visible");var z=v.time||v;if(z<0){z=A+z}var w=i.createElement("a",{className:"fp-cuepoint fp-cuepoint"+(u.cuepoints.length-1)});i.css(w,"left",(z/A*100)+"%");x.appendChild(w);f.on(w,"mousedown",function(B){B.preventDefault();B.stopPropagation();u.seek(z)})}return u};u.removeCuepoint=function(w){var v=u.cuepoints.indexOf(w),y=q(w);if(v===-1){return}u.cuepoints=u.cuepoints.slice(0,v).concat(u.cuepoints.slice(v+1));var x=p[y].indexOf(w);if(x===-1){return}p[y]=p[y].slice(0,x).concat(p[y].slice(x+1));return u};function q(v){var w=v&&!isNaN(v.time)?v.time:v;if(w<0){w=u.video.duration+w}return Math.round(w/0.125)*0.125}})},{"../common":1,"../flowplayer":18,bean:20,"class-list":22}],7:[function(f,g,i){var e=f("../flowplayer"),m=f("bean"),j=f("../common"),n=f("is-object"),k=f("extend-object"),h=f("class-list");e(function(r,o){if(r.conf.embed===false){return}var q=r.conf,t=j.find(".fp-ui",o)[0],p=j.createElement("a",{"class":"fp-embed",title:"Copy to your site"}),u=j.createElement("div",{"class":"fp-embed-code"},"<label>Paste this HTML code on your site to embed.</label><textarea></textarea>"),s=j.find("textarea",u)[0];t.appendChild(p);t.appendChild(u);r.embedCode=function(){var A=r.conf.embed||{},z=r.video;if(A.iframe){var B=r.conf.embed.iframe,y=A.width||z.width||j.width(o),v=A.height||z.height||j.height(o);return'<iframe src="'+r.conf.embed.iframe+'" allowfullscreen style="width:'+y+";height:"+v+';border:none;"></iframe>'}var x=["ratio","rtmp","live","bufferTime","origin","analytics","key","subscribe","swf","swfHls","embed","adaptiveRatio","logo"];if(A.playlist){x.push("playlist")}var C=j.pick(r.conf,x);if(C.logo){C.logo=j.createElement("img",{src:C.logo}).src}if(!A.playlist||!r.conf.playlist.length){C.clip=k({},r.conf.clip,j.pick(r.video,["sources"]))}var w='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.5/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(C)).replace("$library",A.library||"");return'<a href="$href">Watch video!\n<script>$script<\/script></a>'.replace("$href",r.conf.origin||window.location.href).replace("$script",w)};l(o,".fp-embed","is-embedding");m.on(o,"click",".fp-embed-code textarea",function(){s.select()});m.on(o,"click",".fp-embed",function(){s.textContent=r.embedCode().replace(/(\r\n|\n|\r)/gm,"");s.focus();s.select()})});var l=function(p,q,r){function s(){o.remove(r);m.off(document,".st")}var o=h(p);m.on(p,"click",q||"a",function(t){t.preventDefault();o.toggle(r);if(o.contains(r)){m.on(document,"keydown.st",function(u){if(u.which==27){s()}});m.on(document,"click.st",function(u){if(!j.hasParent(u.target,"."+r)){s()}})}})}},{"../common":1,"../flowplayer":18,bean:20,"class-list":22,"extend-object":26,"is-object":28}],8:[function(g,f,e){f.exports=function(m,k){if(!k){k=document.createElement("div")}var i={},h={};var j=function(n,o,r){var q=n.split(".")[0];var p=function(t){if(r){k.removeEventListener(q,p);i[n].splice(i[n].indexOf(p),1)}var s=[t].concat(h[t.timeStamp+t.type]||[]);if(o){o.apply(undefined,s)}};k.addEventListener(q,p);if(!i[n]){i[n]=[]}i[n].push(p)};m.on=m.bind=function(p,o){var n=p.split(" ");n.forEach(function(q){j(q,o)});return m};m.one=function(p,o){var n=p.split(" ");n.forEach(function(q){j(q,o,true)});return m};var l=function(o,n){return n.filter(function(p){return o.indexOf(p)===-1}).length===0};m.off=m.unbind=function(o){var n=o.split(" ");n.forEach(function(q){var p=q.split(".").slice(1),r=q.split(".")[0];Object.keys(i).filter(function(s){var u=s.split(".").slice(1);return(!r||s.indexOf(r)===0)&&l(u,p)}).forEach(function(s){var v=i[s],u=s.split(".")[0];v.forEach(function(t){k.removeEventListener(u,t);v.splice(v.indexOf(t),1)})})});return m};m.trigger=function(r,n,o){if(!r){return}n=(n||[]).length?n||[]:[n];var q=document.createEvent("Event"),p;p=r.type||r;q.initEvent(p,false,true);if(Object.defineProperty){q.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return true}})}}h[q.timeStamp+q.type]=n;k.dispatchEvent(q);return o?q:m}};f.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],9:[function(h,i,m){var g=h("../flowplayer"),r=h("bean"),l=h("class-list"),o=h("extend-object"),n=h("../common"),q=g.support.browser.mozilla?"moz":"webkit",t="fullscreen",k="fullscreen-exit",e,s=g.support.fullscreen,p=typeof document.exitFullscreen=="function",f=navigator.userAgent.toLowerCase(),j=/(safari)[ \/]([\w.]+)/.exec(f)&&!/(chrome)[ \/]([\w.]+)/.exec(f);r.on(document,"fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr",function(w){var v=document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.fullscreenElement||document.msFullscreenElement||w.target;if(!e&&(!v.parentNode||!v.parentNode.getAttribute("data-flowplayer-instance-id"))){return}var u=e||g(v.parentNode);if(v&&!e){e=u.trigger(t,[v])}else{e.trigger(k,[e]);e=null}});g(function(x,v){var B=n.createElement("div",{className:"fp-player"});Array.prototype.map.call(v.children,n.identity).forEach(function(C){if(n.matches(C,".fp-ratio,script")){return}B.appendChild(C)});v.appendChild(B);if(!x.conf.fullscreen){return}var z=window,y,A,u=l(v);x.isFullscreen=false;x.fullscreen=function(C){if(x.disabled){return}if(C===undefined){C=!x.isFullscreen}if(C){y=z.scrollY;A=z.scrollX}if(s){if(C){["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(D){if(typeof B[D]==="function"){B[D](Element.ALLOW_KEYBOARD_INPUT);if(j&&!document.webkitCurrentFullScreenElement&&!document.mozFullScreenElement){B[D]()}return false}})}else{["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(D){if(typeof document[D]==="function"){document[D]();return false}})}}else{x.trigger(C?t:k,[x])}return x};var w;x.on("mousedown.fs",function(){if(+new Date()-w<150&&x.ready){x.fullscreen()}w=+new Date()});x.on(t,function(C){u.add("is-fullscreen");if(!s){n.css(v,"position","fixed")}x.isFullscreen=true}).on(k,function(D){var C;if(!s&&x.engine==="html5"){C=v.css("opacity")||"";n.css(v,"opacity",0)}if(!s){n.css(v,"position","")}u.remove("is-fullscreen");if(!s&&x.engine==="html5"){setTimeout(function(){v.css("opacity",C)})}x.isFullscreen=false;z.scrollTo(A,y)}).on("unload",function(){if(x.isFullscreen){x.fullscreen()}});x.on("shutdown",function(){e=null})})},{"../common":1,"../flowplayer":18,bean:20,"class-list":22,"extend-object":26}],10:[function(g,h,j){var f=g("../flowplayer"),n=g("bean"),m,l,e="is-help",k=g("../common"),i=g("class-list");n.on(document,"keydown.fp",function(t){var r=m,s=t.ctrlKey||t.metaKey||t.altKey,p=t.which,o=r&&r.conf,q=l&&i(l);if(!r||!o.keyboard||r.disabled){return}if([63,187,191].indexOf(p)!=-1){q.toggle(e);return false}if(p==27&&q.contains(e)){q.toggle(e);return false}if(!s&&r.ready){t.preventDefault();if(t.shiftKey){if(p==39){r.speed(true)}else{if(p==37){r.speed(false)}}return}if(p<58&&p>47){return r.seekTo(p-48)}switch(p){case 38:case 75:r.volume(r.volumeLevel+0.15);break;case 40:case 74:r.volume(r.volumeLevel-0.15);break;case 39:case 76:r.seeking=true;r.seek(true);break;case 37:case 72:r.seeking=true;r.seek(false);break;case 190:r.seekTo();break;case 32:r.toggle();break;case 70:if(o.fullscreen){r.fullscreen()}break;case 77:r.mute();break;case 81:r.unload();break}}});f(function(p,o){if(!p.conf.keyboard){return}n.on(o,"mouseenter mouseleave",function(s){m=!p.disabled&&s.type=="mouseover"?p:0;if(m){l=o}});var r=f.support.video&&p.conf.engine!=="flash"&&!!document.createElement("video").playbackRate?"<p><em>shift</em> + <em>&#8592;</em><em>&#8594;</em>slower / faster</p>":"";o.appendChild(k.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>'+r+'         </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>   '));if(p.conf.tooltip){var q=k.find(".fp-ui",o)[0];q.setAttribute("title","Hit ? for help");n.one(o,"mouseout.tip",".fp-ui",function(){q.removeAttribute("title")})}n.on(o,"click",".fp-close",function(){i(o).toggle(e)});p.bind("shutdown",function(){if(l==o){l=null}})})},{"../common":1,"../flowplayer":18,bean:20,"class-list":22}],11:[function(f,g,i){var e=f("../flowplayer"),l=/IEMobile/.test(window.navigator.userAgent),h=f("class-list"),k=f("../common"),n=f("bean"),m=f("./ui").format,j=window.navigator.userAgent;if(e.support.touch||l){e(function(x,u){var t=/Android/.test(j)&&!/Firefox/.test(j)&&!/Opera/.test(j),q=/Silk/.test(j),v=t?parseFloat(/Android\ (\d\.\d)/.exec(j)[1],10):0,y=h(u);if(t&&!l){if(!/Chrome/.test(j)&&v<4){var s=x.load;x.load=function(A,B){var z=s.apply(x,arguments);x.trigger("ready",[x,x.video]);return z}}var p,o=0;var r=function(z){p=setInterval(function(){z.video.time=++o;z.trigger("progress",[z,o])},1000)};x.bind("ready pause unload",function(){if(p){clearInterval(p);p=null}});x.bind("ready",function(){o=0});x.bind("resume",function(A,z){if(!z.live){return}if(o){return r(z)}x.one("progress",function(D,C,B){if(B===0){r(C)}})})}if(!e.support.volume){y.add("no-volume");y.add("no-mute")}y.add("is-touch");if(x.sliders&&x.sliders.timeline){x.sliders.timeline.disableAnimation()}if(!e.support.inlineVideo||x.conf.native_fullscreen){x.conf.nativesubtitles=true}var w=false;n.on(u,"touchmove",function(){w=true});n.on(u,"touchend click",function(z){if(w){w=false;return}if(x.playing&&!y.contains("is-mouseover")){y.add("is-mouseover");y.remove("is-mouseout");z.preventDefault();z.stopPropagation();return}if(!x.playing&&!x.splash&&y.contains("is-mouseout")&&!y.contains("is-mouseover")){setTimeout(function(){if(!x.playing&&!x.splash){x.resume()}},400)}});if(x.conf.native_fullscreen&&typeof document.createElement("video").webkitEnterFullScreen==="function"){x.fullscreen=function(){var z=k.find("video.fp-engine",u)[0];z.webkitEnterFullScreen();n.one(z,"webkitendfullscreen",function(){k.prop(z,"controls",true);k.prop(z,"controls",false)})}}if(t||q){x.bind("ready",function(){var z=k.find("video.fp-engine",u)[0];n.one(z,"canplay",function(){z.play()});z.play();x.bind("progress.dur",function(){var A=z.duration;if(A!==1){x.video.duration=A;k.find(".fp-duration",u)[0].innerHTML=m(A);x.unbind("progress.dur")}})})}})}},{"../common":1,"../flowplayer":18,"./ui":17,bean:20,"class-list":22}],12:[function(g,h,k){var f=g("../flowplayer"),o=g("extend-object"),p=g("bean"),j=g("class-list"),n=g("../common"),m=g("./resolve"),i=new m(),l=window.jQuery,e=/^#/;f(function(z,x){var v=o({active:"is-active",advance:true,query:".fp-playlist a"},z.conf),w=v.active,A=j(x);function u(){return n.find(v.query,t())}function t(){if(e.test(v.query)){return}return x}function s(){return n.find(v.query+"."+w,t())}z.play=function(C){if(C===undefined){return z.resume()}if(typeof C==="number"&&!z.conf.playlist[C]){return z}else{if(typeof C!="number"){return z.load.apply(null,arguments)}}var B=o({index:C},z.conf.playlist[C]);if(C===z.video.index){return z.load(B,function(){z.resume()})}z.off("resume.fromfirst");z.load(B,function(){z.video.index=C});return z};z.next=function(C){if(C){C.preventDefault()}var B=z.video.index;if(B!=-1){B=B===z.conf.playlist.length-1?0:B+1;z.play(B)}return z};z.prev=function(C){if(C){C.preventDefault()}var B=z.video.index;if(B!=-1){B=B===0?z.conf.playlist.length-1:B-1;z.play(B)}return z};z.setPlaylist=function(B){z.conf.playlist=B;delete z.video.index;q();return z};z.addPlaylistItem=function(B){return z.setPlaylist(z.conf.playlist.concat([B]))};z.removePlaylistItem=function(B){var C=z.conf.playlist;return z.setPlaylist(C.slice(0,B).concat(C.slice(B+1)))};p.on(x,"click",".fp-next",z.next);p.on(x,"click",".fp-prev",z.prev);if(v.advance){z.off("finish.pl").on("finish.pl",function(D,B){if(B.video.loop){return B.seek(0,function(){B.resume()})}var C=B.video.index>=0?B.video.index+1:undefined;if(C<B.conf.playlist.length||v.loop){C=C===B.conf.playlist.length?0:C;A.remove("is-finished");setTimeout(function(){B.play(C)})}else{if(B.conf.playlist.length>1){B.one("resume.fromfirst",function(){B.play(0);return false})}}})}function q(){var C=n.find(".fp-playlist",x)[0];if(!C){C=n.createElement("div",{className:"fp-playlist"});var B=n.find(".fp-next,.fp-prev",x);if(!B.length){n.insertAfter(x,n.find("video",x)[0],C)}else{B[0].parentElement.insertBefore(C,B[0])}}C.innerHTML="";if(z.conf.playlist[0].length){z.conf.playlist=z.conf.playlist.map(function(E){if(typeof E==="string"){var D=E.split(m.TYPE_RE)[1];return{sources:[{type:D.toLowerCase()==="m3u8"?"application/x-mpegurl":"video/"+D,src:E}]}}return{sources:E.map(function(G){var F={};Object.keys(G).forEach(function(H){F.type=/mpegurl/i.test(H)?"application/x-mpegurl":"video/"+H;F.src=G[H]});return F})}})}z.conf.playlist.forEach(function(F,E){var D=F.sources[0].src;C.appendChild(n.createElement("a",{href:D,"data-index":E}))})}var y=false;if(z.conf.playlist.length){y=true;q();if(!z.conf.clip||!z.conf.clip.sources.length){z.conf.clip=z.conf.playlist[z.conf.startIndex||0]}}if(u().length&&!y){z.conf.playlist=[];delete z.conf.startIndex;u().forEach(function(B){var C=B.href;B.setAttribute("data-index",z.conf.playlist.length);var D=i.resolve(C,z.conf.clip.sources);if(l){o(D,l(B).data())}z.conf.playlist.push(D)})}p.on(e.test(v.query)?document:x,"click",v.query,function(D){D.preventDefault();var B=D.currentTarget;var C=Number(B.getAttribute("data-index"));if(C!=-1){z.play(C)}});function r(B){if(typeof B.index!=="undefined"){return B.index}if(typeof z.video.index!=="undefined"){return z.video.index}return z.conf.startIndex||0}z.on("load",function(I,F,H){if(!z.conf.playlist.length){return}var G=s()[0],D=G&&G.getAttribute("data-index"),C=H.index=r(H),E=n.find(v.query+'[data-index="'+C+'"]',t())[0],B=C==z.conf.playlist.length-1;if(G){j(G).remove(w)}if(E){j(E).add(w)}A.remove("video"+D);A.add("video"+C);n.toggleClass(x,"last-video",B);H.index=F.video.index=C;H.is_last=F.video.is_last=B}).on("unload.pl",function(){if(!z.conf.playlist.length){return}s().forEach(function(B){j(B).toggle(w)});z.conf.playlist.forEach(function(C,B){A.remove("video"+B)})});if(z.conf.playlist.length){z.conf.loop=false}})},{"../common":1,"../flowplayer":18,"./resolve":13,bean:20,"class-list":22,"extend-object":26}],13:[function(j,h,f){var g=/\.(\w{3,4})(\?.*)?$/i,l=j("extend-object");function i(n){var p=n.attr("src"),m=n.attr("type")||"",o=p.split(g)[1];m=m.toLowerCase();return l(n.data(),{src:p,suffix:o||m,type:m||o})}function k(m){if(/mpegurl/i.test(m)){return"application/x-mpegurl"}return"video/"+m}h.exports=function e(){var m=this;m.sourcesFromVideoTag=function(o,p){var n=[];p("source",o).each(function(){n.push(i(p(this)))});if(!n.length&&o.length){n.push(i(o))}return n};m.resolve=function(o,n){if(!o){return{sources:n}}if(typeof o=="string"){o={src:o,sources:[]};o.sources=(n||[]).map(function(p){var q=p.src.split(g)[1];return{type:p.type,src:o.src.replace(g,"."+q+"$2")}})}if(o instanceof Array){o={sources:o.map(function(p){if(p.type&&p.src){return p}return Object.keys(p).reduce(function(q,r){return l(q,{type:k(r),src:p[r]})},{})})}}return o}};h.exports.TYPE_RE=g},{"extend-object":26}],14:[function(j,g,f){var l=j("class-list"),e=j("bean"),h=j("../common");var k=function(o,n){var m;return function(){if(!m){o.apply(this,arguments);m=1;setTimeout(function(){m=0},n)}}};var i=function(A,r){var C=/iPad/.test(navigator.userAgent)&&!/CriOS/.test(navigator.userAgent);var u=h.lastChild(A),G=l(A),m=l(u),q,s,z,x,o,w,D,B,p=false,n=function(){s=h.offset(A);z=h.width(A);x=h.height(A);w=o?x:z;B=t(D)},F=function(H){if(!q&&H!=v.value&&(!D||H<D)){e.fire(A,"slide",[H]);v.value=H}},E=function(J){var H=J.pageX||J.clientX;if(!H&&J.originalEvent&&J.originalEvent.touches&&J.originalEvent.touches.length){H=J.originalEvent.touches[0].pageX}var K=o?J.pageY-s.top:H-s.left;K=Math.max(0,Math.min(B||w,K));var I=K/w;if(o){I=1-I}if(r){I=1-I}return y(I,0,true)},y=function(I,H){if(H===undefined){H=0}if(I>1){I=1}var J=(Math.round(I*1000)/10)+"%";if(!D||I<=D){m.remove("animated");if(p){m.remove("animated")}else{m.add("animated");h.css(u,"transition-duration",(H||0)+"ms")}h.css(u,"width",J)}return I},t=function(H){return Math.max(0,Math.min(w,o?(1-H)*x:H*z))},v={max:function(H){D=H},disable:function(H){q=H},slide:function(J,I,H){n();if(H){F(J)}y(J,I)},disableAnimation:function(I,H){p=I!==false;h.toggleClass(A,"no-animation",!!H)}};n();e.on(A,"mousedown.sld touchstart",function(I){I.preventDefault();if(!q){var H=k(F,100);n();v.dragging=true;G.add("is-dragging");F(E(I));e.on(document,"mousemove.sld touchmove.sld",function(J){J.preventDefault();H(E(J))});e.one(document,"mouseup touchend",function(){v.dragging=false;G.remove("is-dragging");e.off(document,"mousemove.sld touchmove.sld")})}});return v};g.exports=i},{"../common":1,bean:20,"class-list":22}],15:[function(j,h,g){var e=j("../flowplayer"),i=j("../common"),f=j("bean"),k=j("class-list");e.defaults.subtitleParser=function(o){var q=/^(([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/;function t(x){var y=x.split(":");if(y.length==2){y.unshift(0)}return y[0]*60*60+y[1]*60+parseFloat(y[2].replace(",","."))}var p=[];for(var n=0,w=o.split("\n"),r=w.length,u={},s,l,v,m;n<r;n++){l=q.exec(w[n]);if(l){s=w[n-1];v="<p>"+w[++n]+"</p><br/>";while(typeof w[++n]==="string"&&w[n].trim()&&n<w.length){v+="<p>"+w[n]+"</p><br/>"}u={title:s,startTime:t(l[1]),endTime:t(l[3]),text:v};p.push(u)}}return p};e(function(l,s){var q,u,m,v=k(s),n;var o=function(){n=i.createElement("a",{className:"fp-menu"});var p=i.createElement("ul",{className:"fp-dropdown fp-dropup"});p.appendChild(i.createElement("li",{"data-subtitle-index":-1},"No subtitles"));(l.video.subtitles||[]).forEach(function(y,z){var w=y.srclang||"en",x=y.label||"Default ("+w+")";var A=i.createElement("li",{"data-subtitle-index":z},x);p.appendChild(A)});n.appendChild(p);i.find(".fp-controls",s)[0].appendChild(n);return n};f.on(s,"click",".fp-menu",function(p){k(n).toggle("dropdown-open")});f.on(s,"click",".fp-menu li[data-subtitle-index]",function(w){var p=w.target.getAttribute("data-subtitle-index");if(p==="-1"){return l.disableSubtitles()}l.loadSubtitles(p)});var t=function(){var p=i.find(".fp-player",s)[0];m=i.find(".fp-subtitle",s)[0];m=m||i.appendTo(i.createElement("div",{"class":"fp-subtitle"}),p);Array.prototype.forEach.call(m.children,i.removeNode);q=k(m);i.find(".fp-menu",s).forEach(i.removeNode);o()};l.on("ready",function(B,y,A){var x=y.conf;if(e.support.subtitles&&x.nativesubtitles&&y.engine.engineName=="html5"){var w=function(D){var C=i.find("video",s)[0].textTracks;if(!C.length){return}C[0].mode=D};if(!A.subtitles||!A.subtitles.length){return}var z=i.find("video.fp-engine",s)[0];if(A.subtitles.some(function(C){return !i.isSameDomain(C.src)})){i.attr(z,"crossorigin","anonymous")}z.textTracks.addEventListener("addtrack",function(){w("disabled");w("showing")});A.subtitles.forEach(function(C){z.appendChild(i.createElement("track",{kind:"subtitles",srclang:C.srclang||"en",label:C.label||"en",src:C.src,"default":C["default"]}))});return}y.subtitles=[];t();v.remove("has-menu");l.disableSubtitles();if(!A.subtitles||!A.subtitles.length){return}v.add("has-menu");var p=A.subtitles.filter(function(C){return C["default"]})[0];if(p){y.loadSubtitles(A.subtitles.indexOf(p))}});l.bind("cuepoint",function(x,w,p){if(p.subtitle){u=p.index;i.html(m,p.subtitle.text);q.add("fp-active")}else{if(p.subtitleEnd){q.remove("fp-active");u=p.index}}});l.bind("seek",function(x,p,w){if(u&&l.cuepoints[u]&&l.cuepoints[u].time>w){q.remove("fp-active");u=null}(l.cuepoints||[]).forEach(function(y){var z=y.subtitle;if(z&&u!=y.index){if(w>=y.time&&(!z.endTime||w<=z.endTime)){l.trigger("cuepoint",[l,y])}}else{if(y.subtitleEnd&&w>=y.time&&y.index==u+1){l.trigger("cuepoint",[l,y])}}})});var r=function(p){i.toggleClass(i.find("li.active",s)[0],"active");i.toggleClass(i.find('li[data-subtitle-index="'+p+'"]',s)[0],"active")};l.disableSubtitles=function(){l.subtitles=[];(l.cuepoints||[]).forEach(function(p){if(p.subtitle||p.subtitleEnd){l.removeCuepoint(p)}});if(m){Array.prototype.forEach.call(m.children,i.removeNode)}r(-1);return l};l.loadSubtitles=function(x){l.disableSubtitles();var w=l.video.subtitles[x];var p=w.src;if(!p){return}r(x);i.xhrGet(p,function(z){var y=l.conf.subtitleParser(z);y.forEach(function(B){var A={time:B.startTime,subtitle:B,visible:false};l.subtitles.push(B);l.addCuepoint(A);l.addCuepoint({time:B.endTime,subtitleEnd:B.title,visible:false});if(B.startTime===0&&!l.video.time){l.trigger("cuepoint",[l,A])}})},function(){l.trigger("error",{code:8,url:p});return false});return l}})},{"../common":1,"../flowplayer":18,bean:20,"class-list":22}],16:[function(h,g,f){var e=h("../flowplayer"),i=h("extend-object");(function(){var r=function(s){var I=/Version\/(\d\.\d)/.exec(s);if(I&&I.length>1){return parseFloat(I[1],10)}return 0};var x=function(){var s=document.createElement("video");s.loop=true;s.autoplay=true;s.preload=true;return s};var F={},z=navigator.userAgent.toLowerCase(),p=/(chrome)[ \/]([\w.]+)/.exec(z)||/(safari)[ \/]([\w.]+)/.exec(z)||/(webkit)[ \/]([\w.]+)/.exec(z)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(z)||/(msie) ([\w.]+)/.exec(z)||z.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(z)||[];if(p[1]){F[p[1]]=true;F.version=p[2]||"0"}var A=x(),v=navigator.userAgent,o=F.msie||/Trident\/7/.test(v),y=/iPad|MeeGo/.test(v)&&!/CriOS/.test(v),t=/iPad/.test(v)&&/CriOS/.test(v),w=/iP(hone|od)/i.test(v)&&!/iPad/.test(v)&&!/IEMobile/i.test(v),n=/Android/.test(v)&&!/Firefox/.test(v),B=/Android/.test(v)&&/Firefox/.test(v),H=/Silk/.test(v),E=/IEMobile/.test(v),q=E?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(v)[1],10):0,C=E?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(v)[1],10):0,G=y?r(v):0,k=n?parseFloat(/Android\ (\d\.\d)/.exec(v)[1],10):0,u=i(e.support,{browser:F,subtitles:!!A.addTextTrack,fullscreen:typeof document.webkitCancelFullScreen=="function"&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(v)||document.mozFullScreenEnabled||typeof document.exitFullscreen=="function"||typeof document.msExitFullscreen=="function",inlineBlock:!(o&&F.version<8),touch:("ontouchstart" in window),dataload:!y&&!w&&!E,zeropreload:!o&&!n,volume:!y&&!n&&!w&&!H&&!t,cachedVideoTag:!y&&!w&&!t&&!E,firstframe:!w&&!y&&!n&&!H&&!t&&!E&&!B,inlineVideo:!w&&(!E||(q>=8.1&&C>=11))&&(!n||k>=3),hlsDuration:!n&&(!F.safari||y||w||t),seekable:!y&&!t});try{var l=navigator.plugins["Shockwave Flash"],m=o?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):l.description;if(!o&&!l[0].enabledPlugin){u.flashVideo=false}else{m=m.split(/\D+/);if(m.length&&!m[0]){m=m.slice(1)}u.flashVideo=m[0]>9||m[0]==9&&m[3]>=115}}catch(j){}try{u.video=!!A.canPlayType;if(u.video){A.canPlayType("video/mp4")}}catch(D){u.video=false}u.animation=(function(){var J=["","Webkit","Moz","O","ms","Khtml"],I=document.createElement("p");for(var s=0;s<J.length;s++){if(typeof I.style[J[s]+"AnimationName"]!=="undefined"){return true}}})()})()},{"../flowplayer":18,"extend-object":26}],17:[function(g,h,j){var f=g("../flowplayer"),l=g("../common"),i=g("class-list"),n=g("bean"),e=g("./slider");function k(o){o=parseInt(o,10);return o>=10?o:"0"+o}function m(q){q=q||0;var p=Math.floor(q/3600),o=Math.floor(q/60);q=q-(o*60);if(p>=1){o-=p*60;return p+":"+k(o)+":"+k(q)}return k(o)+":"+k(q)}f(function(G,L){var z=G.conf,C=f.support,Q,U=i(L);l.find(".fp-ratio,.fp-ui",L).forEach(l.removeNode);U.add("flowplayer");L.appendChild(l.createElement("div",{className:"fp-ratio"}));var I=l.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-'));L.appendChild(I);function J(V){return l.find(".fp-"+V,L)[0]}var v=J("progress"),M=J("buffer"),q=J("elapsed"),H=J("remaining"),p=J("waiting"),x=J("ratio"),P=J("speed"),A=i(P),D=J("duration"),F=J("controls"),E=J("timeline-tooltip"),t=l.css(x,"padding-top"),u=J("timeline"),K=e(u,G.rtl),O=J("volume"),o=J("fullscreen"),B=J("volumeslider"),r=e(B,G.rtl),S=U.contains("fixed-controls")||U.contains("no-toggle");K.disableAnimation(U.contains("is-touch"));G.sliders=G.sliders||{};G.sliders.timeline=K;G.sliders.volume=r;function N(V){l.css(x,"padding-top",V*100+"%");if(!C.inlineBlock){l.height(l.find("object",L)[0],l.height(L))}}function T(V){if(V){U.add("is-mouseover");U.remove("is-mouseout")}else{U.add("is-mouseout");U.remove("is-mouseover")}}if(!C.animation){l.html(p,"<p>loading &hellip;</p>")}if(z.ratio){N(z.ratio)}try{if(!z.fullscreen){l.removeNode(o)}}catch(R){l.removeNode(o)}G.on("ready",function(X,V,W){var Y=V.video.duration;K.disable(V.disabled||!Y);if(z.adaptiveRatio&&!isNaN(W.height/W.width)){N(W.height/W.width,true)}l.html([D,H],m(Y));l.toggleClass(L,"is-long",Y>=3600);r.slide(V.volumeLevel);if(V.engine.engineName==="flash"){K.disableAnimation(true,true)}else{K.disableAnimation(false)}l.find(".fp-title",I).forEach(l.removeNode);if(W.title){l.prepend(I,l.createElement("div",{className:"fp-title"},W.title))}}).on("unload",function(){if(!t&&!z.splash){l.css(x,"paddingTop","")}K.slide(0)}).on("buffer",function(){var W=G.video,V=W.buffer/W.duration;if(!W.seekable&&C.seekable){K.max(V)}if(V<1){l.css(M,"width",(V*100)+"%")}else{l.css(M,"width","100%")}}).on("speed",function(W,V,X){l.text(P,X+"x");A.add("fp-hilite");setTimeout(function(){A.remove("fp-hilite")},1000)}).on("buffered",function(){l.css(M,"width","100%");K.max(1)}).on("progress",function(){var W=G.video.time,V=G.video.duration;if(!K.dragging){K.slide(W/V,G.seeking?0:250)}l.html(q,m(W));l.html(H,"-"+m(V-W))}).on("finish resume seek",function(V){l.toggleClass(L,"is-finished",V.type=="finish")}).on("stop",function(){l.html(q,m(0));K.slide(0,100)}).on("finish",function(){l.html(q,m(G.video.duration));K.slide(1,100);U.remove("is-seeking")}).on("beforeseek",function(){}).on("volume",function(){r.slide(G.volumeLevel)}).on("disable",function(){var V=G.disabled;K.disable(V);r.disable(V);l.toggleClass(L,"is-disabled",G.disabled)}).on("mute",function(X,W,V){l.toggleClass(L,"is-muted",V)}).on("error",function(Z,X,V){l.removeClass(L,"is-loading");l.removeClass(L,"is-seeking");l.addClass(L,"is-error");if(V){V.message=z.errors[V.code];X.error=true;var W=l.find(".fp-message",L)[0],Y=V.video||X.video;l.find("h2",W)[0].innerHTML=(X.engine&&X.engine.engineName||"html5")+": "+V.message;l.find("p",W)[0].innerHTML=V.url||Y.url||Y.src||z.errorUrls[V.code];X.off("mouseenter click");U.remove("is-mouseover")}});n.on(L,"mouseenter mouseleave",function(Y){if(S){return}var W=Y.type=="mouseover",V;T(W);if(W){var X=function(){T(true);V=new Date()};G.on("pause.x volume.x",X);n.on(L,"mousemove.x",X);Q=setInterval(function(){if(new Date()-V>z.mouseoutTimeout){T(false);V=new Date()}},100)}else{n.off(L,"mousemove.x");G.off("pause.x volume.x");clearInterval(Q)}});n.on(L,"mouseleave",function(){if(K.dragging||r.dragging){U.add("is-mouseover");U.remove("is-mouseout")}});n.on(L,"click.player",function(W){if(G.disabled){return}var V=i(W.target);if(V.contains("fp-ui")||V.contains("fp-engine")||W.flash){if(W.preventDefault){W.preventDefault()}return G.toggle()}});n.on(L,"mousemove",".fp-timeline",function(X){var V=X.pageX||X.clientX,Z=V-l.offset(u).left,W=Z/l.width(u),Y=W*G.video.duration;if(W<0){return}l.html(E,m(Y));l.css(E,"left",(V-l.offset(F).left-l.width(E)/2)+"px")});n.on(L,"contextmenu",function(X){var aa=l.offset(l.find(".fp-player",L)[0]),V=window,Y=X.clientX-(aa.left+V.scrollX),W=X.clientY-(aa.top+V.scrollY);if(U.contains("is-flash-disabled")){return}var Z=l.find(".fp-context-menu",L)[0];if(!Z){return}X.preventDefault();l.css(Z,{left:Y+"px",top:W+"px",display:"block"});n.on(L,"click",".fp-context-menu",function(ab){ab.stopPropagation()});n.on(document,"click.outsidemenu",function(ab){l.css(Z,"display","none");n.off(document,"click.outsidemenu")})});G.on("flashdisabled",function(){U.add("is-flash-disabled");G.one("ready progress",function(){U.remove("is-flash-disabled");l.find(".fp-flash-disabled",L).forEach(l.removeNode)});L.appendChild(l.createElement("div",{className:"fp-flash-disabled"},"Adobe Flash is disabled for this page, click player area to enable"))});if(z.poster){l.css(L,"background-image","url("+z.poster+")")}var s=l.css(L,"background-color"),y=l.css(L,"background-image")!="none"||s&&s!="rgba(0, 0, 0, 0)"&&s!="transparent";if(y&&!z.splash){if(!z.poster){z.poster=true}G.on("ready stop",function(){U.add("is-poster");G.poster=true;G.one("progress",function(){U.remove("is-poster");G.poster=false})})}if(typeof z.splash==="string"){l.css(L,"background-image","url('"+z.splash+"')")}if(!y&&G.forcedSplash){l.css(L,"background-color","#555")}n.on(L,"click",".fp-toggle, .fp-play",function(){if(G.disabled){return}G.toggle()});n.on(L,"click",".fp-mute",function(){G.mute()});n.on(L,"click",".fp-fullscreen",function(){G.fullscreen()});n.on(L,"click",".fp-unload",function(){G.unload()});n.on(u,"slide",function(V){G.seeking=true;G.seek(V*G.video.duration)});n.on(B,"slide",function(V){G.volume(V)});var w=J("time");n.on(L,"click",".fp-time",function(){i(w).toggle("is-inverted")});T(S);G.on("shutdown",function(){n.off(u);n.off(B)})});h.exports.format=m},{"../common":1,"../flowplayer":18,"./slider":14,bean:20,"class-list":22}],18:[function(o,j,C){var x=o("extend-object"),f=o("is-function"),i=o("class-list"),l=o("bean"),t=o("./common"),h=o("./ext/events");var n=[],z=[],u=window.navigator.userAgent;var A=window.onbeforeunload;window.onbeforeunload=function(m){n.forEach(function(D){if(D.conf.splash){D.unload()}else{D.bind("error",function(){t.find(".flowplayer.is-error .fp-message").forEach(t.removeNode)})}});if(A){return A(m)}};var q=false;try{if(typeof window.localStorage=="object"){window.localStorage.flowplayerTestStorage="test";q=true}}catch(g){}var y=/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent),v=/(\d+\.\d+) Safari/.exec(navigator.userAgent),B=v?Number(v[1]):100;var k=j.exports=function(D,E,F){if(f(D)){return z.push(D)}if(typeof D=="number"||typeof D==="undefined"){return n[D||0]}if(D.nodeType){if(D.getAttribute("data-flowplayer-instance-id")!==null){return n[D.getAttribute("data-flowplayer-instance-id")]}if(!E){return}return w(D,E,F)}if(D.jquery){return k(D[0],E,F)}if(typeof D==="string"){var m=t.find(D)[0];return m&&k(m,E,F)}};x(k,{version:"6.0.5",engines:[],conf:{},set:function(m,D){if(typeof m==="string"){k.conf[m]=D}else{x(k.conf,m)}},support:{},defaults:{debug:q?!!localStorage.flowplayerDebug:false,disabled:false,fullscreen:window==window.top,keyboard:true,ratio:9/16,adaptiveRatio:false,rtmp:0,proxy:"best",splash:false,live:false,swf:"//releases.flowplayer.org/6.0.5/flowplayer.swf",swfHls:"//releases.flowplayer.org/6.0.5/flowplayerhls.swf",speeds:[0.25,0.5,1,1.5,2],tooltip:true,mouseoutTimeout:5000,volume:!q?1:localStorage.muted=="true"?0:!isNaN(localStorage.volume)?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:y&&B<8},bean:l,common:t,extend:x});var r=0;var s=o("./ext/resolve");if(typeof window.jQuery!=="undefined"){var p=window.jQuery;p(function(){if(typeof p.fn.flowplayer=="function"){p('.flowplayer:has(video,script[type="application/json"])').flowplayer()}});var e=function(D){if(!D.length){return{}}var E=D.data()||{},m={};p.each(["autoplay","loop","preload","poster"],function(G,F){var H=D.attr(F);if(H!==undefined&&["autoplay","poster"].indexOf(F)!==-1){m[F]=H?H:true}else{if(H!==undefined){E[F]=H?H:true}}});E.subtitles=D.find("track").map(function(){var F=p(this);return{src:F.attr("src"),kind:F.attr("kind"),label:F.attr("label"),srclang:F.attr("srclang"),"default":F.prop("default")}}).get();E.sources=(new s()).sourcesFromVideoTag(D,p);return x(m,{clip:E})};p.fn.flowplayer=function(m,D){return this.each(function(){if(typeof m=="string"){m={swf:m}}if(f(m)){D=m;m={}}var F=p(this),I=F.find('script[type="application/json"]'),E=I.length?JSON.parse(I.text()):e(F.find("video")),G=p.extend({},m||{},E,F.data());var H=w(this,G,D);h.EVENTS.forEach(function(J){H.on(J+".jquery",function(K){F.trigger.call(F,K.type,K.detail&&K.detail.args)})});F.data("flowplayer",H)})}}function w(H,m,O){if(m&&m.embed){m.embed=x({},k.defaults.embed,m.embed)}var N=H,P=i(N),L=x({},k.defaults,k.conf,m),J={},G,M,D,Q=new s();P.add("is-loading");try{J=q?window.localStorage:J}catch(K){}var E=(N.currentStyle&&N.currentStyle.direction==="rtl")||(window.getComputedStyle&&window.getComputedStyle(N,null)!==null&&window.getComputedStyle(N,null).getPropertyValue("direction")==="rtl");if(E){P.add("is-rtl")}var I={conf:L,currentSpeed:1,volumeLevel:L.muted?0:typeof L.volume==="undefined"?J.volume*1:L.volume,video:{},disabled:false,finished:false,loading:false,muted:J.muted=="true"||L.muted,paused:false,playing:false,ready:false,splash:false,rtl:E,load:function(S,U){if(I.error||I.loading){return}I.video={};I.finished=false;S=S||L.clip;S=x({},Q.resolve(S,L.clip.sources));if(I.playing||I.engine){S.autoplay=true}var R=F(S);if(!R){return I.trigger("error",[I,{code:k.support.flashVideo?5:10}])}if(!R.engineName){throw new Error("engineName property of factory should be exposed")}if(!I.engine||R.engineName!==I.engine.engineName){I.ready=false;if(I.engine){I.engine.unload();I.conf.autoplay=true}M=I.engine=R(I,N);I.one("ready",function(){M.volume(I.volumeLevel)})}x(S,M.pick(S.sources.filter(function(V){if(!V.engine){return true}return V.engine===M.engineName})));if(S.src){var T=I.trigger("load",[I,S,M],true);if(!T.defaultPrevented){M.load(S);if(f(S)){U=S}if(U){I.one("ready",U)}}else{I.loading=false}}return I},pause:function(R){if(I.ready&&!I.seeking&&!I.loading){M.pause();I.one("pause",R)}return I},resume:function(){if(I.ready&&I.paused){M.resume();if(I.finished){I.trigger("resume",[I]);I.finished=false}}return I},toggle:function(){return I.ready?I.paused?I.resume():I.pause():I.load()},seek:function(S,U){if(I.ready&&!I.live){if(typeof S=="boolean"){var T=I.video.duration*0.1;S=I.video.time+(S?T:-T)}S=G=Math.min(Math.max(S,0),I.video.duration-0.1).toFixed(1);var R=I.trigger("beforeseek",[I,S],true);if(!R.defaultPrevented){M.seek(S);if(f(U)){I.one("seek",U)}}else{I.seeking=false;t.toggleClass(N,"is-seeking",I.seeking)}}return I},seekTo:function(R,S){var T=R===undefined?G:I.video.duration*0.1*R;return I.seek(T,S)},mute:function(R,S){if(R===undefined){R=!I.muted}if(!S){J.muted=I.muted=R;J.volume=!isNaN(J.volume)?J.volume:L.volume}I.volume(R?0:J.volume,true);I.trigger("mute",[I,R]);return I},volume:function(S,R){if(I.ready){S=Math.min(Math.max(S,0),1);if(!R){J.volume=S}M.volume(S)}return I},speed:function(R,S){if(I.ready){if(typeof R=="boolean"){R=L.speeds[L.speeds.indexOf(I.currentSpeed)+(R?1:-1)]||I.currentSpeed}M.speed(R);if(S){N.one("speed",S)}}return I},stop:function(){if(I.ready){I.pause();I.seek(0,function(){I.trigger("stop",[I])})}return I},unload:function(){if(!P.contains("is-embedding")){if(L.splash){I.trigger("unload",[I]);if(M){M.unload();I.engine=M=0}}else{I.stop()}}return I},shutdown:function(){I.unload();I.trigger("shutdown",[I]);l.off(N);delete n[N.getAttribute("data-flowplayer-instance-id")];N.removeAttribute("data-flowplayer-instance-id")},disable:function(R){if(R===undefined){R=!I.disabled}if(R!=I.disabled){I.disabled=R;I.trigger("disable",R)}return I}};I.conf=x(I.conf,L);h(I);var F=function(T){var R;var S=k.engines;if(L.engine){var U=S.filter(function(V){return V.engineName===L.engine})[0];if(U&&T.sources.some(function(V){if(V.engine&&V.engine!==U.engineName){return false}return U.canPlay(V.type,I.conf)})){return U}}if(L.enginePreference){S=k.engines.filter(function(V){return L.enginePreference.indexOf(V.engineName)>-1}).sort(function(W,V){return L.enginePreference.indexOf(W.engineName)-L.enginePreference.indexOf(V.engineName)})}T.sources.some(function(V){var W=S.filter(function(X){if(V.engine&&V.engine!==X.engineName){return false}return X.canPlay(V.type,I.conf)}).shift();if(W){R=W}return !!W});return R};if(!N.getAttribute("data-flowplayer-instance-id")){N.setAttribute("data-flowplayer-instance-id",r++);I.on("boot",function(){if(L.splash||P.contains("is-splash")||!k.support.firstframe){I.forcedSplash=!L.splash&&!P.contains("is-splash");I.splash=L.autoplay=true;if(!L.splash){L.splash=true}P.add("is-splash")}if(L.splash){t.find("video",N).forEach(t.removeNode)}if(L.live||P.contains("is-live")){I.live=L.live=true;P.add("is-live")}z.forEach(function(R){R(I,N)});n.push(I);if(L.splash){I.unload()}else{I.load()}if(L.disabled){I.disable()}I.one("ready",O)}).on("load",function(T,R,S){if(L.splash){t.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function(W){var V=W.getAttribute("data-flowplayer-instance-id");if(V===N.getAttribute("data-flowplayer-instance-id")){return}var U=n[Number(V)];if(U&&U.conf.splash){U.unload()}})}P.add("is-loading");R.loading=true;if(typeof S.live!=="undefined"){t.toggleClass(N,"is-live",S.live);R.live=S.live}}).on("ready",function(T,R,S){S.time=0;R.video=S;P.remove("is-loading");R.loading=false;if(R.muted){R.mute(true,true)}else{R.volume(R.volumeLevel)}var U=R.conf.hlsFix&&/mpegurl/i.exec(S.type);t.toggleClass(N,"hls-fix",!!U)}).on("unload",function(R){P.remove("is-loading");I.loading=false}).on("ready unload",function(S){var R=S.type=="ready";t.toggleClass(N,"is-splash",!R);t.toggleClass(N,"is-ready",R);I.ready=R;I.splash=!R}).on("progress",function(T,R,S){R.video.time=S}).on("speed",function(S,R,T){R.currentSpeed=T}).on("volume",function(S,R,T){R.volumeLevel=Math.round(T*100)/100;if(!R.muted){J.volume=T}else{if(T){R.mute(false)}}}).on("beforeseek seek",function(R){I.seeking=R.type=="beforeseek";t.toggleClass(N,"is-seeking",I.seeking)}).on("ready pause resume unload finish stop",function(T,S,R){I.paused=/pause|finish|unload|stop/.test(T.type);I.paused=I.paused||T.type==="ready"&&!L.autoplay&&!I.playing;I.playing=!I.paused;t.toggleClass(N,"is-paused",I.paused);t.toggleClass(N,"is-playing",I.playing);if(!I.load.ed){I.pause()}}).on("finish",function(R){I.finished=true}).on("error",function(){})}I.trigger("boot",[I,N]);return I}},{"./common":1,"./ext/events":8,"./ext/resolve":13,bean:20,"class-list":22,"extend-object":26,"is-function":27}],19:[function(h,g,f){h("es5-shim");var e=g.exports=h("./flowplayer");h("./ext/support");h("./engine/embed");h("./engine/html5");h("./engine/flash");h("./ext/ui");h("./ext/keyboard");h("./ext/playlist");h("./ext/cuepoint");h("./ext/subtitle");h("./ext/analytics");h("./ext/embed");h("./ext/fullscreen");h("./ext/mobile");e(function(B,m){function F(i){var l=document.createElement("a");return l.href=i,H.hostname(l.hostname)}var q=function(l,n){var i=l.className.split(" ");-1===i.indexOf(n)&&(l.className+=" "+n)},j=function(i){return"none"!==window.getComputedStyle(i).display},v=B.conf,H=e.common,w=H.createElement,C=v.swf.indexOf("flowplayer.org")&&v.e&&m.getAttribute("data-origin"),k=C?F(C):H.hostname(),I=(document,v.key);"file:"==location.protocol&&(k="localhost"),B.load.ed=1,v.hostname=k,v.origin=C||location.href,C&&q(m,"is-embedded"),"string"==typeof I&&(I=I.split(/,\s*/));var A=function(l,i){var o=w("a",{href:i,className:"fp-brand"});o.innerHTML=l,H.find(".fp-controls",m)[0].appendChild(o)};if(I&&"function"==typeof key_check&&key_check(I,k)){if(v.logo){var D=H.find(".fp-player",m)[0],x=w("a",{className:"fp-logo"});C&&(x.href=C),v.embed&&v.embed.popup&&(x.target="_blank");var E=w("img",{src:v.logo});x.appendChild(E),(D||m).appendChild(x)}v.brand&&C||v.brand&&v.brand.showOnOrigin?A(v.brand.text||v.brand,C||location.href):H.addClass(m,"no-brand")}else{A("flowplayer","http://flowplayer.org");var x=w("a",{href:"http://flowplayer.org"});m.appendChild(x);var G=w("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>'),z=window.location.href.indexOf("localhost"),D=H.find(".fp-player",m)[0];7!==z&&(D||m).appendChild(G),B.on("pause resume finish unload ready",function(u,r){H.removeClass(m,"no-brand");var J=-1;if(r.video.src){for(var o=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"]],s=0;s<o.length&&(J=r.video.src.indexOf("://"+o[s].reverse().join(".")),-1===J);s++){}}if((4===J||5===J)&&H.addClass(m,"no-brand"),/pause|resume/.test(u.type)&&"flash"!=r.engine.engineName&&4!=J&&5!=J){var y={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 t in y){y.hasOwnProperty(t)&&(x.style[t]=y[t])}r.load.ed=j(x)&&(7===z||G.parentNode==m||G.parentNode==D)&&!H.hasClass(m,"no-brand"),r.load.ed||r.pause()}else{x.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(g,f,e){
-/*
-  * Bean - copyright (c) Jacob Thornton 2011-2012
-  * https://github.com/fat/bean
-  * MIT license
-  */
-(function(h,j,i){if(typeof f!="undefined"&&f.exports){f.exports=i()}else{if(typeof d=="function"&&d.amd){d(i)}else{j[h]=i()}}})("bean",this,function(s,V){s=s||"bean";V=V||this;var N=window,O=V[s],A=/[^\.]*(?=\..*)\.|.*/,J=/\..*/,q="addEventListener",h="removeEventListener",n=document||{},B=n.documentElement||{},x=B[q],C=x?q:"attachEvent",H={},u=Array.prototype.slice,P=function(W,X){return W.split(X||" ")},r=function(W){return typeof W=="string"},v=function(W){return typeof W=="function"},G="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 ",j="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 ",T=(function(Y,X,W){for(W=0;W<X.length;W++){X[W]&&(Y[X[W]]=1)}return Y}({},P(G+(x?j:"")))),F=(function(){var X="compareDocumentPosition" in B?function(Z,Y){return Y.compareDocumentPosition&&(Y.compareDocumentPosition(Z)&16)===16}:"contains" in B?function(Z,Y){Y=Y.nodeType===9||Y===window?B:Y;return Y!==Z&&Y.contains(Z)}:function(Z,Y){while(Z=Z.parentNode){if(Z===Y){return 1}}return 0},W=function(Y){var Z=Y.relatedTarget;return !Z?Z==null:(Z!==this&&Z.prefix!=="xul"&&!/document/.test(this.toString())&&!X(Z,this))};return{mouseenter:{base:"mouseover",condition:W},mouseleave:{base:"mouseout",condition:W},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}}()),L=(function(){var af=P("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),ad=af.concat(P("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),X=ad.concat(P("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),Z=af.concat(P("char charCode key keyCode keyIdentifier keyLocation location")),Y=af.concat(P("data")),ae=af.concat(P("touches targetTouches changedTouches scale rotation")),ah=af.concat(P("data origin source")),aa=af.concat(P("state")),ab=/over|out/,W=[{reg:/key/i,fix:function(ai,aj){aj.keyCode=ai.keyCode||ai.which;return Z}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(aj,ak,ai){ak.rightClick=aj.which===3||aj.button===2;ak.pos={x:0,y:0};if(aj.pageX||aj.pageY){ak.clientX=aj.pageX;ak.clientY=aj.pageY}else{if(aj.clientX||aj.clientY){ak.clientX=aj.clientX+n.body.scrollLeft+B.scrollLeft;ak.clientY=aj.clientY+n.body.scrollTop+B.scrollTop}}if(ab.test(ai)){ak.relatedTarget=aj.relatedTarget||aj[(ai=="mouseover"?"from":"to")+"Element"]}return ad}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return X}},{reg:/^text/i,fix:function(){return Y}},{reg:/^touch|^gesture/i,fix:function(){return ae}},{reg:/^message$/i,fix:function(){return ah}},{reg:/^popstate$/i,fix:function(){return aa}},{reg:/.*/,fix:function(){return af}}],ac={},ag=function(aj,am,ai){if(!arguments.length){return}aj=aj||((am.ownerDocument||am.document||am).parentWindow||N).event;this.originalEvent=aj;this.isNative=ai;this.isBean=true;if(!aj){return}var aq=aj.type,ao=aj.target||aj.srcElement,an,al,ak,ap,ar;this.target=ao&&ao.nodeType===3?ao.parentNode:ao;if(ai){ar=ac[aq];if(!ar){for(an=0,al=W.length;an<al;an++){if(W[an].reg.test(aq)){ac[aq]=ar=W[an].fix;break}}}ap=ar(aj,this,aq);for(an=ap.length;an--;){if(!((ak=ap[an]) in this)&&ak in aj){this[ak]=aj[ak]}}}};ag.prototype.preventDefault=function(){if(this.originalEvent.preventDefault){this.originalEvent.preventDefault()}else{this.originalEvent.returnValue=false}};ag.prototype.stopPropagation=function(){if(this.originalEvent.stopPropagation){this.originalEvent.stopPropagation()}else{this.originalEvent.cancelBubble=true}};ag.prototype.stop=function(){this.preventDefault();this.stopPropagation();this.stopped=true};ag.prototype.stopImmediatePropagation=function(){if(this.originalEvent.stopImmediatePropagation){this.originalEvent.stopImmediatePropagation()}this.isImmediatePropagationStopped=function(){return true}};ag.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()};ag.prototype.clone=function(aj){var ai=new ag(this,this.element,this.isNative);ai.currentTarget=aj;return ai};return ag}()),k=function(X,W){return !x&&!W&&(X===n||X===N)?B:X},p=(function(){var X=function(Z,ac,ae,Y){var ab=function(ag,af){return ac.apply(Z,Y?u.call(af,ag?0:1).concat(Y):af)},ad=function(ag,af){return ac.__beanDel?ac.__beanDel.ft(ag.target,Z):af},aa=ae?function(af){var ag=ad(af,this);if(ae.apply(ag,arguments)){if(af){af.currentTarget=ag}return ab(af,arguments)}}:function(af){if(ac.__beanDel){af=af.clone(ad(af))}return ab(af,arguments)};aa.__beanDel=ac.__beanDel;return aa},W=function(ac,ae,ag,aa,Z,ad,af){var ab=F[ae],Y;if(ae=="unload"){ag=z(i,ac,ae,ag,aa)}if(ab){if(ab.condition){ag=X(ac,ag,ab.condition,ad)}ae=ab.base||ae}this.isNative=Y=T[ae]&&!!ac[C];this.customType=!x&&!Y&&ae;this.element=ac;this.type=ae;this.original=aa;this.namespaces=Z;this.eventType=x||Y?ae:"propertychange";this.target=k(ac,Y);this[C]=!!this.target[C];this.root=af;this.handler=X(ac,ag,null,ad)};W.prototype.inNamespaces=function(aa){var Z,Y,ab=0;if(!aa){return true}if(!this.namespaces){return false}for(Z=aa.length;Z--;){for(Y=this.namespaces.length;Y--;){if(aa[Z]==this.namespaces[Y]){ab++}}}return aa.length===ab};W.prototype.matches=function(Z,Y,aa){return this.element===Z&&(!Y||this.original===Y)&&(!aa||this.handler===aa)};return W}()),R=(function(){var ab={},aa=function(ag,aj,ad,an,al,ak){var ai=al?"r":"$";if(!aj||aj=="*"){for(var ao in ab){if(ao.charAt(0)==ai){aa(ag,ao.substr(1),ad,an,al,ak)}}}else{var af=0,ae,ah=ab[ai+aj],am=ag=="*";if(!ah){return}for(ae=ah.length;af<ae;af++){if((am||ah[af].matches(ag,ad,an))&&!ak(ah[af],ah,af,aj)){return}}}},Z=function(ag,ah,af,ad){var ae,ai=ab[(ad?"r":"$")+ah];if(ai){for(ae=ai.length;ae--;){if(!ai[ae].root&&ai[ae].matches(ag,af,null)){return true}}}return false},Y=function(ag,ah,af,ae){var ad=[];aa(ag,ah,af,null,ae,function(ai){return ad.push(ai)});return ad},ac=function(af){var ad=!af.root&&!this.has(af.element,af.type,null,false),ae=(af.root?"r":"$")+af.type;(ab[ae]||(ab[ae]=[])).push(af);return ad},X=function(ad){aa(ad.element,ad.type,null,ad.handler,ad.root,function(af,ag,ae){ag.splice(ae,1);af.removed=true;if(ag.length===0){delete ab[(af.root?"r":"$")+af.type]}return false})},W=function(){var ae,ad=[];for(ae in ab){if(ae.charAt(0)=="$"){ad=ad.concat(ab[ae])}}return ad};return{has:Z,get:Y,put:ac,del:X,entries:W}}()),D,U=function(W){if(!arguments.length){D=n.querySelectorAll?function(X,Y){return Y.querySelectorAll(X)}:function(){throw new Error("Bean: No selector engine installed")}}else{D=W}},K=function(aa,Z){if(!x&&Z&&aa&&aa.propertyName!="_on"+Z){return}var Y=R.get(this,Z||aa.type,null,false),W=Y.length,X=0;aa=new L(aa,this,true);if(Z){aa.type=Z}for(;X<W&&!aa.isImmediatePropagationStopped();X++){if(!Y[X].removed){Y[X].handler.call(this,aa)}}},Q=x?function(W,X,Y){W[Y?q:h](X,K,false)}:function(W,X,aa,Z){var Y;if(aa){R.put(Y=new p(W,Z||X,function(ab){K.call(W,ab,Z)},K,null,null,true));if(Z&&W["_on"+Z]==null){W["_on"+Z]=0}Y.target.attachEvent("on"+Y.eventType,Y.handler)}else{Y=R.get(W,Z||X,K,true)[0];if(Y){Y.target.detachEvent("on"+Y.eventType,Y.handler);R.del(Y)}}},z=function(aa,W,Y,X,Z){return function(){X.apply(this,arguments);aa(W,Y,Z)}},i=function(aa,Z,ae,W){var ad=Z&&Z.replace(J,""),X=R.get(aa,ad,null,false),ac={},ab,Y;for(ab=0,Y=X.length;ab<Y;ab++){if((!ae||X[ab].original===ae)&&X[ab].inNamespaces(W)){R.del(X[ab]);if(!ac[X[ab].eventType]&&X[ab][C]){ac[X[ab].eventType]={t:X[ab].eventType,c:X[ab].type}}}}for(ab in ac){if(!R.has(aa,ac[ab].t,null,false)){Q(aa,ac[ab].t,false,ac[ab].c)}}},t=function(W,Y){var Z=function(ac,aa){var ab,ad=r(W)?D(W,aa):W;for(;ac&&ac!==aa;ac=ac.parentNode){for(ab=ad.length;ab--;){if(ad[ab]===ac){return ac}}}},X=function(ab){var aa=Z(ab.target,this);if(aa){Y.apply(aa,arguments)}};X.__beanDel={ft:Z,selector:W};return X},S=x?function(X,Z,Y){var W=n.createEvent(X?"HTMLEvents":"UIEvents");W[X?"initEvent":"initUIEvent"](Z,true,true,N,1);Y.dispatchEvent(W)}:function(W,Y,X){X=k(X,W);W?X.fireEvent("on"+Y,n.createEventObject()):X["_on"+Y]++},M=function(aa,W,ac){var Z=r(W),X,ab,ad,Y;if(Z&&W.indexOf(" ")>0){W=P(W);for(Y=W.length;Y--;){M(aa,W[Y],ac)}return aa}ab=Z&&W.replace(J,"");if(ab&&F[ab]){ab=F[ab].base}if(!W||Z){if(ad=Z&&W.replace(A,"")){ad=P(ad,".")}i(aa,ab,ac,ad)}else{if(v(W)){i(aa,null,W)}else{for(X in W){if(W.hasOwnProperty(X)){M(aa,X,W[X])}}}}return aa},E=function(X,ag,W,ae){var ad,ac,aa,Y,ab,af,Z;if(W===undefined&&typeof ag=="object"){for(ac in ag){if(ag.hasOwnProperty(ac)){E.call(this,X,ac,ag[ac])}}return}if(!v(W)){ad=ae;ab=u.call(arguments,4);ae=t(W,ad,D)}else{ab=u.call(arguments,3);ae=ad=W}aa=P(ag);if(this===H){ae=z(M,X,ag,ae,ad)}for(Y=aa.length;Y--;){Z=R.put(af=new p(X,aa[Y].replace(J,""),ae,ad,P(aa[Y].replace(A,""),"."),ab,false));if(af[C]&&Z){Q(X,af.eventType,true,af.customType)}}return X},m=function(Y,X,Z,W){return E.apply(null,!r(Z)?u.call(arguments):[Y,Z,X,W].concat(arguments.length>3?u.call(arguments,5):[]))},o=function(){return E.apply(H,arguments)},y=function(Z,ae,ac){var ab=P(ae),aa,Y,X,ad,W;for(aa=ab.length;aa--;){ae=ab[aa].replace(J,"");if(ad=ab[aa].replace(A,"")){ad=P(ad,".")}if(!ad&&!ac&&Z[C]){S(T[ae],ae,Z)}else{W=R.get(Z,ae,null,false);ac=[false].concat(ac);for(Y=0,X=W.length;Y<X;Y++){if(W[Y].inNamespaces(ad)){W[Y].handler.apply(Z,ac)}}}}return Z},w=function(aa,ad,ab){var X=R.get(ad,ab,null,false),W=X.length,Z=0,Y,ac;for(;Z<W;Z++){if(X[Z].original){Y=[aa,X[Z].type];if(ac=X[Z].handler.__beanDel){Y.push(ac.selector)}Y.push(X[Z].original);E.apply(null,Y)}}return aa},I={on:E,add:m,one:o,off:M,remove:M,clone:w,fire:y,Event:L,setSelectorEngine:U,noConflict:function(){V[s]=O;return this}};if(N.attachEvent){var l=function(){var X,W=R.entries();for(X in W){if(W[X].type&&W[X].type!=="unload"){M(W[X].element,W[X].type)}}N.detachEvent("onunload",l);N.CollectGarbage&&N.CollectGarbage()};N.attachEvent("onunload",l)}U();return I})},{}],21:[function(g,f,e){(function(h){
-/* http://mths.be/punycode v1.2.4 by @mathias */
-(function(H){var x=typeof e=="object"&&e;var P=typeof f=="object"&&f&&f.exports==x&&f;var G=typeof h=="object"&&h;if(G.global===G||G.window===G){H=G}var m,A=2147483647,t=36,v=1,y=26,q=38,u=700,w=72,p=128,N="-",D=/^xn--/,l=/[^ -~]/,i=/\x2E|\u3002|\uFF0E|\uFF61/g,z={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},o=t-v,J=Math.floor,F=String.fromCharCode,O;function I(Q){throw RangeError(z[Q])}function L(S,Q){var R=S.length;while(R--){S[R]=Q(S[R])}return S}function k(Q,R){return L(Q.split(i),R).join(".")}function s(T){var S=[],R=0,U=T.length,V,Q;while(R<U){V=T.charCodeAt(R++);if(V>=55296&&V<=56319&&R<U){Q=T.charCodeAt(R++);if((Q&64512)==56320){S.push(((V&1023)<<10)+(Q&1023)+65536)}else{S.push(V);R--}}else{S.push(V)}}return S}function K(Q){return L(Q,function(S){var R="";if(S>65535){S-=65536;R+=F(S>>>10&1023|55296);S=56320|S&1023}R+=F(S);return R}).join("")}function n(Q){if(Q-48<10){return Q-22}if(Q-65<26){return Q-65}if(Q-97<26){return Q-97}return t}function E(R,Q){return R+22+75*(R<26)-((Q!=0)<<5)}function j(T,R,S){var Q=0;T=S?J(T/u):T>>1;T+=J(T/R);for(;T>o*y>>1;Q+=t){T=J(T/o)}return J(Q+(o+1)*T/(T+q))}function C(ac){var S=[],V=ac.length,X,Y=0,R=p,Z=w,U,W,aa,Q,ad,T,ab,af,ae;U=ac.lastIndexOf(N);if(U<0){U=0}for(W=0;W<U;++W){if(ac.charCodeAt(W)>=128){I("not-basic")}S.push(ac.charCodeAt(W))}for(aa=U>0?U+1:0;aa<V;){for(Q=Y,ad=1,T=t;;T+=t){if(aa>=V){I("invalid-input")}ab=n(ac.charCodeAt(aa++));if(ab>=t||ab>J((A-Y)/ad)){I("overflow")}Y+=ab*ad;af=T<=Z?v:(T>=Z+y?y:T-Z);if(ab<af){break}ae=t-af;if(ad>J(A/ae)){I("overflow")}ad*=ae}X=S.length+1;Z=j(Y-Q,X,Q==0);if(J(Y/X)>A-R){I("overflow")}R+=J(Y/X);Y%=X;S.splice(Y++,0,R)}return K(S)}function r(ac){var T,ae,Z,R,aa,Y,U,Q,X,ag,ad,S=[],W,V,af,ab;ac=s(ac);W=ac.length;T=p;ae=0;aa=w;for(Y=0;Y<W;++Y){ad=ac[Y];if(ad<128){S.push(F(ad))}}Z=R=S.length;if(R){S.push(N)}while(Z<W){for(U=A,Y=0;Y<W;++Y){ad=ac[Y];if(ad>=T&&ad<U){U=ad}}V=Z+1;if(U-T>J((A-ae)/V)){I("overflow")}ae+=(U-T)*V;T=U;for(Y=0;Y<W;++Y){ad=ac[Y];if(ad<T&&++ae>A){I("overflow")}if(ad==T){for(Q=ae,X=t;;X+=t){ag=X<=aa?v:(X>=aa+y?y:X-aa);if(Q<ag){break}ab=Q-ag;af=t-ag;S.push(F(E(ag+ab%af,0)));Q=J(ab/af)}S.push(F(E(Q,0)));aa=j(ae,V,Z==R);ae=0;++Z}}++ae;++T}return S.join("")}function B(Q){return k(Q,function(R){return D.test(R)?C(R.slice(4).toLowerCase()):R})}function M(Q){return k(Q,function(R){return l.test(R)?"xn--"+r(R):R})}m={version:"1.2.4",ucs2:{decode:s,encode:K},decode:C,encode:r,toASCII:M,toUnicode:B};if(typeof d=="function"&&typeof d.amd=="object"&&d.amd){d("punycode",function(){return m})}else{if(x&&!x.nodeType){if(P){P.exports=m}else{for(O in m){m.hasOwnProperty(O)&&(x[O]=m[O])}}}else{H.punycode=m}}}(this))}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],22:[function(j,h,e){var g=j("indexof");h.exports=k;function k(n){var t=n.classList;if(t){return t}var l={add:v,remove:p,contains:o,toggle:r,toString:s,length:0,item:u};return l;function v(w){var x=m();if(g(x,w)>-1){return}x.push(w);q(x)}function p(x){var y=m(),w=g(y,x);if(w===-1){return}y.splice(w,1);q(y)}function o(w){return g(m(),w)>-1}function r(w){if(o(w)){p(w);return false}else{v(w);return true}}function s(){return n.className}function u(w){var x=m();return x[w]||null}function m(){var w=n.className;return i(w.split(" "),f)}function q(y){var x=y.length;n.className=y.join(" ");l.length=x;for(var w=0;w<y.length;w++){l[w]=y[w]}delete y[x]}}function i(l,o){var m=[];for(var n=0;n<l.length;n++){if(o(l[n])){m.push(l[n])}}return m}function f(l){return !!l}},{indexof:23}],23:[function(h,f,e){var g=[].indexOf;f.exports=function(j,l){if(g){return j.indexOf(l)}for(var k=0;k<j.length;++k){if(j[k]===l){return k}}return -1}},{}],24:[function(h,g,f){function e(j,l,k,i){k=window.getComputedStyle;i=k?k(j):j.currentStyle;if(i){return i[l.replace(/-(\w)/gi,function(n,m){return m.toUpperCase()})]}}g.exports=e},{}],25:[function(g,f,e){
-/*
- * https://github.com/es-shims/es5-shim
- * @license es5-shim Copyright 2009-2015 by contributors, MIT License
- * see https://github.com/es-shims/es5-shim/blob/master/LICENSE
- */
-(function(h,i){if(typeof d==="function"&&d.amd){d(i)}else{if(typeof e==="object"){f.exports=i()}else{h.returnExports=i()}}}(this,function(){var ax=Array;var o=ax.prototype;var K=Object;var br=K.prototype;var r=Function.prototype;var bD=String;var aM=bD.prototype;var aN=Number;var at=aN.prototype;var F=o.slice;var M=o.splice;var am=o.push;var bO=o.unshift;var bL=o.concat;var p=r.call;var bo=r.apply;var ae=Math.max;var a3=Math.min;var l=br.toString;var Q=typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol";var ah;var aA=Function.prototype.toString,az=function az(bS){try{aA.call(bS);return true}catch(bT){return false}},aK="[object Function]",aO="[object GeneratorFunction]";ah=function ah(bS){if(typeof bS!=="function"){return false}if(Q){return az(bS)}var bT=l.call(bS);return bT===aK||bT===aO};var H;var bs=RegExp.prototype.exec,P=function P(bS){try{bs.call(bS);return true}catch(bT){return false}},aj="[object RegExp]";H=function H(bS){if(typeof bS!=="object"){return false}return Q?P(bS):l.call(bS)===aj};var bk;var aq=String.prototype.valueOf,h=function h(bS){try{aq.call(bS);return true}catch(bT){return false}},a1="[object String]";bk=function bk(bS){if(typeof bS==="string"){return true}if(typeof bS!=="object"){return false}return Q?h(bS):l.call(bS)===a1};var bI=K.defineProperty&&(function(){try{var bU={};K.defineProperty(bU,"x",{enumerable:false,value:bU});for(var bS in bU){return false}return bU.x===bU}catch(bT){return false}}());var u=(function(bU){var bS;if(bI){bS=function(bW,bV,bY,bX){if(!bX&&(bV in bW)){return}K.defineProperty(bW,bV,{configurable:true,enumerable:false,writable:true,value:bY})}}else{bS=function(bW,bV,bY,bX){if(!bX&&(bV in bW)){return}bW[bV]=bY}}return function bT(bW,bY,bX){for(var bV in bY){if(bU.call(bY,bV)){bS(bW,bV,bY[bV],bX)}}}}(br.hasOwnProperty));var bz=function bz(bS){var bT=typeof bS;return bS===null||(bT!=="object"&&bT!=="function")};var ab=aN.isNaN||function(bS){return bS!==bS};var L={ToInteger:function a0(bS){var bT=+bS;if(ab(bT)){bT=0}else{if(bT!==0&&bT!==(1/0)&&bT!==-(1/0)){bT=(bT>0||-1)*Math.floor(Math.abs(bT))}}return bT},ToPrimitive:function bt(bT){var bV,bS,bU;if(bz(bT)){return bT}bS=bT.valueOf;if(ah(bS)){bV=bS.call(bT);if(bz(bV)){return bV}}bU=bT.toString;if(ah(bU)){bV=bU.call(bT);if(bz(bV)){return bV}}throw new TypeError()},ToObject:function(bS){if(bS==null){throw new TypeError("can't convert "+bS+" to object")}return K(bS)},ToUint32:function aJ(bS){return bS>>>0}};var ar=function ar(){};u(r,{bind:function aQ(bX){var bY=this;if(!ah(bY)){throw new TypeError("Function.prototype.bind called on incompatible "+bY)}var bU=F.call(arguments,1);var bW;var bT=function(){if(this instanceof bW){var b0=bY.apply(this,bL.call(bU,F.call(arguments)));if(K(b0)===b0){return b0}return this}else{return bY.apply(bX,bL.call(bU,F.call(arguments)))}};var bS=ae(0,bY.length-bU.length);var bZ=[];for(var bV=0;bV<bS;bV++){am.call(bZ,"$"+bV)}bW=Function("binder","return function ("+bZ.join(",")+"){ return binder.apply(this, arguments); }")(bT);if(bY.prototype){ar.prototype=bY.prototype;bW.prototype=new ar();ar.prototype=null}return bW}});var R=p.bind(br.hasOwnProperty);var ao=p.bind(br.toString);var Y=p.bind(F);var bv=bo.bind(F);var aU=p.bind(aM.slice);var av=p.bind(aM.split);var v=p.bind(aM.indexOf);var B=p.bind(am);var bn=p.bind(br.propertyIsEnumerable);var G=p.bind(o.sort);var ay=ax.isArray||function ay(bS){return ao(bS)==="[object Array]"};var bA=[].unshift(0)!==1;u(o,{unshift:function(){bO.apply(this,arguments);return this.length}},bA);u(ax,{isArray:ay});var aH=K("a");var bM=aH[0]!=="a"||!(0 in aH);var X=function bp(bU){var bT=true;var bS=true;if(bU){bU.call("foo",function(bV,bX,bW){if(typeof bW!=="object"){bT=false}});bU.call([1],function(){bS=typeof this==="string"},"x")}return !!bU&&bT&&bS};u(o,{forEach:function au(bS){var bV=L.ToObject(this);var bT=bM&&bk(this)?av(this,""):bV;var bW=-1;var bX=L.ToUint32(bT.length);var bU;if(arguments.length>1){bU=arguments[1]}if(!ah(bS)){throw new TypeError("Array.prototype.forEach callback must be a function")}while(++bW<bX){if(bW in bT){if(typeof bU==="undefined"){bS(bT[bW],bW,bV)}else{bS.call(bU,bT[bW],bW,bV)}}}}},!X(o.forEach));u(o,{map:function ai(bT){var bW=L.ToObject(this);var bU=bM&&bk(this)?av(this,""):bW;var bY=L.ToUint32(bU.length);var bS=ax(bY);var bV;if(arguments.length>1){bV=arguments[1]}if(!ah(bT)){throw new TypeError("Array.prototype.map callback must be a function")}for(var bX=0;bX<bY;bX++){if(bX in bU){if(typeof bV==="undefined"){bS[bX]=bT(bU[bX],bX,bW)}else{bS[bX]=bT.call(bV,bU[bX],bX,bW)}}}return bS}},!X(o.map));u(o,{filter:function aF(bT){var bW=L.ToObject(this);var bU=bM&&bk(this)?av(this,""):bW;var bY=L.ToUint32(bU.length);var bS=[];var bZ;var bV;if(arguments.length>1){bV=arguments[1]}if(!ah(bT)){throw new TypeError("Array.prototype.filter callback must be a function")}for(var bX=0;bX<bY;bX++){if(bX in bU){bZ=bU[bX];if(typeof bV==="undefined"?bT(bZ,bX,bW):bT.call(bV,bZ,bX,bW)){B(bS,bZ)}}}return bS}},!X(o.filter));u(o,{every:function D(bS){var bV=L.ToObject(this);var bT=bM&&bk(this)?av(this,""):bV;var bX=L.ToUint32(bT.length);var bU;if(arguments.length>1){bU=arguments[1]}if(!ah(bS)){throw new TypeError("Array.prototype.every callback must be a function")}for(var bW=0;bW<bX;bW++){if(bW in bT&&!(typeof bU==="undefined"?bS(bT[bW],bW,bV):bS.call(bU,bT[bW],bW,bV))){return false}}return true}},!X(o.every));u(o,{some:function aa(bS){var bV=L.ToObject(this);var bT=bM&&bk(this)?av(this,""):bV;var bX=L.ToUint32(bT.length);var bU;if(arguments.length>1){bU=arguments[1]}if(!ah(bS)){throw new TypeError("Array.prototype.some callback must be a function")}for(var bW=0;bW<bX;bW++){if(bW in bT&&(typeof bU==="undefined"?bS(bT[bW],bW,bV):bS.call(bU,bT[bW],bW,bV))){return true}}return false}},!X(o.some));var S=false;if(o.reduce){S=typeof o.reduce.call("es5",function(bT,bU,bS,bV){return bV})==="object"}u(o,{reduce:function a9(bT){var bV=L.ToObject(this);var bU=bM&&bk(this)?av(this,""):bV;var bX=L.ToUint32(bU.length);if(!ah(bT)){throw new TypeError("Array.prototype.reduce callback must be a function")}if(bX===0&&arguments.length===1){throw new TypeError("reduce of empty array with no initial value")}var bW=0;var bS;if(arguments.length>=2){bS=arguments[1]}else{do{if(bW in bU){bS=bU[bW++];break}if(++bW>=bX){throw new TypeError("reduce of empty array with no initial value")}}while(true)}for(;bW<bX;bW++){if(bW in bU){bS=bT(bS,bU[bW],bW,bV)}}return bS}},!S);var aL=false;if(o.reduceRight){aL=typeof o.reduceRight.call("es5",function(bT,bU,bS,bV){return bV})==="object"}u(o,{reduceRight:function by(bT){var bV=L.ToObject(this);var bU=bM&&bk(this)?av(this,""):bV;var bX=L.ToUint32(bU.length);if(!ah(bT)){throw new TypeError("Array.prototype.reduceRight callback must be a function")}if(bX===0&&arguments.length===1){throw new TypeError("reduceRight of empty array with no initial value")}var bS;var bW=bX-1;if(arguments.length>=2){bS=arguments[1]}else{do{if(bW in bU){bS=bU[bW--];break}if(--bW<0){throw new TypeError("reduceRight of empty array with no initial value")}}while(true)}if(bW<0){return bS}do{if(bW in bU){bS=bT(bS,bU[bW],bW,bV)}}while(bW--);return bS}},!aL);var bc=o.indexOf&&[0,1].indexOf(1,2)!==-1;u(o,{indexOf:function bK(bT){var bS=bM&&bk(this)?av(this,""):L.ToObject(this);var bV=L.ToUint32(bS.length);if(bV===0){return -1}var bU=0;if(arguments.length>1){bU=L.ToInteger(arguments[1])}bU=bU>=0?bU:ae(0,bV+bU);for(;bU<bV;bU++){if(bU in bS&&bS[bU]===bT){return bU}}return -1}},bc);var aB=o.lastIndexOf&&[0,1].lastIndexOf(0,-3)!==-1;u(o,{lastIndexOf:function bQ(bT){var bS=bM&&bk(this)?av(this,""):L.ToObject(this);var bV=L.ToUint32(bS.length);if(bV===0){return -1}var bU=bV-1;if(arguments.length>1){bU=a3(bU,L.ToInteger(arguments[1]))}bU=bU>=0?bU:bV-Math.abs(bU);for(;bU>=0;bU--){if(bU in bS&&bT===bS[bU]){return bU}}return -1}},aB);var N=(function(){var bT=[1,2];var bS=bT.splice();return bT.length===2&&ay(bS)&&bS.length===0}());u(o,{splice:function a7(bT,bS){if(arguments.length===0){return[]}else{return M.apply(this,arguments)}}},!N);var bi=(function(){var bS={};o.splice.call(bS,0,0,1);return bS.length===1}());u(o,{splice:function a7(bU,bT){if(arguments.length===0){return[]}var bS=arguments;this.length=ae(L.ToInteger(this.length),0);if(arguments.length>0&&typeof bT!=="number"){bS=Y(arguments);if(bS.length<2){B(bS,this.length-bU)}else{bS[1]=L.ToInteger(bT)}}return M.apply(this,bS)}},!bi);var aE=(function(){var bS=new ax(100000);bS[8]="x";bS.splice(1,1);return bS.indexOf("x")===7}());var i=(function(){var bT=256;var bS=[];bS[bT]="a";bS.splice(bT+1,0,"b");return bS[bT]==="a"}());u(o,{splice:function a7(bU,bV){var b0=L.ToObject(this);var bW=[];var b2=L.ToUint32(b0.length);var b1=L.ToInteger(bU);var bT=b1<0?ae((b2+b1),0):a3(b1,b2);var bX=a3(ae(L.ToInteger(bV),0),b2-bT);var bY=0;var b5;while(bY<bX){b5=bD(bT+bY);if(R(b0,b5)){bW[bY]=b0[b5]}bY+=1}var b3=Y(arguments,2);var bS=b3.length;var b4;if(bS<bX){bY=bT;while(bY<(b2-bX)){b5=bD(bY+bX);b4=bD(bY+bS);if(R(b0,b5)){b0[b4]=b0[b5]}else{delete b0[b4]}bY+=1}bY=b2;while(bY>(b2-bX+bS)){delete b0[bY-1];bY-=1}}else{if(bS>bX){bY=b2-bX;while(bY>bT){b5=bD(bY+bX-1);b4=bD(bY+bS-1);if(R(b0,b5)){b0[b4]=b0[b5]}else{delete b0[b4]}bY-=1}}}bY=bT;for(var bZ=0;bZ<b3.length;++bZ){b0[bY]=b3[bZ];bY+=1}b0.length=b2-bX+bS;return bW}},!aE||!i);var T=o.join;var a8;try{a8=Array.prototype.join.call("123",",")!=="1,2,3"}catch(ba){a8=true}if(a8){u(o,{join:function aW(bT){var bS=typeof bT==="undefined"?",":bT;return T.call(bk(this)?av(this,""):this,bS)}},a8)}var V=[1,2].join(undefined)!=="1,2";if(V){u(o,{join:function aW(bT){var bS=typeof bT==="undefined"?",":bT;return T.call(this,bS)}},V)}var aS=function B(bT){var bU=L.ToObject(this);var bV=L.ToUint32(bU.length);var bS=0;while(bS<arguments.length){bU[bV+bS]=arguments[bS];bS+=1}bU.length=bV+bS;return bV+bS};var aI=(function(){var bT={};var bS=Array.prototype.push.call(bT,undefined);return bS!==1||bT.length!==1||typeof bT[0]!=="undefined"||!R(bT,0)}());u(o,{push:function B(bS){if(ay(this)){return am.apply(this,arguments)}return aS.apply(this,arguments)}},aI);var I=(function(){var bT=[];var bS=bT.push(undefined);return bS!==1||bT.length!==1||typeof bT[0]!=="undefined"||!R(bT,0)}());u(o,{push:aS},I);u(o,{slice:function(bU,bT){var bS=bk(this)?av(this,""):this;return bv(bS,arguments)}},bM);var j=(function(){try{[1,2].sort(null);[1,2].sort({});return true}catch(bS){}return false}());var O=(function(){try{[1,2].sort(/a/);return false}catch(bS){}return true}());var bd=(function(){try{[1,2].sort(undefined);return true}catch(bS){}return false}());u(o,{sort:function bx(bS){if(typeof bS==="undefined"){return G(this)}if(!ah(bS)){throw new TypeError("Array.prototype.sort callback must be a function")}return G(this,bS)}},j||!bd||!O);var bR=!({toString:null}).propertyIsEnumerable("toString");var aC=function(){}.propertyIsEnumerable("prototype");var s=!R("x","0");var x=function(bT){var bS=bT.constructor;return bS&&bS.prototype===bT};var k={$window:true,$console:true,$parent:true,$self:true,$frame:true,$frames:true,$frameElement:true,$webkitIndexedDB:true,$webkitStorageInfo:true,$external:true};var aX=(function(){if(typeof window==="undefined"){return false}for(var bS in window){try{if(!k["$"+bS]&&R(window,bS)&&window[bS]!==null&&typeof window[bS]==="object"){x(window[bS])}}catch(bT){return true}}return false}());var bC=function(bS){if(typeof window==="undefined"||!aX){return x(bS)}try{return x(bS)}catch(bT){return false}};var y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var ad=y.length;var z=function W(bS){return ao(bS)==="[object Arguments]"};var bG=function W(bS){return bS!==null&&typeof bS==="object"&&typeof bS.length==="number"&&bS.length>=0&&!ay(bS)&&ah(bS.callee)};var W=z(arguments)?z:bG;u(K,{keys:function aY(bV){var b0=ah(bV);var bT=W(bV);var b2=bV!==null&&typeof bV==="object";var b1=b2&&bk(bV);if(!b2&&!b0&&!bT){throw new TypeError("Object.keys called on a non-object")}var bY=[];var b3=aC&&b0;if((b1&&s)||bT){for(var bZ=0;bZ<bV.length;++bZ){B(bY,bD(bZ))}}if(!bT){for(var bS in bV){if(!(b3&&bS==="prototype")&&R(bV,bS)){B(bY,bD(bS))}}}if(bR){var bU=bC(bV);for(var bX=0;bX<ad;bX++){var bW=y[bX];if(!(bU&&bW==="constructor")&&R(bV,bW)){B(bY,bW)}}}return bY}});var bH=K.keys&&(function(){return K.keys(arguments).length===2}(1,2));var bw=K.keys&&(function(){var bS=K.keys(arguments);return arguments.length!==1||bS.length!==1||bS[0]!==1}(1));var U=K.keys;u(K,{keys:function aY(bS){if(W(bS)){return U(Y(bS))}else{return U(bS)}}},!bH||bw);var ap=-62198755200000;var bF="-000001";var A=Date.prototype.toISOString&&new Date(ap).toISOString().indexOf(bF)===-1;var bj=Date.prototype.toISOString&&new Date(-1).toISOString()!=="1969-12-31T23:59:59.999Z";u(Date.prototype,{toISOString:function a4(){var bS,bU,bV,bT,bW;if(!isFinite(this)){throw new RangeError("Date.prototype.toISOString called on non-finite value.")}bT=this.getUTCFullYear();bW=this.getUTCMonth();bT+=Math.floor(bW/12);bW=(bW%12+12)%12;bS=[bW+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];bT=((bT<0?"-":(bT>9999?"+":""))+aU("00000"+Math.abs(bT),(0<=bT&&bT<=9999)?-4:-6));bU=bS.length;while(bU--){bV=bS[bU];if(bV<10){bS[bU]="0"+bV}}return(bT+"-"+Y(bS,0,2).join("-")+"T"+Y(bS,2).join(":")+"."+aU("000"+this.getUTCMilliseconds(),-3)+"Z")}},A||bj);var bh=(function(){try{return Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(ap).toJSON().indexOf(bF)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return true}})}catch(bS){return false}}());if(!bh){Date.prototype.toJSON=function bg(bU){var bV=K(this);var bT=L.ToPrimitive(bV);if(typeof bT==="number"&&!isFinite(bT)){return null}var bS=bV.toISOString;if(!ah(bS)){throw new TypeError("toISOString property is not callable")}return bS.call(bV)}}var bb=Date.parse("+033658-09-27T01:46:40.000Z")===1000000000000000;var bu=!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"));var af=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(af||bu||!bb){var al=Math.pow(2,31)-1;var bP=ab(new Date(1970,0,1,0,0,0,al+1).getTime());Date=(function(bU){var bZ=function bX(b5,ca,b2,b9,b8,ce,b4){var b6=arguments.length;var b7;if(this instanceof bU){var cb=ce;var b3=b4;if(bP&&b6>=7&&b4>al){var cd=Math.floor(b4/al)*al;var cc=Math.floor(cd/1000);cb+=cc;b3-=cc*1000}b7=b6===1&&bD(b5)===b5?new bU(bZ.parse(b5)):b6>=7?new bU(b5,ca,b2,b9,b8,cb,b3):b6>=6?new bU(b5,ca,b2,b9,b8,cb):b6>=5?new bU(b5,ca,b2,b9,b8):b6>=4?new bU(b5,ca,b2,b9):b6>=3?new bU(b5,ca,b2):b6>=2?new bU(b5,ca):b6>=1?new bU(b5):new bU()}else{b7=bU.apply(this,arguments)}if(!bz(b7)){u(b7,{constructor:bZ},true)}return b7};var b1=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$");var bS=[0,31,59,90,120,151,181,212,243,273,304,334,365];var bY=function bY(b3,b4){var b2=b4>1?1:0;return(bS[b4]+Math.floor((b3-1969+b2)/4)-Math.floor((b3-1901+b2)/100)+Math.floor((b3-1601+b2)/400)+365*(b3-1970))};var bV=function bV(b4){var b5=0;var b2=b4;if(bP&&b2>al){var b6=Math.floor(b2/al)*al;var b3=Math.floor(b6/1000);b5+=b3;b2-=b3*1000}return aN(new bU(1970,0,1,0,0,b5,b2))};for(var b0 in bU){if(R(bU,b0)){bZ[b0]=bU[b0]}}u(bZ,{now:bU.now,UTC:bU.UTC},true);bZ.prototype=bU.prototype;u(bZ.prototype,{constructor:bZ},true);var bT=function bW(ca){var b9=b1.exec(ca);if(b9){var cd=aN(b9[1]),cc=aN(b9[2]||1)-1,ce=aN(b9[3]||1)-1,b6=aN(b9[4]||0),b5=aN(b9[5]||0),b2=aN(b9[6]||0),cg=Math.floor(aN(b9[7]||0)*1000),b4=Boolean(b9[4]&&!b9[8]),b8=b9[9]==="-"?1:-1,b3=aN(b9[10]||0),b7=aN(b9[11]||0),cf;var cb=b5>0||b2>0||cg>0;if(b6<(cb?24:25)&&b5<60&&b2<60&&cg<1000&&cc>-1&&cc<12&&b3<24&&b7<60&&ce>-1&&ce<(bY(cd,cc+1)-bY(cd,cc))){cf=((bY(cd,cc)+ce)*24+b6+b3*b8)*60;cf=((cf+b5+b7*b8)*60+b2)*1000+cg;if(b4){cf=bV(cf)}if(-8640000000000000<=cf&&cf<=8640000000000000){return cf}}return NaN}return bU.parse.apply(this,arguments)};u(bZ,{parse:bT});return bZ}(Date))}if(!Date.now){Date.now=function a2(){return new Date().getTime()}}var bN=at.toFixed&&((0.00008).toFixed(3)!=="0.000"||(0.9).toFixed(0)!=="1"||(1.255).toFixed(2)!=="1.25"||(1000000000000000100).toFixed(0)!=="1000000000000000128");var a5={base:10000000,size:6,data:[0,0,0,0,0,0],multiply:function bJ(bV,bU){var bT=-1;var bS=bU;while(++bT<a5.size){bS+=bV*a5.data[bT];a5.data[bT]=bS%a5.base;bS=Math.floor(bS/a5.base)}},divide:function bE(bU){var bS=a5.size,bT=0;while(--bS>=0){bT+=a5.data[bS];a5.data[bS]=Math.floor(bT/bU);bT=(bT%bU)*a5.base}},numToString:function J(){var bT=a5.size;var bU="";while(--bT>=0){if(bU!==""||bT===0||a5.data[bT]!==0){var bS=bD(a5.data[bT]);if(bU===""){bU=bS}else{bU+=aU("0000000",0,7-bS.length)+bS}}}return bU},pow:function aZ(bS,bU,bT){return(bU===0?bT:(bU%2===1?aZ(bS,bU-1,bT*bS):aZ(bS*bS,bU/2,bT)))},log:function be(bS){var bU=0;var bT=bS;while(bT>=4096){bU+=12;bT/=4096}while(bT>=2){bU+=1;bT/=2}return bU}};var a6=function aw(bZ){var bV,bY,b0,bS,bW,bX,bU,bT;bV=aN(bZ);bV=ab(bV)?0:Math.floor(bV);if(bV<0||bV>20){throw new RangeError("Number.toFixed called with invalid number of decimals")}bY=aN(this);if(ab(bY)){return"NaN"}if(bY<=-1e+21||bY>=1e+21){return bD(bY)}b0="";if(bY<0){b0="-";bY=-bY}bS="0";if(bY>1e-21){bW=a5.log(bY*a5.pow(2,69,1))-69;bX=(bW<0?bY*a5.pow(2,-bW,1):bY/a5.pow(2,bW,1));bX*=4503599627370496;bW=52-bW;if(bW>0){a5.multiply(0,bX);bU=bV;while(bU>=7){a5.multiply(10000000,0);bU-=7}a5.multiply(a5.pow(10,bU,1),0);bU=bW-1;while(bU>=23){a5.divide(1<<23);bU-=23}a5.divide(1<<bU);a5.multiply(1,1);a5.divide(2);bS=a5.numToString()}else{a5.multiply(0,bX);a5.multiply(1<<(-bW),0);bS=a5.numToString()+aU("0.00000000000000000000",2,2+bV)}}if(bV>0){bT=bS.length;if(bT<=bV){bS=b0+aU("0.0000000000000000000",0,bV-bT+2)+bS}else{bS=b0+aU(bS,0,bT-bV)+"."+aU(bS,bT-bV)}}else{bS=b0+bS}return bS};u(at,{toFixed:a6},bN);var w=(function(){try{return 1.toPrecision(undefined)==="1"}catch(bS){return true}}());var n=at.toPrecision;u(at,{toPrecision:function E(bS){return typeof bS==="undefined"?n.call(this):n.call(this,bS)}},w);if("ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"test".split(/(?:)/,-1).length!==4||"".split(/.?/).length||".".split(/()()/).length>1){(function(){var bS=typeof(/()??/).exec("")[1]==="undefined";var bT=Math.pow(2,32)-1;aM.split=function(b0,bY){var b3=String(this);if(typeof b0==="undefined"&&bY===0){return[]}if(!H(b0)){return av(this,b0,bY)}var bW=[];var bX=(b0.ignoreCase?"i":"")+(b0.multiline?"m":"")+(b0.unicode?"u":"")+(b0.sticky?"y":""),bU=0,bV,b1,b2,b4;var bZ=new RegExp(b0.source,bX+"g");if(!bS){bV=new RegExp("^"+bZ.source+"$(?!\\s)",bX)}var b5=typeof bY==="undefined"?bT:L.ToUint32(bY);b1=bZ.exec(b3);while(b1){b2=b1.index+b1[0].length;if(b2>bU){B(bW,aU(b3,bU,b1.index));if(!bS&&b1.length>1){b1[0].replace(bV,function(){for(var b6=1;b6<arguments.length-2;b6++){if(typeof arguments[b6]==="undefined"){b1[b6]=void 0}}})}if(b1.length>1&&b1.index<b3.length){am.apply(bW,Y(b1,1))}b4=b1[0].length;bU=b2;if(bW.length>=b5){break}}if(bZ.lastIndex===b1.index){bZ.lastIndex++}b1=bZ.exec(b3)}if(bU===b3.length){if(b4||!bZ.test("")){B(bW,"")}}else{B(bW,aU(b3,bU))}return bW.length>b5?aU(bW,0,b5):bW}}())}else{if("0".split(void 0,0).length){aM.split=function q(bT,bS){if(typeof bT==="undefined"&&bS===0){return[]}return av(this,bT,bS)}}}var bf=aM.replace;var aV=(function(){var bS=[];"x".replace(/x(.)?/g,function(bT,bU){B(bS,bU)});return bS.length===1&&typeof bS[0]==="undefined"}());if(!aV){aM.replace=function aR(bW,bU){var bT=ah(bU);var bS=H(bW)&&(/\)[*?]/).test(bW.source);if(!bT||!bS){return bf.call(this,bW,bU)}else{var bV=function(bZ){var b0=arguments.length;var bX=bW.lastIndex;bW.lastIndex=0;var bY=bW.exec(bZ)||[];bW.lastIndex=bX;B(bY,arguments[b0-2],arguments[b0-1]);return bU.apply(this,bY)};return bf.call(this,bW,bV)}}}var aG=aM.substr;var ac="".substr&&"0b".substr(-1)!=="b";u(aM,{substr:function aT(bU,bS){var bT=bU;if(bU<0){bT=ae(this.length+bU,0)}return aG.call(this,bT,bS)}},ac);var t="\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF";var bq="\u200b";var aD="["+t+"]";var aP=new RegExp("^"+aD+aD+"*");var ak=new RegExp(aD+aD+"*$");var bm=aM.trim&&(t.trim()||!bq.trim());u(aM,{trim:function Z(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}return bD(this).replace(aP,"").replace(ak,"")}},bm);var m=aM.lastIndexOf&&"abcあい".lastIndexOf("あい",2)!==-1;u(aM,{lastIndexOf:function bQ(b0){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}var bV=bD(this);var bT=bD(b0);var bY=arguments.length>1?aN(arguments[1]):NaN;var bX=ab(bY)?Infinity:L.ToInteger(bY);var bS=a3(ae(bX,0),bV.length);var bZ=bT.length;var bU=bS+bZ;while(bU>0){bU=ae(0,bU-bZ);var bW=v(aU(bV,bU,bS+bZ),bT);if(bW!==-1){return bU+bW}}return -1}},m);var bB=aM.lastIndexOf;u(aM,{lastIndexOf:function bQ(bS){return bB.apply(this,arguments)}},aM.lastIndexOf.length!==1);if(parseInt(t+"08")!==8||parseInt(t+"0x16")!==22){parseInt=(function(bS){var bT=/^[\-+]?0[xX]/;return function bU(bY,bX){var bW=bD(bY).trim();var bV=aN(bX)||(bT.test(bW)?16:10);return bS(bW,bV)}}(parseInt))}if(String(new RangeError("test"))!=="RangeError: test"){var an=function C(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}var bS=this.name;if(typeof bS==="undefined"){bS="Error"}else{if(typeof bS!=="string"){bS=bD(bS)}}var bT=this.message;if(typeof bT==="undefined"){bT=""}else{if(typeof bT!=="string"){bT=bD(bT)}}if(!bS){return bT}if(!bT){return bS}return bS+": "+bT};Error.prototype.toString=an}if(bI){var bl=function(bS,bU){if(bn(bS,bU)){var bT=Object.getOwnPropertyDescriptor(bS,bU);bT.enumerable=false;Object.defineProperty(bS,bU,bT)}};bl(Error.prototype,"message");if(Error.prototype.message!==""){Error.prototype.message=""}bl(Error.prototype,"name")}if(String(/a/mig)!=="/a/gim"){var ag=function C(){var bS="/"+this.source+"/";if(this.global){bS+="g"}if(this.ignoreCase){bS+="i"}if(this.multiline){bS+="m"}return bS};RegExp.prototype.toString=ag}}))},{}],26:[function(h,g,f){var e=[];var i=e.forEach;var j=e.slice;g.exports=function(k){i.call(j.call(arguments,1),function(l){if(l){for(var m in l){k[m]=l[m]}}});return k}},{}],27:[function(g,f,e){f.exports=i;var h=Object.prototype.toString;function i(k){var j=h.call(k);return j==="[object Function]"||(typeof k==="function"&&j!=="[object RegExp]")||(typeof window!=="undefined"&&(k===window.setTimeout||k===window.alert||k===window.confirm||k===window.prompt))}},{}],28:[function(h,g,f){g.exports=function e(i){return typeof i==="object"&&i!==null}},{}],29:[function(g,f,e){
-/*
-  * $script.js JS loader & dependency manager
-  * https://github.com/ded/script.js
-  * (c) Dustin Diaz 2014 | License MIT
-  */
-(function(h,i){if(typeof f!="undefined"&&f.exports){f.exports=i()}else{if(typeof d=="function"&&d.amd){d(i)}else{this[h]=i()}}})("$script",function(){var v=document,r=v.getElementsByTagName("head")[0],y="string",o=false,q="push",l="readyState",w="onreadystatechange",p={},h={},k={},j={},u,x;function n(s,B){for(var A=0,z=s.length;A<z;++A){if(!B(s[A])){return o}}return 1}function t(s,z){n(s,function(A){return !z(A)})}function i(G,C,A){G=G[q]?G:[G];var z=C&&C.call,B=z?C:A,s=z?G.join(""):C,D=G.length;function E(H){return H.call?H():p[H]}function F(){if(!--D){p[s]=1;B&&B();for(var H in k){n(H.split("|"),E)&&!t(k[H],E)&&(k[H]=[])}}}setTimeout(function(){t(G,function H(J,I){if(J===null){return F()}if(!I&&!/^https?:\/\//.test(J)&&u){J=(J.indexOf(".js")===-1)?u+J+".js":u+J}if(j[J]){if(s){h[s]=1}return(j[J]==2)?F():setTimeout(function(){H(J,true)},0)}j[J]=1;if(s){h[s]=1}m(J,F)})},0);return i}function m(B,A){var z=v.createElement("script"),s;z.onload=z.onerror=z[w]=function(){if((z[l]&&!(/^c|loade/.test(z[l])))||s){return}z.onload=z[w]=null;s=1;j[B]=2;A()};z.async=1;z.src=x?B+(B.indexOf("?")===-1?"?":"&")+x:B;r.insertBefore(z,r.lastChild)}i.get=m;i.order=function(s,B,z){(function A(C){C=s.shift();!s.length?i(C,B,z):i(C,A)}())};i.path=function(s){u=s};i.urlArgs=function(s){x=s};i.ready=function(B,z,A){B=B[q]?B:[B];var s=[];!t(B,function(C){p[C]||s[q](C)})&&n(B,function(C){return p[C]})?z():!function(C){k[C]=k[C]||[];k[C][q](z);A&&A(s)}(B.join("|"));return i};i.done=function(s){i([null],s)};return i})},{}]},{},[19])(19)});
\ No newline at end of file
+!function(e){function t(e,t,n,r){for(var i,a=n.slice(),l=o(t,e),s=0,u=a.length;s<u&&(handler=a[s],"object"==typeof handler&&"function"==typeof handler.handleEvent?handler.handleEvent(l):handler.call(e,l),!l.stoppedImmediatePropagation);s++);return i=!l.stoppedPropagation,r&&i&&e.parentNode?e.parentNode.dispatchEvent(l):!l.defaultPrevented}function n(e,t){return{configurable:!0,get:e,set:t}}function r(e,t,r){var o=y(t||e,r);m(e,"textContent",n(function(){return o.get.call(this)},function(e){o.set.call(this,e)}))}function o(e,t){return e.currentTarget=t,e.eventPhase=e.target===e.currentTarget?2:3,e}function i(e,t){for(var n=e.length;n--&&e[n]!==t;);return n}function a(){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 l(e){!f&&k.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=e.Object,m=h.defineProperty||function(e,t,n){e[t]=n.value},g=h.defineProperties||function(t,n){for(var r in n)if(b.call(n,r))try{m(t,r,n[r])}catch(n){e.console&&console.log(r+" failed on object:",t,n.message)}},y=h.getOwnPropertyDescriptor,b=h.prototype.hasOwnProperty,w=e.Element.prototype,x=e.Text.prototype,E=/^[a-z]+$/,k=/loaded|complete/,T={},S=document.createElement("div");r(e.HTMLCommentElement.prototype,w,"nodeValue"),r(e.HTMLScriptElement.prototype,null,"text"),r(x,null,"nodeValue"),r(e.HTMLTitleElement.prototype,null,"text"),m(e.HTMLStyleElement.prototype,"textContent",function(e){return n(function(){return e.get.call(this.styleSheet)},function(t){e.set.call(this.styleSheet,t)})}(y(e.CSSStyleSheet.prototype,"cssText"))),g(w,{textContent:{get:a,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]}},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 o,a=this,l="on"+e,s=a[v]||m(a,v,{value:{}})[v],c=s[l]||(s[l]={}),f=c.h||(c.h=[]);if(!b.call(c,"w")){if(c.w=function(e){return e[v]||t(a,u(0,e),f,!1)},!b.call(T,l))if(E.test(e))try{(o=document.createEventObject())[v]=!0,9!=a.nodeType&&null==a.parentNode&&S.appendChild(a),a.fireEvent(l,o),T[l]=!0}catch(o){for(T[l]=!1;S.hasChildNodes();)S.removeChild(S.firstChild)}else T[l]=!1;(c.n=T[l])&&a.attachEvent(l,c.w)}i(f,n)<0&&f[r?"unshift":"push"](n)}},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,o=this[v],a=o&&o[r],l=a&&a.h,s=l?i(l,t):-1;-1<s&&l.splice(s,1)}}}),g(x,{addEventListener:{value:w.addEventListener},dispatchEvent:{value:w.dispatchEvent},removeEventListener:{value:w.removeEventListener}}),g(e.XMLHttpRequest.prototype,{addEventListener:{value:function(e,t,n){var r=this,o="on"+e,a=r[v]||m(r,v,{value:{}})[v],l=a[o]||(a[o]={}),s=l.h||(l.h=[]);i(s,t)<0&&(r[o]||(r[o]=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:w.removeEventListener}}),g(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()}}}),g(e.HTMLDocument.prototype,{textContent:{get:function(){return 11===this.nodeType?a.call(this):null},set:function(e){11===this.nodeType&&s.call(this,e)}},addEventListener:{value:function(t,n,r){var o=this;w.addEventListener.call(o,t,n,r),c&&t===p&&!k.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:w.dispatchEvent},removeEventListener:{value:w.removeEventListener},createEvent:{value:function(e){var t;if("Event"!==e)throw new Error("unsupported "+e);return t=document.createEventObject(),t.timeStamp=(new Date).getTime(),t}}}),g(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,o){var a,l=e,s="on"+n;l[s]||(l[s]=function(e){return t(l,u(0,e),a,!1)}),i(a=l[s][v]||(l[s][v]=[]),r)<0&&a[o?"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 o=(e["on"+t]||h)[v],a=o?i(o,n):-1;-1<a&&o.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.jQuery,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.isSameDomain=function(e){var t=window.location,n=r.createElement("a",{href:e});return t.hostname===n.hostname&&t.protocol===n.protocol&&t.port===n.port},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,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)r++;return!!n[r]}).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(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(e,t,n){"use strict";function r(e){return/^https?:/.test(e)}var o,i=e("../flowplayer"),a=e("../common"),l=e("./embed"),s=e("extend-object"),u=e("bean");(o=function(e,t){function n(e){function t(e){return("0"+parseInt(e).toString(16)).slice(-2)}if(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))return"#"+t(e[1])+t(e[2])+t(e[3])}function c(e){return 7===e.length?e:"#"+e.split("").slice(1).map(function(e){return e+e}).join("")}function f(e){return/application\/x-mpegurl/i.test(e.type)}var d,p,v,h=e.conf,m=(e.video,window,{engineName:o.engineName,pick:function(t){var n=s({},function(){if(i.support.flashVideo){for(var n,r,o=0;o<t.length;o++)if(r=t[o],/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}}());if(n)return!n.src||r(n.src)||e.conf.rtmp||n.rtmp||(n.src=a.createAbsoluteUrl(n.src)),n},load:function(o){function g(e){return e.replace(/&amp;/g,"%26").replace(/&/g,"%26").replace(/=/g,"%3D")}d=o;var y=a.findDirect("video",t)[0]||a.find(".fp-player > video",t)[0],b=o.src,w=r(b),x=function(){a.removeNode(y)};i.support.video&&a.prop(y,"autoplay")&&function(e){return e.some(function(e){return!!y.canPlayType(e.type)})}(o.sources)?u.one(y,"timeupdate",x):x();var E=o.rtmp||h.rtmp;if(w||E||(b=a.createAbsoluteUrl(b)),v&&f(o)&&v.data!==h.swfHls&&m.unload(),v){["live","preload","loop"].forEach(function(e){o.hasOwnProperty(e)&&v.__set(e,o[e])}),Object.keys(o.flashls||{}).forEach(function(e){v.__set("hls_"+e,o.flashls[e])});var k=!1;!w&&E?v.__set("rtmp",E.url||E):(k=!!v.__get("rtmp"),v.__set("rtmp",null)),v.__play(b,k||o.rtmp&&o.rtmp!==h.rtmp)}else{p="fpCallback"+(""+Math.random()).slice(3,15),b=g(b);var T={hostname:h.embedded?a.hostname(h.hostname):a.hostname(location.hostname),url:b,callback:p};t.getAttribute("data-origin")&&(T.origin=t.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(e){h.hasOwnProperty(e)&&(T[e]=h[e]),o.hasOwnProperty(e)&&(T[e]=o[e]),(h.rtmp||{}).hasOwnProperty(e)&&(T[e]=(h.rtmp||{})[e]),(o.rtmp||{}).hasOwnProperty(e)&&(T[e]=(o.rtmp||{})[e])}),h.rtmp&&(T.rtmp=h.rtmp.url||h.rtmp),o.rtmp&&(T.rtmp=o.rtmp.url||o.rtmp),Object.keys(o.flashls||{}).forEach(function(e){var t=o.flashls[e];T["hls_"+e]=t}),void 0!==h.bufferTime&&(T.bufferTime=h.bufferTime),w&&delete T.rtmp,T.rtmp&&(T.rtmp=g(T.rtmp));var S,C=h.bgcolor||a.css(t,"background-color")||"";0===C.indexOf("rgb")?S=n(C):0===C.indexOf("#")&&(S=c(C)),T.initialVolume=e.volumeLevel;var O=f(o)?h.swfHls:h.swf;v=l(O,T,h.wmode,S)[0];var N=a.find(".fp-player",t)[0];a.prepend(N,v),setTimeout(function(){try{if(!v.PercentLoaded())return e.trigger("error",[e,{code:7,url:h.swf}])}catch(e){}},5e3),setTimeout(function(){void 0===v.PercentLoaded&&e.trigger("flashdisabled",[e])},1e3),e.off("resume.flashhack").on("resume.flashhack",function(){var t=setTimeout(function(){e.playing&&e.trigger("flashdisabled",[e])},1e3);e.one("progress",function(){clearTimeout(t)})}),v.pollInterval=setInterval(function(){if(v){var t=v.__status?v.__status():null;t&&(e.playing&&t.time&&t.time!==e.video.time&&e.trigger("progress",[e,t.time]),o.buffer=t.buffer/o.bytes*o.duration,e.trigger("buffer",[e,o.buffer]),!o.buffered&&t.time>0&&(o.buffered=!0,e.trigger("buffered",[e])))}},250),window[p]=function(n,r){var o=d;h.debug&&(0===n.indexOf("debug")&&r&&r.length?console.log.apply(console,["-- "+n].concat(r)):console.log("--",n,r));var i={type:n};switch(n){case"ready":r=s(o,r);break;case"click":i.flash=!0;break;case"keydown":i.which=r;break;case"seek":o.time=r;break;case"status":e.trigger("progress",[e,r.time]),r.buffer<o.bytes&&!o.buffered?(o.buffer=r.buffer/o.bytes*o.duration,e.trigger("buffer",o.buffer)):o.buffered||(o.buffered=!0,e.trigger("buffered"))}"click"===n||"keydown"===n?(i.target=t,u.fire(t,n,[i])):"buffered"!=n&&"unload"!==n?setTimeout(function(){e.trigger(i,[e,r])},1):"unload"===n&&e.trigger(i,[e,r])}}},speed:a.noop,unload:function(){v&&v.__unload&&v.__unload();try{p&&window[p]&&delete window[p]}catch(e){}a.find("object",t).forEach(a.removeNode),v=0,e.off(".flashengine"),clearInterval(v.pollInterval)}});return["pause","resume","seek","volume"].forEach(function(t){m[t]=function(n){try{e.ready&&(void 0===n?v["__"+t]():v["__"+t](n))}catch(n){if(void 0===v["__"+t])return e.trigger("flashdisabled",[e]);throw n}}}),m}).engineName="flash",o.canPlay=function(e,t){return i.support.flashVideo&&/video\/(mp4|flash|flv)/i.test(e)||i.support.flashVideo&&t.swfHls&&/mpegurl/i.test(e)},i.engines.push(o)},{"../common":1,"../flowplayer":18,"./embed":2,bean:20,"extend-object":26}],4:[function(e,t,n){"use strict";function r(e,t){return t=t||100,Math.round(e*t)/t}function o(e){return/mpegurl/i.test(e)?"application/x-mpegurl":e}function i(e){return/^(video|application)/i.test(e)||(e=o(e)),!!v.canPlayType(e).replace("no","")}function a(e,t){var n=e.filter(function(e){return e.type===t});return n.length?n[0]:null}var l,s,u=e("../flowplayer"),c=e("bean"),f=e("class-list"),d=e("extend-object"),p=e("../common"),v=document.createElement("video"),h={ended:"finish",pause:"pause",play:"resume",progress:"buffer",timeupdate:"progress",volumechange:"volume",ratechange:"speed",seeked:"seek",loadeddata:"ready",error:"error",dataunavailable:"error",webkitendfullscreen:!u.support.inlineVideo&&"unload"},m=function(e,t,n,r){if(void 0===t&&(t=!0),void 0===n&&(n="none"),void 0===r&&(r=!0),r&&l)return l.type=o(e.type),l.src=e.src,p.find("track",l).forEach(p.removeNode),l.removeAttribute("crossorigin"),l;var i=document.createElement("video");return i.src=e.src,i.type=o(e.type),i.className="fp-engine",i.autoplay=!!t&&"autoplay",i.preload=n,i.setAttribute("x-webkit-airplay","allow"),r&&(l=i),i};(s=function(e,t){function n(n,o,a){var l=t.getAttribute("data-flowplayer-instance-id");{if(!n.listeners||!n.listeners.hasOwnProperty(l)){(n.listeners||(n.listeners={}))[l]=a,c.on(o,"error",function(t){try{i(t.target.getAttribute("type"))&&e.trigger("error",[e,{code:4,video:d(a,{src:n.src,url:n.src})}])}catch(e){}}),e.on("shutdown",function(){c.off(o)});var s={};return Object.keys(h).forEach(function(o){var i=h[o];if(i){var u=function(s){if(a=n.listeners[l],s.target&&f(s.target).contains("fp-engine")&&(w.debug&&!/progress/.test(i)&&console.log(o,"->",i,s),(e.ready||/ready|error/.test(i))&&i&&p.find("video",t).length)){var u;if("unload"!==i){var c=function(){e.trigger(i,[e,u])};switch(i){case"ready":u=d(a,{duration:n.duration,width:n.videoWidth,height:n.videoHeight,url:n.currentSrc,src:n.currentSrc});try{u.seekable=!e.live&&/mpegurl/i.test(a?a.type||"":"")&&n.duration||n.seekable&&n.seekable.end(null)}catch(e){}if(v=v||setInterval(function(){try{u.buffer=n.buffered.end(null)}catch(e){}u.buffer&&(r(u.buffer,1e3)<r(u.duration,1e3)&&!u.buffered?e.trigger("buffer",s):u.buffered||(u.buffered=!0,e.trigger("buffer",s).trigger("buffered",s),clearInterval(v),v=0))},250),!e.live&&!u.duration&&!b.hlsDuration&&"loadeddata"===o){var h=function(){u.duration=n.duration;try{u.seekable=n.seekable&&n.seekable.end(null)}catch(e){}c(),n.removeEventListener("durationchange",h),f(t).remove("is-live")};n.addEventListener("durationchange",h);var m=function(){e.ready||n.duration||(u.duration=0,f(t).add("is-live"),c()),n.removeEventListener("timeupdate",m)};return void n.addEventListener("timeupdate",m)}break;case"progress":case"seek":e.video.duration;if(n.currentTime>0||e.live)u=Math.max(n.currentTime,0);else if("progress"==i)return;break;case"speed":u=r(n.playbackRate);break;case"volume":u=r(n.volume);break;case"error":try{(u=(s.srcElement||s.originalTarget).error).video=d(a,{src:n.src,url:n.src})}catch(e){return}}c()}else e.unload()}};t.addEventListener(o,u,!0),s[o]||(s[o]=[]),s[o].push(u)}}),s}n.listeners[l]=a}}var o,v,g,y=p.findDirect("video",t)[0]||p.find(".fp-player > video",t)[0],b=u.support,w=(p.find("track",y)[0],e.conf);return o={engineName:s.engineName,pick:function(e){var t=function(){if(b.video){if(w.videoTypePreference){var t=a(e,w.videoTypePreference);if(t)return t}for(var n=0;n<e.length;n++)if(i(e[n].type))return e[n]}}();if(t)return"string"==typeof t.src&&(t.src=p.createAbsoluteUrl(t.src)),t},load:function(r){var i=!1,a=p.find(".fp-player",t)[0],l=!1;w.splash&&!y?(y=m(r),p.prepend(a,y),i=!0):y?(f(y).add("fp-engine"),p.find("source,track",y).forEach(p.removeNode),e.conf.nativesubtitles||p.attr(y,"crossorigin",!1),l=y.src===r.src):(y=m(r,!!r.autoplay||!!w.autoplay,w.clip.preload||"metadata",!1),p.prepend(a,y),i=!0),b.inlineVideo||p.css(y,{position:"absolute",top:"-9999em"}),c.off(y,"timeupdate",p.noop),c.on(y,"timeupdate",p.noop),p.prop(y,"loop",!(!r.loop&&!w.loop)),void 0!==g&&(y.volume=g),(e.video.src&&r.src!=e.video.src||r.index)&&p.attr(y,"autoplay","autoplay"),y.src=r.src,y.type=r.type,o._listeners=n(y,p.find("source",y).concat(y),r),("none"==w.clip.preload||"mpegurl"==r.type)&&b.zeropreload&&b.dataload||y.load(),(i||l)&&y.load(),y.paused&&(r.autoplay||w.autoplay)&&y.play()},pause:function(){y.pause()},resume:function(){y.play()},speed:function(e){y.playbackRate=e},seek:function(t){try{var n=e.paused;y.currentTime=t,n&&y.pause()}catch(e){}},volume:function(e){g=e,y&&(y.volume=e)},unload:function(){p.find("video.fp-engine",t).forEach(p.removeNode),b.cachedVideoTag||(l=null),v=clearInterval(v);var e=t.getAttribute("data-flowplayer-instance-id");delete y.listeners[e],y=0,o._listeners&&Object.keys(o._listeners).forEach(function(e){o._listeners[e].forEach(function(n){t.removeEventListener(e,n,!0)})})}}}).canPlay=function(e){return u.support.video&&i(e)},s.engineName="html5",u.engines.push(s)},{"../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){function n(e){t.className=t.className.replace(l," "),e>=0&&o(t).add("cue"+e)}function r(t){var n=t&&!isNaN(t.time)?t.time:t;return n<0&&(n=e.video.duration+n),.125*Math.round(n/.125)}var l=/ ?cue\d+ ?/,s=!1,u={},c=-.125,f=function(t){var r=e.cuepoints.indexOf(t);isNaN(t)||(t={time:t}),t.index=r,n(r),e.trigger("cuepoint",[e,t])};e.on("progress",function(e,t,n){if(!s)for(var o=r(n);c<o;)u[c+=.125]&&u[c].forEach(f)}).on("unload",n).on("beforeseek",function(e){setTimeout(function(){e.defaultPrevented||(s=!0)})}).on("seek",function(e,t,o){n(),c=r(o||0)-.125,s=!1,!o&&u[0]&&u[0].forEach(f)}).on("ready",function(t,n,r){c=-.125;var o=r.cuepoints||e.conf.cuepoints||[];e.setCuepoints(o)}).on("finish",function(){c=-.125}),e.conf.generate_cuepoints&&e.bind("load",function(){i.find(".fp-cuepoint",t).forEach(i.removeNode)}),e.setCuepoints=function(t){return e.cuepoints=[],u={},t.forEach(e.addCuepoint),e},e.addCuepoint=function(n){e.cuepoints||(e.cuepoints=[]);var o=r(n);if(u[o]||(u[o]=[]),u[o].push(n),e.cuepoints.push(n),e.conf.generate_cuepoints&&!1!==n.visible){var l=e.video.duration,s=i.find(".fp-timeline",t)[0];i.css(s,"overflow","visible");var c=n.time||n;c<0&&(c=l+c);var f=i.createElement("a",{className:"fp-cuepoint fp-cuepoint"+(e.cuepoints.length-1)});i.css(f,"left",c/l*100+"%"),s.appendChild(f),a.on(f,"mousedown",function(t){t.preventDefault(),t.stopPropagation(),e.seek(c)})}return e},e.removeCuepoint=function(t){var n=e.cuepoints.indexOf(t),o=r(t);if(-1!==n){e.cuepoints=e.cuepoints.slice(0,n).concat(e.cuepoints.slice(n+1));var i=u[o].indexOf(t);if(-1!==i)return u[o]=u[o].slice(0,i).concat(u[o].slice(i+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+'" allowfullscreen style="width:'+o+";height:"+l+';border:none;"></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.5/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};var i=function(e,t){return 0===t.filter(function(t){return-1===e.indexOf(t)}).length};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=e.split(".").slice(1);return(!o||0===e.indexOf(o))&&i(t,r)}).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),Object.defineProperty&&(l.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!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,i,c=window,d=a(t);e.isFullscreen=!1,e.fullscreen=function(t){if(!e.disabled)return void 0===t&&(t=!e.isFullscreen),t&&(o=c.scrollY,i=c.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};var p;e.on("mousedown.fs",function(){+new Date-p<150&&e.ready&&e.fullscreen(),p=+new Date}),e.on("fullscreen",function(n){d.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",""),d.remove("is-fullscreen"),u||"html5"!==e.engine||setTimeout(function(){t.css("opacity",r)}),e.isFullscreen=!1,c.scrollTo(i,o)}).on("unload",function(){e.isFullscreen&&e.fullscreen()}),e.on("shutdown",function(){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)/.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.jQuery,f=/^#/;r(function(e,t){function n(){return l.find(h.query,r())}function r(){if(!f.test(h.query))return t}function d(){return l.find(h.query+"."+m,r())}function p(){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}))})}function v(t){return void 0!==t.index?t.index:void 0!==e.video.index?e.video.index:e.conf.startIndex||0}var h=o({active:"is-active",advance:!0,query:".fp-playlist a"},e.conf),m=h.active,g=a(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,p(),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),h.advance&&e.off("finish.pl").on("finish.pl",function(e,t){if(t.video.loop)return t.seek(0,function(){t.resume()});var n=t.video.index>=0?t.video.index+1:void 0;n<t.conf.playlist.length||h.loop?(n=n===t.conf.playlist.length?0:n,g.remove("is-finished"),setTimeout(function(){t.play(n)})):t.conf.playlist.length>1&&t.one("resume.fromfirst",function(){return t.play(0),!1})});var y=!1;e.conf.playlist.length&&(y=!0,p(),e.conf.clip&&e.conf.clip.sources.length||(e.conf.clip=e.conf.playlist[e.conf.startIndex||0])),n().length&&!y&&(e.conf.playlist=[],delete e.conf.startIndex,n().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(h.query)?document:t,"click",h.query,function(t){t.preventDefault();var n=t.currentTarget,r=Number(n.getAttribute("data-index"));-1!=r&&e.play(r)}),e.on("load",function(n,o,i){if(e.conf.playlist.length){var s=d()[0],u=s&&s.getAttribute("data-index"),c=i.index=v(i),f=l.find(h.query+'[data-index="'+c+'"]',r())[0],p=c==e.conf.playlist.length-1;s&&a(s).remove(m),f&&a(f).add(m),g.remove("video"+u),g.add("video"+c),l.toggleClass(t,"last-video",p),i.index=o.video.index=c,i.is_last=o.video.is_last=p}}).on("unload.pl",function(){e.conf.playlist.length&&(d().forEach(function(e){a(e).toggle(m)}),e.conf.playlist.forEach(function(e,t){g.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";function r(e){var t=e.attr("src"),n=e.attr("type")||"",r=t.split(i)[1];return n=n.toLowerCase(),a(e.data(),{src:t,suffix:r||n,type:n||r})}function o(e){return/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e}var i=/\.(\w{3,4})(\?.*)?$/i,a=e("extend-object");t.exports=function(){var e=this;e.sourcesFromVideoTag=function(e,t){var n=[];return t("source",e).each(function(){n.push(r(t(this)))}),!n.length&&e.length&&n.push(r(e)),n},e.resolve=function(e,t){return e?("string"==typeof e&&((e={src:e,sources:[]}).sources=(t||[]).map(function(t){var n=t.src.split(i)[1];return{type:t.type,src:e.src.replace(i,"."+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 a(t,{type:o(n),src:e[n]})},{})})}),e):{sources:t}}},t.exports.TYPE_RE=i},{"extend-object":26}],14:[function(e,t,n){"use strict";var r=e("class-list"),o=e("bean"),i=e("../common"),a=function(e,t){var n;return function(){n||(e.apply(this,arguments),n=1,setTimeout(function(){n=0},t))}};t.exports=function(e,t){/iPad/.test(navigator.userAgent)&&/CriOS/.test(navigator.userAgent);var n,l,s,u,c,f,d,p=i.lastChild(e),v=r(e),h=r(p),m=!1,g=function(){l=i.offset(e),s=i.width(e),u=i.height(e),c=s,d=x(f)},y=function(t){n||t==E.value||f&&!(t<f)||(o.fire(e,"slide",[t]),E.value=t)},b=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-l.left,o=(r=Math.max(0,Math.min(d||c,r)))/c;return t&&(o=1-o),w(o,0,!0)},w=function(e,t){void 0===t&&(t=0),e>1&&(e=1);var n=Math.round(1e3*e)/10+"%";return(!f||e<=f)&&(h.remove("animated"),m?h.remove("animated"):(h.add("animated"),i.css(p,"transition-duration",(t||0)+"ms")),i.css(p,"width",n)),e},x=function(e){return Math.max(0,Math.min(c,e*s))},E={max:function(e){f=e},disable:function(e){n=e},slide:function(e,t,n){g(),n&&y(e),w(e,t)},disableAnimation:function(t,n){m=!1!==t,i.toggleClass(e,"no-animation",!!n)}};return g(),o.on(e,"mousedown.sld touchstart",function(e){if(e.preventDefault(),!n){var t=a(y,100);g(),E.dragging=!0,v.add("is-dragging"),y(b(e)),o.on(document,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),t(b(e))}),o.one(document,"mouseup touchend",function(){E.dragging=!1,v.remove("is-dragging"),o.off(document,"mousemove.sld touchmove.sld")})}}),E}},{"../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){function t(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 n,r,o,i=/^(([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/,a=[],l=0,s=e.split("\n"),u=s.length,c={};l<u;l++)if(r=i.exec(s[l])){for(n=s[l-1],o="<p>"+s[++l]+"</p><br/>";"string"==typeof s[++l]&&s[l].trim()&&l<s.length;)o+="<p>"+s[l]+"</p><br/>";c={title:n,startTime:t(r[1]),endTime:t(r[3]),text:o},a.push(c)}return a},r(function(e,t){var n,l,s,u,c=a(t),f=function(){u=o.createElement("a",{className:"fp-menu"});var n=o.createElement("ul",{className:"fp-dropdown fp-dropup"});return 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),u};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 d=function(){var e=o.find(".fp-player",t)[0];s=o.find(".fp-subtitle",t)[0],s=s||o.appendTo(o.createElement("div",{class:"fp-subtitle"}),e),Array.prototype.forEach.call(s.children,o.removeNode),n=a(s),o.find(".fp-menu",t).forEach(o.removeNode),f()};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.some(function(e){return!o.isSameDomain(e.src)})&&o.attr(u,"crossorigin","anonymous"),u.textTracks.addEventListener("addtrack",function(){s("disabled"),s("showing")}),void 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}))})}if(i.subtitles=[],d(),c.remove("has-menu"),e.disableSubtitles(),a.subtitles&&a.subtitles.length){c.add("has-menu");var f=a.subtitles.filter(function(e){return e.default})[0];f&&i.loadSubtitles(a.subtitles.indexOf(f))}}),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 p=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),p(-1),e},e.loadSubtitles=function(t){e.disableSubtitles();var n=e.video.subtitles[t].src;if(n)return p(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=function(){var e=document.createElement("video");return e.loop=!0,e.autoplay=!0,e.preload=!0,e}(),a=navigator.userAgent,l=e.msie||/Trident\/7/.test(a),s=/iPad|MeeGo/.test(a)&&!/CriOS/.test(a),u=/iPad/.test(a)&&/CriOS/.test(a),c=/iP(hone|od)/i.test(a)&&!/iPad/.test(a)&&!/IEMobile/i.test(a),f=/Android/.test(a)&&!/Firefox/.test(a),d=/Android/.test(a)&&/Firefox/.test(a),p=/Silk/.test(a),v=/IEMobile/.test(a),h=v?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(a)[1],10):0,m=v?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(a)[1],10):0,g=(s&&function(e){var t=/Version\/(\d\.\d)/.exec(e);t&&t.length>1&&parseFloat(t[1],10)}(a),f?parseFloat(/Android\ (\d\.\d)/.exec(a)[1],10):0),y=o(r.support,{browser:e,subtitles:!!i.addTextTrack,fullscreen:"function"==typeof document.webkitCancelFullScreen&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(a)||document.mozFullScreenEnabled||"function"==typeof document.exitFullscreen||"function"==typeof document.msExitFullscreen,inlineBlock:!(l&&e.version<8),touch:"ontouchstart"in window,dataload:!s&&!c&&!v,zeropreload:!l&&!f,volume:!(s||f||c||p||u),cachedVideoTag:!(s||c||u||v),firstframe:!(c||s||f||p||u||v||d),inlineVideo:!c&&(!v||h>=8.1&&m>=11)&&(!f||g>=3),hlsDuration:!f&&(!e.safari||s||c||u),seekable:!s&&!u});try{var b=navigator.plugins["Shockwave Flash"],w=l?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):b.description;l||b[0].enabledPlugin?((w=w.split(/\D+/)).length&&!w[0]&&(w=w.slice(1)),y.flashVideo=w[0]>9||9==w[0]&&w[3]>=115):y.flashVideo=!1}catch(e){}try{y.video=!!i.canPlayType,y.video&&i.canPlayType("video/mp4")}catch(e){y.video=!1}y.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";function r(e){return(e=parseInt(e,10))>=10?e:"0"+e}function o(e){e=e||0;var t=Math.floor(e/3600),n=Math.floor(e/60);return e-=60*n,t>=1?(n-=60*t,t+":"+r(n)+":"+r(e)):r(n)+":"+r(e)}var i=e("../flowplayer"),a=e("../common"),l=e("class-list"),s=e("bean"),u=e("./slider");i(function(e,t){function n(e){return a.find(".fp-"+e,t)[0]}function r(e){a.css(w,"padding-top",100*e+"%"),p.inlineBlock||a.height(a.find("object",t)[0],a.height(t))}function c(e){e?(v.add("is-mouseover"),v.remove("is-mouseout")):(v.add("is-mouseout"),v.remove("is-mouseover"))}var f,d=e.conf,p=i.support,v=l(t);a.find(".fp-ratio,.fp-ui",t).forEach(a.removeNode),v.add("flowplayer"),t.appendChild(a.createElement("div",{className:"fp-ratio"}));var h=a.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-'));t.appendChild(h);n("progress");var m=n("buffer"),g=n("elapsed"),y=n("remaining"),b=n("waiting"),w=n("ratio"),x=n("speed"),E=l(x),k=n("duration"),T=n("controls"),S=n("timeline-tooltip"),C=a.css(w,"padding-top"),O=n("timeline"),N=u(O,e.rtl),j=(n("volume"),n("fullscreen")),P=n("volumeslider"),A=u(P,e.rtl),_=v.contains("fixed-controls")||v.contains("no-toggle");N.disableAnimation(v.contains("is-touch")),e.sliders=e.sliders||{},e.sliders.timeline=N,e.sliders.volume=A,p.animation||a.html(b,"<p>loading &hellip;</p>"),d.ratio&&r(d.ratio);try{d.fullscreen||a.removeNode(j)}catch(e){a.removeNode(j)}e.on("ready",function(e,n,i){var l=n.video.duration;N.disable(n.disabled||!l),d.adaptiveRatio&&!isNaN(i.height/i.width)&&r(i.height/i.width),a.html([k,y],o(l)),a.toggleClass(t,"is-long",l>=3600),A.slide(n.volumeLevel),"flash"===n.engine.engineName?N.disableAnimation(!0,!0):N.disableAnimation(!1),a.find(".fp-title",h).forEach(a.removeNode),i.title&&a.prepend(h,a.createElement("div",{className:"fp-title"},i.title))}).on("unload",function(){C||d.splash||a.css(w,"paddingTop",""),N.slide(0)}).on("buffer",function(){var t=e.video,n=t.buffer/t.duration;!t.seekable&&p.seekable&&N.max(n),n<1?a.css(m,"width",100*n+"%"):a.css(m,"width","100%")}).on("speed",function(e,t,n){a.text(x,n+"x"),E.add("fp-hilite"),setTimeout(function(){E.remove("fp-hilite")},1e3)}).on("buffered",function(){a.css(m,"width","100%"),N.max(1)}).on("progress",function(){var t=e.video.time,n=e.video.duration;N.dragging||N.slide(t/n,e.seeking?0:250),a.html(g,o(t)),a.html(y,"-"+o(n-t))}).on("finish resume seek",function(e){a.toggleClass(t,"is-finished","finish"==e.type)}).on("stop",function(){a.html(g,o(0)),N.slide(0,100)}).on("finish",function(){a.html(g,o(e.video.duration)),N.slide(1,100),v.remove("is-seeking")}).on("beforeseek",function(){}).on("volume",function(){A.slide(e.volumeLevel)}).on("disable",function(){var n=e.disabled;N.disable(n),A.disable(n),a.toggleClass(t,"is-disabled",e.disabled)}).on("mute",function(e,n,r){a.toggleClass(t,"is-muted",r)}).on("error",function(e,n,r){if(a.removeClass(t,"is-loading"),a.removeClass(t,"is-seeking"),a.addClass(t,"is-error"),r){r.message=d.errors[r.code],n.error=!0;var o=a.find(".fp-message",t)[0],i=r.video||n.video;a.find("h2",o)[0].innerHTML=(n.engine&&n.engine.engineName||"html5")+": "+r.message,a.find("p",o)[0].innerHTML=r.url||i.url||i.src||d.errorUrls[r.code],n.off("mouseenter click"),v.remove("is-mouseover")}}),s.on(t,"mouseenter mouseleave",function(n){if(!_){var r,o="mouseover"==n.type;if(c(o),o){var i=function(){c(!0),r=new Date};e.on("pause.x volume.x",i),s.on(t,"mousemove.x",i),f=setInterval(function(){new Date-r>d.mouseoutTimeout&&(c(!1),r=new Date)},100)}else s.off(t,"mousemove.x"),e.off("pause.x volume.x"),clearInterval(f)}}),s.on(t,"mouseleave",function(){(N.dragging||A.dragging)&&(v.add("is-mouseover"),v.remove("is-mouseout"))}),s.on(t,"click.player",function(t){if(!e.disabled){var n=l(t.target);return n.contains("fp-ui")||n.contains("fp-engine")||t.flash?(t.preventDefault&&t.preventDefault(),e.toggle()):void 0}}),s.on(t,"mousemove",".fp-timeline",function(t){var n=t.pageX||t.clientX,r=(n-a.offset(O).left)/a.width(O),i=r*e.video.duration;r<0||(a.html(S,o(i)),a.css(S,"left",n-a.offset(T).left-a.width(S)/2+"px"))}),s.on(t,"contextmenu",function(e){var n=a.offset(a.find(".fp-player",t)[0]),r=window,o=e.clientX-(n.left+r.scrollX),i=e.clientY-(n.top+r.scrollY);if(!v.contains("is-flash-disabled")){var l=a.find(".fp-context-menu",t)[0];l&&(e.preventDefault(),a.css(l,{left:o+"px",top:i+"px",display:"block"}),s.on(t,"click",".fp-context-menu",function(e){e.stopPropagation()}),s.on(document,"click.outsidemenu",function(e){a.css(l,"display","none"),s.off(document,"click.outsidemenu")}))}}),e.on("flashdisabled",function(){v.add("is-flash-disabled"),e.one("ready progress",function(){v.remove("is-flash-disabled"),a.find(".fp-flash-disabled",t).forEach(a.removeNode)}),t.appendChild(a.createElement("div",{className:"fp-flash-disabled"},"Adobe Flash is disabled for this page, click player area to enable"))}),d.poster&&a.css(t,"background-image","url("+d.poster+")");var D=a.css(t,"background-color"),I="none"!=a.css(t,"background-image")||D&&"rgba(0, 0, 0, 0)"!=D&&"transparent"!=D;I&&!d.splash&&(d.poster||(d.poster=!0),e.on("ready stop",function(){v.add("is-poster"),e.poster=!0,e.one("progress",function(){v.remove("is-poster"),e.poster=!1})})),"string"==typeof d.splash&&a.css(t,"background-image","url('"+d.splash+"')"),!I&&e.forcedSplash&&a.css(t,"background-color","#555"),s.on(t,"click",".fp-toggle, .fp-play",function(){e.disabled||e.toggle()}),s.on(t,"click",".fp-mute",function(){e.mute()}),s.on(t,"click",".fp-fullscreen",function(){e.fullscreen()}),s.on(t,"click",".fp-unload",function(){e.unload()}),s.on(O,"slide",function(t){e.seeking=!0,e.seek(t*e.video.duration)}),s.on(P,"slide",function(t){e.volume(t)});var M=n("time");s.on(t,"click",".fp-time",function(){l(M).toggle("is-inverted")}),c(_),e.on("shutdown",function(){s.off(O),s.off(P)})}),t.exports.format=o},{"../common":1,"../flowplayer":18,"./slider":14,bean:20,"class-list":22}],18:[function(e,t,n){"use strict";function r(e,t,n){t&&t.embed&&(t.embed=o({},g.defaults.embed,t.embed));var r,d,v=e,h=a(v),m=o({},g.defaults,g.conf,t),w={},x=new b;h.add("is-loading");try{w=p?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:m,currentSpeed:1,volumeLevel:m.muted?0:void 0===m.volume?1*w.volume:m.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:"true"==w.muted||m.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||m.clip,e=o({},x.resolve(e,m.clip.sources)),(k.playing||k.engine)&&(e.autoplay=!0);var n=T(e);if(!n)return k.trigger("error",[k,{code:g.support.flashVideo?5:10}]);if(!n.engineName)throw new Error("engineName property of factory should be exposed");return k.engine&&n.engineName===k.engine.engineName||(k.ready=!1,k.engine&&(k.engine.unload(),k.conf.autoplay=!0),d=k.engine=n(k,v),k.one("ready",function(){d.volume(k.volumeLevel)})),o(e,d.pick(e.sources.filter(function(e){return!e.engine||e.engine===d.engineName}))),e.src&&(k.trigger("load",[k,e,d],!0).defaultPrevented?k.loading=!1:(d.load(e),i(e)&&(t=e),t&&k.one("ready",t))),k}},pause:function(e){return!k.ready||k.seeking||k.loading||(d.pause(),k.one("pause",e)),k},resume:function(){return k.ready&&k.paused&&(d.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=r=Math.min(Math.max(e,0),k.video.duration-.1).toFixed(1),k.trigger("beforeseek",[k,e],!0).defaultPrevented?(k.seeking=!1,s.toggleClass(v,"is-seeking",k.seeking)):(d.seek(e),i(t)&&k.one("seek",t))}return k},seekTo:function(e,t){var n=void 0===e?r:.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)?m.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),d.volume(e)),k},speed:function(e,t){return k.ready&&("boolean"==typeof e&&(e=m.speeds[m.speeds.indexOf(k.currentSpeed)+(e?1:-1)]||k.currentSpeed),d.speed(e),t&&v.one("speed",t)),k},stop:function(){return k.ready&&(k.pause(),k.seek(0,function(){k.trigger("stop",[k])})),k},unload:function(){return h.contains("is-embedding")||(m.splash?(k.trigger("unload",[k]),d&&(d.unload(),k.engine=d=0)):k.stop()),k},shutdown:function(){k.unload(),k.trigger("shutdown",[k]),l.off(v),delete c[v.getAttribute("data-flowplayer-instance-id")],v.removeAttribute("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=o(k.conf,m),u(k);var T=function(e){var t,n=g.engines;if(m.engine){var r=n.filter(function(e){return e.engineName===m.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 m.enginePreference&&(n=g.engines.filter(function(e){return m.enginePreference.indexOf(e.engineName)>-1}).sort(function(e,t){return m.enginePreference.indexOf(e.engineName)-m.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",y++),k.on("boot",function(){(m.splash||h.contains("is-splash")||!g.support.firstframe)&&(k.forcedSplash=!m.splash&&!h.contains("is-splash"),k.splash=m.autoplay=!0,m.splash||(m.splash=!0),h.add("is-splash")),m.splash&&s.find("video",v).forEach(s.removeNode),(m.live||h.contains("is-live"))&&(k.live=m.live=!0,h.add("is-live")),f.forEach(function(e){e(k,v)}),c.push(k),m.splash?k.unload():k.load(),m.disabled&&k.disable(),k.one("ready",n)}).on("load",function(e,t,n){m.splash&&s.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=c[Number(t)];n&&n.conf.splash&&n.unload()}}),h.add("is-loading"),t.loading=!0,void 0!==n.live&&(s.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);s.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;s.toggleClass(v,"is-splash",!t),s.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,s.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&&!m.autoplay&&!k.playing,k.playing=!k.paused,s.toggleClass(v,"is-paused",k.paused),s.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}var o=e("extend-object"),i=e("is-function"),a=e("class-list"),l=e("bean"),s=e("./common"),u=e("./ext/events"),c=[],f=[],d=(window.navigator.userAgent,window.onbeforeunload);window.onbeforeunload=function(e){if(c.forEach(function(e){e.conf.splash?e.unload():e.bind("error",function(){s.find(".flowplayer.is-error .fp-message").forEach(s.removeNode)})}),d)return d(e)};var p=!1;try{"object"==typeof window.localStorage&&(window.localStorage.flowplayerTestStorage="test",p=!0)}catch(e){}var v=/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent),h=/(\d+\.\d+) Safari/.exec(navigator.userAgent),m=h?Number(h[1]):100,g=t.exports=function(e,t,n){if(i(e))return f.push(e);if("number"==typeof e||void 0===e)return c[e||0];if(e.nodeType){if(null!==e.getAttribute("data-flowplayer-instance-id"))return c[e.getAttribute("data-flowplayer-instance-id")];if(!t)return;return r(e,t,n)}if(e.jquery)return g(e[0],t,n);if("string"==typeof e){var o=s.find(e)[0];return o&&g(o,t,n)}};o(g,{version:"6.0.5",engines:[],conf:{},set:function(e,t){"string"==typeof e?g.conf[e]=t:o(g.conf,e)},support:{},defaults:{debug:!!p&&!!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.5/flowplayer.swf",swfHls:"//releases.flowplayer.org/6.0.5/flowplayerhls.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,mouseoutTimeout:5e3,volume:p?"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:v&&m<8},bean:l,common:s,extend:o});var y=0,b=e("./ext/resolve");if(void 0!==window.jQuery){var w=window.jQuery;w(function(){"function"==typeof w.fn.flowplayer&&w('.flowplayer:has(video,script[type="application/json"])').flowplayer()});var x=function(e){if(!e.length)return{};var t=e.data()||{},n={};return w.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=w(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 b).sourcesFromVideoTag(e,w),o(n,{clip:t})};w.fn.flowplayer=function(e,t){return this.each(function(){"string"==typeof e&&(e={swf:e}),i(e)&&(t=e,e={});var n=w(this),o=n.find('script[type="application/json"]'),a=o.length?JSON.parse(o.text()):x(n.find("video")),l=r(this,w.extend({},e||{},a,n.data()),t);u.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)})}}},{"./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=function(e){return"none"!==window.getComputedStyle(e).display},o=e.conf,i=r.common,a=i.createElement,l=o.swf.indexOf("flowplayer.org")&&o.e&&t.getAttribute("data-origin"),s=l?function(e){var t=document.createElement("a");return t.href=e,i.hostname(t.hostname)}(l):i.hostname(),u=(document,o.key);"file:"==location.protocol&&(s="localhost"),e.load.ed=1,o.hostname=s,o.origin=l||location.href,l&&function(e,t){-1===e.className.split(" ").indexOf(t)&&(e.className+=" "+t)}(t,"is-embedded"),"string"==typeof u&&(u=u.split(/,\s*/));var c=function(e,n){var r=a("a",{href:n,className:"fp-brand"});r.innerHTML=e,i.find(".fp-controls",t)[0].appendChild(r)};if(u&&"function"==typeof key_check&&key_check(u,s)){if(o.logo){var f=i.find(".fp-player",t)[0],d=a("a",{className:"fp-logo"});l&&(d.href=l),o.embed&&o.embed.popup&&(d.target="_blank");var p=a("img",{src:o.logo});d.appendChild(p),(f||t).appendChild(d)}o.brand&&l||o.brand&&o.brand.showOnOrigin?c(o.brand.text||o.brand,l||location.href):i.addClass(t,"no-brand")}else{c("flowplayer","http://flowplayer.org");d=a("a",{href:"http://flowplayer.org"});t.appendChild(d);var v=a("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>'),h=window.location.href.indexOf("localhost"),f=i.find(".fp-player",t)[0];7!==h&&(f||t).appendChild(v),e.on("pause resume finish unload ready",function(e,r){i.removeClass(t,"no-brand");var o=-1;if(r.video.src)for(var a=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"]],l=0;l<a.length&&-1===(o=r.video.src.indexOf("://"+a[l].reverse().join(".")));l++);if((4===o||5===o)&&i.addClass(t,"no-brand"),/pause|resume/.test(e.type)&&"flash"!=r.engine.engineName&&4!=o&&5!=o){var s={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 u in s)s.hasOwnProperty(u)&&(d.style[u]=s[u]);r.load.ed=n(d)&&(7===h||v.parentNode==t||v.parentNode==f)&&!i.hasClass(t,"no-brand"),r.load.ed||r.pause()}else d.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){!function(e,n,r){void 0!==t&&t.exports?t.exports=r():n.bean=r()}(0,this,function(e,t){e=e||"bean",t=t||this;var n,r=window,o=t[e],i=/[^\.]*(?=\..*)\.|.*/,a=/\..*/,l="addEventListener",s=document||{},u=s.documentElement||{},c=u[l],f=c?l:"attachEvent",d={},p=Array.prototype.slice,v=function(e,t){return e.split(t||" ")},h=function(e){return"string"==typeof e},m=function(e){return"function"==typeof e},g=function(e,t,n){for(n=0;n<t.length;n++)t[n]&&(e[t[n]]=1);return e}({},v("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 "+(c?"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 ":""))),y=function(){var e="compareDocumentPosition"in u?function(e,t){return t.compareDocumentPosition&&16==(16&t.compareDocumentPosition(e))}:"contains"in u?function(e,t){return(t=9===t.nodeType||t===window?u:t)!==e&&t.contains(e)}:function(e,t){for(;e=e.parentNode;)if(e===t)return 1;return 0},t=function(t){var n=t.relatedTarget;return n?n!==this&&"xul"!==n.prefix&&!/document/.test(this.toString())&&!e(n,this):null==n};return{mouseenter:{base:"mouseover",condition:t},mouseleave:{base:"mouseout",condition:t},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}}(),b=function(){var e=v("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(v("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),n=t.concat(v("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),o=e.concat(v("char charCode key keyCode keyIdentifier keyLocation location")),i=e.concat(v("data")),a=e.concat(v("touches targetTouches changedTouches scale rotation")),l=e.concat(v("data origin source")),c=e.concat(v("state")),f=/over|out/,d=[{reg:/key/i,fix:function(e,t){return t.keyCode=e.keyCode||e.which,o}},{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+s.body.scrollLeft+u.scrollLeft,n.clientY=e.clientY+s.body.scrollTop+u.scrollTop),f.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 i}},{reg:/^touch|^gesture/i,fix:function(){return a}},{reg:/^message$/i,fix:function(){return l}},{reg:/^popstate$/i,fix:function(){return c}},{reg:/.*/,fix:function(){return e}}],p={},h=function(e,t,n){if(arguments.length&&(e=e||((t.ownerDocument||t.document||t).parentWindow||r).event,this.originalEvent=e,this.isNative=n,this.isBean=!0,e)){var o,i,a,l,s,u=e.type,c=e.target||e.srcElement;if(this.target=c&&3===c.nodeType?c.parentNode:c,n){if(!(s=p[u]))for(o=0,i=d.length;o<i;o++)if(d[o].reg.test(u)){p[u]=s=d[o].fix;break}for(o=(l=s(e,this,u)).length;o--;)!((a=l[o])in this)&&a in e&&(this[a]=e[a])}}};return h.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},h.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},h.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},h.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},h.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},h.prototype.clone=function(e){var t=new h(this,this.element,this.isNative);return t.currentTarget=e,t},h}(),w=function(e,t){return c||t||e!==s&&e!==r?e:u},x=function(){var e=function(e,t,n,r){var o=function(n,o){return t.apply(e,r?p.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=y[n];"unload"==n&&(r=C(O,t,n,r,o)),u&&(u.condition&&(r=e(t,r,u.condition,a)),n=u.base||n),this.isNative=s=g[n]&&!!t[f],this.customType=!c&&!s&&n,this.element=t,this.type=n,this.original=o,this.namespaces=i,this.eventType=c||s?n:"propertychange",this.target=w(t,s),this[f]=!!this.target[f],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}(),E=function(){var e={},t=function(n,r,o,i,a,l){var s=a?"r":"$";if(r&&"*"!=r){var u,c=0,f=e[s+r],d="*"==n;if(!f)return;for(u=f.length;c<u;c++)if((d||f[c].matches(n,o,i))&&!l(f[c],f,c,r))return}else for(var p in e)p.charAt(0)==s&&t(n,p.substr(1),o,i,a,l)};return{has:function(t,n,r,o){var i,a=e[(o?"r":"$")+n];if(a)for(i=a.length;i--;)if(!a[i].root&&a[i].matches(t,r,null))return!0;return!1},get:function(e,n,r,o){var i=[];return t(e,n,r,null,o,function(e){return i.push(e)}),i},put:function(t){var n=!t.root&&!this.has(t.element,t.type,null,!1),r=(t.root?"r":"$")+t.type;return(e[r]||(e[r]=[])).push(t),n},del:function(n){t(n.element,n.type,null,n.handler,n.root,function(t,n,r){return n.splice(r,1),t.removed=!0,0===n.length&&delete e[(t.root?"r":"$")+t.type],!1})},entries:function(){var t,n=[];for(t in e)"$"==t.charAt(0)&&(n=n.concat(e[t]));return n}}}(),k=function(e){n=arguments.length?e:s.querySelectorAll?function(e,t){return t.querySelectorAll(e)}:function(){throw new Error("Bean: No selector engine installed")}},T=function(e,t){if(c||!t||!e||e.propertyName=="_on"+t){var n=E.get(this,t||e.type,null,!1),r=n.length,o=0;for(e=new b(e,this,!0),t&&(e.type=t);o<r&&!e.isImmediatePropagationStopped();o++)n[o].removed||n[o].handler.call(this,e)}},S=c?function(e,t,n){e[n?l:"removeEventListener"](t,T,!1)}:function(e,t,n,r){var o;n?(E.put(o=new x(e,r||t,function(t){T.call(e,t,r)},T,null,null,!0)),r&&null==e["_on"+r]&&(e["_on"+r]=0),o.target.attachEvent("on"+o.eventType,o.handler)):(o=E.get(e,r||t,T,!0)[0])&&(o.target.detachEvent("on"+o.eventType,o.handler),E.del(o))},C=function(e,t,n,r,o){return function(){r.apply(this,arguments),e(t,n,o)}},O=function(e,t,n,r){var o,i,l=t&&t.replace(a,""),s=E.get(e,l,null,!1),u={};for(o=0,i=s.length;o<i;o++)n&&s[o].original!==n||!s[o].inNamespaces(r)||(E.del(s[o]),!u[s[o].eventType]&&s[o][f]&&(u[s[o].eventType]={t:s[o].eventType,c:s[o].type}));for(o in u)E.has(e,u[o].t,null,!1)||S(e,u[o].t,!1,u[o].c)},N=function(e,t){var r=function(t,r){for(var o,i=h(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},j=c?function(e,t,n){var o=s.createEvent(e?"HTMLEvents":"UIEvents");o[e?"initEvent":"initUIEvent"](t,!0,!0,r,1),n.dispatchEvent(o)}:function(e,t,n){n=w(n,e),e?n.fireEvent("on"+t,s.createEventObject()):n["_on"+t]++},P=function(e,t,n){var r,o,l,s,u=h(t);if(u&&t.indexOf(" ")>0){for(s=(t=v(t)).length;s--;)P(e,t[s],n);return e}if((o=u&&t.replace(a,""))&&y[o]&&(o=y[o].base),!t||u)(l=u&&t.replace(i,""))&&(l=v(l,".")),O(e,o,n,l);else if(m(t))O(e,null,t);else for(r in t)t.hasOwnProperty(r)&&P(e,r,t[r]);return e},A=function(e,t,n,r){var o,l,s,u,c,h,g;{if(void 0!==n||"object"!=typeof t){for(m(n)?(c=p.call(arguments,3),r=o=n):(o=r,c=p.call(arguments,4),r=N(n,o)),s=v(t),this===d&&(r=C(P,e,t,r,o)),u=s.length;u--;)g=E.put(h=new x(e,s[u].replace(a,""),r,o,v(s[u].replace(i,""),"."),c,!1)),h[f]&&g&&S(e,h.eventType,!0,h.customType);return e}for(l in t)t.hasOwnProperty(l)&&A.call(this,e,l,t[l])}},_={on:A,add:function(e,t,n,r){return A.apply(null,h(n)?[e,n,t,r].concat(arguments.length>3?p.call(arguments,5):[]):p.call(arguments))},one:function(){return A.apply(d,arguments)},off:P,remove:P,clone:function(e,t,n){for(var r,o,i=E.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),A.apply(null,r));return e},fire:function(e,t,n){var r,o,l,s,u,c=v(t);for(r=c.length;r--;)if(t=c[r].replace(a,""),(s=c[r].replace(i,""))&&(s=v(s,".")),s||n||!e[f])for(u=E.get(e,t,null,!1),n=[!1].concat(n),o=0,l=u.length;o<l;o++)u[o].inNamespaces(s)&&u[o].handler.apply(e,n);else j(g[t],t,e);return e},Event:b,setSelectorEngine:k,noConflict:function(){return t[e]=o,this}};if(r.attachEvent){var D=function(){var e,t=E.entries();for(e in t)t[e].type&&"unload"!==t[e].type&&P(t[e].element,t[e].type);r.detachEvent("onunload",D),r.CollectGarbage&&r.CollectGarbage()};r.attachEvent("onunload",D)}return k(),_})},{}],21:[function(e,t,n){(function(e){!function(r){function o(e){throw RangeError(A[e])}function i(e,t){for(var n=e.length;n--;)e[n]=t(e[n]);return e}function a(e,t){return i(e.split(P),t).join(".")}function l(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 s(e){return i(e,function(e){var t="";return e>65535&&(t+=I((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=I(e)}).join("")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?D(e/T):e>>1,e+=D(e/t);e>_*E>>1;r+=w)e=D(e/_);return D(r+(_+1)*e/(e+k))}function d(e){var t,n,r,i,a,l,c,d,p,v,h=[],m=e.length,g=0,y=C,k=S;for((n=e.lastIndexOf(O))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&o("not-basic"),h.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<m;){for(a=g,l=1,c=w;i>=m&&o("invalid-input"),((d=u(e.charCodeAt(i++)))>=w||d>D((b-g)/l))&&o("overflow"),g+=d*l,p=c<=k?x:c>=k+E?E:c-k,!(d<p);c+=w)l>D(b/(v=w-p))&&o("overflow"),l*=v;k=f(g-a,t=h.length+1,0==a),D(g/t)>b-y&&o("overflow"),y+=D(g/t),g%=t,h.splice(g++,0,y)}return s(h)}function p(e){var t,n,r,i,a,s,u,d,p,v,h,m,g,y,k,T=[];for(m=(e=l(e)).length,t=C,n=0,a=S,s=0;s<m;++s)(h=e[s])<128&&T.push(I(h));for(r=i=T.length,i&&T.push(O);r<m;){for(u=b,s=0;s<m;++s)(h=e[s])>=t&&h<u&&(u=h);for(u-t>D((b-n)/(g=r+1))&&o("overflow"),n+=(u-t)*g,t=u,s=0;s<m;++s)if((h=e[s])<t&&++n>b&&o("overflow"),h==t){for(d=n,p=w;v=p<=a?x:p>=a+E?E:p-a,!(d<v);p+=w)k=d-v,y=w-v,T.push(I(c(v+k%y,0))),d=D(k/y);T.push(I(c(d,0))),a=f(n,g,r==i),n=0,++r}++n,++t}return T.join("")}var v="object"==typeof n&&n,h="object"==typeof t&&t&&t.exports==v&&t,m="object"==typeof e&&e;m.global!==m&&m.window!==m||(r=m);var g,y,b=2147483647,w=36,x=1,E=26,k=38,T=700,S=72,C=128,O="-",N=/^xn--/,j=/[^ -~]/,P=/\x2E|\u3002|\uFF0E|\uFF61/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=w-x,D=Math.floor,I=String.fromCharCode;if(g={version:"1.2.4",ucs2:{decode:l,encode:s},decode:d,encode:p,toASCII:function(e){return a(e,function(e){return j.test(e)?"xn--"+p(e):e})},toUnicode:function(e){return a(e,function(e){return N.test(e)?d(e.slice(4).toLowerCase()):e})}},v&&!v.nodeType)if(h)h.exports=g;else for(y in g)g.hasOwnProperty(y)&&(v[y]=g[y]);else r.punycode=g}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],22:[function(e,t,n){function r(e,t){for(var n=[],r=0;r<e.length;r++)t(e[r])&&n.push(e[r]);return n}function o(e){return!!e}var i=e("indexof");t.exports=function(e){function t(e){var t=l();i(t,e)>-1||(t.push(e),s(t))}function n(e){var t=l(),n=i(t,e);-1!==n&&(t.splice(n,1),s(t))}function a(e){return i(l(),e)>-1}function l(){return r(e.className.split(" "),o)}function s(t){var n=t.length;e.className=t.join(" "),c.length=n;for(var r=0;r<t.length;r++)c[r]=t[r];delete t[n]}var u=e.classList;if(u)return u;var c={add:t,remove:n,contains:a,toggle:function(e){return a(e)?(n(e),!1):(t(e),!0)},toString:function(){return e.className},length:0,item:function(e){return l()[e]||null}};return c}},{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(n=window.getComputedStyle,r=n?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=Array,n=t.prototype,r=Object,o=r.prototype,i=Function.prototype,a=String,l=a.prototype,s=Number,u=s.prototype,c=n.slice,f=n.splice,d=n.push,p=n.unshift,v=n.concat,h=i.call,m=i.apply,g=Math.max,y=Math.min,b=o.toString,w="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,x=Function.prototype.toString,E=function(e){try{return x.call(e),!0}catch(e){return!1}};e=function(e){if("function"!=typeof e)return!1;if(w)return E(e);var t=b.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t};var k,T=RegExp.prototype.exec,S=function(e){try{return T.call(e),!0}catch(e){return!1}};k=function(e){return"object"==typeof e&&(w?S(e):"[object RegExp]"===b.call(e))};var C,O=String.prototype.valueOf,N=function(e){try{return O.call(e),!0}catch(e){return!1}};C=function(e){return"string"==typeof e||"object"==typeof e&&(w?N(e):"[object String]"===b.call(e))};var j=r.defineProperty&&function(){try{var e={};r.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(e){return!1}}(),P=function(e){var t;return t=j?function(e,t,n,o){!o&&t in e||r.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,r){!r&&t in e||(e[t]=n)},function(n,r,o){for(var i in r)e.call(r,i)&&t(n,i,r[i],o)}}(o.hasOwnProperty),A=function(e){var t=typeof e;return null===e||"object"!==t&&"function"!==t},_=s.isNaN||function(e){return e!==e},D={ToInteger:function(e){var t=+e;return _(t)?t=0:0!==t&&t!==1/0&&t!==-1/0&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t},ToPrimitive:function(t){var n,r,o;if(A(t))return t;if(r=t.valueOf,e(r)&&(n=r.call(t),A(n)))return n;if(o=t.toString,e(o)&&(n=o.call(t),A(n)))return n;throw new TypeError},ToObject:function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return r(e)},ToUint32:function(e){return e>>>0}},I=function(){};P(i,{bind:function(t){var n=this;if(!e(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,i=c.call(arguments,1),a=g(0,n.length-i.length),l=[],s=0;s<a;s++)d.call(l,"$"+s);return o=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this, arguments); }")(function(){if(this instanceof o){var e=n.apply(this,v.call(i,c.call(arguments)));return r(e)===e?e:this}return n.apply(t,v.call(i,c.call(arguments)))}),n.prototype&&(I.prototype=n.prototype,o.prototype=new I,I.prototype=null),o}});var M=h.bind(o.hasOwnProperty),L=h.bind(o.toString),F=h.bind(c),U=m.bind(c),$=h.bind(l.slice),R=h.bind(l.split),V=h.bind(l.indexOf),H=h.bind(d),q=h.bind(o.propertyIsEnumerable),X=h.bind(n.sort),z=t.isArray||function(e){return"[object Array]"===L(e)},B=1!==[].unshift(0);P(n,{unshift:function(){return p.apply(this,arguments),this.length}},B),P(t,{isArray:z});var Y=r("a"),W="a"!==Y[0]||!(0 in Y),K=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};P(n,{forEach:function(t){var n,r=D.ToObject(this),o=W&&C(this)?R(this,""):r,i=-1,a=D.ToUint32(o.length);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(o[i],i,r):t.call(n,o[i],i,r))}},!K(n.forEach)),P(n,{map:function(n){var r,o=D.ToObject(this),i=W&&C(this)?R(this,""):o,a=D.ToUint32(i.length),l=t(a);if(arguments.length>1&&(r=arguments[1]),!e(n))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?n(i[s],s,o):n.call(r,i[s],s,o));return l}},!K(n.map)),P(n,{filter:function(t){var n,r,o=D.ToObject(this),i=W&&C(this)?R(this,""):o,a=D.ToUint32(i.length),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))&&H(l,n));return l}},!K(n.filter)),P(n,{every:function(t){var n,r=D.ToObject(this),o=W&&C(this)?R(this,""):r,i=D.ToUint32(o.length);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}},!K(n.every)),P(n,{some:function(t){var n,r=D.ToObject(this),o=W&&C(this)?R(this,""):r,i=D.ToUint32(o.length);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}},!K(n.some));var Z=!1;n.reduce&&(Z="object"==typeof n.reduce.call("es5",function(e,t,n,r){return r})),P(n,{reduce:function(t){var n=D.ToObject(this),r=W&&C(this)?R(this,""):n,o=D.ToUint32(r.length);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 G=!1;n.reduceRight&&(G="object"==typeof n.reduceRight.call("es5",function(e,t,n,r){return r})),P(n,{reduceRight:function(t){var n=D.ToObject(this),r=W&&C(this)?R(this,""):n,o=D.ToUint32(r.length);if(!e(t))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===o&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,a=o-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(a in r){i=r[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value")}if(a<0)return i;do{a in r&&(i=t(i,r[a],a,n))}while(a--);return i}},!G);var J=n.indexOf&&-1!==[0,1].indexOf(1,2);P(n,{indexOf:function(e){var t=W&&C(this)?R(this,""):D.ToObject(this),n=D.ToUint32(t.length);if(0===n)return-1;var r=0;for(arguments.length>1&&(r=D.ToInteger(arguments[1])),r=r>=0?r:g(0,n+r);r<n;r++)if(r in t&&t[r]===e)return r;return-1}},J);var Q=n.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);P(n,{lastIndexOf:function(e){var t=W&&C(this)?R(this,""):D.ToObject(this),n=D.ToUint32(t.length);if(0===n)return-1;var r=n-1;for(arguments.length>1&&(r=y(r,D.ToInteger(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}},Q);var ee=function(){var e=[1,2],t=e.splice();return 2===e.length&&z(t)&&0===t.length}();P(n,{splice:function(e,t){return 0===arguments.length?[]:f.apply(this,arguments)}},!ee);var te=function(){var e={};return n.splice.call(e,0,0,1),1===e.length}();P(n,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=g(D.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof t&&((n=F(arguments)).length<2?H(n,this.length-e):n[1]=D.ToInteger(t)),f.apply(this,n)}},!te);var ne=function(){var e=new t(1e5);return e[8]="x",e.splice(1,1),7===e.indexOf("x")}(),re=function(){var e=[];return e[256]="a",e.splice(257,0,"b"),"a"===e[256]}();P(n,{splice:function(e,t){for(var n,r=D.ToObject(this),o=[],i=D.ToUint32(r.length),l=D.ToInteger(e),s=l<0?g(i+l,0):y(l,i),u=y(g(D.ToInteger(t),0),i-s),c=0;c<u;)n=a(s+c),M(r,n)&&(o[c]=r[n]),c+=1;var f,d=F(arguments,2),p=d.length;if(p<u){for(c=s;c<i-u;)n=a(c+u),f=a(c+p),M(r,n)?r[f]=r[n]:delete r[f],c+=1;for(c=i;c>i-u+p;)delete r[c-1],c-=1}else if(p>u)for(c=i-u;c>s;)n=a(c+u-1),f=a(c+p-1),M(r,n)?r[f]=r[n]:delete r[f],c-=1;c=s;for(var v=0;v<d.length;++v)r[c]=d[v],c+=1;return r.length=i-u+p,o}},!ne||!re);var oe,ie=n.join;try{oe="1,2,3"!==Array.prototype.join.call("123",",")}catch(e){oe=!0}oe&&P(n,{join:function(e){var t=void 0===e?",":e;return ie.call(C(this)?R(this,""):this,t)}},oe);var ae="1,2"!==[1,2].join(void 0);ae&&P(n,{join:function(e){var t=void 0===e?",":e;return ie.call(this,t)}},ae);var le=function(e){for(var t=D.ToObject(this),n=D.ToUint32(t.length),r=0;r<arguments.length;)t[n+r]=arguments[r],r+=1;return t.length=n+r,n+r},se=function(){var e={};return 1!==Array.prototype.push.call(e,void 0)||1!==e.length||void 0!==e[0]||!M(e,0)}();P(n,{push:function(e){return z(this)?d.apply(this,arguments):le.apply(this,arguments)}},se);var ue=function(){var e=[];return 1!==e.push(void 0)||1!==e.length||void 0!==e[0]||!M(e,0)}();P(n,{push:le},ue),P(n,{slice:function(e,t){var n=C(this)?R(this,""):this;return U(n,arguments)}},W);var ce=function(){try{return[1,2].sort(null),[1,2].sort({}),!0}catch(e){}return!1}(),fe=function(){try{return[1,2].sort(/a/),!1}catch(e){}return!0}(),de=function(){try{return[1,2].sort(void 0),!0}catch(e){}return!1}();P(n,{sort:function(t){if(void 0===t)return X(this);if(!e(t))throw new TypeError("Array.prototype.sort callback must be a function");return X(this,t)}},ce||!de||!fe);var pe=!{toString:null}.propertyIsEnumerable("toString"),ve=function(){}.propertyIsEnumerable("prototype"),he=!M("x","0"),me=function(e){var t=e.constructor;return t&&t.prototype===e},ge={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0},ye=function(){if("undefined"==typeof window)return!1;for(var e in window)try{!ge["$"+e]&&M(window,e)&&null!==window[e]&&"object"==typeof window[e]&&me(window[e])}catch(e){return!0}return!1}(),be=function(e){if("undefined"==typeof window||!ye)return me(e);try{return me(e)}catch(e){return!1}},we=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],xe=we.length,Ee=function(e){return"[object Arguments]"===L(e)},ke=Ee(arguments)?Ee:function(t){return null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&!z(t)&&e(t.callee)};P(r,{keys:function(t){var n=e(t),r=ke(t),o=null!==t&&"object"==typeof t,i=o&&C(t);if(!o&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var l=[],s=ve&&n;if(i&&he||r)for(var u=0;u<t.length;++u)H(l,a(u));if(!r)for(var c in t)s&&"prototype"===c||!M(t,c)||H(l,a(c));if(pe)for(var f=be(t),d=0;d<xe;d++){var p=we[d];f&&"constructor"===p||!M(t,p)||H(l,p)}return l}});var Te=r.keys&&function(){return 2===r.keys(arguments).length}(1,2),Se=r.keys&&function(){var e=r.keys(arguments);return 1!==arguments.length||1!==e.length||1!==e[0]}(1),Ce=r.keys;P(r,{keys:function(e){return Ce(ke(e)?F(e):e)}},!Te||Se);var Oe=Date.prototype.toISOString&&-1===new Date(-621987552e5).toISOString().indexOf("-000001"),Ne=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString();P(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?"+":"")+$("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(e,0,2).join("-")+"T"+F(e,2).join(":")+"."+$("000"+this.getUTCMilliseconds(),-3)+"Z"}},Oe||Ne),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=r(this),o=D.ToPrimitive(n);if("number"==typeof o&&!isFinite(o))return null;var i=n.toISOString;if(!e(i))throw new TypeError("toISOString property is not callable");return i.call(n)});var je=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),Pe=!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"));if(isNaN(Date.parse("2000-01-01T00:00:00.000Z"))||Pe||!je){var Ae=Math.pow(2,31)-1,_e=_(new Date(1970,0,1,0,0,0,Ae+1).getTime());Date=function(e){var t=function(n,r,o,i,l,s,u){var c,f=arguments.length;if(this instanceof e){var d=s,p=u;if(_e&&f>=7&&u>Ae){var v=Math.floor(u/Ae)*Ae,h=Math.floor(v/1e3);d+=h,p-=1e3*h}c=1===f&&a(n)===n?new e(t.parse(n)):f>=7?new e(n,r,o,i,l,d,p):f>=6?new e(n,r,o,i,l,d):f>=5?new e(n,r,o,i,l):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}else c=e.apply(this,arguments);return A(c)||P(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)},i=function(t){var n=0,r=t;if(_e&&r>Ae){var o=Math.floor(r/Ae)*Ae,i=Math.floor(o/1e3);n+=i,r-=1e3*i}return s(new e(1970,0,1,0,0,n,r))};for(var l in e)M(e,l)&&(t[l]=e[l]);P(t,{now:e.now,UTC:e.UTC},!0),t.prototype=e.prototype,P(t.prototype,{constructor:t},!0);return P(t,{parse:function(t){var r=n.exec(t);if(r){var a,l=s(r[1]),u=s(r[2]||1)-1,c=s(r[3]||1)-1,f=s(r[4]||0),d=s(r[5]||0),p=s(r[6]||0),v=Math.floor(1e3*s(r[7]||0)),h=Boolean(r[4]&&!r[8]),m="-"===r[9]?1:-1,g=s(r[10]||0),y=s(r[11]||0);return f<(d>0||p>0||v>0?24:25)&&d<60&&p<60&&v<1e3&&u>-1&&u<12&&g<24&&y<60&&c>-1&&c<o(l,u+1)-o(l,u)&&(a=60*(24*(o(l,u)+c)+f+g*m),a=1e3*(60*(a+d+y*m)+p)+v,h&&(a=i(a)),-864e13<=a&&a<=864e13)?a:NaN}return e.parse.apply(this,arguments)}}),t}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var De=u.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0)),Ie={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var n=-1,r=t;++n<Ie.size;)r+=e*Ie.data[n],Ie.data[n]=r%Ie.base,r=Math.floor(r/Ie.base)},divide:function(e){for(var t=Ie.size,n=0;--t>=0;)n+=Ie.data[t],Ie.data[t]=Math.floor(n/e),n=n%e*Ie.base},numToString:function(){for(var e=Ie.size,t="";--e>=0;)if(""!==t||0===e||0!==Ie.data[e]){var n=a(Ie.data[e]);""===t?t=n:t+=$("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}};P(u,{toFixed:function(e){var t,n,r,o,i,l,u,c;if(t=s(e),(t=_(t)?0:Math.floor(t))<0||t>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=s(this),_(n))return"NaN";if(n<=-1e21||n>=1e21)return a(n);if(r="",n<0&&(r="-",n=-n),o="0",n>1e-21)if(i=Ie.log(n*Ie.pow(2,69,1))-69,l=i<0?n*Ie.pow(2,-i,1):n/Ie.pow(2,i,1),l*=4503599627370496,(i=52-i)>0){for(Ie.multiply(0,l),u=t;u>=7;)Ie.multiply(1e7,0),u-=7;for(Ie.multiply(Ie.pow(10,u,1),0),u=i-1;u>=23;)Ie.divide(1<<23),u-=23;Ie.divide(1<<u),Ie.multiply(1,1),Ie.divide(2),o=Ie.numToString()}else Ie.multiply(0,l),Ie.multiply(1<<-i,0),o=Ie.numToString()+$("0.00000000000000000000",2,2+t);return o=t>0?(c=o.length)<=t?r+$("0.0000000000000000000",0,t-c+2)+o:r+$(o,0,c-t)+"."+$(o,c-t):r+o}},De);var Me=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),Le=u.toPrecision;P(u,{toPrecision:function(e){return void 0===e?Le.call(this):Le.call(this,e)}},Me),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?function(){var e=void 0===/()??/.exec("")[1],t=Math.pow(2,32)-1;l.split=function(n,r){var o=String(this);if(void 0===n&&0===r)return[];if(!k(n))return R(this,n,r);var i,a,l,s,u=[],c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(n.sticky?"y":""),f=0,p=new RegExp(n.source,c+"g");e||(i=new RegExp("^"+p.source+"$(?!\\s)",c));var v=void 0===r?t:D.ToUint32(r);for(a=p.exec(o);a&&!((l=a.index+a[0].length)>f&&(H(u,$(o,f,a.index)),!e&&a.length>1&&a[0].replace(i,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(a[e]=void 0)}),a.length>1&&a.index<o.length&&d.apply(u,F(a,1)),s=a[0].length,f=l,u.length>=v));)p.lastIndex===a.index&&p.lastIndex++,a=p.exec(o);return f===o.length?!s&&p.test("")||H(u,""):H(u,$(o,f)),u.length>v?$(u,0,v):u}}():"0".split(void 0,0).length&&(l.split=function(e,t){return void 0===e&&0===t?[]:R(this,e,t)});var Fe=l.replace;(function(){var e=[];return"x".replace(/x(.)?/g,function(t,n){H(e,n)}),1===e.length&&void 0===e[0]})()||(l.replace=function(t,n){var r=e(n),o=k(t)&&/\)[*?]/.test(t.source);if(r&&o){return Fe.call(this,t,function(e){var r=arguments.length,o=t.lastIndex;t.lastIndex=0;var i=t.exec(e)||[];return t.lastIndex=o,H(i,arguments[r-2],arguments[r-1]),n.apply(this,i)})}return Fe.call(this,t,n)});var Ue=l.substr,$e="".substr&&"b"!=="0b".substr(-1);P(l,{substr:function(e,t){var n=e;return e<0&&(n=g(this.length+e,0)),Ue.call(this,n,t)}},$e);var Re="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Ve="["+Re+"]",He=new RegExp("^"+Ve+Ve+"*"),qe=new RegExp(Ve+Ve+"*$"),Xe=l.trim&&(Re.trim()||!"​".trim());P(l,{trim:function(){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");return a(this).replace(He,"").replace(qe,"")}},Xe);var ze=l.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);P(l,{lastIndexOf:function(e){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");for(var t=a(this),n=a(e),r=arguments.length>1?s(arguments[1]):NaN,o=_(r)?1/0:D.ToInteger(r),i=y(g(o,0),t.length),l=n.length,u=i+l;u>0;){u=g(0,u-l);var c=V($(t,u,i+l),n);if(-1!==c)return u+c}return-1}},ze);var Be=l.lastIndexOf;if(P(l,{lastIndexOf:function(e){return Be.apply(this,arguments)}},1!==l.lastIndexOf.length),8===parseInt(Re+"08")&&22===parseInt(Re+"0x16")||(parseInt=function(e){var t=/^[\-+]?0[xX]/;return function(n,r){var o=a(n).trim(),i=s(r)||(t.test(o)?16:10);return e(o,i)}}(parseInt)),"RangeError: test"!==String(new RangeError("test"))){Error.prototype.toString=function(){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");var e=this.name;void 0===e?e="Error":"string"!=typeof e&&(e=a(e));var t=this.message;return void 0===t?t="":"string"!=typeof t&&(t=a(t)),e?t?e+": "+t:e:t}}if(j){var Ye=function(e,t){if(q(e,t)){var n=Object.getOwnPropertyDescriptor(e,t);n.enumerable=!1,Object.defineProperty(e,t,n)}};Ye(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),Ye(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){RegExp.prototype.toString=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e}}})},{}],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(){function e(e,t){for(var n=0,r=e.length;n<r;++n)if(!t(e[n]))return s;return 1}function t(t,n){e(t,function(e){return!n(e)})}function n(i,a,l){function s(e){return e.call?e():d[e]}function c(){if(!--y){d[g]=1,m&&m();for(var n in v)e(n.split("|"),s)&&!t(v[n],s)&&(v[n]=[])}}i=i[u]?i:[i];var f=a&&a.call,m=f?a:l,g=f?i.join(""):a,y=i.length;return setTimeout(function(){t(i,function e(t,n){return null===t?c():(n||/^https?:\/\//.test(t)||!o||(t=-1===t.indexOf(".js")?o+t+".js":o+t),h[t]?(g&&(p[g]=1),2==h[t]?c():setTimeout(function(){e(t,!0)},0)):(h[t]=1,g&&(p[g]=1),void r(t,c)))})},0),n}function r(e,t){var n,r=a.createElement("script");r.onload=r.onerror=r[f]=function(){r[c]&&!/^c|loade/.test(r[c])||n||(r.onload=r[f]=null,n=1,h[e]=2,t())},r.async=1,r.src=i?e+(-1===e.indexOf("?")?"?":"&")+i:e,l.insertBefore(r,l.lastChild)}var o,i,a=document,l=a.getElementsByTagName("head")[0],s=!1,u="push",c="readyState",f="onreadystatechange",d={},p={},v={},h={};return n.get=r,n.order=function(e,t,r){!function o(i){i=e.shift(),e.length?n(i,o):n(i,t,r)}()},n.path=function(e){o=e},n.urlArgs=function(e){i=e},n.ready=function(r,o,i){var a=[];return!t(r=r[u]?r:[r],function(e){d[e]||a[u](e)})&&e(r,function(e){return d[e]})?o():function(e){v[e]=v[e]||[],v[e][u](o),i&&i(a)}(r.join("|")),n},n.done=function(e){n([null],e)},n})},{}]},{},[19])(19)});