!function(n){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;t.videojs=n()}}(function(){var n;return function t(n,i,r){function u(f,o){var h,c,s;if(!i[f]){if(!n[f]){if(h="function"==typeof require&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};n[f][0].call(s.exports,function(t){var i=n[f][1][t];return u(i?i:t)},s,s.exports,t,n,i,r)}return i[f].exports}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(2),h=u(s),c=n(5),l=u(c),r=function(n){function t(){return f(this,t),e(this,n.apply(this,arguments))}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(){this.player_.play()},t}(h["default"]);r.prototype.controlText_="Play Video";l["default"].registerComponent("BigPlayButton",r);i["default"]=r},{2:2,5:5}],2:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var l=n(3),a=u(l),v=n(5),f=u(v),y=n(86),e=u(y),r=n(88),o=function(n){function t(){return s(this,t),h(this,n.apply(this,arguments))}return c(t,n),t.prototype.createEl=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u;return n=r.assign({className:this.buildCSSClass()},n),"button"!==i&&(e["default"].warn("Creating a Button with an HTML element of "+i+" is deprecated; use ClickableComponent instead."),n=r.assign({tabIndex:0},n),t=r.assign({role:"button"},t)),t=r.assign({type:"button","aria-live":"polite"},t),u=f["default"].prototype.createEl.call(this,i,n,t),this.createControlTextEl(u),u},t.prototype.addChild=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.constructor.name;return e["default"].warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),f["default"].prototype.addChild.call(this,n,t)},t.prototype.enable=function(){n.prototype.enable.call(this);this.el_.removeAttribute("disabled")},t.prototype.disable=function(){n.prototype.disable.call(this);this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&n.prototype.handleKeyPress.call(this,t)},t}(a["default"]);f["default"].registerComponent("Button",o);i["default"]=o},{3:3,5:5,86:86,88:88}],3:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var y=n(5),f=u(y),p=n(81),w=r(p),b=n(82),e=r(b),k=n(83),o=r(k),d=n(86),g=u(d),nt=n(94),s=u(nt),h=n(88),c=function(n){function t(i,r){l(this,t);var u=a(this,n.call(this,i,r));return u.emitTapEvents(),u.enable(),u}return v(t,n),t.prototype.createEl=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u;return t=h.assign({className:this.buildCSSClass(),tabIndex:0},t),"button"===i&&g["default"].error("Creating a ClickableComponent with an HTML element of "+i+" is not supported; use a Button instead."),r=h.assign({role:"button","aria-live":"polite"},r),this.tabIndex_=t.tabIndex,u=n.prototype.createEl.call(this,i,t,r),this.createControlTextEl(u),u},t.prototype.createControlTextEl=function(n){return this.controlTextEl_=w.createEl("span",{className:"vjs-control-text"}),n&&n.appendChild(this.controlTextEl_),this.controlText(this.controlText_,n),this.controlTextEl_},t.prototype.controlText=function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el(),t;return n?(t=this.localize(n),this.controlText_=n,this.controlTextEl_.innerHTML=t,i.setAttribute("title",t),this):this.controlText_||"Need Text"},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!=typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!=typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("tap",this.handleClick),this.off("click",this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this},t.prototype.handleClick=function(){},t.prototype.handleFocus=function(){e.on(s["default"],"keydown",o.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):n.prototype.handleKeyPress&&n.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(){e.off(s["default"],"keydown",o.bind(this,this.handleKeyPress))},t}(f["default"]);f["default"].registerComponent("ClickableComponent",c);i["default"]=c},{5:5,81:81,82:82,83:83,86:86,88:88,94:94}],4:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(2),h=r(s),c=n(5),l=r(c),u=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.controlText(r&&r.controlText||u.localize("Close")),u}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-close-button "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},t}(h["default"]);l["default"].registerComponent("CloseButton",u);i["default"]=u},{2:2,5:5}],5:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function h(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var y=n(95),u=h(y),p=n(81),r=s(p),w=n(83),f=s(w),b=n(85),k=s(b),d=n(82),e=s(d),g=n(86),c=h(g),nt=n(91),o=h(nt),tt=n(87),l=h(tt),a=function(){function n(t,i,r){if(v(this,n),this.player_=!t&&this.play?t=this:t,this.options_=l["default"]({},this.options_),i=this.options_=l["default"](this.options_,i),this.id_=i.id||i.el&&i.el.id,!this.id_){var u=t&&t.id&&t.id()||"no_player";this.id_=u+"_component_"+k.newGUID()}this.name_=i.name||null;i.el?this.el_=i.el:i.createEl!==!1&&(this.el_=this.createEl());this.children_=[];this.childIndex_={};this.childNameIndex_={};i.initChildren!==!1&&this.initChildren();this.ready(r);i.reportTouchActivity!==!1&&this.enableTouchActivity()}return n.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var n=this.children_.length-1;n>=0;n--)this.children_[n].dispose&&this.children_[n].dispose();this.children_=null;this.childIndex_=null;this.childNameIndex_=null;this.off();this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_);r.removeElData(this.el_);this.el_=null},n.prototype.player=function(){return this.player_},n.prototype.options=function(n){return c["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),n?(this.options_=l["default"](this.options_,n),this.options_):this.options_},n.prototype.el=function(){return this.el_},n.prototype.createEl=function(n,t,i){return r.createEl(n,t,i)},n.prototype.localize=function(n){var r=this.player_.language&&this.player_.language(),u=this.player_.languages&&this.player_.languages(),t,f,i;return!r||!u?n:(t=u[r],t&&t[n])?t[n]:(f=r.split("-")[0],i=u[f],i&&i[n]?i[n]:n)},n.prototype.contentEl=function(){return this.contentEl_||this.el_},n.prototype.id=function(){return this.id_},n.prototype.name=function(){return this.name_},n.prototype.children=function(){return this.children_},n.prototype.getChildById=function(n){return this.childIndex_[n]},n.prototype.getChild=function(n){if(n)return n=o["default"](n),this.childNameIndex_[n]},n.prototype.addChild=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,i=void 0,u=void 0,e,f,h,l;if("string"==typeof t){if(u=o["default"](t),r||(r={}),r===!0&&(c["default"].warn("Initializing a child component with `true` is deprecated.Children should be defined in an array when possible, but if necessary use an object instead of `true`."),r={}),e=r.componentClass||u,r.name=u,f=n.getComponent(e),!f)throw new Error("Component "+e+" does not exist");if("function"!=typeof f)return null;i=new f(this.player_||this,r)}else i=t;return(this.children_.splice(s,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),u=u||i.name&&i.name(),u&&(this.childNameIndex_[u]=i),"function"==typeof i.el&&i.el())&&(h=this.contentEl().children,l=h[s]||null,this.contentEl().insertBefore(i.el(),l)),i},n.prototype.removeChild=function(n){var i,t,r;if("string"==typeof n&&(n=this.getChild(n)),n&&this.children_){for(i=!1,t=this.children_.length-1;t>=0;t--)if(this.children_[t]===n){i=!0;this.children_.splice(t,1);break}i&&(this.childIndex_[n.id()]=null,this.childNameIndex_[n.name()]=null,r=n.el(),r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(n.el()))}},n.prototype.initChildren=function(){var t=this,i=this.options_.children;i&&!function(){var u=t.options_,f=function(n){var r=n.name,i=n.opts,f;(void 0!==u[r]&&(i=u[r]),i!==!1)&&(i===!0&&(i={}),i.playerOptions=t.options_.playerOptions,f=t.addChild(r,i),f&&(t[r]=f))},r=void 0,e=n.getComponent("Tech");r=Array.isArray(i)?i:Object.keys(i);r.concat(Object.keys(t.options_).filter(function(n){return!r.some(function(t){return"string"==typeof t?n===t:n===t.name})})).map(function(n){var r=void 0,u=void 0;return"string"==typeof n?(r=n,u=i[r]||t.options_[r]||{}):(r=n.name,u=n),{name:r,opts:u}}).filter(function(t){var i=n.getComponent(t.opts.componentClass||o["default"](t.name));return i&&!e.isTech(i)}).forEach(f)}()},n.prototype.buildCSSClass=function(){return""},n.prototype.on=function(n,t,i){var r=this;return"string"==typeof n||Array.isArray(n)?e.on(this.el_,n,f.bind(this,t)):!function(){var u=n,h=t,o=f.bind(r,i),c=function(){return r.off(u,h,o)},s;c.guid=o.guid;r.on("dispose",c);s=function(){return r.off("dispose",c)};s.guid=o.guid;n.nodeName?(e.on(u,h,o),e.on(u,"dispose",s)):"function"==typeof n.on&&(u.on(h,o),u.on("dispose",s))}(),this},n.prototype.off=function(n,t,i){if(!n||"string"==typeof n||Array.isArray(n))e.off(this.el_,n,t);else{var u=n,o=t,r=f.bind(this,i);this.off("dispose",r);n.nodeName?(e.off(u,o,r),e.off(u,"dispose",r)):(u.off(o,r),u.off("dispose",r))}return this},n.prototype.one=function(n,t,i){var r=this,u=arguments;return"string"==typeof n||Array.isArray(n)?e.one(this.el_,n,f.bind(this,t)):!function(){var e=n,o=t,s=f.bind(r,i),h=function c(){r.off(e,o,c);s.apply(null,u)};h.guid=s.guid;r.on(e,o,h)}(),this},n.prototype.trigger=function(n,t){return e.trigger(this.el_,n,t),this},n.prototype.ready=function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n&&(this.isReady_?t?n.call(this):this.setTimeout(n,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(n))),this},n.prototype.triggerReady=function(){this.isReady_=!0;this.setTimeout(function(){var n=this.readyQueue_;this.readyQueue_=[];n&&n.length>0&&n.forEach(function(n){n.call(this)},this);this.trigger("ready")},1)},n.prototype.$=function(n,t){return r.$(n,t||this.contentEl())},n.prototype.$$=function(n,t){return r.$$(n,t||this.contentEl())},n.prototype.hasClass=function(n){return r.hasElClass(this.el_,n)},n.prototype.addClass=function(n){return r.addElClass(this.el_,n),this},n.prototype.removeClass=function(n){return r.removeElClass(this.el_,n),this},n.prototype.toggleClass=function(n,t){return r.toggleElClass(this.el_,n,t),this},n.prototype.show=function(){return this.removeClass("vjs-hidden"),this},n.prototype.hide=function(){return this.addClass("vjs-hidden"),this},n.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},n.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},n.prototype.getAttribute=function(n){return r.getAttribute(this.el_,n)},n.prototype.setAttribute=function(n,t){return r.setAttribute(this.el_,n,t),this},n.prototype.removeAttribute=function(n){return r.removeAttribute(this.el_,n),this},n.prototype.width=function(n,t){return this.dimension("width",n,t)},n.prototype.height=function(n,t){return this.dimension("height",n,t)},n.prototype.dimensions=function(n,t){return this.width(n,!0).height(t)},n.prototype.dimension=function(n,t,i){if(void 0!==t)return null!==t&&t===t||(t=0),this.el_.style[n]=(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?t:"auto"===t?"":t+"px",i||this.trigger("resize"),this;if(!this.el_)return 0;var r=this.el_.style[n],u=r.indexOf("px");return u!==-1?parseInt(r.slice(0,u),10):parseInt(this.el_["offset"+o["default"](n)],10)},n.prototype.currentDimension=function(n){var t=0,i,r;if("width"!==n&&"height"!==n)throw new Error("currentDimension only accepts width or height value");return"function"==typeof u["default"].getComputedStyle&&(i=u["default"].getComputedStyle(this.el_),t=i.getPropertyValue(n)||i[n]),(t=parseFloat(t),0===t)&&(r="offset"+o["default"](n),t=this.el_[r]),t},n.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},n.prototype.currentWidth=function(){return this.currentDimension("width")},n.prototype.currentHeight=function(){return this.currentDimension("height")},n.prototype.emitTapEvents=function(){var r=0,n=null,u=10,f=200,t=void 0,i;this.on("touchstart",function(i){1===i.touches.length&&(n={pageX:i.touches[0].pageX,pageY:i.touches[0].pageY},r=(new Date).getTime(),t=!0)});this.on("touchmove",function(i){if(i.touches.length>1)t=!1;else if(n){var r=i.touches[0].pageX-n.pageX,f=i.touches[0].pageY-n.pageY,e=Math.sqrt(r*r+f*f);e>u&&(t=!1)}});i=function(){t=!1};this.on("touchleave",i);this.on("touchcancel",i);this.on("touchend",function(i){if(n=null,t===!0){var u=(new Date).getTime()-r;u<f&&(i.preventDefault(),this.trigger("tap"))}})},n.prototype.enableTouchActivity=function(){var n,t,i;if(this.player()&&this.player().reportUserActivity){n=f.bind(this.player(),this.player().reportUserActivity);t=void 0;this.on("touchstart",function(){n();this.clearInterval(t);t=this.setInterval(n,250)});i=function(){n();this.clearInterval(t)};this.on("touchmove",n);this.on("touchend",i);this.on("touchcancel",i)}},n.prototype.setTimeout=function(n,t){n=f.bind(this,n);var i=u["default"].setTimeout(n,t),r=function(){this.clearTimeout(i)};return r.guid="vjs-timeout-"+i,this.on("dispose",r),i},n.prototype.clearTimeout=function(n){u["default"].clearTimeout(n);var t=function(){};return t.guid="vjs-timeout-"+n,this.off("dispose",t),n},n.prototype.setInterval=function(n,t){n=f.bind(this,n);var i=u["default"].setInterval(n,t),r=function(){this.clearInterval(i)};return r.guid="vjs-interval-"+i,this.on("dispose",r),i},n.prototype.clearInterval=function(n){u["default"].clearInterval(n);var t=function(){};return t.guid="vjs-interval-"+n,this.off("dispose",t),n},n.registerComponent=function(t,i){if(t)return t=o["default"](t),n.components_||(n.components_={}),"Player"===t&&n.components_[t]&&!function(){var i=n.components_[t];if(i.players&&Object.keys(i.players).length>0&&Object.keys(i.players).map(function(n){return i.players[n]}).every(Boolean))throw new Error("Can not register Player component after player has been created");}(),n.components_[t]=i,i},n.getComponent=function(t){if(t)return t=o["default"](t),n.components_&&n.components_[t]?n.components_[t]:u["default"]&&u["default"].videojs&&u["default"].videojs[t]?(c["default"].warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),u["default"].videojs[t]):void 0},n.extend=function(t){var u,i,r;t=t||{};c["default"].warn("Component.extend({}) has been deprecated,  use videojs.extend(Component, {}) instead");u=t.init||t.init||this.prototype.init||this.prototype.init||function(){};i=function(){u.apply(this,arguments)};i.prototype=Object.create(this.prototype);i.prototype.constructor=i;i.extend=n.extend;for(r in t)t.hasOwnProperty(r)&&(i.prototype[r]=t[r]);return i},n}();a.registerComponent("Component",a);i["default"]=a},{81:81,82:82,83:83,85:85,86:86,87:87,91:91,95:95}],6:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(36),h=r(s),c=n(5),l=r(c),a=n(7),v=r(a),u=function(n){function t(i){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;return f(this,t),u.tracks=i.audioTracks&&i.audioTracks(),r=e(this,n.call(this,i,u)),r.el_.setAttribute("aria-label","Audio Menu"),r}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+n.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=this.player_.audioTracks&&this.player_.audioTracks(),n,r;if(!i)return t;for(n=0;n<i.length;n++)r=i[n],t.push(new v["default"](this.player_,{track:r,selectable:!0}));return t},t}(h["default"]);u.prototype.controlText_="Audio Track";l["default"].registerComponent("AudioTrackButton",u);i["default"]=u},{36:36,5:5,7:7}],7:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(48),c=r(h),l=n(5),a=r(l),v=n(83),y=f(v),u=function(n){function t(i,r){var f,s,u;return e(this,t),f=r.track,s=i.audioTracks(),r.label=f.label||f.language||"Unknown",r.selected=f.enabled,u=o(this,n.call(this,i,r)),u.track=f,s&&!function(){var n=y.bind(u,u.handleTracksChange);s.addEventListener("change",n);u.on("dispose",function(){s.removeEventListener("change",n)})}(),u}return s(t,n),t.prototype.handleClick=function(t){var r=this.player_.audioTracks(),i,u;if(n.prototype.handleClick.call(this,t),r)for(i=0;i<r.length;i++)u=r[i],u.enabled=u===this.track},t.prototype.handleTracksChange=function(){this.selected(this.track.enabled)},t}(c["default"]);a["default"].registerComponent("AudioTrackMenuItem",u);i["default"]=u},{48:48,5:5,83:83}],8:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(12);n(32);n(33);n(35);n(34);n(10);n(18);n(9);n(38);n(40);n(11);n(25);n(27);n(29);n(24);n(6);n(13);n(21);r=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(u["default"]);r.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]};u["default"].registerComponent("ControlBar",r);i["default"]=r},{10:10,11:11,12:12,13:13,18:18,21:21,24:24,25:25,27:27,29:29,32:32,33:33,34:34,35:35,38:38,40:40,5:5,6:6,9:9}],9:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(2),h=u(s),c=n(5),l=u(c),r=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.on(i,"fullscreenchange",u.handleFullscreenChange),u}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(h["default"]);r.prototype.controlText_="Fullscreen";l["default"].registerComponent("FullscreenToggle",r);i["default"]=r},{2:2,5:5}],10:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),r=e(c),l=n(81),a=f(l),u=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.updateShowing(),u.on(u.player(),"durationchange",u.updateShowing),u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"<\/span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},t}(r["default"]);r["default"].registerComponent("LiveDisplay",u);i["default"]=u},{5:5,81:81}],11:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(2),l=u(c),a=n(5),v=u(a),y=n(81),f=e(y),r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"volumechange",u.update),i.tech_&&i.tech_.featuresVolumeControl===!1&&u.addClass("vjs-hidden"),u.on(i,"loadstart",function(){this.update();i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),u}return h(t,n),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.player_.muted(!this.player_.muted())},t.prototype.update=function(){var i=this.player_.volume(),n=3,r,t;for(0===i||this.player_.muted()?n=0:i<.33?n=1:i<.67&&(n=2),r=this.player_.muted()?"Unmute":"Mute",this.controlText()!==r&&this.controlText(r),t=0;t<4;t++)f.removeElClass(this.el_,"vjs-vol-"+t);f.addElClass(this.el_,"vjs-vol-"+n)},t}(l["default"]);r.prototype.controlText_="Mute";v["default"].registerComponent("MuteToggle",r);i["default"]=r},{2:2,5:5,81:81}],12:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(2),h=u(s),c=n(5),l=u(c),r=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.on(i,"play",u.handlePlay),u.on(i,"pause",u.handlePause),u}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-play-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handlePlay=function(){this.removeClass("vjs-paused");this.addClass("vjs-playing");this.controlText("Pause")},t.prototype.handlePause=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.controlText("Play")},t}(h["default"]);r.prototype.controlText_="Play";l["default"].registerComponent("PlayToggle",r);i["default"]=r},{2:2,5:5}],13:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(47),c=r(h),l=n(49),a=r(l),v=n(14),y=r(v),p=n(5),w=r(p),b=n(81),k=f(b),u=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));return u.updateVisibility(),u.updateLabel(),u.on(i,"loadstart",u.updateVisibility),u.on(i,"ratechange",u.updateLabel),u}return s(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelEl_=k.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},t.prototype.buildCSSClass=function(){return"vjs-playback-rate "+n.prototype.buildCSSClass.call(this)},t.prototype.createMenu=function(){var i=new a["default"](this.player()),t=this.playbackRates(),n;if(t)for(n=t.length-1;n>=0;n--)i.addChild(new y["default"](this.player(),{rate:t[n]+"x"}));return i},t.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},t.prototype.handleClick=function(){for(var r=this.player().playbackRate(),n=this.playbackRates(),i=n[0],t=0;t<n.length;t++)if(n[t]>r){i=n[t];break}this.player().playbackRate(i)},t.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},t.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},t.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},t.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(c["default"]);u.prototype.controlText_="Playback Rate";w["default"].registerComponent("PlaybackRateMenuButton",u);i["default"]=u},{14:14,47:47,49:49,5:5,81:81}],14:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(48),h=u(s),c=n(5),l=u(c),r=function(n){function t(i,r){var o,s,u;return f(this,t),o=r.rate,s=parseFloat(o,10),r.label=o,r.selected=1===s,u=e(this,n.call(this,i,r)),u.label=o,u.rate=s,u.on(i,"ratechange",u.update),u}return o(t,n),t.prototype.handleClick=function(){n.prototype.handleClick.call(this);this.player().playbackRate(this.rate)},t.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},t}(h["default"]);r.prototype.contentElType="button";l["default"].registerComponent("PlaybackRateMenuItem",r);i["default"]=r},{48:48,5:5}],15:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),r=e(c),l=n(81),a=f(l),u=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.partEls_=[],u.on(i,"progress",u.update),u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"<\/span>: 0%<\/span>"})},t.prototype.update=function(){var t=this.player_.buffered(),s=this.player_.duration(),f=this.player_.bufferedEnd(),i=this.partEls_,e=function(n,t){var i=n/t||0;return 100*(i>=1?1:i)+"%"},n,u;for(this.el_.style.width=e(f,s),n=0;n<t.length;n++){var o=t.start(n),h=t.end(n),r=i[n];r||(r=this.el_.appendChild(a.createEl()),i[n]=r);r.style.left=e(o,f);r.style.width=e(h-o,f)}for(u=i.length;u>t.length;u--)this.el_.removeChild(i[u-1]);i.length=t.length},t}(r["default"]);r["default"].registerComponent("LoadProgressBar",u);i["default"]=u},{5:5,81:81}],16:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function a(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var v=n(5),o=r(v),y=n(81),u=e(y),p=n(83),s=e(p),w=n(84),b=r(w),k=n(80),f=r(k),h=function(n){function t(i,r){c(this,t);var f=l(this,n.call(this,i,r));return r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(f.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),f.keepTooltipsInside&&(f.tooltip=u.createEl("div",{className:"vjs-time-tooltip"}),f.el().appendChild(f.tooltip),f.addClass("vjs-keep-tooltips-inside")),f.update(0,0),i.on("ready",function(){f.on(i.controlBar.progressControl.el(),"mousemove",s.throttle(s.bind(f,f.handleMouseMove),25))}),f}return a(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.handleMouseMove=function(n){var t=this.player_.duration(),i=this.calculateDistance(n)*t,r=n.pageX-u.findElPosition(this.el().parentNode).left;this.update(i,r)},t.prototype.update=function(n,t){var i=b["default"](n,this.player_.duration());if(this.el().style.left=t+"px",this.el().setAttribute("data-current-time",i),this.keepTooltipsInside){var r=this.clampPosition_(t),u=t-r+1,e=parseFloat(f["default"](this.tooltip,"width")),o=e/2;this.tooltip.innerHTML=i;this.tooltip.style.right="-"+(o-u)+"px"}},t.prototype.calculateDistance=function(n){return u.getPointerPosition(this.el().parentNode,n).x},t.prototype.clampPosition_=function(n){if(!this.keepTooltipsInside)return n;var r=parseFloat(f["default"](this.player().el(),"width")),u=parseFloat(f["default"](this.tooltip,"width")),t=u/2,i=n;return n<t?i=Math.ceil(t):n>r-t&&(i=Math.floor(r-t)),i},t}(o["default"]);o["default"].registerComponent("MouseTimeDisplay",h);i["default"]=h},{5:5,80:80,81:81,83:83,84:84}],17:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),u=r(c),l=n(83),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.updateDataAttr(),u.on(i,"timeupdate",u.updateDataAttr),i.ready(a.bind(u,u.updateDataAttr)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(u.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),u.keepTooltipsInside&&u.addClass("vjs-keep-tooltips-inside"),u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"<\/span>: 0%<\/span>"})},t.prototype.updateDataAttr=function(){var n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",y["default"](n,this.player_.duration()))},t}(u["default"]);u["default"].registerComponent("PlayProgressBar",f);i["default"]=f},{5:5,83:83,84:84}],18:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(19);n(16);r=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t}(u["default"]);r.prototype.options_={children:["seekBar"]};u["default"].registerComponent("ProgressControl",r);i["default"]=r},{16:16,19:19,5:5}],19:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(57),l=u(c),a=n(5),v=u(a),y=n(83),p=e(y),w=n(84),b=u(w),k=n(80),f=u(k);n(15);n(17);n(20);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"timeupdate",u.updateProgress),u.on(i,"ended",u.updateProgress),i.ready(p.bind(u,u.updateProgress)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(u.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),u.keepTooltipsInside&&(u.tooltipProgressBar=u.addChild("TooltipProgressBar")),u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},t.prototype.updateProgress=function(){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_);this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var i=parseFloat(f["default"](this.player().el(),"width")),n=parseFloat(f["default"](this.tooltipProgressBar.tooltip,"width")),t=this.tooltipProgressBar.el().style;t.maxWidth=Math.floor(i-n/2)+"px";t.minWidth=Math.ceil(n/2)+"px";t.right="-"+n/2+"px"}},t.prototype.updateAriaAttributes=function(n){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2));n.setAttribute("aria-valuetext",b["default"](t,this.player_.duration()))},t.prototype.getPercent=function(){var n=this.player_.currentTime()/this.player_.duration();return n>=1?1:n},t.prototype.handleMouseDown=function(t){n.prototype.handleMouseDown.call(this,t);this.player_.scrubbing(!0);this.videoWasPlaying=!this.player_.paused();this.player_.pause()},t.prototype.handleMouseMove=function(n){var t=this.calculateDistance(n)*this.player_.duration();t===this.player_.duration()&&(t-=.1);this.player_.currentTime(t)},t.prototype.handleMouseUp=function(t){n.prototype.handleMouseUp.call(this,t);this.player_.scrubbing(!1);this.videoWasPlaying&&this.player_.play()},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},t}(l["default"]);r.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"};r.prototype.playerEvent="timeupdate";v["default"].registerComponent("SeekBar",r);i["default"]=r},{15:15,17:17,20:20,5:5,57:57,80:80,83:83,84:84}],20:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),u=r(c),l=n(83),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.updateDataAttr(),u.on(i,"timeupdate",u.updateDataAttr),i.ready(a.bind(u,u.updateDataAttr)),u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"><\/div>\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"<\/span>: 0%<\/span>"});return this.tooltip=t.querySelector(".vjs-time-tooltip"),t},t.prototype.updateDataAttr=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=y["default"](t,this.player_.duration());this.el_.setAttribute("data-current-time",n);this.tooltip.innerHTML=n},t}(u["default"]);u["default"].registerComponent("TooltipProgressBar",f);i["default"]=f},{5:5,83:83,84:84}],21:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(22),h=r(s),c=n(5),l=r(c),u=function(n){function t(){return f(this,t),e(this,n.apply(this,arguments))}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+n.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},t}(h["default"]);l["default"].registerComponent("CustomControlSpacer",u);i["default"]=u},{22:22,5:5}],22:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(5),r=f(h),u=function(n){function t(){return e(this,t),o(this,n.apply(this,arguments))}return s(t,n),t.prototype.buildCSSClass=function(){return"vjs-spacer "+n.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(r["default"]);r["default"].registerComponent("Spacer",u);i["default"]=u},{5:5}],23:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(31),h=r(s),c=n(5),l=r(c),u=function(n){function t(i,r){f(this,t);r.track={player:i,kind:r.kind,label:r.kind+" settings",selectable:!1,"default":!1,mode:"disabled"};r.selectable=!1;var u=e(this,n.call(this,i,r));return u.addClass("vjs-texttrack-settings"),u.controlText(", opens "+r.kind+" settings dialog"),u}return o(t,n),t.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show();this.player().getChild("textTrackSettings").el_.focus()},t}(h["default"]);l["default"].registerComponent("CaptionSettingsMenuItem",u);i["default"]=u},{31:31,5:5}],24:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(30),h=u(s),c=n(5),l=u(c),a=n(23),v=u(a),r=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Captions Menu"),o}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+n.prototype.buildCSSClass.call(this)},t.prototype.update=function(){var t=2;n.prototype.update.call(this);this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(t=1);this.items&&this.items.length>t?this.show():this.hide()},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||t.push(new v["default"](this.player_,{kind:this.kind_})),n.prototype.createItems.call(this,t)},t}(h["default"]);r.prototype.kind_="captions";r.prototype.controlText_="Captions";l["default"].registerComponent("CaptionsButton",r);i["default"]=r},{23:23,30:30,5:5}],25:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(30),h=r(s),c=n(5),l=r(c),a=n(26),v=r(a),y=n(91),p=r(y),u=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Chapters Menu"),o}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},t.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack());n.prototype.update.call(this)},t.prototype.setTrack=function(n){var t,i;this.track_!==n&&((this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_)&&(t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_),t&&t.removeEventListener("load",this.updateHandler_),this.track_=null),(this.track_=n,this.track_)&&(this.track_.mode="hidden",i=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_),i&&i.addEventListener("load",this.updateHandler_)))},t.prototype.findChaptersTrack=function(){for(var i,t=this.player_.textTracks()||[],n=t.length-1;n>=0;n--)if(i=t[n],i.kind===this.kind_)return i},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(p["default"](this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),n.prototype.createMenu.call(this)},t.prototype.createItems=function(){var i=[],n,t,r,u,f;if(!this.track_||(n=this.track_.cues,!n))return i;for(t=0,r=n.length;t<r;t++)u=n[t],f=new v["default"](this.player_,{track:this.track_,cue:u}),i.push(f);return i},t}(h["default"]);u.prototype.kind_="chapters";u.prototype.controlText_="Chapters";l["default"].registerComponent("ChaptersButton",u);i["default"]=u},{26:26,30:30,5:5,91:91}],26:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(48),c=r(h),l=n(5),a=r(l),v=n(83),y=f(v),u=function(n){function t(i,r){var u;e(this,t);var s=r.track,f=r.cue,h=i.currentTime();return r.selectable=!0,r.label=f.text,r.selected=f.startTime<=h&&h<f.endTime,u=o(this,n.call(this,i,r)),u.track=s,u.cue=f,s.addEventListener("cuechange",y.bind(u,u.update)),u}return s(t,n),t.prototype.handleClick=function(){n.prototype.handleClick.call(this);this.player_.currentTime(this.cue.startTime);this.update(this.cue.startTime)},t.prototype.update=function(){var n=this.cue,t=this.player_.currentTime();this.selected(n.startTime<=t&&t<n.endTime)},t}(c["default"]);a["default"].registerComponent("ChaptersTrackMenuItem",u);i["default"]=u},{48:48,5:5,83:83}],27:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(30),c=u(h),l=n(5),a=u(l),v=n(83),y=f(v),r=function(n){function t(i,r,u){var f,s;return e(this,t),f=o(this,n.call(this,i,r,u)),f.el_.setAttribute("aria-label","Descriptions Menu"),s=i.textTracks(),s&&!function(){var n=y.bind(f,f.handleTracksChange);s.addEventListener("change",n);f.on("dispose",function(){s.removeEventListener("change",n)})}(),f}return s(t,n),t.prototype.handleTracksChange=function(){for(var t,i=this.player().textTracks(),r=!1,n=0,u=i.length;n<u;n++)if(t=i[n],t.kind!==this.kind_&&"showing"===t.mode){r=!0;break}r?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+n.prototype.buildCSSClass.call(this)},t}(c["default"]);r.prototype.kind_="descriptions";r.prototype.controlText_="Descriptions";a["default"].registerComponent("DescriptionsButton",r);i["default"]=r},{30:30,5:5,83:83}],28:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(31),h=r(s),c=n(5),l=r(c),u=function(n){function t(i,r){f(this,t);r.track={player:i,kind:r.kind,label:r.kind+" off","default":!1,mode:"disabled"};r.selectable=!0;var u=e(this,n.call(this,i,r));return u.selected(!0),u}return o(t,n),t.prototype.handleTracksChange=function(){for(var t,i=this.player().textTracks(),r=!0,n=0,u=i.length;n<u;n++)if(t=i[n],t.kind===this.track.kind&&"showing"===t.mode){r=!1;break}this.selected(r)},t}(h["default"]);l["default"].registerComponent("OffTextTrackMenuItem",u);i["default"]=u},{31:31,5:5}],29:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(30),h=u(s),c=n(5),l=u(c),r=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Subtitles Menu"),o}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},t}(h["default"]);r.prototype.kind_="subtitles";r.prototype.controlText_="Subtitles";l["default"].registerComponent("SubtitlesButton",r);i["default"]=r},{30:30,5:5}],30:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(36),h=r(s),c=n(5),l=r(c),a=n(31),v=r(a),y=n(28),p=r(y),u=function(n){function t(i){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(this,t),r.tracks=i.textTracks(),e(this,n.call(this,i,r))}return o(t,n),t.prototype.createItems=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t,i,r;if(n.push(new p["default"](this.player_,{kind:this.kind_})),t=this.player_.textTracks(),!t)return n;for(i=0;i<t.length;i++)r=t[i],r.kind===this.kind_&&n.push(new v["default"](this.player_,{track:r,selectable:!0}));return n},t}(h["default"]);l["default"].registerComponent("TextTrackButton",u);i["default"]=u},{28:28,31:31,36:36,5:5}],31:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},l=n(48),a=r(l),v=n(5),y=r(v),p=n(83),w=e(p),b=n(95),u=r(b),k=n(94),d=r(k),f=function(n){function t(i,r){var h,f,e;return o(this,t),h=r.track,f=i.textTracks(),r.label=h.label||h.language||"Unknown",r.selected=h["default"]||"showing"===h.mode,e=s(this,n.call(this,i,r)),e.track=h,f&&!function(){var n=w.bind(e,e.handleTracksChange);f.addEventListener("change",n);e.on("dispose",function(){f.removeEventListener("change",n)})}(),f&&void 0===f.onchange&&!function(){var n=void 0;e.on(["tap","click"],function(){if("object"!==c(u["default"].Event))try{n=new u["default"].Event("change")}catch(t){}n||(n=d["default"].createEvent("Event"),n.initEvent("change",!0,!0));f.dispatchEvent(n)})}(),e}return h(t,n),t.prototype.handleClick=function(t){var f=this.track.kind,u=this.player_.textTracks(),i,r;if(n.prototype.handleClick.call(this,t),u)for(i=0;i<u.length;i++)r=u[i],r.kind===f&&(r.mode=r===this.track?"showing":"disabled")},t.prototype.handleTracksChange=function(){this.selected("showing"===this.track.mode)},t}(a["default"]);y["default"].registerComponent("TextTrackMenuItem",f);i["default"]=f},{48:48,5:5,83:83,94:94,95:95}],32:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),u=r(c),l=n(81),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"timeupdate",u.updateContent),u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time <\/span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),i=this.localize("Current Time"),n=y["default"](t,this.player_.duration());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+i+"<\/span> "+n)},t}(u["default"]);u["default"].registerComponent("CurrentTimeDisplay",f);i["default"]=f},{5:5,81:81,84:84}],33:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),u=r(c),l=n(81),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"durationchange",u.updateContent),u.on(i,"timeupdate",u.updateContent),u.on(i,"loadedmetadata",u.updateContent),u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"<\/span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){var n=this.player_.duration(),t,i;n&&this.duration_!==n&&(this.duration_=n,t=this.localize("Duration Time"),i=y["default"](n),this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> "+i)},t}(u["default"]);u["default"].registerComponent("DurationDisplay",f);i["default"]=f},{5:5,81:81,84:84}],34:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),u=r(c),l=n(81),a=e(l),v=n(84),y=r(v),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.on(i,"timeupdate",u.updateContent),u.on(i,"durationchange",u.updateContent),u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"<\/span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){if(this.player_.duration()){var t=this.localize("Remaining Time"),n=y["default"](this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> -"+n)}},t}(u["default"]);u["default"].registerComponent("RemainingTimeDisplay",f);i["default"]=f},{5:5,81:81,84:84}],35:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(5),r=f(h),u=function(n){function t(){return e(this,t),o(this,n.apply(this,arguments))}return s(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/<\/span><\/div>"})},t}(r["default"]);r["default"].registerComponent("TimeDivider",u);i["default"]=u},{5:5}],36:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(47),c=r(h),l=n(5),a=r(l),v=n(83),y=e(v),f=function(n){function t(i,r){var e,f,s;return(o(this,t),e=r.tracks,f=u(this,n.call(this,i,r)),f.items.length<=1&&f.hide(),!e)?u(f):(s=y.bind(f,f.update),e.addEventListener("removetrack",s),e.addEventListener("addtrack",s),f.player_.on("dispose",function(){e.removeEventListener("removetrack",s);e.removeEventListener("addtrack",s)}),f)}return s(t,n),t}(c["default"]);a["default"].registerComponent("TrackButton",f);i["default"]=f},{47:47,5:5,83:83}],37:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var h=n(57),c=u(h),l=n(5),a=u(l),v=n(83),y=f(v);n(39);r=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));return u.on(i,"volumechange",u.updateARIAAttributes),i.ready(y.bind(u,u.updateARIAAttributes)),u}return s(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},t.prototype.handleMouseMove=function(n){this.checkMuted();this.player_.volume(this.calculateDistance(n))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted();this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted();this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(){var n=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",n);this.el_.setAttribute("aria-valuetext",n+"%")},t}(c["default"]);r.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};r.prototype.playerEvent="volumechange";a["default"].registerComponent("VolumeBar",r);i["default"]=r},{39:39,5:5,57:57,83:83}],38:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(37);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return i.tech_&&i.tech_.featuresVolumeControl===!1&&u.addClass("vjs-hidden"),u.on(i,"loadstart",function(){i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(u["default"]);r.prototype.options_={children:["volumeBar"]};u["default"].registerComponent("VolumeControl",r);i["default"]=r},{37:37,5:5}],39:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(5),r=f(h),u=function(n){function t(){return e(this,t),o(this,n.apply(this,arguments))}return s(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"><\/span>'})},t}(r["default"]);r["default"].registerComponent("VolumeLevel",u);i["default"]=u},{5:5}],40:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var l=n(83),f=o(l),a=n(5),v=r(a),y=n(54),p=r(y),w=n(53),b=r(w),k=n(11),e=r(k),d=n(37),g=r(d),u=function(n){function t(i){function f(){i.tech_&&i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;return s(this,t),void 0===u.inline&&(u.inline=!0),void 0===u.vertical&&(u.vertical=u.inline?!1:!0),u.volumeBar=u.volumeBar||{},u.volumeBar.vertical=!!u.vertical,r=h(this,n.call(this,i,u)),r.on(i,"volumechange",r.volumeUpdate),r.on(i,"loadstart",r.volumeUpdate),f.call(r),r.on(i,"loadstart",f),r.on(r.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),r.on(r.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),r.on(r.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),r.on(r.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")}),r}return c(t,n),t.prototype.buildCSSClass=function(){var t="";return t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+n.prototype.buildCSSClass.call(this)+" "+t},t.prototype.createPopup=function(){var n=new p["default"](this.player_,{contentElType:"div"}),t=new g["default"](this.player_,this.options_.volumeBar);return n.addChild(t),this.menuContent=n,this.volumeBar=t,this.attachVolumeBarEvents(),n},t.prototype.handleClick=function(){e["default"].prototype.handleClick.call(this);n.prototype.handleClick.call(this)},t.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],f.bind(this,this.handleMouseDown))},t.prototype.handleMouseDown=function(){this.on(["mousemove","touchmove"],f.bind(this.volumeBar,this.volumeBar.handleMouseMove));this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},t.prototype.handleMouseUp=function(){this.off(["mousemove","touchmove"],f.bind(this.volumeBar,this.volumeBar.handleMouseMove))},t}(b["default"]);u.prototype.volumeUpdate=e["default"].prototype.update;u.prototype.controlText_="Mute";v["default"].registerComponent("VolumeMenuButton",u);i["default"]=u},{11:11,37:37,5:5,53:53,54:54,83:83}],41:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(5),c=r(h),l=n(50),f=r(l),a=n(87),v=r(a),u=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));return u.on(i,"error",u.open),u}return s(t,n),t.prototype.buildCSSClass=function(){return"vjs-error-display "+n.prototype.buildCSSClass.call(this)},t.prototype.content=function(){var n=this.player().error();return n?this.localize(n.message):""},t}(f["default"]);u.prototype.options_=v["default"](f["default"].prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0});c["default"].registerComponent("ErrorDisplay",u);i["default"]=u},{5:5,50:50,87:87}],42:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}i.__esModule=!0;var e=n(82),u=f(e),r=function(){};r.prototype.allowedEvents_={};r.prototype.on=function(n,t){var i=this.addEventListener;this.addEventListener=function(){};u.on(this,n,t);this.addEventListener=i};r.prototype.addEventListener=r.prototype.on;r.prototype.off=function(n,t){u.off(this,n,t)};r.prototype.removeEventListener=r.prototype.off;r.prototype.one=function(n,t){var i=this.addEventListener;this.addEventListener=function(){};u.one(this,n,t);this.addEventListener=i};r.prototype.trigger=function(n){var t=n.type||n;"string"==typeof n&&(n={type:t});n=u.fixEvent(n);this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](n);u.trigger(this,n)};r.prototype.dispatchEvent=r.prototype.trigger;i["default"]=r},{82:82}],43:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f=n(86),e=r(f),o=n(88),s=function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":u(t)));n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(n.super_=t)},h=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=function(){n.apply(this,arguments)},r={},u;o.isObject(t)?("function"==typeof t.init&&(e["default"].warn("Constructor logic via init() is deprecated; please use constructor() instead."),t.constructor=t.init),t.constructor!==Object.prototype.constructor&&(i=t.constructor),r=t):"function"==typeof t&&(i=t);s(i,n);for(u in r)r.hasOwnProperty(u)&&(i.prototype[u]=r[u]);return i};i["default"]=h},{86:86,88:88}],44:[function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}}var r;i.__esModule=!0;for(var h=n(94),c=s(h),o={},u=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],l=u[0],f=void 0,e=0;e<u.length;e++)if(u[e][1]in c["default"]){f=u[e];break}if(f)for(r=0;r<f.length;r++)o[l[r]]=f[r];i["default"]=o},{94:94}],45:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(5),r=f(h),u=function(n){function t(){return e(this,t),o(this,n.apply(this,arguments))}return s(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},t}(r["default"]);r["default"].registerComponent("LoadingSpinner",u);i["default"]=u},{5:5}],46:[function(n,t,i){"use strict";function r(n){return n instanceof r?n:("number"==typeof n?this.code=n:"string"==typeof n?this.message=n:f.isObject(n)&&("number"==typeof n.code&&(this.code=n.code),f.assign(this,n)),void(this.message||(this.message=r.defaultMessages[this.code]||"")))}var f,u;for(i.__esModule=!0,f=n(88),r.prototype.code=0,r.prototype.message="",r.prototype.status=null,r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."},u=0;u<r.errorTypes.length;u++)r[r.errorTypes[u]]=u,r.prototype[r.errorTypes[u]]=u;i["default"]=r},{88:88}],47:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(3),l=r(c),a=n(5),v=r(a),y=n(49),p=r(y),w=n(81),f=u(w),b=n(83),k=u(b),d=n(91),g=r(d),e=function(n){function t(i){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;return o(this,t),r=s(this,n.call(this,i,u)),r.update(),r.enabled_=!0,r.el_.setAttribute("aria-haspopup","true"),r.el_.setAttribute("role","menuitem"),r.on("keydown",r.handleSubmenuKeyPress),r}return h(t,n),t.prototype.update=function(){var n=this.createMenu();this.menu&&this.removeChild(this.menu);this.menu=n;this.addChild(n);this.buttonPressed_=!1;this.el_.setAttribute("aria-expanded","false");this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createMenu=function(){var n=new p["default"](this.player_),i,t;if(this.options_.title&&(i=f.createEl("li",{className:"vjs-menu-title",innerHTML:g["default"](this.options_.title),tabIndex:-1}),n.children_.unshift(i),f.insertElFirst(i,n.contentEl())),this.items=this.createItems(),this.items)for(t=0;t<this.items.length;t++)n.addItem(this.items[t]);return n},t.prototype.createItems=function(){},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.one(this.menu.contentEl(),"mouseleave",k.bind(this,function(){this.unpressButton();this.el_.blur()}));this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault()):38===t.which||40===t.which?this.buttonPressed_||(this.pressButton(),t.preventDefault()):n.prototype.handleKeyPress.call(this,t)},t.prototype.handleSubmenuKeyPress=function(n){27!==n.which&&9!==n.which||(this.buttonPressed_&&this.unpressButton(),9!==n.which&&n.preventDefault())},t.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},t.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,n.prototype.disable.call(this)},t.prototype.enable=function(){return this.enabled_=!0,n.prototype.enable.call(this)},t}(l["default"]);v["default"].registerComponent("MenuButton",e);i["default"]=e},{3:3,49:49,5:5,81:81,83:83,91:91}],48:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(3),h=r(s),c=n(5),l=r(c),a=n(88),u=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.selectable=r.selectable,u.selected(r.selected),u.selectable?u.el_.setAttribute("role","menuitemcheckbox"):u.el_.setAttribute("role","menuitem"),u}return o(t,n),t.prototype.createEl=function(t,i,r){return n.prototype.createEl.call(this,"li",a.assign({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},i),r)},t.prototype.handleClick=function(){this.selected(!0)},t.prototype.selected=function(n){this.selectable&&(n?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},t}(h["default"]);l["default"].registerComponent("MenuItem",u);i["default"]=u},{3:3,5:5,88:88}],49:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),u=e(c),l=n(81),a=r(l),v=n(83),y=r(v),p=n(82),w=r(p),f=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.focusedChild_=-1,u.on("keydown",u.handleKeyPress),u}return h(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",y.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;return this.contentEl_=a.createEl(i,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu"),t=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}),t.setAttribute("role","presentation"),t.appendChild(this.contentEl_),w.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()}),t},t.prototype.handleKeyPress=function(n){37===n.which||40===n.which?(n.preventDefault(),this.stepForward()):38!==n.which&&39!==n.which||(n.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var n=0;void 0!==this.focusedChild_&&(n=this.focusedChild_+1);this.focus(n)},t.prototype.stepBack=function(){var n=0;void 0!==this.focusedChild_&&(n=this.focusedChild_-1);this.focus(n)},t.prototype.focus=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=this.children().slice(),i=n.length&&n[0].className&&/vjs-menu-title/.test(n[0].className);i&&n.shift();n.length>0&&(t<0?t=0:t>=n.length&&(t=n.length-1),this.focusedChild_=t,n[t].el_.focus())},t}(u["default"]);u["default"].registerComponent("Menu",f);i["default"]=f},{5:5,81:81,82:82,83:83}],50:[function(n,t,i){"use strict";function h(n){return n&&n.__esModule?n:{"default":n}}function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function a(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var v=n(81),r=e(v),y=n(83),o=e(y),p=n(5),s=h(p),u="vjs-modal-dialog",w=27,f=function(n){function t(i,f){c(this,t);var e=l(this,n.call(this,i,f));return e.opened_=e.hasBeenOpened_=e.hasBeenFilled_=!1,e.closeable(!e.options_.uncloseable),e.content(e.options_.content),e.contentEl_=r.createEl("div",{className:u+"-content"},{role:"document"}),e.descEl_=r.createEl("p",{className:u+"-description vjs-offscreen",id:e.el().getAttribute("aria-describedby")}),r.textContent(e.descEl_,e.description()),e.el_.appendChild(e.descEl_),e.el_.appendChild(e.contentEl_),e}return a(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},t.prototype.buildCSSClass=function(){return u+" vjs-hidden "+n.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(n){n.which===w&&this.closeable()&&this.close()},t.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},t.prototype.description=function(){var n=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(n+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),n},t.prototype.open=function(){if(!this.opened_){var n=this.player();this.trigger("beforemodalopen");this.opened_=!0;(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill();this.wasPlaying_=!n.paused();this.wasPlaying_&&n.pause();this.closeable()&&this.on(this.el_.ownerDocument,"keydown",o.bind(this,this.handleKeyPress));n.controls(!1);this.show();this.el().setAttribute("aria-hidden","false");this.trigger("modalopen");this.hasBeenOpened_=!0}return this},t.prototype.opened=function(n){return"boolean"==typeof n&&this[n?"open":"close"](),this.opened_},t.prototype.close=function(){if(this.opened_){var n=this.player();this.trigger("beforemodalclose");this.opened_=!1;this.wasPlaying_&&n.play();this.closeable()&&this.off(this.el_.ownerDocument,"keydown",o.bind(this,this.handleKeyPress));n.controls(!0);this.hide();this.el().setAttribute("aria-hidden","true");this.trigger("modalclose");this.options_.temporary&&this.dispose()}return this},t.prototype.closeable=function(n){var i,t,r;return"boolean"==typeof n&&(i=this.closeable_=!!n,t=this.getChild("closeButton"),i&&!t&&(r=this.contentEl_,this.contentEl_=this.el_,t=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(t,"close",this.close)),!i&&t&&(this.off(t,"close",this.close),this.removeChild(t),t.dispose())),this.closeable_},t.prototype.fill=function(){return this.fillWith(this.content())},t.prototype.fillWith=function(n){var t=this.contentEl(),i=t.parentNode,u=t.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,i.removeChild(t),this.empty(),r.insertContent(t,n),this.trigger("modalfill"),u?i.insertBefore(t,u):i.appendChild(t),this},t.prototype.empty=function(){return this.trigger("beforemodalempty"),r.emptyEl(this.contentEl()),this.trigger("modalempty"),this},t.prototype.content=function(n){return"undefined"!=typeof n&&(this.content_=n),this.content_},t}(s["default"]);f.prototype.options_={temporary:!0};s["default"].registerComponent("ModalDialog",f);i["default"]=f},{5:5,81:81,83:83}],51:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function rt(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function ut(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var k,o,c;i.__esModule=!0;var ft=n(5),h=r(ft),et=n(94),f=r(et),ot=n(95),v=r(ot),st=n(82),y=s(st),ht=n(81),u=s(ht),ct=n(83),p=s(ct),lt=n(85),at=s(lt),vt=n(78),yt=s(vt),pt=n(86),e=r(pt),wt=n(91),l=r(wt),bt=n(90),kt=n(79),dt=n(89),d=s(dt),gt=n(44),g=r(gt),ni=n(46),nt=r(ni),ti=n(97),ii=r(ti),w=n(88),ri=n(87),b=r(ri),ui=n(69),tt=r(ui),fi=n(50),ei=r(fi),oi=n(62),a=r(oi),si=n(63),hi=r(si),ci=n(76),li=r(ci);n(61);n(59);n(55);n(68);n(45);n(1);n(4);n(8);n(41);n(71);n(60);k=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"];o=function(n){function t(i,r,f){var h,s,o,c;if(it(this,t),i.id=i.id||"vjs_video_"+at.newGUID(),r=w.assign(t.getTagSettings(i),r),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof i.closest)h=i.closest("[lang]"),h&&(r.language=h.getAttribute("lang"));else for(s=i;s&&1===s.nodeType;){if(u.getElAttributes(s).hasOwnProperty("lang")){r.language=s.getAttribute("lang");break}s=s.parentNode}if(o=rt(this,n.call(this,null,r,f)),!o.options_||!o.options_.techOrder||!o.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");return o.tag=i,o.tagAttributes=i&&u.getElAttributes(i),o.language(o.options_.language),r.languages?!function(){var n={};Object.getOwnPropertyNames(r.languages).forEach(function(t){n[t.toLowerCase()]=r.languages[t]});o.languages_=n}():o.languages_=t.prototype.options_.languages,o.cache_={},o.poster_=r.poster||"",o.controls_=!!r.controls,i.controls=!1,o.scrubbing_=!1,o.el_=o.createEl(),c=b["default"](o.options_),r.plugins&&!function(){var n=r.plugins;Object.getOwnPropertyNames(n).forEach(function(t){"function"==typeof this[t]?this[t](n[t]):e["default"].error("Unable to find plugin:",t)},o)}(),o.options_.playerOptions=c,o.initChildren(),o.isAudio("audio"===i.nodeName.toLowerCase()),o.controls()?o.addClass("vjs-controls-enabled"):o.addClass("vjs-controls-disabled"),o.el_.setAttribute("role","region"),o.isAudio()?o.el_.setAttribute("aria-label","audio player"):o.el_.setAttribute("aria-label","video player"),o.isAudio()&&o.addClass("vjs-audio"),o.flexNotSupported_()&&o.addClass("vjs-no-flex"),yt.IS_IOS||o.addClass("vjs-workinghover"),t.players[o.id_]=o,o.userActive(!0),o.reportUserActivity(),o.listenForUserActivity_(),o.on("fullscreenchange",o.handleFullscreenChange_),o.on("stageclick",o.handleStageClick_),o}return ut(t,n),t.prototype.dispose=function(){this.trigger("dispose");this.off("dispose");this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_);t.players[this.id_]=null;this.tag&&this.tag.player&&(this.tag.player=null);this.el_&&this.el_.player&&(this.el_.player=null);this.tech_&&this.tech_.dispose();n.prototype.dispose.call(this)},t.prototype.createEl=function(){var i=this.el_=n.prototype.createEl.call(this,"div"),t=this.tag,r,e,o,s,f,h;for(t.removeAttribute("width"),t.removeAttribute("height"),r=u.getElAttributes(t),(Object.getOwnPropertyNames(r).forEach(function(n){"class"===n?i.className=r[n]:i.setAttribute(n,r[n])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=i.player=this,this.addClass("vjs-paused"),v["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0)&&(this.styleEl_=d.createStyleElement("vjs-styles-dimensions"),e=u.$(".vjs-styles-defaults"),o=u.$("head"),o.insertBefore(this.styleEl_,e?e.nextSibling:o.firstChild)),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),s=t.getElementsByTagName("a"),f=0;f<s.length;f++)h=s.item(f),u.addElClass(h,"vjs-hidden"),h.setAttribute("hidden","hidden");return t.initNetworkState_=t.networkState,t.parentNode&&t.parentNode.insertBefore(i,t),u.insertElFirst(t,i),this.children_.unshift(t),this.el_=i,i},t.prototype.width=function(n){return this.dimension("width",n)},t.prototype.height=function(n){return this.dimension("height",n)},t.prototype.dimension=function(n,t){var i=n+"_",r;if(void 0===t)return this[i]||0;if(""===t)this[i]=void 0;else{if(r=parseFloat(t),isNaN(r))return e["default"].error('Improper value "'+t+'" supplied for for '+n),this;this[i]=r}return this.updateStyleEl_(),this},t.prototype.fluid=function(n){return void 0===n?!!this.fluid_:(this.fluid_=!!n,n?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),void this.updateStyleEl_())},t.prototype.aspectRatio=function(n){if(void 0===n)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(n))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=n;this.fluid(!0);this.updateStyleEl_()},t.prototype.updateStyleEl_=function(){var u,t;if(v["default"].VIDEOJS_NO_DYNAMIC_STYLE===!0){var f="number"==typeof this.width_?this.width_:this.options_.width,e="number"==typeof this.height_?this.height_:this.options_.height,i=this.tech_&&this.tech_.el();return void(i&&(f>=0&&(i.width=f),e>=0&&(i.height=e)))}var r=void 0,o=void 0,s=void 0,n=void 0;s=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";u=s.split(":");t=u[1]/u[0];r=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/t:this.videoWidth()||300;o=void 0!==this.height_?this.height_:r*t;n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions";this.addClass(n);d.setTextContent(this.styleEl_,"\n      ."+n+" {\n        width: "+r+"px;\n        height: "+o+"px;\n      }\n\n      ."+n+".vjs-fluid {\n        padding-top: "+100*t+"%;\n      }\n    ")},t.prototype.loadTech_=function(n,t){var f=this,i,r;this.tech_&&this.unloadTech_();"Html5"!==n&&this.tag&&(a["default"].getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null);this.techName_=n;this.isReady_=!1;i=w.assign({source:t,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+n+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),"vtt.js":this.options_["vtt.js"]},this.options_[n.toLowerCase()]);this.tag&&(i.tag=this.tag);t&&(this.currentType_=t.type,t.src===this.cache_.src&&this.cache_.currentTime>0&&(i.startTime=this.cache_.currentTime),this.cache_.sources=null,this.cache_.source=t,this.cache_.src=t.src);r=a["default"].getTech(n);r||(r=h["default"].getComponent(n));this.tech_=new r(i);this.tech_.ready(p.bind(this,this.handleTechReady_),!0);tt["default"].jsonToTextTracks(this.textTracksJson_||[],this.tech_);k.forEach(function(n){f.on(f.tech_,n,f["handleTech"+l["default"](n)+"_"])});this.on(this.tech_,"loadstart",this.handleTechLoadStart_);this.on(this.tech_,"waiting",this.handleTechWaiting_);this.on(this.tech_,"canplay",this.handleTechCanPlay_);this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_);this.on(this.tech_,"playing",this.handleTechPlaying_);this.on(this.tech_,"ended",this.handleTechEnded_);this.on(this.tech_,"seeking",this.handleTechSeeking_);this.on(this.tech_,"seeked",this.handleTechSeeked_);this.on(this.tech_,"play",this.handleTechPlay_);this.on(this.tech_,"firstplay",this.handleTechFirstPlay_);this.on(this.tech_,"pause",this.handleTechPause_);this.on(this.tech_,"durationchange",this.handleTechDurationChange_);this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_);this.on(this.tech_,"error",this.handleTechError_);this.on(this.tech_,"loadedmetadata",this.updateStyleEl_);this.on(this.tech_,"posterchange",this.handleTechPosterChange_);this.on(this.tech_,"textdata",this.handleTechTextData_);this.usingNativeControls(this.techGet_("controls"));this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_();this.tech_.el().parentNode===this.el()||"Html5"===n&&this.tag||u.insertElFirst(this.tech_.el(),this.el());this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks();this.textTracks_=this.textTracks();this.audioTracks_=this.audioTracks();this.textTracksJson_=tt["default"].textTracksToJson(this.tech_);this.isReady_=!1;this.tech_.dispose();this.tech_=!1},t.prototype.tech=function(n){if(n&&n.IWillNotUseThisInPlugins)return this.tech_;var t="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";throw v["default"].alert(t),new Error(t);},t.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_();this.on(this.tech_,"mousedown",this.handleTechClick_);this.on(this.tech_,"touchstart",this.handleTechTouchStart_);this.on(this.tech_,"touchmove",this.handleTechTouchMove_);this.on(this.tech_,"touchend",this.handleTechTouchEnd_);this.on(this.tech_,"tap",this.handleTechTap_)},t.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_);this.off(this.tech_,"touchstart",this.handleTechTouchStart_);this.off(this.tech_,"touchmove",this.handleTechTouchMove_);this.off(this.tech_,"touchend",this.handleTechTouchEnd_);this.off(this.tech_,"mousedown",this.handleTechClick_)},t.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(n){e["default"]("deleting tag.poster throws in some browsers",n)}this.play()}},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended");this.error(null);this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},t.prototype.hasStarted=function(n){return void 0!==n?(this.hasStarted_!==n&&(this.hasStarted_=n,n?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended");this.removeClass("vjs-paused");this.addClass("vjs-playing");this.hasStarted(!0);this.trigger("play")},t.prototype.handleTechWaiting_=function(){var n=this;this.addClass("vjs-waiting");this.trigger("waiting");this.one("timeupdate",function(){return n.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting");this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting");this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting");this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking");this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking");this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&this.currentTime(this.options_.starttime);this.addClass("vjs-has-started");this.trigger("firstplay")},t.prototype.handleTechPause_=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.trigger("pause")},t.prototype.handleTechEnded_=function(){this.addClass("vjs-ended");this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause();this.trigger("ended")},t.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.prototype.handleTechClick_=function(n){0===n.button&&this.controls()&&(this.paused()?this.play():this.pause())},t.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},t.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.prototype.handleTechTouchEnd_=function(n){n.preventDefault()},t.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.prototype.handleStageClick_=function(){this.reportUserActivity()},t.prototype.handleTechFullscreenChange_=function(n,t){t&&this.isFullscreen(t.isFullscreen);this.trigger("fullscreenchange")},t.prototype.handleTechError_=function(){var n=this.tech_.error();this.error(n)},t.prototype.handleTechTextData_=function(){var n=null;arguments.length>1&&(n=arguments[1]);this.trigger("textdata",n)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(n,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[n](t)},!0);else try{this.tech_&&this.tech_[n](t)}catch(i){throw e["default"](i),i;}},t.prototype.techGet_=function(n){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[n]()}catch(t){throw void 0===this.tech_[n]?e["default"]("Video.js: "+n+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?(e["default"]("Video.js: "+n+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):e["default"](t),t;}},t.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},t.prototype.pause=function(){return this.techCall_("pause"),this},t.prototype.paused=function(){return this.techGet_("paused")!==!1},t.prototype.scrubbing=function(n){return void 0!==n?(this.scrubbing_=!!n,n?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},t.prototype.currentTime=function(n){return void 0!==n?(this.techCall_("setCurrentTime",n),this):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.prototype.duration=function(n){return void 0===n?this.cache_.duration||0:(n=parseFloat(n)||0,n<0&&(n=1/0),n!==this.cache_.duration&&(this.cache_.duration=n,n===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.buffered=function(){var n=this.techGet_("buffered");return n&&n.length||(n=bt.createTimeRange(0,0)),n},t.prototype.bufferedPercent=function(){return kt.bufferedPercent(this.buffered(),this.duration())},t.prototype.bufferedEnd=function(){var t=this.buffered(),i=this.duration(),n=t.end(t.length-1);return n>i&&(n=i),n},t.prototype.volume=function(n){var t=void 0;return void 0!==n?(t=Math.max(0,Math.min(1,parseFloat(n))),this.cache_.volume=t,this.techCall_("setVolume",t),this):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},t.prototype.muted=function(n){return void 0!==n?(this.techCall_("setMuted",n),this):this.techGet_("muted")||!1},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(n){return void 0!==n?(this.isFullscreen_=!!n,this):!!this.isFullscreen_},t.prototype.requestFullscreen=function(){var n=g["default"];return this.isFullscreen(!0),n.requestFullscreen?(y.on(f["default"],n.fullscreenchange,p.bind(this,function t(){this.isFullscreen(f["default"][n.fullscreenElement]);this.isFullscreen()===!1&&y.off(f["default"],n.fullscreenchange,t);this.trigger("fullscreenchange")})),this.el_[n.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.exitFullscreen=function(){var n=g["default"];return this.isFullscreen(!1),n.requestFullscreen?f["default"][n.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0;this.docOrigOverflow=f["default"].documentElement.style.overflow;y.on(f["default"],"keydown",p.bind(this,this.fullWindowOnEscKey));f["default"].documentElement.style.overflow="hidden";u.addElClass(f["default"].body,"vjs-full-window");this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(n){27===n.keyCode&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1;y.off(f["default"],"keydown",this.fullWindowOnEscKey);f["default"].documentElement.style.overflow=this.docOrigOverflow;u.removeElClass(f["default"].body,"vjs-full-window");this.trigger("exitFullWindow")},t.prototype.canPlayType=function(n){for(var i,t,u=void 0,r=0,f=this.options_.techOrder;r<f.length;r++)if(i=l["default"](f[r]),t=a["default"].getTech(i),t||(t=h["default"].getComponent(i)),t){if(t.isSupported()&&(u=t.canPlayType(n)))return u}else e["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.');return""},t.prototype.selectSource=function(n){var f=this,t=this.options_.techOrder.map(l["default"]).map(function(n){return[n,a["default"].getTech(n)||h["default"].getComponent(n)]}).filter(function(n){var i=n[0],t=n[1];return t?t.isSupported():(e["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),i=function(n,t,i){var r=void 0;return n.some(function(n){return t.some(function(t){if(r=i(n,t))return!0})}),r},r=void 0,o=function(n){return function(t,i){return n(i,t)}},u=function(n,t){var i=n[0],r=n[1];if(r.canPlaySource(t,f.options_[i.toLowerCase()]))return{source:t,tech:i}};return r=this.options_.sourceOrder?i(n,t,o(u)):i(t,n,u),r||!1},t.prototype.src=function(n){if(void 0===n)return this.techGet_("src");var t=a["default"].getTech(this.techName_);return t||(t=h["default"].getComponent(this.techName_)),Array.isArray(n)?this.sourceList_(n):"string"==typeof n?this.src({src:n}):n instanceof Object&&(n.type&&!t.canPlaySource(n,this.options_[this.techName_.toLowerCase()])?this.sourceList_([n]):(this.cache_.sources=null,this.cache_.source=n,this.cache_.src=n.src,this.currentType_=n.type||"",this.ready(function(){t.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",n):this.techCall_("src",n.src);"auto"===this.options_.preload&&this.load();this.options_.autoplay&&this.play()},!0))),this},t.prototype.sourceList_=function(n){var t=this.selectSource(n);t?(t.tech===this.techName_?this.src(t.source):this.loadTech_(t.tech,t.source),this.cache_.sources=n):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},t.prototype.load=function(){return this.techCall_("load"),this},t.prototype.reset=function(){return this.loadTech_(l["default"](this.options_.techOrder[0]),null),this.techCall_("reset"),this},t.prototype.currentSources=function(){var n=this.currentSource(),t=[];return 0!==Object.keys(n).length&&t.push(n),this.cache_.sources||t},t.prototype.currentSource=function(){var n={},t=this.currentSrc();return t&&(n.src=t),this.cache_.source||n},t.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},t.prototype.currentType=function(){return this.currentType_||""},t.prototype.preload=function(n){return void 0!==n?(this.techCall_("setPreload",n),this.options_.preload=n,this):this.techGet_("preload")},t.prototype.autoplay=function(n){return void 0!==n?(this.techCall_("setAutoplay",n),this.options_.autoplay=n,this):this.techGet_("autoplay",n)},t.prototype.loop=function(n){return void 0!==n?(this.techCall_("setLoop",n),this.options_.loop=n,this):this.techGet_("loop")},t.prototype.poster=function(n){return void 0===n?this.poster_:(n||(n=""),this.poster_=n,this.techCall_("setPoster",n),this.trigger("posterchange"),this)},t.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},t.prototype.controls=function(n){return void 0!==n?(n=!!n,this.controls_!==n&&(this.controls_=n,this.usingNativeControls()&&this.techCall_("setControls",n),n?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},t.prototype.usingNativeControls=function(n){return void 0!==n?(n=!!n,this.usingNativeControls_!==n&&(this.usingNativeControls_=n,n?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},t.prototype.error=function(n){return void 0===n?this.error_||null:null===n?(this.error_=n,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close(),this):(this.error_=new nt["default"](n),this.addClass("vjs-error"),e["default"].error("(CODE:"+this.error_.code+" "+nt["default"].errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},t.prototype.reportUserActivity=function(){this.userActivity_=!0},t.prototype.userActive=function(n){return void 0!==n?(n=!!n,n!==this.userActive_&&(this.userActive_=n,n?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(n){n.stopPropagation();n.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},t.prototype.listenForUserActivity_=function(){var t=void 0,r=void 0,u=void 0,n=p.bind(this,this.reportUserActivity),f=function(t){t.screenX===r&&t.screenY===u||(r=t.screenX,u=t.screenY,n())},e=function(){n();this.clearInterval(t);t=this.setInterval(n,250)},o=function(){n();this.clearInterval(t)},i;this.on("mousedown",e);this.on("mousemove",f);this.on("mouseup",o);this.on("keydown",n);this.on("keyup",n);i=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1;this.userActive(!0);this.clearTimeout(i);var n=this.options_.inactivityTimeout;n>0&&(i=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},n))}},250)},t.prototype.playbackRate=function(n){return void 0!==n?(this.techCall_("setPlaybackRate",n),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},t.prototype.isAudio=function(n){return void 0!==n?(this.isAudio_=!!n,this):!!this.isAudio_},t.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new li["default"],this.videoTracks_)},t.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new hi["default"],this.audioTracks_)},t.prototype.textTracks=function(){if(this.tech_)return this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){if(this.tech_)return this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){if(this.tech_)return this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(n,t,i){if(this.tech_)return this.tech_.addTextTrack(n,t,i)},t.prototype.addRemoteTextTrack=function(n,t){if(this.tech_)return this.tech_.addRemoteTextTrack(n,t)},t.prototype.removeRemoteTextTrack=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.track,i=void 0===n?arguments[0]:n;if(this.tech_)return this.tech_.removeRemoteTextTrack(i)},t.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.prototype.language=function(n){return void 0===n?this.language_:(this.language_=String(n).toLowerCase(),this)},t.prototype.languages=function(){return b["default"](t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var i=b["default"](this.options_),r=i.tracks,n,t;for(i.tracks=[],n=0;n<r.length;n++)t=r[n],t=b["default"](t),t.player=void 0,i.tracks[n]=t;return i},t.prototype.createModal=function(n,t){var r=this,i;return t=t||{},t.content=n||"",i=new ei["default"](this,t),this.addChild(i),i.on("dispose",function(){r.removeChild(i)}),i.open()},t.getTagSettings=function(n){var t={sources:[],tracks:[]},i=u.getElAttributes(n),s=i["data-setup"],r,o;if(u.hasElClass(n,"vjs-fluid")&&(i.fluid=!0),null!==s){var h=ii["default"](s||"{}"),c=h[0],a=h[1];c&&e["default"].error(c);w.assign(i,a)}if(w.assign(t,i),n.hasChildNodes())for(var l=n.childNodes,f=0,v=l.length;f<v;f++)r=l[f],o=r.nodeName.toLowerCase(),"source"===o?t.sources.push(u.getElAttributes(r)):"track"===o&&t.tracks.push(u.getElAttributes(r));return t},t.prototype.flexNotSupported_=function(){var n=f["default"].createElement("i");return!("flexBasis"in n.style||"webkitFlexBasis"in n.style||"mozFlexBasis"in n.style||"msFlexBasis"in n.style||"msFlexOrder"in n.style)},t}(h["default"]);o.players={};c=v["default"].navigator;o.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:c&&(c.languages&&c.languages[0]||c.userLanguage||c.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."};["ended","seeking","seekable","networkState","readyState"].forEach(function(n){o.prototype[n]=function(){return this.techGet_(n)}});k.forEach(function(n){o.prototype["handleTech"+l["default"](n)+"_"]=function(){return this.trigger(n)}});h["default"].registerComponent("Player",o);i["default"]=o},{1:1,4:4,41:41,44:44,45:45,46:46,5:5,50:50,55:55,59:59,60:60,61:61,62:62,63:63,68:68,69:69,71:71,76:76,78:78,79:79,8:8,81:81,82:82,83:83,85:85,86:86,87:87,88:88,89:89,90:90,91:91,94:94,95:95,97:97}],52:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var u=n(51),f=r(u),e=function(n,t){f["default"].prototype[n]=t};i["default"]=e},{51:51}],53:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(3),h=r(s),c=n(5),l=r(c),u=function(n){function t(i){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r;return f(this,t),r=e(this,n.call(this,i,u)),r.update(),r}return o(t,n),t.prototype.update=function(){var n=this.createPopup();this.popup&&this.removeChild(this.popup);this.popup=n;this.addChild(n);this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createPopup=function(){},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+n.prototype.buildCSSClass.call(this)},t}(h["default"]);l["default"].registerComponent("PopupButton",u);i["default"]=u},{3:3,5:5}],54:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(5),u=e(c),l=n(81),a=r(l),v=n(83),y=r(v),p=n(82),w=r(p),f=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",y.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;return this.contentEl_=a.createEl(i,{className:"vjs-menu-content"}),t=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}),t.appendChild(this.contentEl_),w.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()}),t},t}(u["default"]);u["default"].registerComponent("Popup",f);i["default"]=f},{5:5,81:81,82:82,83:83}],55:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(3),l=u(c),a=n(5),v=u(a),y=n(83),p=r(y),w=n(81),f=r(w),b=n(78),k=r(b),e=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));return u.update(),i.on("posterchange",p.bind(u,u.update)),u}return h(t,n),t.prototype.dispose=function(){this.player().off("posterchange",this.update);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=f.createEl("div",{className:"vjs-poster",tabIndex:-1});return k.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=f.createEl("img"),n.appendChild(this.fallbackImg_)),n},t.prototype.update=function(){var n=this.player().poster();this.setSrc(n);n?this.show():this.hide()},t.prototype.setSrc=function(n){if(this.fallbackImg_)this.fallbackImg_.src=n;else{var t="";n&&(t='url("'+n+'")');this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},t}(l["default"]);v["default"].registerComponent("PosterImage",e);i["default"]=e},{3:3,5:5,78:78,81:81,83:83}],56:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function c(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n,t){t&&(o=t);setTimeout(s,n)}var h;i.__esModule=!0;i.hasLoaded=i.autoSetupTimeout=i.autoSetup=void 0;var l=n(82),a=c(l),v=n(94),f=e(v),y=n(95),p=e(y),r=!1,o=void 0,s=function(){var i=f["default"].getElementsByTagName("video"),e=f["default"].getElementsByTagName("audio"),n=[],s,l,h,a,c,v,t,y;if(i&&i.length>0)for(s=0,l=i.length;s<l;s++)n.push(i[s]);if(e&&e.length>0)for(h=0,a=e.length;h<a;h++)n.push(e[h]);if(n&&n.length>0)for(c=0,v=n.length;c<v;c++){if(t=n[c],!t||!t.getAttribute){u(1);break}void 0===t.player&&(y=t.getAttribute("data-setup"),null!==y&&o(t))}else r||u(1)};"complete"===f["default"].readyState?r=!0:a.one(p["default"],"load",function(){r=!0});h=function(){return r};i.autoSetup=s;i.autoSetupTimeout=u;i.hasLoaded=h},{82:82,94:94,95:95}],57:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var a=n(5),u=s(a),v=n(81),r=o(v),f=n(88),e=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));return u.bar=u.getChild(u.options_.barName),u.vertical(!!u.options_.vertical),u.on("mousedown",u.handleMouseDown),u.on("touchstart",u.handleMouseDown),u.on("focus",u.handleFocus),u.on("blur",u.handleBlur),u.on("click",u.handleClick),u.on(i,"controlsvisible",u.update),u.on(i,u.playerEvent,u.update),u}return l(t,n),t.prototype.createEl=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.className=i.className+" vjs-slider",i=f.assign({tabIndex:0},i),r=f.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),n.prototype.createEl.call(this,t,i,r)},t.prototype.handleMouseDown=function(n){var t=this.bar.el_.ownerDocument;n.preventDefault();r.blockTextSelection();this.addClass("vjs-sliding");this.trigger("slideractive");this.on(t,"mousemove",this.handleMouseMove);this.on(t,"mouseup",this.handleMouseUp);this.on(t,"touchmove",this.handleMouseMove);this.on(t,"touchend",this.handleMouseUp);this.handleMouseMove(n)},t.prototype.handleMouseMove=function(){},t.prototype.handleMouseUp=function(){var n=this.bar.el_.ownerDocument;r.unblockTextSelection();this.removeClass("vjs-sliding");this.trigger("sliderinactive");this.off(n,"mousemove",this.handleMouseMove);this.off(n,"mouseup",this.handleMouseUp);this.off(n,"touchmove",this.handleMouseMove);this.off(n,"touchend",this.handleMouseUp);this.update()},t.prototype.update=function(){var n,t,i;this.el_&&(n=this.getPercent(),t=this.bar,t&&(("number"!=typeof n||n!==n||n<0||n===1/0)&&(n=0),i=(100*n).toFixed(2)+"%",this.vertical()?t.el().style.height=i:t.el().style.width=i))},t.prototype.calculateDistance=function(n){var t=r.getPointerPosition(this.el_,n);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(n){37===n.which||40===n.which?(n.preventDefault(),this.stepBack()):38!==n.which&&39!==n.which||(n.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(n){n.stopImmediatePropagation();n.preventDefault()},t.prototype.vertical=function(n){return void 0===n?this.vertical_||!1:(this.vertical_=!!n,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},t}(u["default"]);u["default"].registerComponent("Slider",e);i["default"]=e},{5:5,81:81,88:88}],58:[function(n,t,i){"use strict";function r(n){return n.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},n.streamFromParts=function(n,t){return n+"&"+t},n.streamToParts=function(n){var r={connection:"",stream:""},t,i;return n?(t=n.search(/&(?!\w+=)/),i=void 0,t!==-1?i=t+1:(t=i=n.lastIndexOf("/")+1,0===t&&(t=i=n.length)),r.connection=n.substring(0,t),r.stream=n.substring(i,n.length),r):r},n.isStreamingType=function(t){return t in n.streamingFormats},n.RTMP_RE=/^rtmp[set]?:\/\//i,n.isStreamingSrc=function(t){return n.RTMP_RE.test(t)},n.rtmpSourceHandler={},n.rtmpSourceHandler.canPlayType=function(t){return n.isStreamingType(t)?"maybe":""},n.rtmpSourceHandler.canHandleSource=function(t){var i=n.rtmpSourceHandler.canPlayType(t.type);return i?i:n.isStreamingSrc(t.src)?"maybe":""},n.rtmpSourceHandler.handleSource=function(t,i){var r=n.streamToParts(t.src);i.setRtmpConnection(r.connection);i.setRtmpStream(r.stream)},n.registerSourceHandler(n.rtmpSourceHandler),n}i.__esModule=!0;i["default"]=r},{}],59:[function(n,t,i){"use strict";function y(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function g(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function tt(n){var t=n.charAt(0).toUpperCase()+n.slice(1);b["set"+t]=function(t){return this.el_.vjs_setProperty(n,t)}}function p(n){b[n]=function(){return this.el_.vjs_getProperty(n)}}var c;i.__esModule=!0;for(var it=n(62),l=e(it),rt=n(81),o=y(rt),ut=n(92),w=y(ut),s=n(90),ft=n(58),et=e(ft),ot=n(5),st=e(ot),ht=n(95),u=e(ht),f=n(88),a=u["default"].navigator,r=function(n){function t(i,r){d(this,t);var f=g(this,n.call(this,i,r));return i.source&&f.ready(function(){this.setSource(i.source)},!0),i.startTime&&f.ready(function(){this.load();this.play();this.currentTime(i.startTime)},!0),u["default"].videojs=u["default"].videojs||{},u["default"].videojs.Flash=u["default"].videojs.Flash||{},u["default"].videojs.Flash.onReady=t.onReady,u["default"].videojs.Flash.onEvent=t.onEvent,u["default"].videojs.Flash.onError=t.onError,f.on("seeked",function(){this.lastSeekTarget_=void 0}),f}return nt(t,n),t.prototype.createEl=function(){var n=this.options_,i;n.swf||(i="5.1.0",n.swf="//vjs.zencdn.net/swf/"+i+"/video-js.swf");var r=n.techId,u=f.assign({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:n.autoplay,preload:n.preload,loop:n.loop,muted:n.muted},n.flashVars),e=f.assign({wmode:"opaque",bgcolor:"#000000"},n.params),o=f.assign({id:r,name:r,"class":"vjs-tech"},n.attributes);return this.el_=t.embed(n.swf,u,e,o),this.el_.tech=this,this.el_},t.prototype.play=function(){this.ended()&&this.setCurrentTime(0);this.el_.vjs_play()},t.prototype.pause=function(){this.el_.vjs_pause()},t.prototype.src=function(n){return void 0===n?this.currentSrc():this.setSrc(n)},t.prototype.setSrc=function(n){var t=this;n=w.getAbsoluteURL(n);this.el_.vjs_src(n);this.autoplay()&&this.setTimeout(function(){return t.play()},0)},t.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},t.prototype.setCurrentTime=function(t){var i=this.seekable();i.length&&(t=t>i.start(0)?t:i.start(0),t=t<i.end(i.length-1)?t:i.end(i.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),n.prototype.setCurrentTime.call(this))},t.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},t.prototype.duration=function(){if(0===this.readyState())return NaN;var n=this.el_.vjs_getProperty("duration");return n>=0?n:1/0},t.prototype.load=function(){this.el_.vjs_load()},t.prototype.poster=function(){this.el_.vjs_getProperty("poster")},t.prototype.setPoster=function(){},t.prototype.seekable=function(){var n=this.duration();return 0===n?s.createTimeRange():s.createTimeRange(0,n)},t.prototype.buffered=function(){var n=this.el_.vjs_getProperty("buffered");return 0===n.length?s.createTimeRange():s.createTimeRange(n[0][0],n[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(l["default"]),b=r.prototype,v="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),k="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),h=0;h<v.length;h++)p(v[h]),tt(v[h]);for(c=0;c<k.length;c++)p(k[c]);r.isSupported=function(){return r.version()[0]>=10};l["default"].withSourceHandlers(r);r.nativeSourceHandler={};r.nativeSourceHandler.canPlayType=function(n){return n in r.formats?"maybe":""};r.nativeSourceHandler.canHandleSource=function(n){function i(n){var t=w.getFileExtension(n);return t?"video/"+t:""}var t=void 0;return t=n.type?n.type.replace(/;.*/,"").toLowerCase():i(n.src),r.nativeSourceHandler.canPlayType(t)};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);r.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};r.onReady=function(n){var i=o.getEl(n),t=i&&i.tech;t&&t.el()&&r.checkReady(t)};r.checkReady=function(n){n.el()&&(n.el().vjs_getProperty?n.triggerReady():this.setTimeout(function(){r.checkReady(n)},50))};r.onEvent=function(n,t){var i=o.getEl(n).tech,r=Array.prototype.slice.call(arguments,2);i.setTimeout(function(){i.trigger(t,r)},1)};r.onError=function(n,t){var i=o.getEl(n).tech;return"srcnotfound"===t?i.error(4):void i.error("FLASH: "+t)};r.version=function(){var n="0,0,0";try{n=new u["default"].ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{a.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(n=(a.plugins["Shockwave Flash 2.0"]||a.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(i){}}return n.split(",")};r.embed=function(n,t,i,u){var f=r.getEmbedCode(n,t,i,u);return o.createEl("div",{innerHTML:f}).childNodes[0]};r.getEmbedCode=function(n,t,i,r){var u="",e="",o="";return t&&Object.getOwnPropertyNames(t).forEach(function(n){u+=n+"="+t[n]+"&amp;"}),i=f.assign({movie:n,flashvars:u,allowScriptAccess:"always",allowNetworking:"all"},i),Object.getOwnPropertyNames(i).forEach(function(n){e+='<param name="'+n+'" value="'+i[n]+'" />'}),r=f.assign({data:n,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(n){o+=n+'="'+r[n]+'" '}),'<object type="application/x-shockwave-flash" '+o+">"+e+"<\/object>"};et["default"](r);st["default"].registerComponent("Flash",r);l["default"].registerTech("Flash",r);i["default"]=r},{5:5,58:58,62:62,81:81,88:88,90:90,92:92,95:95}],60:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function k(n,t){return n.raw=t,n}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function g(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var o;i.__esModule=!0;var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},tt=k(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."]),it=n(62),c=f(it),rt=n(5),ut=f(rt),ft=n(81),l=s(ft),et=n(92),p=s(et),ot=n(83),a=s(ot),st=n(86),w=f(st),ht=n(98),ct=f(ht),lt=n(78),u=s(lt),at=n(94),h=f(at),vt=n(95),b=f(vt),yt=n(88),pt=n(87),wt=f(pt),bt=n(91),v=f(bt),r=function(n){function t(i,r){var e,b,o,k;d(this,t);var f=g(this,n.call(this,i,r)),s=i.source,h=!1;if(s&&(f.el_.currentSrc!==s.src||i.tag&&3===i.tag.initNetworkState_)?f.setSource(s):f.handleLateInit_(f.el_),f.el_.hasChildNodes()){for(var l=f.el_.childNodes,y=l.length,c=[];y--;)e=l[y],b=e.nodeName.toLowerCase(),"track"===b&&(f.featuresNativeTextTracks?(f.remoteTextTrackEls().addTrackElement_(e),f.remoteTextTracks().addTrack_(e.track),h||f.el_.hasAttribute("crossorigin")||!p.isCrossOrigin(e.src)||(h=!0)):c.push(e));for(o=0;o<c.length;o++)f.el_.removeChild(c[o])}return k=["audio","video"],k.forEach(function(n){var r=f.el()[n+"Tracks"],i=f[n+"Tracks"](),t=v["default"](n);f["featuresNative"+t+"Tracks"]&&r&&r.addEventListener&&(f["handle"+t+"TrackChange_"]=function(){i.trigger({type:"change",target:i,currentTarget:i,srcElement:i})},f["handle"+t+"TrackAdd_"]=function(n){return i.addTrack(n.track)},f["handle"+t+"TrackRemove_"]=function(n){return i.removeTrack(n.track)},r.addEventListener("change",f["handle"+t+"TrackChange_"]),r.addEventListener("addtrack",f["handle"+t+"TrackAdd_"]),r.addEventListener("removetrack",f["handle"+t+"TrackRemove_"]),f["removeOld"+t+"Tracks_"]=function(){return f.removeOldTracks_(i,r)},f.on("loadstart",f["removeOld"+t+"Tracks_"]))}),f.featuresNativeTextTracks&&(h&&w["default"].warn(ct["default"](tt)),f.handleTextTrackChange_=a.bind(f,f.handleTextTrackChange),f.handleTextTrackAdd_=a.bind(f,f.handleTextTrackAdd),f.handleTextTrackRemove_=a.bind(f,f.handleTextTrackRemove),f.proxyNativeTextTracks_()),(u.TOUCH_ENABLED||u.IS_IPHONE||u.IS_NATIVE_ANDROID)&&i.nativeControlsForTouch===!0&&f.setControls(!0),f.proxyWebkitFullscreen_(),f.triggerReady(),f}return nt(t,n),t.prototype.dispose=function(){var i=this;["audio","video","text"].forEach(function(n){var r=v["default"](n),t=i.el_[n+"Tracks"];t&&t.removeEventListener&&(t.removeEventListener("change",i["handle"+r+"TrackChange_"]),t.removeEventListener("addtrack",i["handle"+r+"TrackAdd_"]),t.removeEventListener("removetrack",i["handle"+r+"TrackRemove_"]));t&&i.off("loadstart",i["removeOld"+r+"Tracks_"])});t.disposeMediaElement(this.el_);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=this.options_.tag,f,c,e,o,i,r,s;for(n&&this.movingMediaElementInDOM!==!1||(n?(f=n.cloneNode(!0),n.parentNode.insertBefore(f,n),t.disposeMediaElement(n),n=f):(n=h["default"].createElement("video"),c=this.options_.tag&&l.getElAttributes(this.options_.tag),e=wt["default"]({},c),u.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete e.controls,l.setElAttributes(n,yt.assign(e,{id:this.options_.techId,"class":"vjs-tech"}))),n.playerId=this.options_.playerId),o=["autoplay","preload","loop","muted"],i=o.length-1;i>=0;i--)r=o[i],s={},"undefined"!=typeof this.options_[r]&&(s[r]=this.options_[r]),l.setElAttributes(n,s);return n},t.prototype.handleLateInit_=function(n){var r=this,i,t;if(0!==n.networkState&&3!==n.networkState){if(0===n.readyState&&(i=function(){var n=!1,i=function(){n=!0},t;r.on("loadstart",i);return t=function(){n||this.trigger("loadstart")},r.on("loadedmetadata",t),r.ready(function(){this.off("loadstart",i);this.off("loadedmetadata",t);n||this.trigger("loadstart")}),{v:void 0}}(),"object"===("undefined"==typeof i?"undefined":y(i))))return i.v;t=["loadstart"];t.push("loadedmetadata");n.readyState>=2&&t.push("loadeddata");n.readyState>=3&&t.push("canplay");n.readyState>=4&&t.push("canplaythrough");this.ready(function(){t.forEach(function(n){this.trigger(n)},this)})}},t.prototype.proxyNativeTextTracks_=function(){var n=this.el().textTracks,t;if(n){for(t=0;t<n.length;t++)this.textTracks().addTrack_(n[t]);n.addEventListener&&(n.addEventListener("change",this.handleTextTrackChange_),n.addEventListener("addtrack",this.handleTextTrackAdd_),n.addEventListener("removetrack",this.handleTextTrackRemove_));this.on("loadstart",this.removeOldTextTracks_)}},t.prototype.handleTextTrackChange=function(){var n=this.textTracks();this.textTracks().trigger({type:"change",target:n,currentTarget:n,srcElement:n})},t.prototype.handleTextTrackAdd=function(n){this.textTracks().addTrack_(n.track)},t.prototype.handleTextTrackRemove=function(n){this.textTracks().removeTrack_(n.track)},t.prototype.removeOldTracks_=function(n,t){var u=[],i,r,s;if(t){for(i=0;i<n.length;i++){for(var e=n[i],o=!1,f=0;f<t.length;f++)if(t[f]===e){o=!0;break}o||u.push(e)}for(r=0;r<u.length;r++)s=u[r],n.removeTrack_(s)}},t.prototype.removeOldTextTracks_=function(){var n=this.textTracks(),t=this.el().textTracks;this.removeOldTracks_(n,t)},t.prototype.play=function(){var n=this.el_.play();void 0!==n&&"function"==typeof n.then&&n.then(null,function(){})},t.prototype.setCurrentTime=function(n){try{this.el_.currentTime=n}catch(t){w["default"](t,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var n=this,t;return this.el_.duration===1/0&&u.IS_ANDROID&&u.IS_CHROME&&0===this.el_.currentTime&&(t=function(){var t=function i(){n.el_.currentTime>0&&(n.el_.duration===1/0&&n.trigger("durationchange"),n.off("timeupdate",i))};return n.on("timeupdate",t),{v:NaN}}(),"object"===("undefined"==typeof t?"undefined":y(t)))?t.v:this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var i=this,n,t;"webkitDisplayingFullscreen"in this.el_&&(n=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},t=function(){this.one("webkitendfullscreen",n);this.trigger("fullscreenchange",{isFullscreen:!0})},this.on("webkitbeginfullscreen",t),this.on("dispose",function(){i.off("webkitbeginfullscreen",t);i.off("webkitendfullscreen",n)}))},t.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var n=b["default"].navigator&&b["default"].navigator.userAgent||"";if(/Android/.test(n)||!/Chrome|Mac OS X 10.5/.test(n))return!0}return!1},t.prototype.enterFullScreen=function(){var n=this.el_;n.paused&&n.networkState<=n.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){n.pause();n.webkitEnterFullScreen()},0)):n.webkitEnterFullScreen()},t.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},t.prototype.src=function(n){return void 0===n?this.el_.src:void this.setSrc(n)},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(n){this.el_.controls=!!n},t.prototype.addTextTrack=function(t,i,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,i,r):n.prototype.addTextTrack.call(this,t,i,r)},t.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return n.prototype.createRemoteTextTrack.call(this,t);var i=h["default"].createElement("track");return t.kind&&(i.kind=t.kind),t.label&&(i.label=t.label),(t.language||t.srclang)&&(i.srclang=t.language||t.srclang),t["default"]&&(i["default"]=t["default"]),t.id&&(i.id=t.id),t.src&&(i.src=t.src),i},t.prototype.addRemoteTextTrack=function(t,i){var r=n.prototype.addRemoteTextTrack.call(this,t,i);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(n.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var i=this.$$("track"),r=i.length;r--;)t!==i[r]&&t!==i[r].track||this.el().removeChild(i[r])},t}(c["default"]);r.TEST_VID=h["default"].createElement("video");o=h["default"].createElement("track");o.kind="captions";o.srclang="en";o.label="English";r.TEST_VID.appendChild(o);r.isSupported=function(){try{r.TEST_VID.volume=.5}catch(n){return!1}return!!r.TEST_VID.canPlayType};r.canControlVolume=function(){try{var n=r.TEST_VID.volume;return r.TEST_VID.volume=n/2+.1,n!==r.TEST_VID.volume}catch(t){return!1}};r.canControlPlaybackRate=function(){if(u.IS_ANDROID&&u.IS_CHROME)return!1;try{var n=r.TEST_VID.playbackRate;return r.TEST_VID.playbackRate=n/2+.1,n!==r.TEST_VID.playbackRate}catch(t){return!1}};r.supportsNativeTextTracks=function(){return u.IS_ANY_SAFARI};r.supportsNativeVideoTracks=function(){return!!r.TEST_VID.videoTracks};r.supportsNativeAudioTracks=function(){return!!r.TEST_VID.audioTracks};r.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"];r.prototype.featuresVolumeControl=r.canControlVolume();r.prototype.featuresPlaybackRate=r.canControlPlaybackRate();r.prototype.movingMediaElementInDOM=!u.IS_IOS;r.prototype.featuresFullscreenResize=!0;r.prototype.featuresProgressEvents=!0;r.prototype.featuresTimeupdateEvents=!0;r.prototype.featuresNativeTextTracks=r.supportsNativeTextTracks();r.prototype.featuresNativeVideoTracks=r.supportsNativeVideoTracks();r.prototype.featuresNativeAudioTracks=r.supportsNativeAudioTracks();var e=void 0,kt=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,dt=/^video\/mp4/i;r.patchCanPlayType=function(){u.ANDROID_VERSION>=4&&!u.IS_FIREFOX&&(e||(e=r.TEST_VID.constructor.prototype.canPlayType),r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&kt.test(n)?"maybe":e.call(this,n)});u.IS_OLD_ANDROID&&(e||(e=r.TEST_VID.constructor.prototype.canPlayType),r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&dt.test(n)?"maybe":e.call(this,n)})};r.unpatchCanPlayType=function(){var n=r.TEST_VID.constructor.prototype.canPlayType;return r.TEST_VID.constructor.prototype.canPlayType=e,e=null,n};r.patchCanPlayType();r.disposeMediaElement=function(n){if(n){for(n.parentNode&&n.parentNode.removeChild(n);n.hasChildNodes();)n.removeChild(n.firstChild);n.removeAttribute("src");"function"==typeof n.load&&!function(){try{n.load()}catch(t){}}()}};r.resetMediaElement=function(n){if(n){for(var t=n.querySelectorAll("source"),i=t.length;i--;)n.removeChild(t[i]);n.removeAttribute("src");"function"==typeof n.load&&!function(){try{n.load()}catch(t){}}()}};["paused","currentTime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(n){r.prototype[n]=function(){return this.el_[n]}});["volume","muted","src","poster","preload","autoplay","loop","playbackRate"].forEach(function(n){r.prototype["set"+v["default"](n)]=function(t){this.el_[n]=t}});["pause","load"].forEach(function(n){r.prototype[n]=function(){return this.el_[n]()}});c["default"].withSourceHandlers(r);r.nativeSourceHandler={};r.nativeSourceHandler.canPlayType=function(n){try{return r.TEST_VID.canPlayType(n)}catch(t){return""}};r.nativeSourceHandler.canHandleSource=function(n){if(n.type)return r.nativeSourceHandler.canPlayType(n.type);if(n.src){var t=p.getFileExtension(n.src);return r.nativeSourceHandler.canPlayType("video/"+t)}return""};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);ut["default"].registerComponent("Html5",r);c["default"].registerTech("Html5",r);i["default"]=r},{5:5,62:62,78:78,81:81,83:83,86:86,87:87,88:88,91:91,92:92,94:94,95:95,98:98}],61:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(5),u=r(h),c=n(62),l=r(c),a=n(91),v=r(a),f=function(n){function t(i,r,f){var y,h,a,s,c;if(e(this,t),y=o(this,n.call(this,i,r,f)),r.playerOptions.sources&&0!==r.playerOptions.sources.length)i.src(r.playerOptions.sources);else for(h=0,a=r.playerOptions.techOrder;h<a.length;h++)if(s=v["default"](a[h]),c=l["default"].getTech(s),s||(c=u["default"].getComponent(s)),c&&c.isSupported()){i.loadTech_(s);break}return y}return s(t,n),t}(u["default"]);u["default"].registerComponent("MediaLoader",f);i["default"]=f},{5:5,62:62,91:91}],62:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function v(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function p(n,t,i,r){var u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},e=n.textTracks(),f;return u.kind=t,i&&(u.label=i),r&&(u.language=r),u.tech=n,f=new rt["default"](u),e.addTrack_(f),f}i.__esModule=!0;var w=n(5),e=u(w),b=n(66),k=u(b),d=n(65),g=u(d),nt=n(87),tt=u(nt),it=n(72),rt=u(it),ut=n(70),o=u(ut),ft=n(76),et=u(ft),ot=n(63),st=u(ot),ht=n(83),s=l(ht),ct=n(86),h=u(ct),c=n(90),lt=n(79),at=n(46),vt=u(at),yt=n(95),f=u(yt),pt=n(94),wt=u(pt),r=function(n){function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},i;return a(this,t),r.reportTouchActivity=!1,i=v(this,n.call(this,null,r,u)),i.hasStarted_=!1,i.on("playing",function(){this.hasStarted_=!0}),i.on("loadstart",function(){this.hasStarted_=!1}),i.textTracks_=r.textTracks,i.videoTracks_=r.videoTracks,i.audioTracks_=r.audioTracks,i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(n){r["native"+n+"Tracks"]===!1&&(i["featuresNative"+n+"Tracks"]=!1)}),r.nativeCaptions===!1&&(i.featuresNativeTextTracks=!1),i.featuresNativeTextTracks||i.emulateTextTracks(),i.autoRemoteTextTracks_=new o["default"],i.initTextTrackListeners(),i.initTrackListeners(),i.emitTapEvents(),i}return y(t,n),t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange);this.manualProgress=!0;this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1;this.stopTrackingProgress();this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(){this.stopTrackingProgress();this.progressInterval=this.setInterval(s.bind(this,function(){var n=this.bufferedPercent();this.bufferedPercent_!==n&&this.trigger("progress");this.bufferedPercent_=n;1===n&&this.stopTrackingProgress()}),500)},t.prototype.onDurationChange=function(){this.duration_=this.duration()},t.prototype.buffered=function(){return c.createTimeRange(0,0)},t.prototype.bufferedPercent=function(){return lt.bufferedPercent(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0;this.on("play",this.trackCurrentTime);this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1;this.stopTrackingCurrentTime();this.off("play",this.trackCurrentTime);this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime();this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval);this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(["audio","video","text"]);this.manualProgress&&this.manualProgressOff();this.manualTimeUpdates&&this.manualTimeUpdatesOff();n.prototype.dispose.call(this)},t.prototype.clearTracks=function(n){var t=this;n=[].concat(n);n.forEach(function(n){for(var u,i=t[n+"Tracks"]()||[],r=i.length;r--;)u=i[r],"text"===n&&t.removeRemoteTextTrack(u),i.removeTrack_(u)})},t.prototype.cleanupAutoTextTracks=function(){for(var i,n=this.autoRemoteTextTracks_||[],t=n.length;t--;)i=n[t],this.removeRemoteTextTrack(i)},t.prototype.reset=function(){},t.prototype.error=function(n){return void 0!==n&&(this.error_=new vt["default"](n),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?c.createTimeRange(0,0):c.createTimeRange()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTextTrackListeners=function(){var t=s.bind(this,function(){this.trigger("texttrackchange")}),n=this.textTracks();n&&(n.addEventListener("removetrack",t),n.addEventListener("addtrack",t),this.on("dispose",s.bind(this,function(){n.removeEventListener("removetrack",t);n.removeEventListener("addtrack",t)})))},t.prototype.initTrackListeners=function(){var n=this;["video","audio"].forEach(function(t){var i=function(){n.trigger(t+"trackchange")},r=n[t+"Tracks"]();r.addEventListener("removetrack",i);r.addEventListener("addtrack",i);n.on("dispose",function(){r.removeEventListener("removetrack",i);r.removeEventListener("addtrack",i)})})},t.prototype.addWebVttScript_=function(){var n=this;f["default"].WebVTT||null===this.el().parentNode||void 0===this.el().parentNode||!function(){var t=wt["default"].createElement("script");t.src=n.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js";t.onload=function(){n.trigger("vttjsloaded")};t.onerror=function(){n.trigger("vttjserror")};n.on("dispose",function(){t.onload=null;t.onerror=null});f["default"].WebVTT=!0;n.el().parentNode.appendChild(t)}()},t.prototype.emulateTextTracks=function(){var r=this,n=this.textTracks(),t,i;n&&(this.remoteTextTracks().on("addtrack",function(n){r.textTracks().addTrack_(n.track)}),this.remoteTextTracks().on("removetrack",function(n){r.textTracks().removeTrack_(n.track)}),this.on("ready",this.addWebVttScript_),t=function(){return r.trigger("texttrackchange")},i=function(){var i,r;for(t(),i=0;i<n.length;i++)r=n[i],r.removeEventListener("cuechange",t),"showing"===r.mode&&r.addEventListener("cuechange",t)},i(),n.addEventListener("change",i),this.on("dispose",function(){n.removeEventListener("change",i)}))},t.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new et["default"],this.videoTracks_},t.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new st["default"],this.audioTracks_},t.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new o["default"],this.textTracks_},t.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new o["default"],this.remoteTextTracks_},t.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new g["default"],this.remoteTextTrackEls_},t.prototype.addTextTrack=function(n,t,i){if(!n)throw new Error("TextTrack kind is required but was not provided");return p(this,n,t,i)},t.prototype.createRemoteTextTrack=function(n){var t=tt["default"](n,{tech:this});return new k["default"](t)},t.prototype.addRemoteTextTrack=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],t=this.createRemoteTextTrack(i);return n!==!0&&n!==!1&&(h["default"].warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(t),this.remoteTextTracks().addTrack_(t.track),n!==!0&&this.autoRemoteTextTracks_.addTrack_(t.track),t},t.prototype.removeRemoteTextTrack=function(n){var t=this.remoteTextTrackEls().getTrackElementByTrack_(n);this.remoteTextTrackEls().removeTrackElement_(t);this.remoteTextTracks().removeTrack_(n);this.autoRemoteTextTracks_.removeTrack_(n)},t.prototype.setPoster=function(){},t.prototype.canPlayType=function(){return""},t.isTech=function(n){return n.prototype instanceof t||n instanceof t||n===t},t.registerTech=function(n,i){if(t.techs_||(t.techs_={}),!t.isTech(i))throw new Error("Tech "+n+" must be a Tech");return t.techs_[n]=i,i},t.getTech=function(n){return t.techs_&&t.techs_[n]?t.techs_[n]:f["default"]&&f["default"].videojs&&f["default"].videojs[n]?(h["default"].warn("The "+n+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),f["default"].videojs[n]):void 0},t}(e["default"]);r.prototype.textTracks_;r.prototype.audioTracks_;r.prototype.videoTracks_;r.prototype.featuresVolumeControl=!0;r.prototype.featuresFullscreenResize=!1;r.prototype.featuresPlaybackRate=!1;r.prototype.featuresProgressEvents=!1;r.prototype.featuresTimeupdateEvents=!1;r.prototype.featuresNativeTextTracks=!1;r.withSourceHandlers=function(n){n.registerSourceHandler=function(t,i){var r=n.sourceHandlers;r||(r=n.sourceHandlers=[]);void 0===i&&(i=r.length);r.splice(i,0,t)};n.canPlayType=function(t){for(var r=n.sourceHandlers||[],u=void 0,i=0;i<r.length;i++)if(u=r[i].canPlayType(t))return u;return""};n.selectSourceHandler=function(t,i){for(var u=n.sourceHandlers||[],f=void 0,r=0;r<u.length;r++)if(f=u[r].canHandleSource(t,i))return u[r];return null};n.canPlaySource=function(t,i){var r=n.selectSourceHandler(t,i);return r?r.canHandleSource(t,i):""};["seekable","duration"].forEach(function(n){var t=this[n];"function"==typeof t&&(this[n]=function(){return this.sourceHandler_&&this.sourceHandler_[n]?this.sourceHandler_[n].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},n.prototype);n.prototype.setSource=function(t){var i=n.selectSourceHandler(t,this.options_);return i||(n.nativeSourceHandler?i=n.nativeSourceHandler:h["default"].error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),i!==n.nativeSourceHandler&&(this.currentSource_=t,this.off(this.el_,"loadstart",n.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",n.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",n.prototype.firstLoadStartListener_)),this.sourceHandler_=i.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler),this};n.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",n.prototype.successiveLoadStartListener_)};n.prototype.successiveLoadStartListener_=function(){this.disposeSourceHandler();this.one(this.el_,"loadstart",n.prototype.successiveLoadStartListener_)};n.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null);this.cleanupAutoTextTracks();this.sourceHandler_&&(this.off(this.el_,"loadstart",n.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",n.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}};e["default"].registerComponent("Tech",r);e["default"].registerComponent("MediaTechController",r);r.registerTech("Tech",r);i["default"]=r},{46:46,5:5,63:63,65:65,66:66,70:70,72:72,76:76,79:79,83:83,86:86,87:87,90:90,94:94,95:95}],63:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(74),r=f(c),l=n(78),a=o(l),v=n(94),y=f(v),u=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].enabled=!1)},p=function(n){function t(){var l,v,f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i,o,h,c;for(s(this,t),i=void 0,o=f.length-1;o>=0;o--)if(f[o].enabled){u(f,f[o]);break}if(a.IS_IE8){i=y["default"].createElement("custom");for(h in r["default"].prototype)"constructor"!==h&&(i[h]=r["default"].prototype[h]);for(c in t.prototype)"constructor"!==c&&(i[c]=t.prototype[c])}return i=l=e(this,n.call(this,f,i)),i.changing_=!1,v=i,e(l,v)}return h(t,n),t.prototype.addTrack_=function(t){var i=this;t.enabled&&u(this,t);n.prototype.addTrack_.call(this,t);t.addEventListener&&t.addEventListener("enabledchange",function(){i.changing_||(i.changing_=!0,u(i,t),i.changing_=!1,i.trigger("change"))})},t.prototype.addTrack=function(n){this.addTrack_(n)},t.prototype.removeTrack=function(t){n.prototype.removeTrack_.call(this,t)},t}(r["default"]);i["default"]=p},{74:74,78:78,94:94}],64:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(73),h=n(75),c=r(h),l=n(87),a=r(l),v=n(78),y=f(v),p=function(n){function t(){var h,c,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r;e(this,t);var f=a["default"](l,{kind:s.AudioTrackKind[l.kind]||""}),i=h=u(this,n.call(this,f)),o=!1;if(y.IS_IE8)for(r in t.prototype)"constructor"!==r&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"enabled",{get:function(){return o},set:function(n){"boolean"==typeof n&&n!==o&&(o=n,this.trigger("enabledchange"))}}),f.enabled&&(i.enabled=f.enabled),i.loaded_=!0,c=i,u(h,c)}return o(t,n),t}(c["default"]);i["default"]=p},{73:73,75:75,78:78,87:87}],65:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var o=n(78),r=f(o),s=n(94),h=u(s),c=function(){function n(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t,i,u,o;if(e(this,n),t=this,r.IS_IE8){t=h["default"].createElement("custom");for(i in n.prototype)"constructor"!==i&&(t[i]=n.prototype[i])}for(t.trackElements_=[],Object.defineProperty(t,"length",{get:function(){return this.trackElements_.length}}),u=0,o=f.length;u<o;u++)t.addTrackElement_(f[u]);if(r.IS_IE8)return t}return n.prototype.addTrackElement_=function(n){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}});this.trackElements_.indexOf(n)===-1&&this.trackElements_.push(n)},n.prototype.getTrackElementByTrack_=function(n){for(var i=void 0,t=0,r=this.trackElements_.length;t<r;t++)if(n===this.trackElements_[t].track){i=this.trackElements_[t];break}return i},n.prototype.removeTrackElement_=function(n){for(var t=0,i=this.trackElements_.length;t<i;t++)if(n===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},n}();i["default"]=c},{78:78,94:94}],66:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var a=n(78),e=h(a),v=n(94),y=u(v),p=n(42),w=u(p),b=n(72),k=u(b),o=0,s=2,r=function(n){function t(){var v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u,r,a;c(this,t);var h=f(this,n.call(this)),l=void 0,i=h;if(e.IS_IE8){i=y["default"].createElement("custom");for(u in t.prototype)"constructor"!==u&&(i[u]=t.prototype[u])}return(r=new k["default"](v),i.kind=r.kind,i.src=r.src,i.srclang=r.language,i.label=r.label,i["default"]=r["default"],Object.defineProperty(i,"readyState",{get:function(){return l}}),Object.defineProperty(i,"track",{get:function(){return r}}),l=o,r.addEventListener("loadeddata",function(){l=s;i.trigger({type:"load",target:i})}),e.IS_IE8)?(a=i,f(h,a)):h}return l(t,n),t}(w["default"]);r.prototype.allowedEvents_={load:"load"};r.NONE=o;r.LOADING=1;r.LOADED=s;r.ERROR=3;i["default"]=r},{42:42,72:72,78:78,94:94}],67:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var o=n(78),r=f(o),s=n(94),h=u(s),c=function(){function n(t){var i,u;if(e(this,n),i=this,r.IS_IE8){i=h["default"].createElement("custom");for(u in n.prototype)"constructor"!==u&&(i[u]=n.prototype[u])}if(n.prototype.setCues_.call(i,t),Object.defineProperty(i,"length",{get:function(){return this.length_}}),r.IS_IE8)return i}return n.prototype.setCues_=function(n){var i=this.length||0,t=0,r=n.length,u;if(this.cues_=n,this.length_=n.length,u=function(n){""+n in this||Object.defineProperty(this,""+n,{get:function(){return this.cues_[n]}})},i<r)for(t=i;t<r;t++)u.call(this,t)},n.prototype.getCueById=function(n){for(var i,r=null,t=0,u=this.length;t<u;t++)if(i=this[t],i.id===n){r=i;break}return r},n}();i["default"]=c},{78:78,94:94}],68:[function(n,t,i){"use strict";function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function e(n,t){return"rgba("+parseInt(n[1]+n[1],16)+","+parseInt(n[2]+n[2],16)+","+parseInt(n[3]+n[3],16)+","+t+")"}function o(n,t,i){try{n.style[t]=i}catch(r){return}}i.__esModule=!0;var w=n(5),h=s(w),b=n(83),f=a(b),k=n(95),u=s(k),r="#222",c="#ccc",d={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},l=function(n){function t(i,r,u){v(this,t);var e=y(this,n.call(this,i,r,u));return i.on("loadstart",f.bind(e,e.toggleDisplay)),i.on("texttrackchange",f.bind(e,e.updateDisplay)),i.ready(f.bind(e,function(){var o,t,e,n;if(i.tech_&&i.tech_.featuresNativeTextTracks)return void this.hide();i.on("fullscreenchange",f.bind(this,this.updateDisplay));for(o=this.options_.playerOptions.tracks||[],t=0;t<o.length;t++)this.player_.addRemoteTextTrack(o[t]);var h={captions:1,subtitles:1},s=this.player_.textTracks(),r=void 0,u=void 0;if(s){for(e=0;e<s.length;e++)n=s[e],n["default"]&&("descriptions"!==n.kind||r?n.kind in h&&!u&&(u=n):r=n);u?u.mode="showing":r&&(r.mode="showing")}})),e}return p(t,n),t.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},t.prototype.clearDisplay=function(){"function"==typeof u["default"].WebVTT&&u["default"].WebVTT.processCues(u["default"],[],this.el_)},t.prototype.updateDisplay=function(){var t=this.player_.textTracks(),n;if(this.clearDisplay(),t){for(var i=null,r=null,u=t.length;u--;)n=t[u],"showing"===n.mode&&("descriptions"===n.kind?i=n:r=n);r?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(r)):i&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(i))}},t.prototype.updateForTrack=function(n){var h,l,i,a;if("function"==typeof u["default"].WebVTT&&n.activeCues){for(var t=this.player_.textTrackSettings.getValues(),f=[],s=0;s<n.activeCues.length;s++)f.push(n.activeCues[s]);for(u["default"].WebVTT.processCues(u["default"],f,this.el_),h=f.length;h--;)l=f[h],l&&(i=l.displayState,(t.color&&(i.firstChild.style.color=t.color),t.textOpacity&&o(i.firstChild,"color",e(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(i.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&o(i.firstChild,"backgroundColor",e(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?o(i,"backgroundColor",e(t.windowColor,t.windowOpacity)):i.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?i.firstChild.style.textShadow="2px 2px 3px "+r+", 2px 2px 4px "+r+", 2px 2px 5px "+r:"raised"===t.edgeStyle?i.firstChild.style.textShadow="1px 1px "+r+", 2px 2px "+r+", 3px 3px "+r:"depressed"===t.edgeStyle?i.firstChild.style.textShadow="1px 1px "+c+", 0 1px "+c+", -1px -1px "+r+", 0 -1px "+r:"uniform"===t.edgeStyle&&(i.firstChild.style.textShadow="0 0 4px "+r+", 0 0 4px "+r+", 0 0 4px "+r+", 0 0 4px "+r)),t.fontPercent&&1!==t.fontPercent)&&(a=u["default"].parseFloat(i.style.fontSize),i.style.fontSize=a*t.fontPercent+"px",i.style.height="auto",i.style.top="auto",i.style.bottom="2px"),t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?i.firstChild.style.fontVariant="small-caps":i.firstChild.style.fontFamily=d[t.fontFamily]))}},t}(h["default"]);h["default"].registerComponent("TextTrackDisplay",l);i["default"]=l},{5:5,83:83,95:95}],69:[function(n,t,i){"use strict";i.__esModule=!0;var r=function(n){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,i){return n[i]&&(t[i]=n[i]),t},{cues:n.cues&&Array.prototype.map.call(n.cues,function(n){return{startTime:n.startTime,endTime:n.endTime,text:n.text,id:n.id}})})},u=function(n){var t=n.$$("track"),i=Array.prototype.map.call(t,function(n){return n.track}),u=Array.prototype.map.call(t,function(n){var t=r(n.track);return n.src&&(t.src=n.src),t});return u.concat(Array.prototype.filter.call(n.textTracks(),function(n){return i.indexOf(n)===-1}).map(r))},f=function(n,t){return n.forEach(function(n){var i=t.addRemoteTextTrack(n).track;!n.src&&n.cues&&n.cues.forEach(function(n){return i.addCue(n)})}),t.textTracks()};i["default"]={textTracksToJson:u,jsonToTextTracks:f,trackToJson_:r}},{}],70:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var h=n(74),r=f(h),c=n(83),l=u(c),a=n(78),v=u(a),y=n(94),p=f(y),w=function(n){function t(){var s,h,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i,u,f;if(o(this,t),i=void 0,v.IS_IE8){i=p["default"].createElement("custom");for(u in r["default"].prototype)"constructor"!==u&&(i[u]=r["default"].prototype[u]);for(f in t.prototype)"constructor"!==f&&(i[f]=t.prototype[f])}return i=s=e(this,n.call(this,c,i)),h=i,e(s,h)}return s(t,n),t.prototype.addTrack_=function(t){n.prototype.addTrack_.call(this,t);t.addEventListener("modechange",l.bind(this,function(){this.trigger("change")}))},t}(r["default"]);i["default"]=w},{74:74,78:78,83:83,94:94}],71:[function(n,t,i){"use strict";function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function ut(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function ft(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function et(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function v(n,t){if(t&&(n=t(n)),n&&"none"!==n)return n}function ot(n,t){var i=n.options[n.options.selectedIndex].value;return v(i,t)}function st(n,t,i){if(t)for(var r=0;r<n.options.length;r++)if(v(n.options[r].value,i)===t){n.selectedIndex=r;break}}var l;i.__esModule=!0;var ht=n(95),o=e(ht),ct=n(5),y=e(ct),r=n(81),lt=n(83),at=a(lt),vt=n(88),f=a(vt),yt=n(86),p=e(yt),s="vjs-text-track-settings",w=["#000","Black"],b=["#00F","Blue"],k=["#0FF","Cyan"],d=["#0F0","Green"],g=["#F0F","Magenta"],nt=["#F00","Red"],tt=["#FFF","White"],it=["#FF0","Yellow"],h=["1","Opaque"],c=["0.5","Semi-Transparent"],rt=["0","Transparent"],u={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[w,tt,nt,d,b,it,g,k]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[h,c,rt]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[tt,w,nt,d,b,it,g,k]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],"default":2,parser:function(n){return"1.00"===n?null:Number(n)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[h,c]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[rt,c,h]}};u.windowColor.options=u.backgroundColor.options;l=function(n){function t(i,r){ut(this,t);var e=ft(this,n.call(this,i,r));return e.setDefaults(),e.hide(),e.updateDisplay=at.bind(e,e.updateDisplay),void 0===r.persistTextTrackSettings&&(e.options_.persistTextTrackSettings=e.options_.playerOptions.persistTextTrackSettings),e.on(e.$(".vjs-done-button"),"click",function(){e.saveSettings();e.hide()}),e.on(e.$(".vjs-default-button"),"click",function(){e.setDefaults();e.updateDisplay()}),f.each(u,function(n){e.on(e.$(n.selector),"change",e.updateDisplay)}),e.options_.persistTextTrackSettings&&e.restoreSettings(),e}return et(t,n),t.prototype.createElSelect_=function(n){var f=this,t=u[n],i=t.id.replace("%s",this.id_);return[r.createEl("label",{className:"vjs-label",textContent:t.label},{"for":i}),r.createEl("select",{id:i},void 0,t.options.map(function(n){return r.createEl("option",{textContent:f.localize(n[1]),value:n[0]})}))]},t.prototype.createElFgColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Text")}),t=this.createElSelect_("color"),i=r.createEl("span",{className:"vjs-text-opacity vjs-opacity"},void 0,this.createElSelect_("textOpacity"));return r.createEl("fieldset",{className:"vjs-fg-color vjs-tracksetting"},void 0,[n].concat(t,i))},t.prototype.createElBgColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Background")}),t=this.createElSelect_("backgroundColor"),i=r.createEl("span",{className:"vjs-bg-opacity vjs-opacity"},void 0,this.createElSelect_("backgroundOpacity"));return r.createEl("fieldset",{className:"vjs-bg-color vjs-tracksetting"},void 0,[n].concat(t,i))},t.prototype.createElWinColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Window")}),t=this.createElSelect_("windowColor"),i=r.createEl("span",{className:"vjs-window-opacity vjs-opacity"},void 0,this.createElSelect_("windowOpacity"));return r.createEl("fieldset",{className:"vjs-window-color vjs-tracksetting"},void 0,[n].concat(t,i))},t.prototype.createElColors_=function(){return r.createEl("div",{className:"vjs-tracksettings-colors"},void 0,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},t.prototype.createElFont_=function(){var n=r.createEl("div",{className:"vjs-font-percent vjs-tracksetting"},void 0,this.createElSelect_("fontPercent")),t=r.createEl("div",{className:"vjs-edge-style vjs-tracksetting"},void 0,this.createElSelect_("edgeStyle")),i=r.createEl("div",{className:"vjs-font-family vjs-tracksetting"},void 0,this.createElSelect_("fontFamily"));return r.createEl("div",{className:"vjs-tracksettings-font"},void 0,[n,t,i])},t.prototype.createElControls_=function(){var n=r.createEl("button",{className:"vjs-default-button",textContent:this.localize("Defaults")}),t=r.createEl("button",{className:"vjs-done-button",textContent:"Done"});return r.createEl("div",{className:"vjs-tracksettings-controls"},void 0,[n,t])},t.prototype.createEl=function(){var i=r.createEl("div",{className:"vjs-tracksettings"},void 0,[this.createElColors_(),this.createElFont_(),this.createElControls_()]),n=r.createEl("div",{className:"vjs-control-text",id:"TTsettingsDialogLabel-"+this.id_,textContent:"Caption Settings Dialog"},{"aria-level":"1",role:"heading"}),t=r.createEl("div",{className:"vjs-control-text",id:"TTsettingsDialogDescription-"+this.id_,textContent:"Beginning of dialog window. Escape will cancel and close the window."}),u=r.createEl("div",void 0,{role:"document"},[n,t,i]);return r.createEl("div",{className:"vjs-caption-settings vjs-modal-overlay",tabIndex:-1},{role:"dialog","aria-labelledby":n.id,"aria-describedby":t.id},u)},t.prototype.getValues=function(){var n=this;return f.reduce(u,function(t,i,r){var u=ot(n.$(i.selector),i.parser);return void 0!==u&&(t[r]=u),t},{})},t.prototype.setValues=function(n){var t=this;f.each(u,function(i,r){st(t.$(i.selector),n[r],i.parser)})},t.prototype.setDefaults=function(){var n=this;f.each(u,function(t){var i=t.hasOwnProperty("default")?t["default"]:0;n.$(t.selector).selectedIndex=i})},t.prototype.restoreSettings=function(){var n=void 0;try{n=JSON.parse(o["default"].localStorage.getItem(s))}catch(t){p["default"].warn(t)}n&&this.setValues(n)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var n=this.getValues();try{Object.keys(n).length?o["default"].localStorage.setItem(s,JSON.stringify(n)):o["default"].localStorage.removeItem(s)}catch(t){p["default"].warn(t)}}},t.prototype.updateDisplay=function(){var n=this.player_.getChild("textTrackDisplay");n&&n.updateDisplay()},t}(y["default"]);y["default"].registerComponent("TextTrackSettings",l);i["default"]=l},{5:5,81:81,83:83,86:86,88:88,95:95}],72:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var p=n(67),h=u(p),w=n(83),c=o(w),f=n(73),b=n(86),e=u(b),k=n(95),r=u(k),d=n(75),g=u(d),nt=n(92),tt=n(99),it=u(tt),rt=n(87),ut=u(rt),ft=n(78),et=o(ft),l=function(n,t){var i=new r["default"].WebVTT.Parser(r["default"],r["default"].vttjs,r["default"].WebVTT.StringDecoder()),u=[];i.oncue=function(n){t.addCue(n)};i.onparsingerror=function(n){u.push(n)};i.onflush=function(){t.trigger({type:"loadeddata",target:t})};i.parse(n);u.length>0&&(r["default"].console&&r["default"].console.groupCollapsed&&r["default"].console.groupCollapsed("Text Track parsing errors for "+t.src),u.forEach(function(n){return e["default"].error(n)}),r["default"].console&&r["default"].console.groupEnd&&r["default"].console.groupEnd());i.flush()},ot=function(n,t){var i={uri:n},u=nt.isCrossOrigin(n);u&&(i.cors=u);it["default"](i,c.bind(this,function(n,i,u){return n?e["default"].error(n,i):(t.loaded_=!0,void("function"!=typeof r["default"].WebVTT?t.tech_&&!function(){var n=function(){return l(u,t)};t.tech_.on("vttjsloaded",n);t.tech_.on("vttjserror",function(){e["default"].error("vttjs failed to load, stopping trying to process "+t.src);t.tech_.off("vttjsloaded",n)})}():l(u,t)))}))},a=function(n){function t(){var y,p,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i,l;if(v(this,t),!u.tech)throw new Error("A tech was not provided.");var r=ut["default"](u,{kind:f.TextTrackKind[u.kind]||"subtitles",language:u.language||u.srclang||""}),e=f.TextTrackMode[r.mode]||"disabled",b=r["default"];if("metadata"!==r.kind&&"chapters"!==r.kind||(e="hidden"),i=y=s(this,n.call(this,r)),i.tech_=r.tech,et.IS_IE8)for(l in t.prototype)"constructor"!==l&&(i[l]=t.prototype[l]);i.cues_=[];i.activeCues_=[];var k=new h["default"](i.cues_),a=new h["default"](i.activeCues_),o=!1,w=c.bind(i,function(){this.activeCues;o&&(this.trigger("cuechange"),o=!1)});return"disabled"!==e&&i.tech_.on("timeupdate",w),Object.defineProperty(i,"default",{get:function(){return b},set:function(){}}),Object.defineProperty(i,"mode",{get:function(){return e},set:function(n){f.TextTrackMode[n]&&(e=n,"showing"===e&&this.tech_.on("timeupdate",w),this.trigger("modechange"))}}),Object.defineProperty(i,"cues",{get:function(){return this.loaded_?k:null},set:function(){}}),Object.defineProperty(i,"activeCues",{get:function(){var n,r;if(!this.loaded_)return null;if(0===this.cues.length)return a;for(var i=this.tech_.currentTime(),t=[],u=0,f=this.cues.length;u<f;u++)n=this.cues[u],n.startTime<=i&&n.endTime>=i?t.push(n):n.startTime===n.endTime&&n.startTime<=i&&n.startTime+.5>=i&&t.push(n);if(o=!1,t.length!==this.activeCues_.length)o=!0;else for(r=0;r<t.length;r++)this.activeCues_.indexOf(t[r])===-1&&(o=!0);return this.activeCues_=t,a.setCues_(this.activeCues_),a},set:function(){}}),r.src?(i.src=r.src,ot(r.src,i)):i.loaded_=!0,p=i,s(y,p)}return y(t,n),t.prototype.addCue=function(n){var i=this.tech_.textTracks(),t;if(i)for(t=0;t<i.length;t++)i[t]!==this&&i[t].removeCue(n);this.cues_.push(n);this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(n){for(var r,i=!1,t=0,u=this.cues_.length;t<u;t++)r=this.cues_[t],r===n&&(this.cues_.splice(t,1),i=!0);i&&this.cues.setCues_(this.cues_)},t}(g["default"]);a.prototype.allowedEvents_={cuechange:"cuechange"};i["default"]=a},{67:67,73:73,75:75,78:78,83:83,86:86,87:87,92:92,95:95,99:99}],73:[function(n,t,i){"use strict";i.__esModule=!0;i.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"};i.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"};i.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"};i.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},{}],74:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var e;i.__esModule=!0;var c=n(42),l=u(c),a=n(78),v=o(a),y=n(94),p=u(y),r=function(n){function t(){var o,h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e,r,u;if(s(this,t),e=f(this,n.call(this)),!i&&(i=e,v.IS_IE8)){i=p["default"].createElement("custom");for(r in t.prototype)"constructor"!==r&&(i[r]=t.prototype[r])}for(i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}}),u=0;u<h.length;u++)i.addTrack_(h[u]);return o=i,f(e,o)}return h(t,n),t.prototype.addTrack_=function(n){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}});this.tracks_.indexOf(n)===-1&&(this.tracks_.push(n),this.trigger({track:n,type:"addtrack"}))},t.prototype.removeTrack_=function(n){for(var t=void 0,i=0,r=this.length;i<r;i++)if(this[i]===n){t=this[i];t.off&&t.off();this.tracks_.splice(i,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(n){for(var i,r=null,t=0,u=this.length;t<u;t++)if(i=this[t],i.id===n){r=i;break}return r},t}(l["default"]);r.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(e in r.prototype.allowedEvents_)r.prototype["on"+e]=null;i["default"]=r},{42:42,78:78,94:94}],75:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(78),h=u(s),c=n(94),l=r(c),a=n(85),v=u(a),y=n(42),p=r(y),w=function(n){function t(){var c,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o,i,u,s,a,y;if(e(this,t),o=f(this,n.call(this)),i=o,h.IS_IE8){i=l["default"].createElement("custom");for(u in t.prototype)"constructor"!==u&&(i[u]=t.prototype[u])}s={id:r.id||"vjs_track_"+v.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""};a=function(n){Object.defineProperty(i,n,{get:function(){return s[n]},set:function(){}})};for(y in s)a(y);return c=i,f(o,c)}return o(t,n),t}(p["default"]);i["default"]=w},{42:42,78:78,85:85,94:94}],76:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var c=n(74),r=f(c),l=n(78),a=o(l),v=n(94),y=f(v),u=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].selected=!1)},p=function(n){function t(){var l,v,f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i,o,h,c;for(s(this,t),i=void 0,o=f.length-1;o>=0;o--)if(f[o].selected){u(f,f[o]);break}if(a.IS_IE8){i=y["default"].createElement("custom");for(h in r["default"].prototype)"constructor"!==h&&(i[h]=r["default"].prototype[h]);for(c in t.prototype)"constructor"!==c&&(i[c]=t.prototype[c])}return i=l=e(this,n.call(this,f,i)),i.changing_=!1,Object.defineProperty(i,"selectedIndex",{get:function(){for(var n=0;n<this.length;n++)if(this[n].selected)return n;return-1},set:function(){}}),v=i,e(l,v)}return h(t,n),t.prototype.addTrack_=function(t){var i=this;t.selected&&u(this,t);n.prototype.addTrack_.call(this,t);t.addEventListener&&t.addEventListener("selectedchange",function(){i.changing_||(i.changing_=!0,u(i,t),i.changing_=!1,i.trigger("change"))})},t.prototype.addTrack=function(n){this.addTrack_(n)},t.prototype.removeTrack=function(t){n.prototype.removeTrack_.call(this,t)},t}(r["default"]);i["default"]=p},{74:74,78:78,94:94}],77:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var s=n(73),h=n(75),c=r(h),l=n(87),a=r(l),v=n(78),y=f(v),p=function(n){function t(){var h,c,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r;e(this,t);var f=a["default"](l,{kind:s.VideoTrackKind[l.kind]||""}),i=h=u(this,n.call(this,f)),o=!1;if(y.IS_IE8)for(r in t.prototype)"constructor"!==r&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"selected",{get:function(){return o},set:function(n){"boolean"==typeof n&&n!==o&&(o=n,this.trigger("selectedchange"))}}),f.selected&&(i.selected=f.selected),c=i,u(h,c)}return o(t,n),t}(c["default"]);i["default"]=p},{73:73,75:75,78:78,87:87}],78:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.BACKGROUND_SIZE_SUPPORTED=i.TOUCH_ENABLED=i.IS_ANY_SAFARI=i.IS_SAFARI=i.IE_VERSION=i.IS_IE8=i.IS_CHROME=i.IS_EDGE=i.IS_FIREFOX=i.IS_NATIVE_ANDROID=i.IS_OLD_ANDROID=i.ANDROID_VERSION=i.IS_ANDROID=i.IOS_VERSION=i.IS_IOS=i.IS_IPOD=i.IS_IPHONE=i.IS_IPAD=void 0;var a=n(94),o=e(a),v=n(95),u=e(v),r=u["default"].navigator&&u["default"].navigator.userAgent||"",s=/AppleWebKit\/([\d.]+)/i.exec(r),y=s?parseFloat(s.pop()):null,h=i.IS_IPAD=/iPad/i.test(r),p=i.IS_IPHONE=/iPhone/i.test(r)&&!h,w=i.IS_IPOD=/iPod/i.test(r),b=i.IS_IOS=p||h||w,f=(i.IOS_VERSION=function(){var n=r.match(/OS (\d+)_/i);return n&&n[1]?n[1]:null}(),i.IS_ANDROID=/Android/i.test(r)),c=i.ANDROID_VERSION=function(){var n=r.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),t,i;return n?(t=n[1]&&parseFloat(n[1]),i=n[2]&&parseFloat(n[2]),t&&i?parseFloat(n[1]+"."+n[2]):t?t:null):null}(),l=(i.IS_OLD_ANDROID=f&&/webkit/i.test(r)&&c<2.3,i.IS_NATIVE_ANDROID=f&&c<5&&y<537,i.IS_FIREFOX=/Firefox/i.test(r),i.IS_EDGE=/Edge/i.test(r)),k=i.IS_CHROME=!l&&/Chrome/i.test(r),d=(i.IS_IE8=/MSIE\s8\.0/.test(r),i.IE_VERSION=function(n){return n&&parseFloat(n[1])}(/MSIE\s(\d+)\.\d/.exec(r)),i.IS_SAFARI=/Safari/i.test(r)&&!k&&!f&&!l);i.IS_ANY_SAFARI=d||b;i.TOUCH_ENABLED=!!("ontouchstart"in u["default"]||u["default"].DocumentTouch&&o["default"]instanceof u["default"].DocumentTouch);i.BACKGROUND_SIZE_SUPPORTED="backgroundSize"in o["default"].createElement("video").style},{94:94,95:95}],79:[function(n,t,i){"use strict";function r(n,t){var f=0,e=void 0,r=void 0,i;if(!t)return 0;for(n&&n.length||(n=u.createTimeRange(0,0)),i=0;i<n.length;i++)e=n.start(i),r=n.end(i),r>t&&(r=t),f+=r-e;return f/t}i.__esModule=!0;i.bufferedPercent=r;var u=n(90)},{90:90}],80:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!n||!t)return"";if("function"==typeof r["default"].getComputedStyle){var i=r["default"].getComputedStyle(n);return i?i[t]:""}return n.currentStyle[t]||""}i.__esModule=!0;i["default"]=f;var e=n(95),r=u(e)},{95:95}],81:[function(n,t,i){"use strict";function it(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function rt(n,t){return n.raw=t,n}function c(n){return"string"==typeof n&&/\S/.test(n)}function l(n){if(/\s/.test(n))throw new Error("class has illegal whitespace characters");}function ut(n){return new RegExp("(^|\\s)"+n+"($|\\s)")}function o(n){return tt.isObject(n)&&1===n.nodeType}function a(n){return function(t,i){if(!c(t))return r["default"][n](null);c(i)&&(i=r["default"].querySelector(i));var u=o(i)?i:r["default"];return u[n]&&u[n](t)}}function ft(n){return 0===n.indexOf("#")&&(n=n.slice(1)),r["default"].getElementById(n)}function et(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments[3],n=r["default"].createElement(f);return Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];i.indexOf("aria-")!==-1||"role"===i||"type"===i?(fi["default"].warn(oi["default"](g,i,r)),n.setAttribute(i,r)):"textContent"===i?v(n,r):n[i]=r}),Object.getOwnPropertyNames(i).forEach(function(t){n.setAttribute(t,i[t])}),u&&h(n,u),n}function v(n,t){return"undefined"==typeof n.textContent?n.innerText=t:n.textContent=t,n}function ot(n,t){t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}function st(n){var t=n[u];return t||(t=n[u]=ri.newGUID()),f[t]||(f[t]={}),f[t]}function ht(n){var t=n[u];return!!t&&!!Object.getOwnPropertyNames(f[t]).length}function ct(n){var t=n[u];if(t){delete f[t];try{delete n[u]}catch(i){n.removeAttribute?n.removeAttribute(u):n[u]=null}}}function s(n,t){return l(t),n.classList?n.classList.contains(t):ut(t).test(n.className)}function y(n,t){return n.classList?n.classList.add(t):s(n,t)||(n.className=(n.className+" "+t).trim()),n}function p(n,t){return n.classList?n.classList.remove(t):(l(t),n.className=n.className.split(/\s+/).filter(function(n){return n!==t}).join(" ")),n}function lt(n,t,i){var r=s(n,t);if("function"==typeof i&&(i=i(n,t)),"boolean"!=typeof i&&(i=!r),i!==r)return i?y(n,t):p(n,t),n}function at(n,t){Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];null===r||"undefined"==typeof r||r===!1?n.removeAttribute(i):n.setAttribute(i,r===!0?"":r)})}function vt(n){var f={},i,t,r,u;if(n&&n.attributes&&n.attributes.length>0)for(i=n.attributes,t=i.length-1;t>=0;t--)r=i[t].name,u=i[t].value,"boolean"!=typeof n[r]&&",autoplay,controls,loop,muted,default,".indexOf(","+r+",")===-1||(u=null!==u),f[r]=u;return f}function yt(n,t){return n.getAttribute(t)}function pt(n,t,i){n.setAttribute(t,i)}function wt(n,t){n.removeAttribute(t)}function bt(){r["default"].body.focus();r["default"].onselectstart=function(){return!1}}function kt(){r["default"].onselectstart=function(){return!0}}function w(n){var t=void 0;if(n.getBoundingClientRect&&n.parentNode&&(t=n.getBoundingClientRect()),!t)return{left:0,top:0};var u=r["default"].documentElement,i=r["default"].body,f=u.clientLeft||i.clientLeft||0,e=nt["default"].pageXOffset||i.scrollLeft,o=t.left+e-f,s=u.clientTop||i.clientTop||0,h=nt["default"].pageYOffset||i.scrollTop,c=t.top+h-s;return{left:Math.round(o),top:Math.round(c)}}function dt(n,t){var i={},r=w(n),o=n.offsetWidth,u=n.offsetHeight,s=r.top,h=r.left,f=t.pageY,e=t.pageX;return t.changedTouches&&(e=t.changedTouches[0].pageX,f=t.changedTouches[0].pageY),i.y=Math.max(0,Math.min(1,(s-f+u)/u)),i.x=Math.max(0,Math.min(1,(e-h)/o)),i}function b(n){return tt.isObject(n)&&3===n.nodeType}function k(n){for(;n.firstChild;)n.removeChild(n.firstChild);return n}function d(n){return"function"==typeof n&&(n=n()),(Array.isArray(n)?n:[n]).map(function(n){return"function"==typeof n&&(n=n()),o(n)||b(n)?n:"string"==typeof n&&/\S/.test(n)?r["default"].createTextNode(n):void 0}).filter(function(n){return n})}function h(n,t){return d(t).forEach(function(t){return n.appendChild(t)}),n}function gt(n,t){return h(k(n),t)}var g;i.__esModule=!0;i.$$=i.$=void 0;g=rt(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]);i.isEl=o;i.getEl=ft;i.createEl=et;i.textContent=v;i.insertElFirst=ot;i.getElData=st;i.hasElData=ht;i.removeElData=ct;i.hasElClass=s;i.addElClass=y;i.removeElClass=p;i.toggleElClass=lt;i.setElAttributes=at;i.getElAttributes=vt;i.getAttribute=yt;i.setAttribute=pt;i.removeAttribute=wt;i.blockTextSelection=bt;i.unblockTextSelection=kt;i.findElPosition=w;i.getPointerPosition=dt;i.isTextNode=b;i.emptyEl=k;i.normalizeContent=d;i.appendContent=h;i.insertContent=gt;var ni=n(94),r=e(ni),ti=n(95),nt=e(ti),ii=n(85),ri=it(ii),ui=n(86),fi=e(ui),ei=n(98),oi=e(ei),tt=n(88),f={},u="vdata"+(new Date).getTime();i.$=a("querySelector");i.$$=a("querySelectorAll")},{85:85,86:86,88:88,94:94,95:95,98:98}],82:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function c(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function l(n,t){var i=r.getElData(n);0===i.handlers[t].length&&(delete i.handlers[t],n.removeEventListener?n.removeEventListener(t,i.dispatcher,!1):n.detachEvent&&n.detachEvent("on"+t,i.dispatcher));Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled);0===Object.getOwnPropertyNames(i).length&&r.removeElData(n)}function f(n,t,i,r){i.forEach(function(i){n(t,i,r)})}function e(n){function t(){return!0}function i(){return!1}return n&&n.isPropagationStopped||!function(){var r=n||g["default"].event,u,f,e;n={};for(u in r)"layerX"!==u&&"layerY"!==u&&"keyLocation"!==u&&"webkitMovementX"!==u&&"webkitMovementY"!==u&&("returnValue"===u&&r.preventDefault||(n[u]=r[u]));(n.target||(n.target=n.srcElement||h["default"]),n.relatedTarget||(n.relatedTarget=n.fromElement===n.target?n.toElement:n.fromElement),n.preventDefault=function(){r.preventDefault&&r.preventDefault();n.returnValue=!1;r.returnValue=!1;n.defaultPrevented=!0},n.defaultPrevented=!1,n.stopPropagation=function(){r.stopPropagation&&r.stopPropagation();n.cancelBubble=!0;r.cancelBubble=!0;n.isPropagationStopped=t},n.isPropagationStopped=i,n.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation();n.isImmediatePropagationStopped=t;n.stopPropagation()},n.isImmediatePropagationStopped=i,null!==n.clientX&&void 0!==n.clientX)&&(f=h["default"].documentElement,e=h["default"].body,n.pageX=n.clientX+(f&&f.scrollLeft||e&&e.scrollLeft||0)-(f&&f.clientLeft||e&&e.clientLeft||0),n.pageY=n.clientY+(f&&f.scrollTop||e&&e.scrollTop||0)-(f&&f.clientTop||e&&e.clientTop||0));n.which=n.charCode||n.keyCode;null!==n.button&&void 0!==n.button&&(n.button=1&n.button?0:4&n.button?1:2&n.button?2:0)}(),n}function o(n,t,i){if(Array.isArray(t))return f(o,n,t,i);var u=r.getElData(n);u.handlers||(u.handlers={});u.handlers[t]||(u.handlers[t]=[]);i.guid||(i.guid=y.newGUID());u.handlers[t].push(i);u.dispatcher||(u.disabled=!1,u.dispatcher=function(t,i){var r;if(!u.disabled&&(t=e(t),r=u.handlers[t.type],r))for(var o=r.slice(0),f=0,s=o.length;f<s&&!t.isImmediatePropagationStopped();f++)try{o[f].call(n,t,i)}catch(h){k["default"].error(h)}});1===u.handlers[t].length&&(n.addEventListener?n.addEventListener(t,u.dispatcher,!1):n.attachEvent&&n.attachEvent("on"+t,u.dispatcher))}function s(n,t,i){var u,h,e,o,c;if(r.hasElData(n)&&(u=r.getElData(n),u.handlers)){if(Array.isArray(t))return f(s,n,t,i);if(h=function(t){u.handlers[t]=[];l(n,t)},t){if(e=u.handlers[t],e){if(!i)return void h(t);if(i.guid)for(o=0;o<e.length;o++)e[o].guid===i.guid&&e.splice(o--,1);l(n,t)}}else for(c in u.handlers)h(c)}}function a(n,t,i){var o=r.hasElData(n)?r.getElData(n):{},u=n.parentNode||n.ownerDocument,f;return("string"==typeof t&&(t={type:t,target:n}),t=e(t),o.dispatcher&&o.dispatcher.call(n,t,i),u&&!t.isPropagationStopped()&&t.bubbles===!0)?a.call(null,u,t,i):u||t.defaultPrevented||(f=r.getElData(t.target),t.target[t.type]&&(f.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),f.disabled=!1)),!t.defaultPrevented}function v(n,t,i){if(Array.isArray(t))return f(v,n,t,i);var r=function u(){s(n,t,u);i.apply(this,arguments)};r.guid=i.guid=i.guid||y.newGUID();o(n,t,r)}i.__esModule=!0;i.fixEvent=e;i.on=o;i.off=s;i.trigger=a;i.one=v;var p=n(81),r=c(p),w=n(85),y=c(w),b=n(86),k=u(b),d=n(95),g=u(d),nt=n(94),h=u(nt)},{81:81,85:85,86:86,94:94,95:95}],83:[function(n,t,i){"use strict";i.__esModule=!0;i.throttle=i.bind=void 0;var r=n(85);i.bind=function(n,t,i){t.guid||(t.guid=r.newGUID());var u=function(){return t.apply(n,arguments)};return u.guid=i?i+"_"+t.guid:t.guid,u};i.throttle=function(n,t){var i=Date.now();return function(){var r=Date.now();r-i>=t&&(n.apply(void 0,arguments),i=r)}}},{85:85}],84:[function(n,t,i){"use strict";function r(n){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;n=n<0?0:n;var t=Math.floor(n%60),i=Math.floor(n/60%60),r=Math.floor(n/3600),f=Math.floor(u/60%60),e=Math.floor(u/3600);return(isNaN(n)||n===1/0)&&(r=i=t="-"),r=r>0||e>0?r+":":"",i=((r||f>=10)&&i<10?"0"+i:i)+":",t=t<10?"0"+t:t,r+i+t}i.__esModule=!0;i["default"]=r},{}],85:[function(n,t,i){"use strict";function r(){return u++}i.__esModule=!0;i.newGUID=r;var u=1},{}],86:[function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.logByType=void 0;var s=n(95),u=o(s),e=n(78),h=n(88),r=void 0,f=i.logByType=function(n,t){var f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!e.IE_VERSION&&e.IE_VERSION<11,i;"log"!==n&&t.unshift(n.toUpperCase()+":");r.history.push(t);t.unshift("VIDEOJS:");i=u["default"].console&&u["default"].console[n];i&&(f&&(t=t.map(function(n){if(h.isObject(n)||Array.isArray(n))try{return JSON.stringify(n)}catch(t){return String(n)}return String(n)}).join(" ")),i.apply?i[Array.isArray(t)?"apply":"call"](u["default"].console,t):i(t))};r=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];f("log",i)};r.history=[];r.error=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return f("error",i)};r.warn=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return f("warn",i)};i["default"]=r},{78:78,88:88,95:95}],87:[function(n,t,i){"use strict";function u(){for(var n={},i=arguments.length,f=Array(i),t=0;t<i;t++)f[t]=arguments[t];return f.forEach(function(t){t&&r.each(t,function(t,i){return r.isPlain(t)?(r.isPlain(n[i])||(n[i]={}),void(n[i]=u(n[i],t))):void(n[i]=t)})}),n}i.__esModule=!0;i["default"]=u;var r=n(88)},{88:88}],88:[function(n,t,i){"use strict";function r(n,t){Object.keys(n).forEach(function(i){return t(n[i],i)})}function o(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Object.keys(n).reduce(function(i,r){return t(i,n[r],r)},i)}function s(n){for(var i=arguments.length,u=Array(i>1?i-1:0),t=1;t<i;t++)u[t-1]=arguments[t];return Object.assign?Object.assign.apply(Object,[n].concat(u)):(u.forEach(function(t){t&&r(t,function(t,i){n[i]=t})}),n)}function u(n){return!!n&&"object"===("undefined"==typeof n?"undefined":f(n))}function h(n){return u(n)&&"[object Object]"===e.call(n)&&n.constructor===Object}var f,e;i.__esModule=!0;f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};i.each=r;i.reduce=o;i.assign=s;i.isObject=u;i.isPlain=h;e=Object.prototype.toString},{}],89:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.setTextContent=i.createStyleElement=void 0;var u=n(94),f=r(u);i.createStyleElement=function(n){var t=f["default"].createElement("style");return t.className=n,t};i.setTextContent=function(n,t){n.styleSheet?n.styleSheet.cssText=t:n.textContent=t}},{94:94}],90:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t,i){if(t<0||t>i)throw new Error("Failed to execute '"+n+"' on 'TimeRanges': The index provided ("+t+") is greater than or equal to the maximum bound ("+i+").");}function u(n,t,i,r){return void 0===r&&(h["default"].warn("DEPRECATED: Function '"+n+"' on 'TimeRanges' called without an index argument."),r=0),o(n,r,i.length-1),i[r][t]}function r(n){return void 0===n||0===n.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty");},end:function(){throw new Error("This TimeRanges object is empty");}}:{length:n.length,start:u.bind(null,"start",0,n),end:u.bind(null,"end",1,n)}}function f(n,t){return Array.isArray(n)?r(n):void 0===n||void 0===t?r():r([[n,t]])}i.__esModule=!0;i.createTimeRange=void 0;i.createTimeRanges=f;var s=n(86),h=e(s);i.createTimeRange=f},{86:86}],91:[function(n,t,i){"use strict";function r(n){return"string"!=typeof n?n:n.charAt(0).toUpperCase()+n.slice(1)}i.__esModule=!0;i["default"]=r},{}],92:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.isCrossOrigin=i.getFileExtension=i.getAbsoluteURL=i.parseUrl=void 0;var f=n(94),r=u(f),e=n(95),o=u(e),s=i.parseUrl=function(n){var e=["protocol","hostname","port","pathname","search","hash","host"],u=r["default"].createElement("a"),o,i,t,f;for(u.href=n,o=""===u.host&&"file:"!==u.protocol,i=void 0,o&&(i=r["default"].createElement("div"),i.innerHTML='<a href="'+n+'"><\/a>',u=i.firstChild,i.setAttribute("style","display:none; position:absolute;"),r["default"].body.appendChild(i)),t={},f=0;f<e.length;f++)t[e[f]]=u[e[f]];return"http:"===t.protocol&&(t.host=t.host.replace(/:80$/,"")),"https:"===t.protocol&&(t.host=t.host.replace(/:443$/,"")),o&&r["default"].body.removeChild(i),t};i.getAbsoluteURL=function(n){if(!n.match(/^https?:\/\//)){var t=r["default"].createElement("div");t.innerHTML='<a href="'+n+'">x<\/a>';n=t.firstChild.href}return n};i.getFileExtension=function(n){if("string"==typeof n){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(n);if(t)return t.pop().toLowerCase()}return""};i.isCrossOrigin=function(n){var t=o["default"].location,i=s(n),r=":"===i.protocol?t.protocol:i.protocol;return r+i.host!==t.protocol+t.host}},{94:94,95:95}],93:[function(t,i,r){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function u(n,t,i){var r=void 0,o,f;if(t=t||{},"string"==typeof n){if(0===n.indexOf("#")&&(n=n.slice(1)),u.getPlayers()[n])return t&&w["default"].warn('Player "'+n+'" is already initialised. Options will not be applied.'),i&&u.getPlayers()[n].ready(i),u.getPlayers()[n];r=e.getEl(n)}else r=n;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return r.player||s["default"].players[r.playerId]?r.player||s["default"].players[r.playerId]:(u.hooks("beforesetup").forEach(function(n){var i=n(r,a["default"](t));return!si.isObject(i)||Array.isArray(i)?void u.log.error("please return an object in beforesetup hooks"):void(t=a["default"](t,i))}),o=c["default"].getComponent("Player"),f=new o(r,t,i),u.hooks("setup").forEach(function(n){return n(f)}),f)}var h,v;r.__esModule=!0;var k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},tt=t(95),y=f(tt),it=t(94),p=f(it),rt=t(56),ut=o(rt),ft=t(89),d=o(ft),et=t(5),c=f(et),ot=t(42),st=f(ot),ht=t(82),l=o(ht),ct=t(51),s=f(ct),lt=t(52),at=f(lt),vt=t(87),a=f(vt),yt=t(83),pt=o(yt),wt=t(72),bt=f(wt),kt=t(64),dt=f(kt),gt=t(77),ni=f(gt),ti=t(90),ii=t(84),ri=f(ii),ui=t(86),w=f(ui),fi=t(81),e=o(fi),ei=t(78),g=o(ei),oi=t(92),nt=o(oi),si=t(88),hi=t(80),ci=f(hi),li=t(43),ai=f(li),vi=t(99),yi=f(vi),pi=t(62),b=f(pi);("undefined"==typeof HTMLVideoElement&&y["default"].document&&y["default"].document.createElement&&(p["default"].createElement("video"),p["default"].createElement("audio"),p["default"].createElement("track")),u.hooks_={},u.hooks=function(n,t){return u.hooks_[n]=u.hooks_[n]||[],t&&(u.hooks_[n]=u.hooks_[n].concat(t)),u.hooks_[n]},u.hook=function(n,t){u.hooks(n,t)},u.removeHook=function(n,t){var i=u.hooks(n).indexOf(t);return!(i<=-1)&&(u.hooks_[n]=u.hooks_[n].slice(),u.hooks_[n].splice(i,1),!0)},y["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0)&&(h=e.$(".vjs-styles-defaults"),h||(h=d.createStyleElement("vjs-styles-defaults"),v=e.$("head"),v&&v.insertBefore(h,v.firstChild),d.setTextContent(h,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")));ut.autoSetupTimeout(1,u);u.VERSION="5.14.1";u.options=s["default"].prototype.options_;u.getPlayers=function(){return s["default"].players};u.players=s["default"].players;u.getComponent=c["default"].getComponent;u.registerComponent=function(n,t){b["default"].isTech(t)&&w["default"].warn("The "+n+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)");c["default"].registerComponent.call(c["default"],n,t)};u.getTech=b["default"].getTech;u.registerTech=b["default"].registerTech;u.browser=g;u.TOUCH_ENABLED=g.TOUCH_ENABLED;u.extend=ai["default"];u.mergeOptions=a["default"];u.bind=pt.bind;u.plugin=at["default"];u.addLanguage=function(n,t){var i;return n=(""+n).toLowerCase(),u.options.languages=a["default"](u.options.languages,(i={},i[n]=t,i)),u.options.languages[n]};u.log=w["default"];u.createTimeRange=u.createTimeRanges=ti.createTimeRanges;u.formatTime=ri["default"];u.parseUrl=nt.parseUrl;u.isCrossOrigin=nt.isCrossOrigin;u.EventTarget=st["default"];u.on=l.on;u.one=l.one;u.off=l.off;u.trigger=l.trigger;u.xhr=yi["default"];u.TextTrack=bt["default"];u.AudioTrack=dt["default"];u.VideoTrack=ni["default"];u.isEl=e.isEl;u.isTextNode=e.isTextNode;u.createEl=e.createEl;u.hasClass=e.hasElClass;u.addClass=e.addElClass;u.removeClass=e.removeElClass;u.toggleClass=e.toggleElClass;u.setAttributes=e.setElAttributes;u.getAttributes=e.getElAttributes;u.emptyEl=e.emptyEl;u.appendContent=e.appendContent;u.insertContent=e.insertContent;u.computedStyle=ci["default"];"function"==typeof n&&n.amd?n("videojs",[],function(){return u}):"object"===("undefined"==typeof r?"undefined":k(r))&&"object"===("undefined"==typeof i?"undefined":k(i))&&(i.exports=u);r["default"]=u},{42:42,43:43,5:5,51:51,52:52,56:56,62:62,64:64,72:72,77:77,78:78,80:80,81:81,82:82,83:83,84:84,86:86,87:87,88:88,89:89,90:90,92:92,94:94,95:95,99:99}],94:[function(n,t){(function(i){var u="undefined"!=typeof i?i:"undefined"!=typeof window?window:{},f=n(96),r;"undefined"!=typeof document?t.exports=document:(r=u["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=u["__GLOBAL_DOCUMENT_CACHE@4"]=f),t.exports=r)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{96:96}],95:[function(n,t){(function(n){t.exports="undefined"!=typeof window?window:"undefined"!=typeof n?n:"undefined"!=typeof self?self:{}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],96:[function(){},{}],97:[function(n,t){function i(n,t){var i,r=null;try{i=JSON.parse(n,t)}catch(u){r=u}return[r,i]}t.exports=i},{}],98:[function(n,t){function i(n){return n.replace(/\n\r?\s*/g,"")}t.exports=function(n){for(var r="",t=0;t<arguments.length;t++)r+=i(n[t])+(arguments[t+1]||"");return r}},{}],99:[function(n,t){"use strict";function e(n,t){for(var i=0;i<n.length;i++)t(n[i])}function o(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}function r(n,t,i){var r=n;return c(t)?(i=t,"string"==typeof n&&(r={uri:n})):r=a(t,{uri:n}),r.callback=i,r}function i(n,t,i){return t=r(n,t,i),u(t)}function u(n){function d(){4===t.readyState&&p()}function g(){var n=void 0;if(t.response?n=t.response:"text"!==t.responseType&&t.responseType||(n=t.responseText||t.responseXML),k)try{n=JSON.parse(n)}catch(i){}return n}function s(n){clearTimeout(a);n instanceof Error||(n=new Error(""+(n||"Unknown XMLHttpRequest Error")));n.statusCode=0;u(n,c)}function p(){var r,i,e;w||(clearTimeout(a),r=n.useXDR&&void 0===t.status?200:1223===t.status?204:t.status,i=c,e=null,0!==r?(i={body:g(),statusCode:r,method:f,headers:{},url:v,rawRequest:t},t.getAllResponseHeaders&&(i.headers=l(t.getAllResponseHeaders()))):e=new Error("Internal XMLHttpRequest Error"),u(e,i,i.body))}var u=n.callback,c,t;if("undefined"==typeof u)throw new Error("callback argument missing");u=h(u);c={body:void 0,headers:{},statusCode:0,method:f,url:v,rawRequest:t};t=n.xhr||null;t||(t=n.cors||n.useXDR?new i.XDomainRequest:new i.XMLHttpRequest);var e,w,a,v=t.url=n.uri||n.url,f=t.method=n.method||"GET",b=n.body||n.data||null,r=t.headers=n.headers||{},y=!!n.sync,k=!1;if("json"in n&&(k=!0,r.accept||r.Accept||(r.Accept="application/json"),"GET"!==f&&"HEAD"!==f&&(r["content-type"]||r["Content-Type"]||(r["Content-Type"]="application/json"),b=JSON.stringify(n.json))),t.onreadystatechange=d,t.onload=p,t.onerror=s,t.onprogress=function(){},t.ontimeout=s,t.open(f,v,!y,n.username,n.password),y||(t.withCredentials=!!n.withCredentials),!y&&n.timeout>0&&(a=setTimeout(function(){w=!0;t.abort("timeout");var n=new Error("XMLHttpRequest timeout");n.code="ETIMEDOUT";s(n)},n.timeout)),t.setRequestHeader)for(e in r)r.hasOwnProperty(e)&&t.setRequestHeader(e,r[e]);else if(n.headers&&!o(n.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in n&&(t.responseType=n.responseType),"beforeSend"in n&&"function"==typeof n.beforeSend&&n.beforeSend(t),t.send(b),t}function s(){}var f=n(95),h=n(101),c=n(100),l=n(104),a=n(105);t.exports=i;i.XMLHttpRequest=f.XMLHttpRequest||s;i.XDomainRequest="withCredentials"in new i.XMLHttpRequest?i.XMLHttpRequest:f.XDomainRequest;e(["get","put","post","patch","head","delete"],function(n){i["delete"===n?"del":n]=function(t,i,f){return i=r(t,i,f),i.method=n.toUpperCase(),u(i)}})},{100:100,101:101,104:104,105:105,95:95}],100:[function(n,t){function i(n){var t=r.call(n);return"[object Function]"===t||"function"==typeof n&&"[object RegExp]"!==t||"undefined"!=typeof window&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}t.exports=i;var r=Object.prototype.toString},{}],101:[function(n,t){function i(n){var t=!1;return function(){if(!t)return t=!0,n.apply(this,arguments)}}t.exports=i;i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0})})},{}],102:[function(n,t){function u(n,t,i){if(!s(t))throw new TypeError("iterator must be a function");arguments.length<3&&(i=this);"[object Array]"===r.call(n)?f(n,t,i):"string"==typeof n?e(n,t,i):o(n,t,i)}function f(n,t,r){for(var u=0,f=n.length;u<f;u++)i.call(n,u)&&t.call(r,n[u],u,n)}function e(n,t,i){for(var r=0,u=n.length;r<u;r++)t.call(i,n.charAt(r),r,n)}function o(n,t,r){for(var u in n)i.call(n,u)&&t.call(r,n[u],u,n)}var s=n(100),r,i;t.exports=u;r=Object.prototype.toString;i=Object.prototype.hasOwnProperty},{100:100}],103:[function(n,t,i){function r(n){return n.replace(/^\s*|\s*$/g,"")}i=t.exports=r;i.left=function(n){return n.replace(/^\s*/,"")};i.right=function(n){return n.replace(/\s*$/,"")}},{}],104:[function(n,t){var i=n(103),r=n(102),u=function(n){return"[object Array]"===Object.prototype.toString.call(n)};t.exports=function(n){if(!n)return{};var t={};return r(i(n).split("\n"),function(n){var e=n.indexOf(":"),r=i(n.slice(0,e)).toLowerCase(),f=i(n.slice(e+1));"undefined"==typeof t[r]?t[r]=f:u(t[r])?t[r].push(f):t[r]=[t[r],f]}),t}},{102:102,103:103}],105:[function(n,t){function i(){for(var t,i,u={},n=0;n<arguments.length;n++){t=arguments[n];for(i in t)r.call(t,i)&&(u[i]=t[i])}return u}t.exports=i;var r=Object.prototype.hasOwnProperty},{}]},{},[93])(93)}),function(){"use strict";var n=null;n=typeof window.videojs=="undefined"&&typeof require=="function"?require("video.js"):window.videojs,function(n,t){var e,o={ui:!0},f=t.getComponent("MenuItem"),u=t.extend(f,{constructor:function(n,i){i.selectable=!0;f.call(this,n,i);this.src=i.src;n.on("resolutionchange",t.bind(this,this.update))}}),r,i;u.prototype.handleClick=function(n){f.prototype.handleClick.call(this,n);this.player_.currentResolution(this.options_.label)};u.prototype.update=function(){var n=this.player_.currentResolution();this.selected(this.options_.label===n.label)};t.registerComponent("ResolutionMenuItem",u);r=t.getComponent("MenuButton");i=t.extend(r,{constructor:function(n,i){if(this.label=document.createElement("span"),i.label="Quality",r.call(this,n,i),this.el().setAttribute("aria-label","Quality"),this.controlText("Quality"),i.dynamicLabel)t.addClass(this.label,"vjs-resolution-button-label"),this.el().appendChild(this.label);else{var u=document.createElement("span");t.addClass(u,"vjs-menu-icon");this.el().appendChild(u)}n.on("updateSources",t.bind(this,this.update));n.on("resolutionchange",t.bind(this,this.updateLabel))}});i.prototype.createItems=function(){var i=[],t=this.sources&&this.sources.label||{};for(var n in t)t.hasOwnProperty(n)&&i.push(new u(this.player_,{label:n,src:t[n],selected:n===(this.currentSelection?this.currentSelection.label:!1)}));return i};i.prototype.update=function(){return this.sources=this.player_.getGroupedSrc(),this.currentSelection=this.player_.currentResolution(),this.label.innerHTML=this.currentSelection?this.currentSelection.label:"",r.prototype.update.call(this)};i.prototype.updateLabel=function(){var n=this.player_.controlBar.resolutionSwitcher.getElementsByClassName("vjs-resolution-button-label")[0];n.innerHTML=this.player_.currentResolutionState.label};i.prototype.buildCSSClass=function(){return r.prototype.buildCSSClass.call(this)+" vjs-resolution-button"};t.registerComponent("ResolutionMenuButton",i);e=function(n){function h(n,t){return!n.res||!t.res?0:+t.res-+n.res}function s(n){var t={label:{},res:{},type:{}};return n.map(function(n){f(t,"label",n);f(t,"res",n);f(t,"type",n);e(t,"label",n);e(t,"res",n);e(t,"type",n)}),t}function f(n,t,i){n[t][i[t]]==null&&(n[t][i[t]]=[])}function e(n,t,i){n[t][i[t]].push(i)}function c(n,t){var i=u["default"],r="";return i==="high"?(i=t[0].res,r=t[0].label):i!=="low"&&i!=null&&n.res[i]?n.res[i]&&(r=n.res[i][0].label):(i=t[t.length-1].res,r=t[t.length-1].label),{res:i,label:r,sources:n.res[i]}}function l(n){var t={highres:{res:1080,label:"1080",yt:"highres"},hd1080:{res:1080,label:"1080",yt:"hd1080"},hd720:{res:720,label:"720",yt:"hd720"},large:{res:480,label:"480",yt:"large"},medium:{res:360,label:"360",yt:"medium"},small:{res:240,label:"240",yt:"small"},tiny:{res:144,label:"144",yt:"tiny"},auto:{res:0,label:"auto",yt:"auto"}},i=function(t,i){return n.tech_.ytPlayer.setPlaybackQuality(i[0]._yt),n.trigger("updateSources"),n};u.customSourcePicker=i;n.tech_.ytPlayer.setPlaybackQuality("auto");n.tech_.ytPlayer.addEventListener("onPlaybackQualityChange",function(r){for(var u in t)if(u.yt===r.data){n.currentResolution(u.label,i);return}});n.one("play",function(){var f=n.tech_.ytPlayer.getAvailableQualityLevels(),u=[],r;f.map(function(i){u.push({src:n.src().src,type:n.src().type,label:t[i].label,res:t[i].res,_yt:t[i].yt})});n.groupedSrc=s(u);r={label:"auto",res:0,sources:n.groupedSrc.label.auto};this.currentResolutionState={label:r.label,sources:r.sources};n.trigger("updateSources");n.setSourcesSanitized(r.sources,r.label,i)})}var u=t.mergeOptions(o,n),r=this;r.updateSrc=function(n){if(!n)return r.src();n=n.filter(function(n){try{return r.canPlayType(n.type)!==""}catch(t){return!0}});this.currentSources=n.sort(h);this.groupedSrc=s(this.currentSources);var t=c(this.groupedSrc,this.currentSources);return this.currentResolutionState={label:t.label,sources:t.sources},r.trigger("updateSources"),r.setSourcesSanitized(t.sources,t.label),r.trigger("resolutionchange"),r};r.currentResolution=function(n,t){function i(){r.off("timeupdate",i);r.off("loadedmetadata",i);r.off("loadeddata",i);r.currentTime(o);r.handleTechSeeked_();f||r.play().handleTechSeeked_();r.trigger("resolutionchange")}if(n==null)return this.currentResolutionState;if(this.groupedSrc&&this.groupedSrc.label&&this.groupedSrc.label[n]){var e=this.groupedSrc.label[n],o=r.currentTime(),f=r.paused();r.pause();r.loadingSpinner.show();!f&&this.player_.options_.bigPlayButton&&this.player_.bigPlayButton.hide();r.setSourcesSanitized(e,n,t||u.customSourcePicker);r.one("timeupdate",i);r.one("loadedmetadata",i);r.one("loadeddata",i);return r}};r.getGroupedSrc=function(){return this.groupedSrc};r.setSourcesSanitized=function(n,t,i){return(this.currentResolutionState={label:t,sources:n},typeof i=="function")?i(r,n,t):(r.src(n.map(function(n){return{src:n.src,type:n.type,res:n.res}})),r)};r.ready(function(){if(u.ui){var n=new i(r,u);r.controlBar.resolutionSwitcher=r.controlBar.el_.insertBefore(n.el_,r.controlBar.getChild("fullscreenToggle").el_);r.controlBar.resolutionSwitcher.dispose=function(){this.parentNode.removeChild(this)}}r.options_.sources.length>1&&r.updateSrc(r.options_.sources);r.techName_==="Youtube"&&l(r)})};t.plugin("videoJsResolutionSwitcher",e)}(window,n)}(),function(n,t,i){Object.assign=Object.assign||t.extend;var r=i(n,n.document,n.document.body,t,n.videojs);n.MediaController=r;t.fn.media=function(n){return this.each(function(){this.mediaController=r(this,n)})}}(window,window.jQuery,function(n,t,i,r,u){"use strict";function o(t){if(f.bIFrameMode&&h===0){var r=l(t),i=r.pageY-r.screenY;i+=n.screen.height/8;i<0&&(i=0);o.pxTop=i}}function l(n){function t(n){if(n){var t=n.touches&&n.touches[0]?n.touches[0]:null;if(t&&t.pageX!==undefined&&t.screenX!==undefined)return t;if(n.pageX!==undefined&&n.screenX!==undefined)return{pageX:n.pageX,clientX:n.clientX,screenX:n.screenX,offsetX:n.offsetX,pageY:n.pageY,clientY:n.clientY,screenY:n.screenY,offsetY:n.offsetY}}return null}return t(n)||t(n.originalEvent)||n}function f(n,t){var i,u,e;if(!(n instanceof HTMLElement))return null;if(n.mediaController instanceof f)return t&&Object.assign(n.mediaController.settings,t),n.mediaController;if(!(this instanceof f))return new f(n,t);for(i=this,this.settings=Object.assign({},f.defaultSettings,t),this._windowState=0,this.bIsMouseOver=!1,this.bIsSelected=!1,this.currentItem=this.prevItem=new f.MCItem(this,null,null),this.elem=n,this.$elem=r(this.elem),this.$viewport=this.$elem.find(".mc-media-viewport"),this.$viewportItems=this.$viewport.find(".mc-items .mc-item"),this.$btnZoomExit=this.$viewport.find(".mc-nav-controls .mc-zoom-exit"),this.$btnZoomOpen=this.$viewport.find(".mc-nav-controls .mc-zoom-open"),this.$btnNavPrevious=this.$viewport.find(".mc-nav-controls .mc-btn-prev"),this.$btnNavNext=this.$viewport.find(".mc-nav-controls .mc-btn-next"),this.MoveNextPage=function(){i._handleMove(i.settings.thumb_page_size)},this.MovePrevPage=function(){i._handleMove(-i.settings.thumb_page_size)},this.MoveNext=function(){i._handleMove(1)},this.MovePrev=function(){i._handleMove(-1)},this.SwipeRight=function(n){i._handleSwipe(-1,n)},this.SwipeLeft=function(n){i._handleSwipe(1,n)},this.handleZoomOpen=function(n){o(n);i.toggleWindowState()},this.handleZoomClose=function(){i.windowState=0},this.thumbnails=new f.ThumbnailController(this),u=0,e=this.$viewportItems.length;u<e;u++)new f.MCItem(this,this.$viewportItems[u],this.thumbnails.$allThumbList[u]);this._tapListener=new f.TapListener(this.$viewport[0],{swipeLeft:function(n){i._handleSwipe(1,n)},swipeRight:function(n){i._handleSwipe(-1,n)},disablePan:!0,disableZoom:!0,disableSelect:!0});this.$btnZoomOpen.on("click",this.handleZoomOpen);this.$btnZoomExit.on("click",this.handleZoomClose);if(this.$viewportItems.length>1){this.$btnNavNext.on("click",this.MoveNext);this.$btnNavPrevious.on("click",this.MovePrev);this._tapListener.attach()}else this.$btnNavPrevious.hide(),this.$btnNavNext.hide();return this.stopAutoScroll=!1,this.AutoScroll=this.thumbnails.autoScroll,this.thumbnails.init(),f.Instances.registerMediaInstance(i),n.mediaController=this}var s=r(n),c=r(i),h=0,e=function(){var n={};return function(t,i,r){if(t!=null||i!=null){var u=n[i]||(n[i]=new RegExp("(^|\\s+)"+i+"|(\\s+$)")),f=u.test(t.className);return r==null?f?(t.className=t.className.replace(u,""),!1):(t.className+=" "+i,!0):r?f?!0:(t.className+=" "+i,!0):(t.className=t.className.replace(u,""),!1)}}}();return o.pxTop=0,function(){var r=!1,u=!1,s=!1,h=!1,c=!1;Object.defineProperties(f,{isAppleMobileDevice:{get:function(){return r},set:function(n){r=Boolean(n);e(i,"mc-isIos",r)}},isMobileDevice:{get:function(){return u},set:function(n){u=Boolean(n);e(i,"mc-isMobile",u)}},isIE9:{get:function(){return s},set:function(n){s=Boolean(n);e(i,"mc-isIE9",s)}},isInternetExplorer:{get:function(){return h},set:function(n){h=Boolean(n);e(i,"mc-isIE",h)}},bIFrameMode:{get:function(){return c},set:function(n){c=Boolean(n);e(i,"mc-iframed",c)}},windowWidth:{get:function(){return f.isAppleMobileDevice?n.screen.width:n.innerWidth}},windowHeight:{get:function(){return f.isAppleMobileDevice?n.screen.height:n.innerHeight}}});f.isAppleMobileDevice=/iPhone|iPad|iPod/i.test(navigator.userAgent);f.isOldiOS=f.isAppleMobileDevice&&/Version\/7.0 Mobile|Version\/6.0 Mobile/.test(navigator.userAgent);f.isMobileDevice=f.isAppleMobileDevice||/android|webOS|BlackBerry|phone|mobile|mini|pocket|symbian|treo/i.test(navigator.userAgent);f.isIE9=/MSIE 9.0/i.test(navigator.userAgent);f.isInternetExplorer=f.isIE9||/MSIE|Trident/i.test(navigator.userAgent);f.isAppleMobileDevice&&(n.onpageshow=function(t){t.persisted&&n.location.reload()});Object.assign(f,{_updateIFrameTop:o,css:function(){function u(t){for(var u,i=0,f=n.length;i<f;i++)if(u=n[i]+t,u in r)return u;return t}var r=t.createElement("div").style,n=["","-webkit-","-ms-","-moz-","-o-"],i={};return["transition","transform","transform-origin"].forEach(function(n){i[n]=u(n)}),i}(),toggleClass:e})}(),f.Instances=function(){function v(){n.loadComplete=!0;for(var t=0,i=n.length;t<i;t++)n[t].thumbnails.alignThumbStrip()}function p(){u&&u._handleResize();for(var t=0,i=n.length;t<i;t++)n[t].thumbnails.alignThumbStrip()}function w(){clearTimeout(a);a=setTimeout(p,100)}function b(t){if(t.keyCode===27)for(var i=0,u=n.length;i<u;i++)n[i].windowState=0;else r&&r._handleKeyDown(t)}function k(){for(var t=0,i=n.length;t<i;t++)n[t].bIsSelected=!1}var y=0,a=0,n=[],r=null,u=null,l="",o;return f.debugWrite=function(n){l=n+"\n"+l;r&&r.$elem.find(".mc-debuginfo").text(l)},o=function(){var n=t.createElement("style");n.innerHTML=f.defaultSettings.cssMediaIcons;n.type="text/css";n.id="MCIcons";t.head.appendChild(n);s.on("resize",w);c.on("click",k);c.on("keydown",b);s.on("load",v);s.one("focus",v);o=null},n.loadComplete=!1,n.registerMediaInstance=function(t){if(t.elem.id||(t.elem.id="mediaControl_"+y++),!n[t.elem.id]){n.push(t);n[t.elem.id]=t;o&&o(t);t.$elem.on("click",function(n){n.stopPropagation();r&&(r.bIsSelected=!1);t.bIsSelected=!0;r=t});t.$elem.on("mouseenter",function(){r&&(r.bIsMouseOver=!1);t.bIsMouseOver=!0;r=t});t.$elem.on("mouseleave",function(){r&&(r.bIsMouseOver=!1);t.bIsMouseOver=!1;r=t});t.$elem.one("mouseenter.init touchstart.init pointerenter.init",function(){t.$elem.off(".init");t.thumbnails.alignThumbStrip()})}},n.checkWindowState=function(n,t){return t!==0&&(u===null||u===n)?(u=n,e(i,"mc-fullwindow",!0),h=t,t):t===0&&u===n?(u=null,e(i,"mc-fullwindow",!1),h=t,t):0},n}(),f.ThumbnailController=function(){function t(t){function o(){t.settings.auto_scroll===!0&&t.stopAutoScroll===!1&&t.MoveNext();t.settings.auto_scroll_wait!==u&&i.autoScroll()}var f,i,u,e;this.media=t;this.$li=null;this.$currentThumb=null;this.$mostRecentPhotoThumb=null;this.$mostRecentVideoThumb=null;this._idxptr=null;this._setMarginTimer=0;f=t.elem.querySelector(".mc-thumbs");this.$mcThumbs=r(f);this.ul=f.querySelector("ul");this.$ul=r(this.ul);this.$allThumbList=r(this.ul.querySelectorAll("li"));this.$photoThumbList=r(this.ul.querySelectorAll("li[data-type='Image']"));this.$videoThumbList=r(this.ul.querySelectorAll("li[data-type='Video']"));this.$btnThumbNext=this.$mcThumbs.find(".mc-btn-next");this.$btnThumbPrev=this.$mcThumbs.find(".mc-btn-prev");this.$allThumbList.$btn=this.$btnShowAll=this.$mcThumbs.find(".mc-thumb-toggles .mc-toggle-all");this.$photoThumbList.$btn=this.$btnShowPhotos=this.$mcThumbs.find(".mc-thumb-toggles .mc-toggle-photos");this.$videoThumbList.$btn=this.$btnShowVideos=this.$mcThumbs.find(".mc-thumb-toggles .mc-toggle-videos");this.$btnShowAll.find("span:last").text("("+this.$allThumbList.length+")");this.$btnShowPhotos.find("span:last").text("("+this.$photoThumbList.length+")");this.$btnShowVideos.find("span:last").text("("+this.$videoThumbList.length+")");i=this;this.showAll=function(){i.setThumbList(i.$allThumbList)};this.showPhotos=function(){i.setThumbList(i.$photoThumbList)};this.showVideos=function(){i.setThumbList(i.$videoThumbList)};u=0;e=0;this.autoScroll=function(){u=t.settings.auto_scroll_wait<1e3?1e3:t.settings.auto_scroll_wait;clearTimeout(e);e=n.setInterval(o,u)};this.$btnShowAll.on("click",this.showAll);this.$btnShowPhotos.on("click",this.showPhotos);this.$btnShowVideos.on("click",this.showVideos);this.$btnThumbNext.on("click",this.media.MoveNextPage);this.$btnThumbPrev.on("click",this.media.MovePrevPage)}function i(n,t,i){var u=n.media.settings.thumb_page_size,e=n.$li.length-1,o=n.$ul.width()/u;f.isIE9?(n.$ul.css("transition",i||""),n.$ul.animate({"margin-left":t+"px"},800)):(n.ul.style[f.css.transition]=i||"",n.ul.style.marginLeft=t+"px");var s=t>0?0:-t,r=Math.min(Math.max(Math.floor(s/o),0),e),h=Math.min(Math.max(Math.min(r+u,e),u),e);for(r;r<=h;r++)n.$li.get(r)._mcitem.loadThumbImg()}function u(n){var h=n.media.settings,i=h.thumb_page_size,r=null,o=0,t=0,u=0,s=0,e=0;this.listener=new f.TapListener(n.ul,{tapStart:function(h,c){var a,l;h.preventDefault();h.stopPropagation();clearTimeout(n._setMarginTimer);n.ul.style[f.css.transition]="none";a=c.findMatch("li");r=n.setActiveThumb(n.$li.index(a));o=parseInt(n.ul.style.marginLeft)||0;l=n.$ul.width();t=l/i;s=n.$li.length*t-l;u=Math.ceil((t+2)*.1);e=t*.75},tapMove:function(f,h){var c;f.preventDefault();var p=h.totalDistanceX,l=o+p,w=Math.min(n.$li.length+Math.max(n._idxptr-i,0),0)*t,v=-l+w+u|0,b=l-w+u+s|0,a=n._sanitizeIdx(Math.floor(v/t)),y=n._sanitizeIdx(a+i);p>0?n.$li.get(a)._mcitem.loadThumbImg():n.$li.get(y)._mcitem.loadThumbImg();c=n._idxptr;v<=0&&b<=0?n.ul.style.marginLeft=l+"px":v>-e&&b>-e&&(n.ul.style.marginLeft=l+"px",c<a?c=a:c>y&&(c=y));c!==n._idxptr&&(r=n.setActiveThumb(c))},tapEnd:function(t,i){t.preventDefault();n.alignThumbStrip(i.totalDistanceX);n.media.setCurrentItem(r.get(0)._mcitem)}}).attach()}return t.prototype={constructor:t,init:function(){var n=this.$photoThumbList.length!==0,t=this.$videoThumbList.length!==0,i;this.$btnShowAll.toggle(n&&t);this.$btnShowPhotos.toggle(n);this.$btnShowVideos.toggle(t);n&&!t?this.showPhotos():!n&&t?this.showVideos():this.showAll();this._moveAndClickHandler=new u(this);this.autoScroll();var r=this.media.settings.thumb_page_size,f=this.$li.length,e=Math.min(Math.max(Math.min(r,f-1),r),f-1);for(i=0;i<=e;i++)this.$li.get(i)._mcitem.loadThumbImg()},get thumbIndex(){return this._idxptr},set thumbIndex(n){var u=this.media.settings.thumb_page_size,r=this.$li.length,i=r-1,t=(n%r+r)%r,e=n>t,o=n<t,f;return e?t=this._idxptr===i?0:this._idxptr>=i-u?i:0:o&&(t=this._idxptr===0?i:this._idxptr<u?0:i),this._idxptr=t,f=this.setActiveThumb(t).get(0),this.alignThumbStrip(),this.media.setCurrentItem(f._mcitem),t},setActiveThumb:function(n){this._idxptr=this._sanitizeIdx(n);var t=this.$li.eq(this._idxptr);return this.$currentThumb!==t&&(this.$currentThumb&&this.$currentThumb.removeClass("active"),t.addClass("active"),t.data("type")==="Image"?this.$mostRecentPhotoThumb=t:this.$mostRecentVideoThumb=t),this.$currentThumb=t},setThumbList:function(n){var i,r,u,t;if(this.$li!==n){for(this.$li&&this.$li.$btn.removeClass("mc-selected"),n.$btn.addClass("mc-selected"),i=this.ul;i.firstElementChild;)i.removeChild(i.firstElementChild);for(r=0,u=n.length;r<u;r++)i.appendChild(n[r]);this.$mcThumbs.toggleClass("mc-thumbs-overflow",this.media.settings.thumbnail_arrows&&n.length>this.media.settings.thumb_page_size);t=0;n===this.$allThumbList?t=n.index(this.$currentThumb):n===this.$photoThumbList?t=n.index(this.$mostRecentPhotoThumb):n===this.$videoThumbList&&(t=n.index(this.$mostRecentVideoThumb));t<0&&(t=0);this._idxptr=null;this.$li=n;this.thumbIndex=t}},alignThumbStrip:function(n){if(f.Instances.loadComplete!==!1){var o=this.media.settings.thumb_page_size,r=this.$li.length,u=this.thumbIndex,v=this.$ul.width(),t=v/o,i=0;if(r<o)i=2/r*t+(r>=Math.floor(o/2)&&r<=Math.ceil(o/2)?t/r:0),this.setMarginLeft(i,0,"margin-left .5s ease");else{var h=Math.ceil((t+2)*.1),e=Math.floor(o/2),c=u<=e?e-u:u>=r-e?r-1-e-u:0,g=t*c+(u===0?-h:u===r-1?h:0);if(i=-(u*t-v/2+t/2)-g|0,Math.abs(n||0)<=t*.12)this.setMarginLeft(i,0,"margin-left 1s ease");else{var s=parseInt(this.ul.style.marginLeft)||0,y=t/2,p=Math.abs(c)!==e?t*.12+h:0,w=i-t*(e-c),b=i+t*(e+c);s<w+h?this.setMarginLeft(w+p,0,"margin-left .5s ease"):s>b-h&&this.setMarginLeft(b-p,0,"margin-left .5s ease");var nt=this.$li[0].getBoundingClientRect(),tt=this.$li[r-1].getBoundingClientRect(),k=this.ul.parentElement.getBoundingClientRect(),it=nt.left-k.left,rt=k.right-tt.right,d=r-1-u,l=Math.ceil(o/2),a=i;rt>=0&&d<=l?(d===l&&(a-=t),this.setMarginLeft(a,0,"margin-left .5s ease")):it>=0&&u<=l&&(u===l&&(a+=t),this.setMarginLeft(a,0,"margin-left .5s ease"));s>i-y&&s<i+y?this.setMarginLeft(i,0,"margin-left .5s ease"):s>i-t&&s<i+t?this.setMarginLeft(i,2e3,"margin-left 1.5s ease"):this.setMarginLeft(i,2e3,"margin-left 2.2s ease")}}}},setMarginLeft:function(n,t,r){if(clearTimeout(this._setMarginTimer),t&&t>0){var u=this;this._setMarginTimer=setTimeout(function(){i(u,n,r)},t)}else i(this,n,r)},_sanitizeIdx:function(n){return Math.min(Math.max(n,0),this.$li.length-1)}},t}(),f.MCItem=function(){function i(n,t,i){var u=this;u.media=n;u.mediaItem=t;u.mediaItem&&(u.mediaItem._mcitem=u);u.thumbContainer=i;u.thumbContainer&&(u.thumbContainer._mcitem=u);u.thumbItem=i?i.querySelector(".mc-thumb"):null;u.thumbItem&&(u.thumbItem._mcitem=u);u.$mediaItem=r(u.mediaItem);u.$thumbItem=r(u.thumbItem);u.bIsImage=u.$mediaItem.is(".mc-img");u.bIsVideo=u.$mediaItem.is(".mc-video");u.$fullImg=u.$mediaItem.find("img.mc-img-full");u.$regImg=u.$mediaItem.find("img.mc-img-normal");u.$thumbImg=u.$thumbItem.find("img[data-src]");u.$video=u.$mediaItem.find("video");u.$video[0]&&(u.$video[0]._mcitem=u);u.src={fullImg:u.$fullImg.attr("data-fullscreen"),regImg:u.$regImg.attr("data-src"),thumbImg:u.$thumbImg.attr("data-src")};u.loadState={fullImg:0,regImg:0,thumbImg:0}}function e(t,i,r){if(!f.isOldiOS){var s=t.parentElement.getBoundingClientRect(),l=parseInt(s.width),a=parseInt(s.height),o=l/a,h=t.naturalWidth||t.width,c=t.naturalHeight||t.height,u=h/c;isNaN(o)||isNaN(u)||h==null||c==null?(r=r||0,r<=5&&n.setTimeout(function(){e(t,i,r)},250+Math.min(r*250,750))):i===!0?(t.style.width=u>=1&&o<=u?"":"100%",t.style.height=u>=1?"100%":""):i===!1&&(u>=1?o<=u?(t.style.width="100%",t.style.height=""):(t.style.width="",t.style.height="100%"):(t.style.width="",t.style.height="100%"))}}return Object.defineProperties(i.prototype,{pz:{configurable:!0,get:function(){if(this.$fullImg[0]){var n=new f.PanzoomAdapter(this);return Object.defineProperty(this,"pz",{value:n}),n}return null}},vjs:{configurable:!0,get:function(){if(this.$video[0]){var n=u(this.$video[0],this.media.settings.videojscfg);return Object.defineProperty(this,"vjs",{value:n}),n}return null}}}),Object.assign(i.prototype,{loadFullImg:function(n){this.loadImgHelper(this.$mediaItem,"fullImg",n)},loadRegImg:function(){this.loadImgHelper(this.$mediaItem,"regImg",function(n){e(n[0],!1)})},loadThumbImg:function(){this.loadState.thumbImg!==2&&this.loadImgHelper(this.$thumbItem,"thumbImg",function(n){e(n[0],!0)})},loadImgHelper:function(n,i,r){var u=this["$"+i],e=this.loadState,s=this.src[i],o;u&&u[0]&&(e[i]===0?(e[i]=1,u.hide(),n.addClass("mc-item-loading"),s&&(o=t.createElement("img"),o.onload=function(){n.removeClass("mc-item-loading");u.removeClass("mc-item-loading");u.attr("src",s);u.fadeIn();e[i]=2;r&&r(u)},o.onerror=function(){n.removeClass("mc-item-loading");u.removeClass("mc-item-loading");u.attr("src",f.defaultSettings.error_img);u.addClass("mc-i404");u.fadeIn();e[i]=-1},o.src=s)):e[i]===2&&r&&r(u))},disable:function(){return this.pz&&this.pz.detach(),this.vjs&&this.vjs.pause(),this.$mediaItem.removeClass("mc-selected").hide(),this},enable:function(){return this.$mediaItem.addClass("mc-selected"),this},updateItem:function(n){var t=this,i=t.$mediaItem;t.mediaItem&&(i.is(":visible")||(i.hide(),i[t.media.settings.effect]()),t.bIsVideo?n===2?t.vjs.requestFullscreen():t.vjs.exitFullscreen():this.bIsImage&&(n===2?t.loadFullImg(function(){t.pz.reset()}):n===1?t.loadFullImg(function(){t.pz.reset()}):(t.loadRegImg(),t.pz.detach())))}}),i}(),f.prototype={constructor:f,get isVideoPlaying(){return this.currentItem.vjs?!this.currentItem.vjs.paused():null},get windowState(){return this._windowState},set windowState(n){n===undefined&&(n=this.windowState);var i=(n%3+3)%3,t=f.Instances.checkWindowState(this,i);this._windowState!==t&&(this._windowState=t,this.update());this._windowState===0&&this.thumbnails.alignThumbStrip()},setCurrentItem:function(n){this.currentItem!==n&&(this.prevItem=this.currentItem.disable(),this.currentItem=n.enable(),this._windowState===2?this.windowState=1:this.update())},update:function(){var i=this.currentItem,r,s,u,t;f.isAppleMobileDevice&&i.bIsVideo&&this._windowState===2&&(this._windowState=1);r=this.windowState;f.bIFrameMode&&(this.windowState!==0?(s=this.currentItem.$mediaItem.height(),u=o.pxTop,s+u>n.innerHeight&&(u=n.innerHeight-s),this.$viewport.css("margin-top",u+"px")):this.$viewport.css("margin-top",""));t=this.$elem[0];e(t,"mc-normal",r===0);e(t,"mc-full",r!==0);e(t,"mc-zoomed",r===2&&i.bIsImage);e(t,"mc-isvideo",i.bIsVideo);e(t,"mc-isimage",i.bIsImage);i.updateItem(this._windowState)},toggleWindowState:function(){var n=this.currentItem,t=this.windowState;t===0?this.windowState=n.bIsVideo&&f.isAppleMobileDevice?1:1:t===1?this.windowState=n.bIsVideo&&f.isAppleMobileDevice?0:n.bIsVideo&&f.bIFrameMode?0:2:t===2&&(this.windowState=n.bIsVideo&&f.isAppleMobileDevice?1:1)},play:function(){var n=this.currentItem.vjs,t=arguments.length>0?arguments[0]:!0;n&&(t?n.play():n.pause())},pan:function(n,t){var i=this.currentItem.pz;i&&i.pan(n,t,!0)},zoom:function(n){var t=this.currentItem.pz;if(t){if(n===undefined){this.windowState=1;return}if(n===null){this.windowState=0;return}this.windowState!==2&&n!==!1&&this.toggleWindowState();t.zoom(n)}},_handleSwipe:function(n,t){if(t.preventDefault(),t.stopPropagation(),this.windowState===0){var i=this.currentItem.vjs;i&&r(i.controlBar.el_).has(t.target).length>0||this._handleMove(n)}},_handleMove:function(n){this.thumbnails.thumbIndex+=n|0},_handleResize:function(){this.update()},_handleKeyDown:function(n){var i=this.windowState,t=n.keyCode;t===27?this.windowState=0:(this.bIsMouseOver||this.bIsSelected)&&(o(n),i===0?t===39?this.MoveNext():t===37?this.MovePrev():this.bIsSelected&&this.bIsMouseOver&&t===13&&(this.windowState=1):i===1?t===39?this.MoveNext():t===37?this.MovePrev():t===13||t===32?this.windowState=2:t===107||t===187?this.windowState=2:(t===109||t===189)&&this.currentItem.vjs&&(this.windowState=0):i===2&&(t===37?this.pan(-25,0):t===39?this.pan(25,0):t===38?this.pan(0,-25):t===40?this.pan(0,25):t===13||t===32?this.windowState=1:t===107||t===187?this.zoom(!1):(t===109||t===189)&&this.zoom(!0)))}},f});MediaController.defaultSettings={effect:"fadeIn",auto_scroll:!1,auto_scroll_wait:6e3,thumbnail_arrows:!0,thumb_page_size:5,error_img:"/Content/images/i404.png",cssMediaIcons:"@font-face{font-family:MCIcons;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAArQAAoAAAAAEigAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAA9AAAAD4AAABWUZFeAGNtYXAAAAE0AAAAOgAAAUriKxC2Z2x5ZgAAAXAAAAarAAALaMdgvydoZWFkAAAIHAAAADEAAAA2D8bvx2hoZWEAAAhQAAAAHAAAACQPIwabaG10eAAACGwAAAAPAAAAaLYAAABsb2NhAAAIfAAAADYAAAA2ImgfuG1heHAAAAi0AAAAHwAAACABKgBcbmFtZQAACNQAAAEoAAACCs2v7Yhwb3N0AAAJ/AAAANEAAAFFyd0yo3icY2BkZ2CcwMDKwMFSyPKMgYHhF4RmjmEIZzzHwMDEwMrMgBUEpLmmMDh8ZPwoyQ7iLmSHCDOCCADusQo5AAB4nGNgYGBmgGAZBkYGEHAB8hjBfBYGDSDNBqQZGZgYGD5K/v8PUvCREUTzM0DVAwEjG8OIBwCJ5gbQAAB4nJVWfWxT1xW/575374udOO7zi59ZMI0dJ880KR+Nv+hQE4/CNC2jfCjpd0nLyFSWP5JuAraBhDWpWomlViq1tbKUsj+C1CGVPxBrC4JarVbtL1QhEQnU0qeq/FGoqkoNqOC82537XuyQJUNZbJ937z3n/M7nPS8ECP6xIisSSgjoQAeVLCtWr9NGQhTJ4yN8BHnNpJUQHzVUooQI6yAGJWCRZJbkTBLhhN6AisiXxMfi6YYGOA6P4Od4Q4N4WnzsiHc5h+2OA9s5F+/StbAVP39zefPl7/z7LjkH9dA8df3Lo38K0dDDuP4A6HEdKtAtLtFB6IY9qlm9rpooprr+xniMcGKQDpJE+dWQDEeyOa5FeiGDDofNEGiIEsdYuRbuhVwkB1pE/RSGB99XztLkS50rmfji2uSF6ntD8IJ4W1qA3l8999j4+jeHnOcnJpTCrqPdk+8vW/bbZ176+cTANPx63ZG0mIYbQ+JtkRdFuCU+Wr/iSGjjQ38dUssTE+iE9Es9waYIkzmWpmkjdMFeMa4+L1XUf4hiPdbfoBwnTZ7vei94CmwYhgcGhmd06Y8ouk44x7uPwsY5AGU2/iDaaZL1MjxVD0fB0COcamGsmUVsD4f+C+MeHD4zeUFRLkxegzjD4Oecsmet0O9liKdPi+n0kXWw8+ZN2FnLt9s7jDQSnUTQ54QezySUVCaViUMiHNcTSjgVTum0sQx77XLZFuNKwYa9Zdsu0xtivEz9dnmmgEx6rIzni2JKgLjhooGLbGSkGdhjl8W4LdGgIpHLEmYQ97iFvdXrNp7LY1LP7RTmNoi9gX3UDJp+P0Ti2AH6alCwI1h+ptA3CDDYp8w+ZwpKgV1yF3OM6jdKAdNcvxsa5togy0mMrMQbAlYSkaETcw4sDtlQzmKAWTcjcYbmIAUmdmIO6HnY9djAX757AULKq5mv/y6+pdecT+FPz74IMGOIz+Wzma51vkIehP4gPneFxbfKd/TFEMCTW0Vy3+StXpHsd36/C+Dw5s3wwy7x4+HNv+jHY7gsGlwpuFyLnT+Fvj5KtmDs2XQy1wtJZTUEwVoj2wyzEcTrkLS4pnCzDXhLRGuGiHE/9AFuvTz1QTYXMbM5I2slZU9hGMhoBnaCsaN+rpW1nwTO/HRjVGkJiqlgC41uevhMoFUraazxLcbeamS4bA2ceXhTlLYEoWu+hLNu9A1K3xh1qZLr+GXHfl9rAJQmH+tfFf2kWcd70PxJdFU/8zUJp2m5b/+sCG4WEUHF5b6f1fCQyhRAvWY43IzaGOtUSem/RpYcS0ph4TCr59LDkL35P+bhYtoLRiEfWdoQVObZTNzDKrZerTBL8mAFPTg0dJC6dGne0C01eaTzZm4Q70AneWDh3YJEJhFO6HiLM+shjuc68uO5VCYhXzR9A5QO9Kmm+3RGxkpj+C1DV6wLkIipsVKJx1DibsmZP5dKUDl71hVAwTH7XnUxNB8kfZDz4fVbLCvrdotpMb0bGsXN3dAETbvFzUVzMaPPk4FG1PN6ik3xfxJTznYf6O6dkGVIYE3cWYtGi7DnvMOYcx5picM2IWAbpvQkK0KXKCK7S3U+9CSEOMlnJeo9G0P85V5UEh/HYcarOc7ElMwylUa+FC9rWBpbXOKQvHoVklxcsrFQmniZn0YivnRuyboNliSPi8tXS84JVKB+vOH7sZY/VgjR8rxAGrCabWQNWmzh7VY622OCHLgRH8TbeVhvMVPxnmxGT1sRvYUn4u0WrrN4ZtL82LEx/KrkTgHyxyjW5XYlYBgBnkd6eMeG25UNO3Zs4PkNO9TKVik5JtaKfMWVhZgRqEq5gIo6sWpeiqpSofYO3cJSJCy9wpKaOER4exKsdA6yPW1gqlv8Yh8c8vt7/K1+sdrvh4u46PGrdgAZYp+78Q6R4Lo+E1hbHRch10hIHORpHHg9ETBZm0TzlA8hjIuPCEo+4Jpxt4fQsCuCJxLSu7MVzGWCPEg2IXa4hXd7pN16BBKSpLPrISNJj7kCUj1mJI1vkfvwJ9OeBJ5o77DofaFsR0w1Q2F0zlTzRsA2ApgkW+apviyI2+JVcRvfPL8DjZL+kQ7xzqnPXhPVc6Oj54Bhfdm50QPwRKdiL9CVy1UfgFaDcP6Y6bfg8QNziqPnRPW1z06JdzrviitIlpGHvLhkB8hoZAcsLQbHbQqa/389d31eure1+l5kr+P/g+iS2zK+BUX2eR3kthW7GH0lujUqrogr+HglGgULV+4ZWGB5Z+IKrmBq5T35czjkP6fI8ekAeJxjYGRgYADifu8MhXh+m68M3OwMIHDlSlAXjP5/gIGB3YFtG5DLwcAEEgUAKV8K6gAAAHicY2BkYGBnAIKFIPJ/A3sDAyMDKpACAD15AtJ4nGNnYGBgpwMGACbMALcAAAAAAAAOAFAAZgCyAMYA5gEeAUgBdAGcAfICdgKYAtIDIANkA6AD0AQGBFQEgASsBRgFcAW0AAB4nGNgZGBgkGIIYGBjAAEmIOYCQgaG/2A+AwATYgGHAHicXZBLasMwFEWv86UJhEJpR6Vo1A4KdpJhpoGEDDLJwNCh48j5YFtGVgLpCrqCrqCr6AJKl9Ub8SaNBHrnHV1J2ABu8YMAlxGg69fLaJC7wk3SQLhFvhduo49H4Q79i3APrwiF+7jDG28IWjc0A+TCDfK7cJP8Idwifwq38YAv4Q79t3APMX6F+3gOnpbTRWrKeqW3xzyx0kmJta33plSjcChmrkttE6c3an1W9Wk7di5TmTWFmpnS6Tw3qrLmoFMX7pyrJlGUiQ9TU2CJKRZIYVCixgoaWxz5XQns1d7/LmbSsu59rzDiPxpeZebMlD6XwLFumFvjzLXGie+MaR0y9hkzBgVp5s9e0jmnoan83oEmpQ+x86cqTBBxZlf50L9e/AFJ71emeJxtTtmOgzAQiymELnR77tH2H/ioKEwhUg42JHv06wuFSn1YP4w9I8tjlrAJO/Y/zowhwQIpMnDkWOIFBUqs8Io1Nthihz0OeMM7PvCJI044p50Wf+U4Kqm81JR1IvZUfjsdDVUmBipmrd3PQxpVPxytatrtJWrdS09kK7KB/Ob58KsC77+i8JT3nbKW/EK6hk/v1hNVLgatLB3m9W6bGyVtzaWwkjT3NDbNRKyVy5QRDRXCNoNf0yWUk/RDoZBfnTNDyvLOQ3g61mDsBtVLWDsAAAA=) format('woff');font-weight:normal;font-style:normal}span[class^='mc-icon-zoom-']:before{color:#fff;text-shadow:1px 1px 3px #000,0 0 2px #000}.mc-isIE9 span[class^='mc-icon-zoom-']:after{color:#000;font-family:'MCIcons';content:'';font-size:33px;float:left;margin:-18px 0 0 1px}li[data-type='Video'] .mc-thumb:before{font-family:MCIcons;content:''}.mc-nav-controls .mc-zoom-exit{background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMCAxMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxjaXJjbGUgZmlsbD0iI0M0MjIyNyIgY3g9IjUwIiBjeT0iNTAiIHI9IjQ4LjYiLz48cGF0aCBkPSJNNzguOCw3My44bC02LjUsNi41Yy0wLjksMC45LTIuMiwxLjMtMy41LDEuM3MtMi41LTAuNi0zLjUtMS4zTDUxLDY2LjFMMzYuNyw4MC40Yy0wLjksMC45LTIuMiwxLjMtMy41LDEuM2MtMS4zLDAtMi41LTAuNi0zLjUtMS4zbC02LjUtNi41Yy0wLjktMC45LTEuMy0yLjItMS4zLTMuNXMwLjYtMi41LDEuMy0zLjVsMTQuNC0xNC40TDIyLjksMzguM2MtMC45LTAuOS0xLjUtMi4yLTEuNS0zLjVzMC42LTIuNSwxLjMtMy41bDYuNS02LjVjMS4zLTAuOSwyLjUtMS4zLDMuNy0xLjNjMS4zLDAsMi41LDAuNiwzLjUsMS4zbDE0LjQsMTQuNWwxNC40LTE0LjRjMC45LTAuOSwyLjItMS4zLDMuNS0xLjNzMi41LDAuNiwzLjUsMS4zbDYuNSw2LjVjMC45LDAuOSwxLjMsMi4yLDEuMywzLjVzLTAuNiwyLjUtMS4zLDMuNUw2NC4xLDUyLjZMNzguNSw2N2MwLjksMC45LDEuMywyLjIsMS4zLDMuNUM4MCw3Miw3OS44LDcyLjksNzguOCw3My44eiIvPjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik03Ny44LDcxLjRsLTYuNSw2LjVjLTAuOSwwLjktMi4yLDEuMy0zLjUsMS4zcy0yLjUtMC42LTMuNS0xLjNMNTAuMSw2My41TDM1LjcsNzcuOWMtMC45LDAuOS0yLjIsMS4zLTMuNSwxLjNjLTEuMywwLTIuNS0wLjYtMy41LTEuM2wtNi41LTYuNWMtMC45LTAuOS0xLjMtMi4yLTEuMy0zLjVzMC42LTIuNSwxLjMtMy41bDE0LjQtMTQuM0wyMiwzNS40Yy0wLjktMC45LTEuMy0yLjItMS4zLTMuNXMwLjYtMi41LDEuMy0zLjVsNi41LTYuNWMwLjktMC45LDIuMi0xLjMsMy41LTEuM2MxLjMsMCwyLjUsMC42LDMuNSwxLjNsMTQuNCwxNC40TDY0LjIsMjJjMC45LTAuOSwyLjItMS4zLDMuNS0xLjNzMi41LDAuNiwzLjUsMS4zbDYuNSw2LjVjMC45LDAuOSwxLjMsMi4yLDEuMywzLjVzLTAuNiwyLjUtMS4zLDMuNUw2My4yLDQ5LjhsMTQuNCwxNC40YzAuOSwwLjksMS4zLDIuMiwxLjMsMy41Qzc5LjQsNjkuMiw3OC44LDcwLjUsNzcuOCw3MS40eiIvPjwvc3ZnPg==') no-repeat center !important}.mc-icon-image:before{font-family:MCIcons;content:''}.mc-icon-video:before{font-family:MCIcons;content:''}.mc-icon-angle-left:before{font-family:MCIcons;content:'';font-size:30px}.mc-icon-angle-right:before{font-family:MCIcons;content:'';font-size:30px}.mc-icon-zoom-in:before{font-family:MCIcons;content:'';font-size:30px}.mc-icon-zoom-out:before{font-family:MCIcons;content:'';font-size:30px}.mc-icon-exit:before{font-family:MCIcons;content:'';font-size:30px}.vjs-icon-play:before,.video-js .vjs-big-play-button:before,.video-js .vjs-play-control:before{font-family:MCIcons;content:''}.vjs-icon-play-circle:before{font-family:MCIcons;content:''}.vjs-icon-pause:before,.video-js .vjs-play-control.vjs-playing:before{font-family:MCIcons;content:''}.vjs-icon-volume-mute:before,.video-js .vjs-mute-control.vjs-vol-0:before,.video-js .vjs-volume-menu-button.vjs-vol-0:before{font-family:MCIcons;content:''}.vjs-icon-volume-low:before,.video-js .vjs-mute-control.vjs-vol-1:before,.video-js .vjs-volume-menu-button.vjs-vol-1:before{font-family:MCIcons;content:''}.vjs-icon-volume-mid:before,.video-js .vjs-mute-control.vjs-vol-2:before,.video-js .vjs-volume-menu-button.vjs-vol-2:before{font-family:MCIcons;content:''}.vjs-icon-volume-high:before,.video-js .vjs-mute-control:before,.video-js .vjs-volume-menu-button:before{font-family:MCIcons;content:''}.vjs-icon-fullscreen-enter:before,.video-js .vjs-fullscreen-control:before{font-family:MCIcons;content:''}.vjs-icon-fullscreen-exit:before,.video-js.vjs-fullscreen .vjs-fullscreen-control:before{font-family:MCIcons;content:''}.vjs-icon-square:before{font-family:MCIcons;content:''}.vjs-icon-spinner:before{font-family:MCIcons;content:''}.vjs-icon-cog:before{font-family:MCIcons;content:''}.vjs-icon-circle:before,.video-js .vjs-mouse-display:before,.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before{font-family:MCIcons;content:''}.vjs-icon-circle-outline:before{font-family:MCIcons;content:''}.vjs-icon-circle-inner-circle:before{font-family:MCIcons;content:''}.vjs-icon-hd:before{font-family:MCIcons;content:''}.vjs-icon-cancel:before,.video-js .vjs-control.vjs-close-button:before{font-family:MCIcons;content:''}.vjs-icon-replay:before{content:''}.vjs-icon-audio:before,.video-js .vjs-audio-button:before{font-family:MCIcons;content:''}",panzoomcfg:{increment:.15,maxScale:4,minScale:.7},videojscfg:{controls:!0,width:"100%",height:"100%",innactivityTimeout:0,nativeControlsForTouch:!1,controlBar:{volumeMenuButton:{inline:!1,vertical:!0}},plugins:{videoJsResolutionSwitcher:{ui:!0,"default":0,dynamicLabel:!0}}}},function(n,t,i){MediaController.TapListener=i(n,t,n.MouseEvent||null,n.TouchEvent||null,n.Touch||null,n.PointerEvent||n.MSPointerEvent||null,n.MSPointerEvent&&!n.PointerEvent)}(window,window.document,function(n,t,i,r,u,f,e){"use strict";function o(n,t,i,r){n[r?"addEventListener":"removeEventListener"](t,i)}var b=150,nt=500,c=50,k=0,d=1,l=2,a=[e?"pointerdown":"MSPointerDown","mousedown","touchstart"],v=[e?"pointermove":"MSPointerMove","mousemove","touchmove"],y=[e?"pointerup":"MSPointerUp","mouseup","touchend"],p=[e?"pointerleave":"MSPointerLeave","mouseleave","touchcancel"],g=["screenX","screenY","pageX","pageY","clientX","clientY"],tt=i.prototype,it=f&&f.prototype,rt=r&&r.prototype,ut=function(){var n=Element.prototype,t=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;return t?function(n,i){return t.call(n,i)}:function(n,t){for(var r=(n.document||n.ownerDocument).querySelectorAll(t),i=r.length;--i>=0&&r.item(i)!==n;);return i>-1}}(),s=function(){function n(n,t,i,r,u,f){var e=this,o;e._native=r;e.time=n;e.typecode=t;e.stage=i;e.id=f;o=t===l;e.X=o?e.clientX:e.pageX;e.Y=o?e.clientY:e.pageY;i===0?(e.startTime=n,e.prevTime=0,e.startX=e.X,e.startY=e.Y,e.prevX=0,e.prevY=0,e.movementX=0,e.movementY=0,e.totalX=0,e.totalY=0,e.maxX=0,e.minX=0,e.maxY=0,e.minY=0):(e.startTime=u.startTime,e.prevTime=u.time,e.startX=u.startX,e.startY=u.startY,e.prevX=u.X,e.prevY=u.Y,e.movementX=e.X-u.X,e.movementY=e.Y-u.Y,e.totalX=e.X-e.startX,e.totalY=e.Y-e.startY,e.maxX=Math.max(u.maxX,e.totalX),e.minX=Math.min(u.minX,e.totalX),e.maxY=Math.max(u.maxY,e.totalY),e.minY=Math.min(u.minY,e.totalY))}var t={spreadX:function(n){return n.maxX-n.minX},spreadY:function(n){return n.maxY-n.minY},bOnlyLeft:function(n){return n.spreadY>0&&n.spreadY<c&&n.maxX<=1},bOnlyRight:function(n){return n.spreadY<c&&n.minX>=-1},bOnlyUp:function(n){return n.spreadX<c&&n.maxY<=1},bOnlyDown:function(n){return n.spreadX<c&&n.minX>=-1}};return Object.keys(t).forEach(function(i){Object.defineProperty(n.prototype,i,{get:function(){return t[i](this)}})}),g.forEach(function(t){Object.defineProperty(n.prototype,t,{get:function(){return this._native[t]}})}),n}(),h=function(){function t(n,t){var i=n.ptA[t],r;return n.ptB?(r=n.ptB[t],i+(r-i)/2):i}function r(n,t){return Math.sqrt(n*n+t*t)}function o(n,t,i,r,u){var h,a,c,f,o,e,v=0,l;if(u){a=u.length;l=Array(a);n:for(h=0;h<a;h++){for(c=u[h],f=0,o=r.changedTouches.length;f<o;f++)if(e=r.changedTouches[f],e.identifier===c.id){l[v++]=new s(n,t,i,e,c,c.id);continue n}for(f=0,o=r.touches.length;f<o;f++)if(e=r.touches[f],e.identifier===c.id){l[v++]=c;continue n}}if(i===0)n:for(f=0,o=r.changedTouches.length;f<o;f++){for(e=r.changedTouches[f],h=0,a=l.length;h<a;h++)if(c=u[h],c.id===e.identifier)continue n;l[v++]=new s(n,t,i,e,null,e.identifier)}}else if(i===0)for(o=r.touches.length,l=Array(o),f=0;f<o&&(e=r.touches[f]);f++)l[v++]=new s(n,t,i,e,null,e.identifier);return l||[]}function h(n,t,i,r,u){var e=Array(u?u.length:1),h=0,c=!1,o,l,f;if(u)for(o=0,l=u.length;o<l&&(f=u[o]);o++)f.id===r.pointerId?(c=!0,e[h++]=new s(n,t,i,r,f,f.id)):e[h++]=f;return i!==0||c||(e[h++]=new s(n,t,i,r,null,r.pointerId)),e}function i(n,i,u,f,c){var a=this,v;a.event=u;a.typecode=n;a.prevFinished=null;!c&&f&&(c=f.prevFinished);c&&c.typecode===n&&(a.prevFinished=c,c.prevFinished&&(c.prevFinished.prevFinished=null));v=u&&u.timeStamp||e();n===l?a.points=o(v,n,i,u,f&&f.points):n===k?a.points=h(v,n,i,u,f&&f.points):n===d&&(a.points=[new s(v,n,i,u,f&&f.points[0],0)]);var w=a.ptA=a.points.length>0?a.points[0]:null,p=a.ptB=a.points.length>1?a.points[1]:null,y=i===0;a.X=t(a,"X");a.Y=t(a,"Y");f?(a.startX=y?t(a,"startX"):f.startX,a.startY=y?t(a,"startY"):f.startY,a.prevX=y?t(a,"prevX"):f.X,a.prevY=y?t(a,"prevY"):f.Y):(a.startX=a.X,a.startY=a.Y,a.prevX=a.X,a.prevY=a.Y);a.movementX=a.X-a.prevX;a.movementY=a.Y-a.prevY;a.movementDistance=r(a.movementX,a.movementY);p?(a.pinchDistanceX=w.X-p.X,a.pinchDistanceY=w.Y-p.Y,a.pinchDistance=r(a.pinchDistanceX,a.pinchDistanceY),a.pinchPrevDistance=f&&f.ptB?f.pinchDistance:a.pinchDistance,a.pinchStartDistance=f&&f.ptB?f.pinchStartDistance:a.pinchDistance,a.pinchMoveDistance=a.pinchDistance-a.pinchPrevDistance):(a.pinchDistanceX=0,a.pinchDistanceY=0,a.pinchDistance=0,a.pinchPrevDistance=0,a.pinchStartDistance=0,a.pinchMoveDistance=0)}var e=n.performance&&n.performance.now?function(){return n.performance.now()}:Date.now,u={time:function(n){return n.ptB?Math.max(n.ptA.time,n.ptB.time):n.ptA.time},prevTime:function(n){return n.ptB?Math.max(n.ptA.prevTime,n.ptB.prevTime):n.ptA.prevTime},startTime:function(n){return n.ptB?Math.min(n.ptA.startTime,n.ptB.startTime):n.ptA.startTime},movementTime:function(n){return n.time-n.prevTime},totalTime:function(n){return n.time-n.startTime},totalDistanceX:function(n){return n.X-n.startX},totalDistanceY:function(n){return n.Y-n.startY},totalDistance:function(n){return r(n.totalDistanceX,n.totalDistanceY)},pinchPrevDistanceX:function(n){return n.ptB?n.ptA.prevX-n.ptB.prevX:0},pinchPrevDistanceY:function(n){return n.ptB?n.ptA.prevY-n.ptB.prevY:0},pinchStartDistanceX:function(n){return n.ptB?n.ptA.startX-n.ptB.startX:0},pinchStartDistanceY:function(n){return n.ptB?n.ptA.startY-n.ptB.startY:0},pinchMoveDistanceX:function(n){return n.pinchDistanceX-n.pinchPrevDistanceX},pinchMoveDistanceY:function(n){return n.pinchDistanceY-n.pinchPrevDistanceY},pinchTotalDistanceX:function(n){return n.pinchDistanceX-n.pinchStartDistanceX},pinchTotalDistanceY:function(n){return n.pinchDistanceY-n.pinchStartDistanceY},pinchTotalDistance:function(n){return n.pinchDistance-n.pinchStartDistance},bOnlyLeft:function(n){return n.ptB?n.ptA.bOnlyLeft&&n.ptB.bOnlyLeft:n.ptA.bOnlyLeft},bOnlyRight:function(n){return n.ptB?n.ptA.bOnlyRight&&n.ptB.bOnlyRight:n.ptA.bOnlyRight},bOnlyUp:function(n){return n.ptB?n.ptA.bOnlyUp&&n.ptB.bOnlyUp:n.ptA.bOnlyUp},bOnlyDown:function(n){return n.ptB?n.ptA.bOnlyDown&&n.ptB.bOnlyDown:n.ptA.bOnlyDown}},f={findMatch:function(n){for(var t=this.event.target||this.event.srcElement;t;){if(ut(t,n))return t;t=t.parentElement}return null}};return Object.keys(u).forEach(function(n){Object.defineProperty(i.prototype,n,{get:function(){return u[n](this)}})}),g.forEach(function(n){Object.defineProperty(i.prototype,n,{get:function(){return t(this,n)}})}),Object.keys(f).forEach(function(n){i.prototype[n]=f[n]}),i}(),w=function(){function r(n){var t=Object.getPrototypeOf(n);return t===tt?d:t===rt?l:t===it?k:-1}function i(n,i,r){var f=v[i],e=y[i],s=p[i],u=i===l?n.elem:t;o(u,f,n._handleMove,r);o(u,e,n._handleEnd,r);o(u,s,n._handleEnd,r)}function n(n,t,i){return n[t]?(n[t].call(n.context,i,n.current),!0):!1}return{start:function(t,u){if(t.disable===!1){var f=r(u);t.current?t.current.typecode===f&&(t.current=new h(f,0,u,t.current,t.finished)):(t.current=new h(f,0,u,null,t.finished),i(t,f,!0),n(t,"tapStart",u))}},move:function(t,u){var f,e;if(t.disable===!1){if(f=r(u),t.current.typecode!==f){i(t,f,!1);return}e=t.current=new h(f,1,u,t.current);n(t,"tapMove",u);t.disablePinch||e.pinchMoveDistance===0||n(t,"pinch",u);t.disablePan||e.movementDistance===0||n(t,"pan",u)}},end:function(t,u){var e,f,o,s,c;if(t.disable===!1){if(e=r(u),t.current.typecode!==e){i(t,e,!1);return}f=t.current=new h(e,2,u,t.current);f.ptB?(t.disablePinch||f.pinchMoveDistance===0||n(t,"pinch",u),t.disablePan||f.movementDistance===0||n(t,"pan",u)):(o=!1,!t.disableSwipe&&f.totalTime<nt&&(Math.abs(f.totalDistanceX)>b?f.bOnlyLeft?o=n(t,"swipeLeft",u):f.bOnlyRight&&(o=n(t,"swipeRight",u)):Math.abs(f.totalDistanceY)>b&&(f.bOnlyUp?o=n(t,"swipeUp",u):f.bOnlyDown&&(o=n(t,"swipeDown",u)))),t.disablePan||o||f.movementDistance===0||n(t,"pan",f,u));s=!f.ptA||f.ptA.stage===2;c=!f.ptB||f.ptB.stage===2;(s||c)&&(s&&c&&(n(t,"tapEnd",u),i(t,e,!1)),t.finished&&(t.finished.elem=t.finished.event=t.finished.prevTapEvent=null),t.finished=f,t.current=null,s&&c||(t.current=new h(e,0,u,null,t.finished)))}}}}();return function(){function n(n,t,i){var r=this;r.elem=n;r.finished=null;r.current=null;r.disable=!1;r.disablePan=!1;r.disablePinch=!1;r.disableSwipe=!1;r._handleStart=function(n){return w.start(r,n)};r._handleMove=function(n){return w.move(r,n)};r._handleEnd=function(n){return w.end(r,n)};r.tapStart=t.tapStart;r.tapMove=t.tapMove;r.tapEnd=t.tapEnd;r.pinch=t.pinch;r.pan=t.pan;r.swipeLeft=t.swipeLeft;r.swipeRight=t.swipeRight;r.swipeUp=t.swipeUp;r.swipeDown=t.swipeDown;r.context=i;Object.assign(r,t)}return n.prototype=function(){return{attach:function(){var n=this,t=n.elem,i=n._handleStart;return o(t,a[0],i,!0),o(t,a[1],i,!0),o(t,a[2],i,!0),n},detach:function(){for(var n=this,r=n.elem,f=n._handleMove,u=n._handleEnd,i=0;i<3;i++)o(r,a[i],n._handleStart,!1),o(r,v[i],f,!1),o(r,y[i],u,!1),o(r,p[i],u,!1),o(t,v[i],f,!1),o(t,y[i],u,!1),o(t,p[i],u,!1);return n.ended&&(n.ended=n.ended.elem=n.ended.event=n.ended.prevTapEvent=null),n.current&&(n.current=n.current.elem=n.current.event=n.current.prevTapEvent=null),n}}}(),n}()}),function(n){n(window,window.document,window.videojs,window.MediaController)}(function(n,t,i,r){"use strict";function o(){var n=t.createElement("div"),i;return n.className="mc-btn mc-btn-play",i=t.createElement("span"),i.className="mc-icon-video",n.appendChild(i),n}var e=i.getComponent("BigPlayButton"),u,f;i.registerComponent("BigPlayButton",i.extend(e,{constructor:function(n,t,i){t.el=o();e.call(this,n,t,i);n.on("pause",this.handlePause.bind(this));n.on("play",this.handlePlay.bind(this))},handleClick:function(){this.player_.play()},handlePlay:function(){this.hide()},handlePause:function(){this.show()}}));u=i.getComponent("FullscreenToggle");i.registerComponent("FullscreenToggle",i.extend(u,{constructor:function(n,t,i){u.call(this,n,t,i)},handleClick:function(n){r._updateIFrameTop(n);this.player_.trigger("fullscreenClick")}}));f=i.getComponent("Player");i.registerComponent("Player",i.extend(f,{constructor:function(n,t,i){this._mcitem=n._mcitem;this._mcitem._vidErrCount=0;var r=this;f.call(this,n,t,function(){r._mcitem.$mediaItem.removeClass("mc-item-loading");r.preload("metadata");r.player_.addClass("vjs-has-started");i&&i()});this.on("loadedmetadata",this.myHandleLoadMetadata);this.on("resolutionchange",this.myHandleLoadMetadata);this.on("play",this.myHandlePlay);this.on("pause",this.myHandlePause);this.on("fullscreenClick",this.myHandleFullscreenToggle);this.on("useractive",this.myHandleUserActive);this.on("userinactive",this.myHandleUserInactive)},myHandleLoadMetadata:function(){this.player_.addClass("vjs-has-started");this.trigger("timeupdate")},myHandlePlay:function(){var n=this._mcitem.media,t=n.prevItem.vjs;n.$elem.removeClass("mc-video-paused").addClass("mc-video-playing");t&&t.suspendBuffering()},myHandlePause:function(){this._mcitem.media.$elem.removeClass("mc-video-playing").addClass("mc-video-paused")},myHandleFullscreenToggle:function(){this._mcitem.media.toggleWindowState()},myHandleUserActive:function(){this._mcitem.media.$elem.removeClass("mc-user-inactive").addClass("mc-user-active")},myHandleUserInactive:function(){this._mcitem.media.$elem.removeClass("mc-user-active").addClass("mc-user-inactive")},handleTechError_:function(){var i=this.tech_.error(),t,r;i.code===i.MEDIA_ERR_SRC_NOT_SUPPORTED&&this.tech_.el_.src===n.location.href?(this.error(null),t=this._mcitem,r=this.currentSources,r.length>t._vidErrCount?this.src(this.currentSources[t._vidErrCount]):t.media.update(),t._vidErrCount++):this.error(i)},suspendBuffering:function(){if(r.isAppleMobileDevice){var n=this.bufferedPercent();n<.8&&(this.suspendState||(this.suspendState={src:this.tech_.el_.src,resolution:this.currentResolution(),time:this.currentTime()}),this.tech_.el_.src="")}},resumeBuffering:function(){if(this.suspendState){this.resolution&&this.resolution.label?this.currentResolution(this.resolution.label):this.src(this.suspendState.src);var n=this.suspendState.time;this.currentTime(n);this.handleTechSeeked_();this.one("loadedmetadata",function(){this.currentTime(n)});this.suspendState=null}}}))}),function(n,t,i,r){i.PanzoomAdapter=r(n,t,i)}(window,window.document,window.MediaController,function(n,t,i){"use strict";function o(n,t,i,r,u,f,e,o){var s=MediaController.windowWidth,h=MediaController.windowHeight,b=s-i,k=h-r,c,l,d=b<k,a,v,p,w;d?(c=t/(n.width/(i>s?s:i)),l=t/(n.height/(r>h?h:r))):(c=t/(n.height/(r>h?h:r)),l=t/(n.width/(i>s?s:i)));var g=u*c,nt=f*l,y=o;return e&&(a=Math.sqrt(s*s+h*h),v=(a+e)/a-1,y+=t>1?v*(t+t):v*2),p=y+t,w=Math.min(nt,Math.max(g,p)),w}function r(n,t,u,e){var o=this;return o.cfg=Object.assign({},r.defaults,u),o.container=n,o.img=t,o.cb={loadImg:e.loadImg,swipeLeft:e.swipeLeft,swipeRight:e.swipeRight},o.naturalWidth=t.naturalWidth,o.naturalHeight=t.naturalHeight,o.matrix=[],o.moveX=0,o.moveY=0,o.moveZ=0,o.scaleZ=0,o._bEnabled=!1,o._bActive=!1,o._bAttached=!1,o._tapListener=new i.TapListener(o.container,f,o),o._handleWheel=function(n){f.wheel.call(o,n)},o.animate=s(o),this}var u=function(){function i(n,t,i,r,u){return n=n|0,t=t|0,i=i|0,r=r|0,t<=0&&i<=0||(r>0?i>0?n-=i+u:t>0&&(n+=t+u):i<0?n-=i+u:t<0&&(n+=t+u)),n}function n(t,i,r){return r[4]=n.X(t,i,r[4]),r[5]=n.Y(t,i,r[5]),r}var t=3;return n.X=function(n,r,u){return i(u,n.left-r.left,r.right-n.right,n.width-r.width,t)},n.Y=function(n,r,u){return i(u,n.top-r.top,r.bottom-n.bottom,n.height-r.height,t)},n}(),e=function(){function t(t,i,r,u){return i<=n&&r<=n?t+u:i>=-n&&u<=0?t-Math.min(i+n,-u):r>=-n&&u>=0?t-Math.min(r+n,-u):t}var n=50;return function(n,i,r,u,f){return r[4]=t(r[4],i.left,n.right-i.right,u),r[5]=t(r[5],i.top,n.bottom-i.bottom,f),r}}(),s=function(){function t(n,t){var r=n.matrix=t;n.img.style[i.css.transform]="matrix("+r[0]+", "+r[1]+", "+r[2]+", "+r[3]+", "+r[4]+", "+r[5]+")"}function r(n){var i=u(n.container.getBoundingClientRect(),n.img.getBoundingClientRect(),n.matrix);n.bActive=!1;t(n,i)}function f(n){var i=n.pz;clearTimeout(n.timer);var s=i.container.getBoundingClientRect(),f=i.img.getBoundingClientRect(),r=i.matrix;r[0]=r[3]=o(f,r[0],i.naturalWidth,i.naturalHeight,i.cfg.minScale,i.cfg.maxScale,i.moveZ,i.scaleZ);r=e(s,f,r,i.moveX,i.moveY);t(i,r);i.moveX=i.moveY=i.moveZ=i.scaleZ=0;n.bFixContainNow&&(t(i,u(i.container.getBoundingClientRect(),i.img.getBoundingClientRect(),i.matrix)),n.bFixContainNow=!1);n.bFixContainment&&(n.timer=setTimeout(n.fixContainment,200),n.bFixContainment=!1);n.bGuard=!1}function s(t,i,r){i!=null&&(t.bFixContainment=i);r!=null&&(t.bFixContainNow=r);t.bGuard===!1&&(t.bGuard=!0,t.pz.bActive=!0,n.requestAnimationFrame?n.requestAnimationFrame(t.runAnimation):n.setTimeout(t.runAnimation,0))}return function(n){var t={pz:n,bGuard:!1,timer:0,bFixContainment:!1,bFixContainNow:!1};return t.runAnimation=function(){f(t)},t.fixContainment=function(){r(n)},t.fn=function(n,i){s(t,n,i)},t.fn.deltaX=0,t.fn}}(),f={tapStart:function(n){n.preventDefault();n.stopPropagation();this.bActive=!0},tapMove:function(n){n.preventDefault();n.stopPropagation()},tapEnd:function(n){n.preventDefault();n.stopPropagation();this.animate(!0)},resize:function(){this.animate(!0)},pinch:function(n,t){this.moveZ+=t.pinchMoveDistance;this.animate(!1,!1)},pan:function(n,t){this.moveX+=t.movementX;this.moveY+=t.movementY;this.animate(!1)},swipeLeft:function(){},swipeRight:function(){},wheel:function(n){n.preventDefault();n.stopPropagation();this.zoom(n.deltaY>0)}};return r.defaults={increment:.25,minScale:.75,maxScale:5},Object.assign(r.prototype,{pan:function(n,t){this.disablePan||(this.moveX+=n,this.moveY+=t,this.animate(!0))},zoom:function(n){this.disableZoom||(typeof n!="number"&&(n=this.scale>1?Math.sqrt(this.scale,2)*this.cfg.increment*(n?-1:1):this.cfg.increment*(n?-1:1)),this.scaleZ=n,this.animate(!0,!0))}}),Object.defineProperties(r.prototype,{scale:{get:function(){return this.matrix[0]}},relativeScale:{get:function(){return this.matrix[0]}},disablePan:{get:function(){return this._tapListener.disablePan},set:function(n){this._tapListener.disablePan=n}},disableZoom:{get:function(){return this._tapListener.disableZoom},set:function(n){this._tapListener.disableZoom=n}},bActive:{get:function(){return this._bActive},set:function(n){this._bActive!==n&&(this._bActive=n?!0:!1,i.toggleClass(this.img,"pz-idle",!i.toggleClass(this.img,"pz-active",this._bActive)))}},bEnabled:{get:function(){return this._bEnabled},set:function(n){this._bEnabled!=n&&(n?(this._bEnabled=!0,this.bActive=!1,i.toggleClass(this.img,"mc-pz",!0)):(this._bEnabled=!1,this.img.style[i.css.transform]="",i.toggleClass(this.img,"mc-pz",!1)))}},bAttached:{get:function(){return this._bAttached},set:function(){function n(n,t){n.naturalWidth=t[0].naturalWidth;n.naturalHeight=t[0].naturalHeight;n.matrix=[1,0,0,1,0,0];t.attr({width:n.naturalWidth,height:n.naturalHeight});n.bEnabled=!0;n._tapListener.attach();n.container.addEventListener("wheel",n._handleWheel)}return function(t){var i=this;t!=i._bAttached&&(t?(i._bAttached=!0,i.cb.loadImg(function(t){n(i,t)})):(i._bAttached=!1,i.bEnabled=!1,i._tapListener.detach(),i.container.removeEventListener("wheel",i._handleWheel)))}}()}}),function(n){var i={loadImg:function(t){n.loadFullImg(t)},swipeLeft:function(){n.media._handleMove(1)},swipeRight:function(){n.media._handleMove(-1)}},t=new r(n.$mediaItem[0],n.$fullImg[0],n.media.settings.panzoomcfg,i);this.attach=function(){t.bAttached=!0};this.detach=function(){t.bAttached=!1};this.reset=function(){t.bAttached=!1;t.bAttached=!0};this.zoom=function(n){t.zoom(n)};this.pan=function(n,i){t.pan(n,i)}}})