/*!
Flowplayer v7.2.7 (Monday, 13. August 2018 08:40AM) | flowplayer.com/license
*/
!function(a){function u(e,t,n,i){for(var r,o=n.slice(),a=(c=e,(u=t).currentTarget=c,u.eventPhase=u.target===u.currentTarget?2:3,u),s=0,l=o.length;s"+i+""+t+">").attr(n)[0]}},o.toggleClass=function(e,t,n){if(e){var i=r(e);void 0===n?i.toggle(t):n?i.add(t):n||i.remove(t)}},o.addClass=function(e,t){return o.toggleClass(e,t,!0)},o.removeClass=function(e,t){return o.toggleClass(e,t,!1)},o.append=function(e,t){return e.appendChild(t),e},o.appendTo=function(e,t){return o.append(t,e),e},o.prepend=function(e,t){e.insertBefore(t,e.firstChild)},o.insertAfter=function(e,t,n){t==o.lastChild(e)&&e.appendChild(n);var i=Array.prototype.indexOf.call(e.children,t);e.insertBefore(n,e.children[i+1])},o.html=function(e,t){(e=e.length?e:[e]).forEach(function(e){e.innerHTML=t})},o.attr=function(t,n,i){if("class"===n&&(n="className"),o.hasOwnOrPrototypeProperty(t,n))try{t[n]=i}catch(e){if(!a)throw e;a(t).attr(n,i)}else!1===i?t.removeAttribute(n):t.setAttribute(n,i);return t},o.prop=function(e,t,n){if(void 0===n)return e&&e[t];e[t]=n},o.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},o.width=function(e,t){if(t)return e.style.width=(""+t).replace(/px$/,"")+"px";var n=o.offset(e).width;return void 0===n?e.offsetWidth:n},o.height=function(e,t){if(t)return e.style.height=(""+t).replace(/px$/,"")+"px";var n=o.offset(e).height;return void 0===n?e.offsetHeight:n},o.lastChild=function(e){return e.children[e.children.length-1]},o.hasParent=function(e,t){for(var n=e.parentElement;n;){if("string"!=typeof t){if(n===t)return!0}else if(o.matches(n,t))return!0;n=n.parentElement}return!1},o.createAbsoluteUrl=function(e){return o.createElement("a",{href:e}).href},o.xhrGet=function(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===this.readyState)return 400<=this.status?n():void t(this.responseText)},i.open("get",e,!0),i.send()},o.pick=function(t,e){var n={};return e.forEach(function(e){t.hasOwnProperty(e)&&(n[e]=t[e])}),n},o.hostname=function(e){return i.toUnicode(e||window.location.hostname)},o.browser={webkit:"WebkitAppearance"in document.documentElement.style},o.getPrototype=function(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__},o.hasOwnOrPrototypeProperty=function(e,t){for(var n=e;n;){if(Object.prototype.hasOwnProperty.call(n,t))return!0;n=o.getPrototype(n)}return!1},o.matches=function(e,t){var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)n++;return!!t[n]}).call(e,t)},function(e){function n(e){return e.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})}void 0!==e.setAttribute&&(e.setProperty=function(e,t){return this.setAttribute(n(e),String(t))},e.getPropertyValue=function(e){return this.getAttribute(n(e))||null},e.removeProperty=function(e){var t=this.getPropertyValue(e);return this.removeAttribute(n(e)),t})}(window.CSSStyleDeclaration.prototype)},{"class-list":36,"computed-style":37,punycode:44}],2:[function(e,t,n){"use strict";var u=e("../common");t.exports=function(e,t,n,i){n=n||"opaque";var r="obj"+(""+Math.random()).slice(2,15),o='";var l=u.createElement("div",{},o);return u.find("object",l)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(e,t,n){"use strict";var i,S=e("../flowplayer"),E=e("../common"),D=e("./embed"),N=e("extend-object"),j=e("bean");function L(e){return/^https?:/.test(e)}(i=function(g,m){var v,y,w,b,I=g.conf,M=[],C={engineName:i.engineName,pick:function(i){var e=N({},function(){if(S.support.flashVideo){for(var e,t,n=0;n video",m)[0],i=n.src,r=L(i),o=function(){E.removeNode(t)};S.support.video&&E.prop(t,"autoplay")&&n.sources.some(function(e){return!!t.canPlayType(e.type)})?j.one(t,"timeupdate",o):o();var a,s=n.rtmp||I.rtmp;if(r||s||(i=E.createAbsoluteUrl(i)),w&&A(n)&&w.data!==E.createAbsoluteUrl(I.swfHls)&&C.unload(),w){["live","preload","loop"].forEach(function(e){n.hasOwnProperty(e)&&w.__set(e,n[e])}),Object.keys(n.flashls||{}).forEach(function(e){w.__set("hls_"+e,n.flashls[e])});var l=!1;if(!r&&s)w.__set("rtmp",s.url||s);else l=!!w.__get("rtmp"),w.__set("rtmp",null);w.__play(i,l||n.rtmp&&n.rtmp!==I.rtmp)}else{y="fpCallback"+(""+Math.random()).slice(3,15),i=e(i);var u={hostname:I.embedded?E.hostname(I.hostname):E.hostname(location.hostname),url:i,callback:y};m.getAttribute("data-origin")&&(u.origin=m.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(e){I.hasOwnProperty(e)&&(u[e]=I[e]),n.hasOwnProperty(e)&&(u[e]=n[e]),(I.rtmp||{}).hasOwnProperty(e)&&(u[e]=(I.rtmp||{})[e]),(n.rtmp||{}).hasOwnProperty(e)&&(u[e]=(n.rtmp||{})[e])}),I.splash&&(u.autoplay=!0),I.rtmp&&(u.rtmp=I.rtmp.url||I.rtmp),n.rtmp&&(u.rtmp=n.rtmp.url||n.rtmp),Object.keys(n.flashls||{}).forEach(function(e){var t=n.flashls[e];u["hls_"+e]=t});var c=void 0!==n.hlsQualities?n.hlsQualities:I.hlsQualities;void 0!==c&&(u.hlsQualities=c?encodeURIComponent(JSON.stringify(c)):c),void 0!==I.bufferTime&&(u.bufferTime=I.bufferTime),void 0!==I.bufferTimeMax&&(u.bufferTimeMax=I.bufferTimeMax),r&&delete u.rtmp,u.rtmp&&(u.rtmp=e(u.rtmp));var f,d=I.bgcolor||E.css(m,"background-color")||"";0===d.indexOf("rgb")?f=function(e){function t(e){return("0"+parseInt(e).toString(16)).slice(-2)}if(!(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/)))return;return"#"+t(e[1])+t(e[2])+t(e[3])}(d):0===d.indexOf("#")&&(f=7===(a=d).length?a:"#"+a.split("").slice(1).map(function(e){return e+e}).join("")),u.initialVolume=g.volumeLevel;var p=A(n)?I.swfHls:I.swf;w=D(p,u,I.wmode,f)[0];var h=E.find(".fp-player",m)[0];E.prepend(h,w),g.off("quality.flashengine").on("quality.flashengine",function(e,t,n){if(void 0!==g.video.hlsQualities?g.video.hlsQualities:g.conf.hlsQualities)try{w.__quality(n)}catch(e){g.debug("Error changing quality in flash engine",e)}}),setTimeout(function(){try{if(!w.PercentLoaded())return g.trigger("error",[g,{code:7,url:I.swf}])}catch(e){}},5e3),M.push(setTimeout(function(){void 0===w.PercentLoaded&&g.trigger("flashdisabled",[g])},15e3)),M.push(setTimeout(function(){void 0===w.PercentLoaded&&g.trigger("flashdisabled",[g,!1])},500)),g.off("resume.flashhack").on("resume.flashhack",function(){var e=setTimeout(function(){var e=w.__status().time,t=setTimeout(function(){g.playing&&!g.loading&&w.__status().time===e&&g.trigger("flashdisabled",[g])},400);M.push(t),g.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(t)})},800);M.push(e),g.one("progress",function(){clearTimeout(e)})}),w.pollInterval=setInterval(function(){if(w&&!b){var e=w.__status?w.__status():null;e&&((g.conf.live||g.live||n.live)&&(n.seekOffset=e.seekOffset,n.duration=e.duration+e.seekOffset),g.playing&&e.time&&e.time!==g.video.time&&g.trigger("progress",[g,e.time]),n.buffer=e.buffer/n.bytes*n.duration,g.trigger("buffer",[g,n.buffer]),!n.buffered&&0 video",p)[0],g=d.conf;return c={engineName:e,pick:function(e){var t=v.video&&e.filter(function(e){return h(e.type)})[0];if(t)return"string"==typeof t.src&&(t.src=m.createAbsoluteUrl(t.src)),t},load:function(e){var t=m.find(".fp-player",p)[0],n=!1;if(f||(f=document.createElement("video"),m.prepend(t,f),f.autoplay=!!g.splash,n=!0),m.addClass(f,"fp-engine"),m.find("track",f).forEach(m.removeNode),f.preload="none",g.nativesubtitles||m.attr(f,"crossorigin",!1),g.disableInline||(f.setAttribute("webkit-playsinline","true"),f.setAttribute("playsinline","true")),v.inlineVideo||m.css(f,{position:"absolute",top:"-9999em"}),v.subtitles&&g.nativesubtitles&&e.subtitles&&e.subtitles.length){m.addClass(f,"native-subtitles");var i=e.subtitles,r=function(e){var t=f.textTracks;t.length&&(t[0].mode=e)};i.some(function(e){return!m.isSameDomain(e.src)})&&m.attr(f,"crossorigin","anonymous"),"function"==typeof f.textTracks.addEventListener&&f.textTracks.addEventListener("addtrack",function(){r("disabled"),r("showing")}),i.forEach(function(e){f.appendChild(m.createElement("track",{kind:"subtitles",srclang:e.srclang||"en",label:e.label||"en",src:e.src,default:e.default}))})}y.off(f,"timeupdate",m.noop),y.on(f,"timeupdate",m.noop),m.prop(f,"loop",!1),d.off(".loophack"),(e.loop||g.loop)&&d.on("finish.loophack",function(){d.resume()}),void 0!==u&&(f.volume=u);var o=l(e,f,c);if(g.autoplay||g.splash||e.autoplay){d.debug("Autoplay / Splash setup, try to start video"),f.load();var a=function(){try{var e=f.play();if(e&&e.catch){var t=function(e){if("AbortError"===e.name&&20===e.code)return n?void 0:f.play().catch(t);if(!g.mutedAutoplay)throw new Error("Unable to autoplay");return d.debug("Play errored, trying muted",e),d.mute(!0,!0),f.play()};e.catch(t).catch(function(){g.autoplay=!1,d.mute(!1,!0),d.trigger("stop",[d])})}}catch(e){d.debug("play() error thrown",e)}};0=l.seekable.start(null)||(l.currentTime=l.seekable.start(null)))}),Object.keys(b).forEach(function(a){var s=b[a];if("webkitendfullscreen"===a&&d.conf.disableInline&&(s="unload"),s){var e=function(e){if(u=l.listeners[f],e.target&&m.hasClass(e.target,"fp-engine")){/progress/.test(s)||d.debug(a,"->",s,e);var t,n=function(e){d.trigger(e||s,[d,t])};if((d.ready||/ready|error/.test(s))&&s&&m.find("video",p).length)if("unload"!==s){switch(s){case"ready":if(d.ready)return d.debug("Player already ready, not sending duplicate ready event");if(!(l.duration&&l.duration!==1/0||d.live))return d.debug("No duration and VOD setup, not sending ready event");if((t=w(u,{duration:l.duration'):(r&&!a.conf.adaptiveRatio||(r=i/n),''+o+'position:absolute;top:0;left:0;width:100%;height:100%;">
')},r.on(s,"click",".fp-embed",function(){o(a.embedCode(),function(){a.message("The embed code is now on your clipboard",2e3)},function(){a.textarea(a.embedCode(),"Copy the code below to embed your video")})})}})},{"../common":1,"../flowplayer":31,"./util/clipboard":30,bean:34}],12:[function(e,t,n){"use strict";t.exports=function(o,s){s||(s=document.createElement("div"));var l={},u={},n=function(n,i,r){var o=n.split(".")[0],a=function(e){r&&(s.removeEventListener(o,a),l[n].splice(l[n].indexOf(a),1));var t=[e].concat(u[e.timeStamp+e.type]||[]);i&&i.apply(void 0,t)};s.addEventListener(o,a),l[n]||(l[n]=[]),l[n].push(a)};o.on=o.bind=function(e,t){return e.split(" ").forEach(function(e){n(e,t)}),o},o.one=function(e,t){return e.split(" ").forEach(function(e){n(e,t,!0)}),o};o.off=o.unbind=function(e){return e.split(" ").forEach(function(e){var i=e.split(".").slice(1),r=e.split(".")[0];Object.keys(l).filter(function(e){var t,n=e.split(".").slice(1);return(!r||0===e.indexOf(r))&&(t=n,0===i.filter(function(e){return-1===t.indexOf(e)}).length)}).forEach(function(e){var t=l[e],n=e.split(".")[0];l[e]=t.filter(function(e){return s.removeEventListener(n,e),!1})})}),o},o.trigger=function(e,t,n){if(e){t=(t||[]).length?t||[]:[t];var i,r=document.createEvent("Event");return i=e.type||e,r.initEvent(i,!1,!0),Object.defineProperty&&(r.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),u[r.timeStamp+r.type]=t,s.dispatchEvent(r),n?r:o}}},t.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],13:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),a=e("bean");i(function(e,t){var o=e.conf;if(!1!==o.share&&o.facebook){e.facebook=function(){var e,t,n=screen.height,i=screen.width,r="string"==typeof o.facebook?o.facebook:window.location.toString();e=Math.round(i/2-275),t=0,420l.width(n)&&(o=o-l.width(e)+i.rightFallbackOffset),l.height(e)+r>l.height(n)&&(r-=l.height(e)),l.css(e,{top:r+"px",left:o+"px",right:"auto"})},a.hideMenu=function(e){l.toggleClass(e,"fp-active",!1),l.css(e,{top:"-9999em"})}})},{"../common":1,"../flowplayer":31,bean:34}],17:[function(e,t,n){var i=e("../flowplayer"),l=e("../common"),r=e("bean");i(function(e,t){var a=l.find(".fp-header",t)[0],s=l.find(".fp-ui",t)[0];e.message=function(e,t){var n,i,r=(n=e,i=l.createElement("div",{className:"fp-message"},n),s.insertBefore(i,a),setTimeout(function(){l.toggleClass(i,"fp-shown")}),i),o=function(){l.toggleClass(r,"fp-shown"),setTimeout(function(){var e;e=r,l.removeNode(e)},500)};return t&&setTimeout(o,t),o},e.textarea=function(e){var t=document.createElement("textarea");t.value=e,t.className="fp-textarea",s.appendChild(t),r.on(document,"click.fptextarea",function(e){if(e.target===t)return t.select();e.stopPropagation(),e.preventDefault(),l.removeNode(t),r.off(document,"click.fptextarea")})}})},{"../common":1,"../flowplayer":31,bean:34}],18:[function(e,t,n){"use strict";var i=e("../flowplayer"),p=/IEMobile/.test(window.navigator.userAgent),h=e("../common"),g=e("bean"),m=e("./ui").format,v=i.support,y=window.navigator.userAgent;(v.touch||p)&&i(function(n,i){var e=v.android,t=e&&!e.firefox,r=/Silk/.test(y),o=e.version||0;if(t&&!p){if(!/Chrome/.test(y)&&o<4||e.samsung&&o<5){var a=n.load;n.load=function(){var e=a.apply(n,arguments);return h.find("video.fp-engine",i)[0].load(),n.trigger("ready",[n,n.video]),e}}var s,l=0,u=function(e){s=setInterval(function(){e.video.time=++l,e.trigger("progress",[e,l])},1e3)};n.on("ready pause unload",function(){s&&(clearInterval(s),s=null)}),n.on("ready",function(){l=0}),n.on("resume",function(e,t){if(t.live)return l?u(t):void n.one("progress",function(e,t,n){0===n&&u(t)})})}v.volume||(h.removeClass(i,"fp-mute"),h.addClass(i,"no-volume")),v.iOS&&h.addClass(i,"fp-mute"),h.addClass(i,"is-touch"),n.sliders&&n.sliders.timeline&&n.sliders.timeline.disableAnimation();var c=!1;g.on(i,"touchmove",function(){c=!0});var f=!0;if(g.on(i,"touchend click",function(e){if(c)c=!1;else{var t=h.find("video.fp-engine",i)[0];if(f&&n.conf.clickToUnMute&&t&&t.muted&&n.conf.autoplay&&(t.muted=!1),f=!1,n.playing&&!h.hasClass(i,"is-mouseover"))return h.addClass(i,"is-mouseover"),h.removeClass(i,"is-mouseout"),e.preventDefault(),void e.stopPropagation();n.playing||n.splash||!h.hasClass(i,"is-mouseout")||h.hasClass(i,"is-mouseover")||setTimeout(function(){n.disabled||n.playing||n.splash||h.find("video.fp-engine",i)[0].play()},400)}}),!v.fullscreen&&n.conf.native_fullscreen&&"function"==typeof h.createElement("video").webkitEnterFullScreen){var d=n.fullscreen;n.fullscreen=function(){var e=h.find("video.fp-engine",i)[0];if(!e)return d.apply(n);n.trigger("fullscreen",[n]),g.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===e&&(g.off(document,".nativefullscreen"),g.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(g.off(document,".nativefullscreen"),n.trigger("fullscreen-exit",[n]))}))}),e.webkitEnterFullScreen(),g.one(e,"webkitendfullscreen",function(){g.off(document,"fullscreenchange.nativefullscreen"),n.trigger("fullscreen-exit",[n]),h.prop(e,"controls",!0),h.prop(e,"controls",!1)})}}(t||r)&&n.bind("ready",function(){var t=h.find("video.fp-engine",i)[0];n.conf.splash&&t.paused&&"hlsjs-lite"!==n.engine.engineName&&(g.one(t,"canplay",function(){t.play()}),t.load()),n.bind("progress.dur",function(){if(!n.live&&!n.conf.live){var e=t.duration;1!==e&&(n.video.duration=e,h.find(".fp-duration",i)[0].innerHTML=m(e),n.unbind("progress.dur"))}})})})},{"../common":1,"../flowplayer":31,"./ui":27,bean:34}],19:[function(e,t,n){"use strict";var i=e("../flowplayer"),o=e("extend-object"),a=e("bean"),g=e("../common"),s=e("./resolve"),l=new s,m=window.jQuery,v=/^#/;i(function(u,c){var f=o({active:"is-active",advance:!0,query:".fp-playlist a"},u.conf),d=f.active,t=g.find(".fp-ui",c)[0],e=g.hasClass(c,"fp-custom-playlist")||!!f.customPlaylist;function n(){return g.find(f.query,p())}function p(){if(!v.test(f.query))return c}function h(){return g.find(f.query+"."+d,p())}function i(){var i=g.find(".fp-playlist",c)[0];if(!i){i=g.createElement("div",{className:"fp-playlist"});var e=g.find(".fp-next,.fp-prev",c);e.length?e[0].parentElement.insertBefore(i,e[0]):g.insertAfter(c,g.find("video",c)[0],i)}i.innerHTML="",u.conf.playlist[0].length&&(u.conf.playlist=u.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(t){var n={};return Object.keys(t).forEach(function(e){n.type=/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e,n.src=t[e]}),n})}})),u.conf.playlist.forEach(function(e,t){var n=e.sources[0].src;i.appendChild(g.createElement("a",{href:n,className:u.video.index===t?d:void 0,"data-index":t}))})}g.toggleClass(c,"fp-custom-playlist",e),g.toggleClass(c,"fp-default-playlist",!e),u.play=function(e){if(void 0===e)return u.resume();if("number"==typeof e&&!u.conf.playlist[e])return u;if("number"!=typeof e)return u.load.apply(null,arguments);var t=o({index:e},u.conf.playlist[e]);return u.off("beforeresume.fromfirst"),"number"==typeof e&&e===u.video.index?u.seek(0,function(){u.resume()}):(u.load(t,function(){u.video.index=e}),u)},u.next=function(e){e&&e.preventDefault();var t=u.video.index;return-1!=t&&(t=t===u.conf.playlist.length-1?0:t+1,u.play(t)),u},u.prev=function(e){e&&e.preventDefault();var t=u.video.index;return-1!=t&&(t=0===t?u.conf.playlist.length-1:t-1,u.play(t)),u},u.setPlaylist=function(e,t){return u.conf.playlist=e,t||delete u.video.index,i(),u},u.addPlaylistItem=function(e){return delete u.video.is_last,u.setPlaylist(u.conf.playlist.concat([e]),!0)},u.removePlaylistItem=function(e){var t=u.conf.playlist;return u.setPlaylist(t.slice(0,e).concat(t.slice(e+1)))},a.on(c,"click",".fp-next",u.next),a.on(c,"click",".fp-prev",u.prev),u.off("finish.pl").on("finish.pl",function(e,t){if(void 0===t.conf.advance||t.conf.advance){if(t.video.loop)return t.seek(0,function(){t.resume()});var n=0<=t.video.index?t.video.index+1:void 0;nQuality");e.forEach(function(e){var t=document.createElement("a"),n=void 0!==e.value?e.value:e;t.setAttribute("data-quality",n),t.innerHTML=e.label||e,i.appendChild(t)}),r.appendChild(i)}(n.qualities,n.quality),a(n.quality,n.qualities))})})},{"../common":1,"../flowplayer":31,bean:34}],21:[function(e,t,n){"use strict";var r=/\.(\w{3,4})(\?.*)?$/i,o=e("extend-object");function i(e){var t=e.attr("src"),n=e.attr("type")||"",i=t.split(r)[1];return n=n.toLowerCase(),o(e.data(),{src:t,suffix:i||n,type:n||i})}t.exports=function(){this.sourcesFromVideoTag=function(e,t){var n=[];return t("source",e).each(function(){n.push(i(t(this)))}),!n.length&&e.length&&n.push(i(e)),n},this.resolve=function(n,e){return n?("string"==typeof n&&((n={src:n,sources:[]}).sources=(e||[]).map(function(e){var t=e.src.split(r)[1];return{type:e.type,src:n.src.replace(r,"."+t+"$2")}})),n instanceof Array&&(n={sources:n.map(function(i){return i.type&&i.src?i:Object.keys(i).reduce(function(e,t){return o(e,{type:(n=t,/mpegurl/i.test(n)?"application/x-mpegurl":"video/"+n),src:i[t]});var n},{})})}),n):{sources:e}}},t.exports.TYPE_RE=r},{"extend-object":39}],22:[function(e,t,n){"use strict";var i=e("../flowplayer"),o=e("../common"),a=e("extend-object"),s=e("bean");i(function(t,e){var n=t.conf;if(!1!==n.share){t.shareUrl=function(e){return e&&n.embed&&n.embed.iframe?n.embed.iframe:"string"==typeof t.conf.share?t.conf.share:(e?"https://flowplayer.com/e/":"https://flowplayer.com/s/")+"?t="+encodeURIComponent(t.video.title||(o.find("title")[0]||{}).innerHTML||"Flowplayer video")+"&c="+encodeURIComponent(btoa(JSON.stringify(a({},t.conf,t.extensions)).replace(/[\u007F-\uFFFF]/g,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)})))+"&r="+encodeURIComponent(window.location.toString())};var i=o.createElement("div",{className:"fp-menu fp-share-menu"},"Share");o.find(".fp-ui",e)[0].appendChild(i);var r=o.find(".fp-share",e)[0];s.on(e,"click",".fp-share",function(e){e.preventDefault(),o.hasClass(i,"fp-active")?t.hideMenu():t.showMenu(i,r)})}else o.find(".fp-share",e).forEach(o.removeNode)})},{"../common":1,"../flowplayer":31,bean:34,"extend-object":39}],23:[function(e,t,n){"use strict";var f=e("../flowplayer"),d=e("../common"),p=e("bean"),i=e("./subtitles/parser");f.defaults.subtitleParser=i,f(function(r,o){var a,s,n,l,i;(!f.support.inlineVideo||!f.support.fullscreen&&r.conf.native_fullscreen)&&(r.conf.nativesubtitles=!0),r.ui||(r.ui={}),r.ui.createSubtitleControl=function(e,t){return i=t,n=n||d.createElement("strong",{className:"fp-cc"},"CC"),l=l||d.createElement("div",{className:"fp-menu fp-subtitle-menu"},"Closed Captions"),d.find("a",l).forEach(d.removeNode),l.appendChild(d.createElement("a",{"data-subtitle-index":-1},"No subtitles")),(e||[]).forEach(function(e,t){var n=e.srclang||"en",i=e.label||"Default ("+n+")",r=d.createElement("a",{"data-subtitle-index":t},i);l.appendChild(r)}),d.find(".fp-ui",o)[0].appendChild(l),d.find(".fp-controls",o)[0].appendChild(n),d.toggleClass(n,"fp-hidden",!e||!e.length),n},r.ui.setActiveSubtitleItem=function(e){u(e)},p.on(o,"click",".fp-cc",function(){d.hasClass(l,"fp-active")?r.hideMenu():r.showMenu(l)}),p.on(o,"click",".fp-subtitle-menu [data-subtitle-index]",function(e){e.preventDefault();var t=e.target.getAttribute("data-subtitle-index");return i?i(t):"-1"===t?r.disableSubtitles():void r.loadSubtitles(t)});r.on("ready",function(e,t,n){if(t.subtitles=[],s=(s=d.find(".fp-captions",o)[0])||d.appendTo(d.createElement("div",{class:"fp-captions"}),d.find(".fp-player",o)[0]),Array.prototype.forEach.call(s.children,d.removeNode),r.ui.createSubtitleControl(r.video.subtitles),d.removeClass(o,"has-menu"),r.disableSubtitles(),n.subtitles&&n.subtitles.length){var i=n.subtitles.filter(function(e){return e.default})[0];i&&t.loadSubtitles(n.subtitles.indexOf(i))}}),r.showSubtitle=function(e){d.html(s,e),d.addClass(s,"fp-shown")},r.hideSubtitle=function(){d.removeClass(s,"fp-shown")},r.bind("cuepoint",function(e,t,n){n.subtitle?(a=n.index,r.showSubtitle(n.subtitle.text)):n.subtitleEnd&&(r.hideSubtitle(),a=n.index)}),r.bind("seek",function(e,t,i){a&&r.cuepoints[a]&&r.cuepoints[a].time>i&&(d.removeClass(s,"fp-shown"),a=null),(r.cuepoints||[]).forEach(function(e,t){var n=e.subtitle;n&&a!=t?i>=e.time&&(!n.endTime||i<=n.endTime)&&r.trigger("cuepoint",[r,e]):e.subtitleEnd&&i>=e.time&&t==a+1&&r.trigger("cuepoint",[r,e])})}),r.on("unload",function(){d.find(".fp-captions",o).forEach(d.removeNode)});var u=function(e){d.toggleClass(d.find("a.fp-selected",l)[0],"fp-selected"),d.toggleClass(d.find('a[data-subtitle-index="'+e+'"]',l)[0],"fp-selected")},c=function(e,t){var n=d.find("video.fp-engine",o)[0].textTracks;n.length&&(null===e?[].forEach.call(n,function(e){e.mode=t}):n[e].mode=t)};r.disableSubtitles=function(){return r.subtitles=[],(r.cuepoints||[]).forEach(function(e){(e.subtitle||e.subtitleEnd)&&r.removeCuepoint(e)}),s&&Array.prototype.forEach.call(s.children,d.removeNode),u(-1),f.support.subtitles&&r.conf.nativesubtitles&&"html5"==r.engine.engineName&&c(null,"disabled"),r},r.loadSubtitles=function(e){r.disableSubtitles();var t=r.video.subtitles[e].src;if(t){if(u(e),!f.support.subtitles||!r.conf.nativesubtitles||"html5"!=r.engine.engineName)return d.xhrGet(t,function(e){r.conf.subtitleParser(e).forEach(function(e,t){e.title||(e.title="subtitle"+t);var n={time:e.startTime,subtitle:e,visible:!1};r.subtitles.push(e),r.addCuepoint(n),r.addCuepoint({time:e.endTime,subtitleEnd:e.title,visible:!1}),0!==e.startTime||r.video.time||r.splash||r.trigger("cuepoint",[r,f.extend({},n,{index:0})]),r.splash&&r.one("ready",function(){r.trigger("cuepoint",[r,n])})})},function(){return r.trigger("error",{code:8,url:t}),!1}),r;c(e,"showing")}}})},{"../common":1,"../flowplayer":31,"./subtitles/parser":24,bean:34}],24:[function(e,t,n){t.exports=function(e){var t=/^(([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/;function n(e){var t=e.split(":");return 2==t.length&&t.unshift(0),60*t[0]*60+60*t[1]+parseFloat(t[2].replace(",","."))}for(var i,r,o,a=[],s=0,l=e.split("\n"),u=l.length,c={};s"+l[++s]+"
";"string"==typeof l[++s]&&l[s].trim()&&s"+l[s]+"
";c={title:i,startTime:n(r[1]),endTime:n(r[3]),text:o},a.push(c)}return a}},{}],25:[function(e,t,n){"use strict";var S=e("../flowplayer"),E=e("extend-object");!function(){var e={},t=document.documentElement.style,n=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(n)||/(safari)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];i[1]&&(e[i[1]]=!0,e.version=i[2]||"0"),e.safari&&(e.version=(/version\/([\w.]+)/.exec(n)||[])[1]);var r,o,a=((o=document.createElement("video")).loop=!0,o.autoplay=!0,o.preload=!0,o),s=navigator.userAgent,l=e.msie||/Trident\/7/.test(s),u=/iPad|MeeGo/.test(s)&&!/CriOS/.test(s),c=/iPad/.test(s)&&/CriOS/.test(s),f=/iP(hone|od)/i.test(s)&&!/iPad/.test(s)&&!/IEMobile/i.test(s),d=/Android/.test(s),p=d&&/Firefox/.test(s),h=d&&/SAMSUNG/.test(s),g=/Silk/.test(s),m=/IEMobile/.test(s),v=m?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(s)[1],10):0,y=m?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(s)[1],10):0,w=u||f?(r=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(s))&&1 {{ LOADING_SHARP_OUTLINE }} {{ LOADING_SHARP_FILL }} {{ LOADING_ROUNDED_FILL }} {{ LOADING_ROUNDED_OUTLINE }} {{ PLAY_ROUNDED_FILL }} {{ PLAY_ROUNDED_OUTLINE }} {{ PLAY_SHARP_FILL }} {{ PLAY_SHARP_OUTLINE }}
{{ PAUSE_SHARP_OUTLINE }} {{ PAUSE_SHARP_FILL }} {{ PAUSE_ROUNDED_OUTLINE }} {{ PAUSE_ROUNDED_FILL }}
'.replace("{{ PAUSE_ROUNDED_FILL }}",F).replace("{{ PAUSE_ROUNDED_OUTLINE }}",B).replace("{{ PAUSE_SHARP_FILL }}",H).replace("{{ PAUSE_SHARP_OUTLINE }}",V).replace("{{ PLAY_SHARP_OUTLINE }}",J).replace("{{ PLAY_SHARP_FILL }}",U).replace("{{ PLAY_ROUNDED_OUTLINE }}",O).replace("{{ PLAY_ROUNDED_FILL }}",W).replace("{{ LOADING_ROUNDED_OUTLINE }}",X).replace("{{ LOADING_ROUNDED_FILL }}",_).replace("{{ LOADING_SHARP_FILL }}",K).replace("{{ LOADING_SHARP_OUTLINE }}",Q).replace(/url\(#/g,"url("+window.location.href.replace(window.location.hash,"").replace(/\#$/g,"")+"#"));function t(e){return k.find(".fp-"+e,a)[0]}a.appendChild(o);var n=t("waiting"),c=t("elapsed"),i=t("ratio"),f=t("speed-flash"),d=t("duration"),p=t("remaining"),h=t("timestamp"),g=k.css(i,"padding-top"),m=t("play"),v=t("pause"),y=t("timeline"),w=z(y,s.rtl),b=t("fullscreen"),I=t("volumebar"),M=G(I,{rtl:s.rtl}),C=k.hasClass(a,"no-toggle");w.disableAnimation(k.hasClass(a,"is-touch")),s.sliders=s.sliders||{},s.sliders.timeline=w,s.sliders.volume=M;var A=[];function S(e){k.css(i,"padding-top",100*e+"%"),u.inlineBlock||k.height(k.find("object",a)[0],k.height(a))}function E(e){e?(k.addClass(a,"is-mouseover"),k.removeClass(a,"is-mouseout")):(k.addClass(a,"is-mouseout"),k.removeClass(a,"is-mouseover"))}u.svg||k.html(n,"loading …
"),l.ratio&&S(l.ratio);try{l.fullscreen||k.removeNode(b)}catch(e){k.removeNode(b)}s.on("dvrwindow",function(){w.disable(!1)}),s.on("ready",function(e,t,n){var i=t.video.duration;w.disable(t.disabled||!i),l.adaptiveRatio&&!isNaN(n.height/n.width)&&S(n.height/n.width),k.html([d,p],t.live?"Live":R(i)),k.toggleClass(a,"is-long",3600<=i),M.slide(t.volumeLevel),"flash"===t.engine.engineName?w.disableAnimation(!0,!0):w.disableAnimation(!1),k.find(".fp-title",o).forEach(k.removeNode),n.title&&k.prepend(o,k.createElement("div",{className:"fp-message fp-title"},n.title)),k.toggleClass(a,"has-title",!!n.title)}).on("unload",function(){g||l.splash||k.css(i,"paddingTop",""),w.slide(0),k.addClass(m,"fp-visible")}).on("buffer",function(e,t,n){var i=t.video,r=i.buffer/i.duration;!i.seekable&&u.seekable&&w.max(t.conf.live?1/0:r),n&&"number"!=typeof n||(n=[{start:0,end:i.buffer}]);var o=k.find(".fp-buffer",y);o.length!==n.length&&(o.forEach(k.removeNode),o=[]),n.forEach(function(e,t){var n=o[t]||k.createElement("div",{className:"fp-buffer"});k.css(n,{left:100*e.start/i.duration+"%",width:100*(e.end-e.start)/i.duration+"%"}),k.prepend(y,n)})}).on("speed",function(e,t,n){t.video.time&&(k.text(f,n+"x"),k.addClass(f,"fp-shown"),(A=A.filter(function(e){return clearTimeout(e),!1})).push(setTimeout(function(){k.addClass(f,"fp-hilite"),A.push(setTimeout(function(){k.removeClass(f,"fp-hilite"),A.push(setTimeout(function(){k.removeClass(f,"fp-shown")},300))},1e3))})))}).on("buffered",function(){w.max(1)}).on("progress seek",function(e,t,n){var i=s.video.duration,r=s.video.seekOffset||0,o=((n=n||s.video.time)-r)/(i-r);w.dragging||w.slide(o,s.seeking?0:250),k.toggleClass(a,"is-live-position",i-nl.mouseoutTimeout&&(E(!1),t=new Date)},100)}else Y.off(a,"mousemove.x"),s.off("pause.x volume.x"),clearInterval(r)}}),Y.on(a,"mouseleave",function(){(w.dragging||M.dragging)&&(k.addClass(a,"is-mouseover"),k.removeClass(a,"is-mouseout"))}),Y.on(a,"click.player",function(e){if(!s.disabled)return k.hasClass(e.target,"fp-ui")||k.hasClass(e.target,"fp-engine")||e.flash||k.hasParent(e.target,".fp-play,.fp-pause")?(e.preventDefault&&e.preventDefault(),s.toggle()):void 0}),Y.on(a,"mousemove",".fp-timeline",function(e){var t=(e.pageX||e.clientX)-k.offset(y).left,n=t/k.width(y),i=s.video,r=i.duration-(void 0===i.seekOffset?0:i.seekOffset),o=(s.rtl?1-n:n)*r;if(!(n<0)){k.html(h,R(o));var a=t-k.width(h)/2;a<0&&(a=0),a>k.width(y)-k.width(h)&&(a=!1),!1!==a?k.css(h,{left:a+"px",right:"auto"}):k.css(h,{left:"auto",right:"0px"})}}),Y.on(a,"contextmenu",function(e){var t=window;if(!k.hasClass(a,"is-flash-disabled")){var n=k.find(".fp-context-menu",a)[0];n&&(e.preventDefault(),s.showMenu(n,{left:e.clientX-t.scrollX,top:e.clientY-t.scrollY}),Y.on(a,"click",".fp-context-menu",function(e){e.stopPropagation()}))}}),s.on("flashdisabled",function(e,t,n){var i;k.addClass(a,"is-flash-disabled"),!1!==n&&(i=s.message("Seems something is blocking Adobe Flash from running")),s.one("ready progress",function(){k.removeClass(a,"is-flash-disabled"),i&&i()})}),l.poster&&k.css(a,"background-image","url("+l.poster+")");var D,N=k.css(a,"background-color"),j="none"!=k.css(a,"background-image")||N&&"rgba(0, 0, 0, 0)"!=N&&"transparent"!=N;if(j&&!l.splash){l.poster||(l.poster=!0);var L=function(){k.addClass(a,"is-poster"),k.addClass(m,"fp-visible"),s.poster=!0,s.on("resume.poster progress.poster beforeseek.poster",function(e){("beforeseek"===e.type||s.playing)&&(k.removeClass(a,"is-poster"),k.removeClass(m,"fp-visible"),s.poster=!1,s.off(".poster"))})};s.on("stop",function(){L()}),s.on("ready",function(e,t,n){n.index||n.autoplay||L()})}if("string"==typeof l.splash&&k.css(a,"background-image","url('"+l.splash+"')"),!j&&s.forcedSplash&&k.css(a,"background-color","#555"),Y.on(a,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){s.disabled||s.toggle()}),Y.on(a,"click",".fp-volumebtn",function(){s.mute()}),Y.on(a,"click",".fp-fullscreen",function(){s.fullscreen()}),Y.on(a,"click",".fp-unload",function(){s.unload()}),Y.on(y,"slide",function(e){s.seeking=!0,s.seekTo(10*e)}),Y.on(I,"slide",function(e){s.volume(e)}),Y.on(a,"click",".fp-duration,.fp-remaining",function(){if(s.dvr)return s.seekTo(10);k.toggleClass(a,"is-inverted")}),E(C),s.on("shutdown",function(){Y.off(y),Y.off(I),D&&window.cancelAnimationFrame(D),k.removeNode(o),k.find(".fp-ratio",a).forEach(k.removeNode)}),"function"==typeof window.requestAnimationFrame){var x=k.find(".fp-player",a)[0]||a,T=function(){k.toggleClass(a,"is-tiny",x.clientWidth<400),k.toggleClass(a,"is-small",x.clientWidth<600&&400<=x.clientWidth),D=window.requestAnimationFrame(T)};D=window.requestAnimationFrame(T)}}),t.exports.format=R}).call(this,e("buffer").Buffer)},{"../common":1,"../flowplayer":31,"./ui/bar-slider":28,"./ui/slider":29,bean:34,buffer:35}],28:[function(e,t,n){var c=e("bean"),f=e("../../common");t.exports=function(a,e){var r=(e=e||{}).activeClass||"fp-color",o=e.inactiveClass||"fp-grey",t=e.childSelector||"em",s=!!e.rtl,n=!1,l=f.find(t,a).length,i={unload:function(){c.off(a,".barslider")},slide:function(i,e){f.find(t,a).forEach(function(e,t){var n=t/l© 2018 Flowplayer ABAbout FlowplayerGPL based license'),y=window.location.href.indexOf("localhost");7!==y&&(d||l).appendChild(v),e.on("pause resume finish unload ready",function(e,t){var n,i=-1;if(t.video.src)for(var r=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"],["com","flowplayer","cdn"]],o=0;o>16&255,o[a++]=t>>8&255,o[a++]=255&t;var u,c;2===r&&(t=f[e.charCodeAt(l)]<<2|f[e.charCodeAt(l+1)]>>4,o[a++]=255&t);1===r&&(t=f[e.charCodeAt(l)]<<10|f[e.charCodeAt(l+1)]<<4|f[e.charCodeAt(l+2)]>>2,o[a++]=t>>8&255,o[a++]=255&t);return o},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,r=[],o=0,a=n-i;o>2]+s[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],r.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return r.join("")};for(var s=[],f=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,o=i.length;r>18&63]+s[r>>12&63]+s[r>>6&63]+s[63&r]);return o.join("")}f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},{}],34:[function(e,t,n){var i,r;i=this,r=function(e,t){e=e||"bean",t=t||this;var g,d,p,u,n,i,r,o,a,s,l,c,f,h,m,v,y,w,b,I=window,M=t[e],C=/[^\.]*(?=\..*)\.|.*/,A=/\..*/,S="addEventListener",E=document||{},D=E.documentElement||{},N=D[S],j=N?S:"attachEvent",L={},x=Array.prototype.slice,T=function(e,t){return e.split(t||" ")},Z=function(e){return"string"==typeof e},P=function(e){return"function"==typeof e},k=function(e,t,n){for(n=0;n=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function p(e,t){if(f.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(i)return k(e).length;t=(""+t).toLowerCase(),i=!0}}function h(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function g(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):2147483647=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=f.from(t,i)),f.isBuffer(t))return 0===t.length?-1:m(e,t,n,i,r);if("number"==typeof t)return t&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,i,r){var o,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s/=a=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var c=-1;for(o=n;o>>10&1023|55296),c=56320|1023&c),i.push(c),r+=f}return function(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n="",i=0;for(;ithis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return b(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return w(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}.apply(this,arguments)},f.prototype.equals=function(e){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===f.compare(this,e)},f.prototype.inspect=function(){var e="",t=G.INSPECT_MAX_BYTES;return 0t&&(e+=" ... ")),""},f.prototype.compare=function(e,t,n,i,r){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(r<=i&&n<=t)return 0;if(r<=i)return-1;if(n<=t)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(i,r),u=e.slice(t,n),c=0;cthis.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o,a,s,l,u,c,f,d,p,h=!1;;)switch(i){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return d=t,p=n,z(k(e,(f=this).length-d),f,d,p);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return y(this,e,t,n);case"base64":return l=this,u=t,c=n,z(Y(e),l,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a=t,s=n,z(function(e,t){for(var n,i,r,o=[],a=0;a>8,r=n%256,o.push(r),o.push(i);return o}(e,(o=this).length-a),o,a,s);default:if(h)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),h=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function M(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;re.length)throw new RangeError("Index out of range")}function N(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function j(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function L(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function x(e,t,n,i,r){return r||L(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function T(e,t,n,i,r){return r||L(e,0,n,8),o.write(e,t,n,i,52,8),n+8}f.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):i>>8):N(this,e,t,!0),t+2},f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},f.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},f.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;0<=--o&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},f.prototype.writeFloatLE=function(e,t,n){return x(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return x(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return T(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return T(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),0=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Y(e){return i.toByteArray(function(e){var t;if((e=(t=e,t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(Z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":33,ieee754:40,isarray:43}],36:[function(e,t,n){var l=e("indexof");function u(e){return!!e}t.exports=function(i){var e=i.classList;if(e)return e;var r={add:t,remove:n,contains:o,toggle:function(e){return o(e)?(n(e),!1):(t(e),!0)},toString:function(){return i.className},length:0,item:function(e){return a()[e]||null}};return r;function t(e){var t=a();-1>>0},O=function(){};Z(n,{bind:function(t){var n=this;if(!D(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,r=c.call(arguments,1),e=b(0,n.length-r.length),o=[],a=0;a=i)throw new TypeError("reduce of empty array with no initial value")}for(;o>1,c=-7,f=n?r-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;0>=-c,c+=i;0>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:o-1,h=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),2<=(t+=1<=a+f?d/l:d*Math.pow(2,1-f))*l&&(a++,l/=2),c<=a+f?(s=0,a=c):1<=a+f?(s=(t*l-1)*Math.pow(2,r),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,r),a=0));8<=r;e[n+p]=255&s,p+=h,s/=256,r-=8);for(a=a<= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=y-w,A=Math.floor,S=String.fromCharCode;function E(e){throw new RangeError(f[e])}function p(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function h(e,t){var n=e.split("@"),i="";return 1>>10&1023|55296),e=56320|1023&e),t+=S(e)}).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function L(e,t,n){var i=0;for(e=n?A(e/s):e>>1,e+=A(e/t);d*b>>1A((v-h)/a))&&E("overflow"),h+=l*a,!(l<(u=s<=m?w:m+b<=s?b:s-m));s+=y)a>A(v/(c=y-u))&&E("overflow"),a*=c;m=L(h-o,t=d.length+1,0==o),A(h/t)>v-g&&E("overflow"),g+=A(h/t),h%=t,d.splice(h++,0,g)}return N(d)}function m(e){var t,n,i,r,o,a,s,l,u,c,f,d,p,h,g,m=[];for(d=(e=D(e)).length,t=M,o=I,a=n=0;aA((v-n)/(p=i+1))&&E("overflow"),n+=(s-t)*p,t=s,a=0;av&&E("overflow"),f==t){for(l=n,u=y;!(l<(c=u<=o?w:o+b<=u?b:u-o));u+=y)g=l-c,h=y-c,m.push(S(j(c+g%h,0))),l=A(g/h);m.push(S(j(l,0))),o=L(n,p,i==r),n=0,++i}++n,++t}return m.join("")}if(r={version:"1.4.1",ucs2:{decode:D,encode:N},decode:g,encode:m,toASCII:function(e){return h(e,function(e){return u.test(e)?"xn--"+m(e):e})},toUnicode:function(e){return h(e,function(e){return l.test(e)?g(e.slice(4).toLowerCase()):e})}},t&&n)if(T.exports==t)n.exports=r;else for(o in r)r.hasOwnProperty(o)&&(t[o]=r[o]);else e.punycode=r}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],45:[function(e,n,t){!function(e,t){void 0!==n&&n.exports?n.exports=t():this.$script=t()}(0,function(){var u,r,o=document,a=o.getElementsByTagName("head")[0],s=!1,c="push",l="readyState",f="onreadystatechange",d={},p={},h={},g={};function m(e,t){for(var n=0,i=e.length;n