function GetOutstreamPlayer(n){var t=$("#AAVideoOutstream"),r=null,u,i,f={adTagUrl:n.adTagUrl};return i=window.OX_ISCONTENT!=undefined&&window.OX_ISCONTENT===!0,u=i?n.ignoreParaCount||GetParagraphCount(window.OX_PAGECODE)>=2:!0,u&&t.length>0&&setTimeout(function(){try{r=t.AAVideo({events:{ViewablePlay:!0,HideOnStart:!0,AdOnly:!0,MouseoverMutedToggle:!0,AutoDestoryAtEnd:!0},adMode:n.isGoogleAd?"IMA":n.isAAAd?"AAAD":"",adOption:f,adtimeout:n.adTimeout,width:n.width,height:n.height});var e="#"+t.attr("id"),u={},o="";t.css("visibility","hidden");u[e+"-con"]="width: "+n.width+"px;";u[e+"-con"]+="margin: auto;";u[e+" .video-js"]="width: "+n.width+"px !important;";u[e+" .video-js"]+="height: "+n.height+"px !important;";u[e+" .video-js.vjs-fullscreen"]="width: 100% !important;";u[e+" .video-js.vjs-fullscreen"]+="height: 100% !important;";i&&(u[e+'[style*="visibility: visible"]:not([style*="height: 0px"])']="margin: 15px auto;");$.each(u,function(n,t){o+=n+"{"+t+"} "});$("").html(o).insertBefore(t)}catch(s){}},0),r}function GetParagraphCount(n){var i=0,t;if(n!=undefined){t=$("#spanContent > span");t=$("").html(t.html().replace(/(\
\s*)+/g,"
").replace(/(\
(\ \;)*\s*<\/div\>\s*)+/g,"
<\/div>"));switch(n){case"Stock_News_AAFN_Content":case"Stock_Analysis_StockIndividualAAFN_Content":i=t.find("> p > br").length+1;break;case"Stock_News_AAMM_Content":case"Stock_Analysis_StockIndividualAAMM_Content":i=t.find("> br").length+1;break;case"Stock_Analysis_ChinaHotNews_Content":i=t.find("> br").length>0?t.find("> br").length-2:t.find("> p > br").length-2;break;case"Stock_News_CommentaryCenter_StockCommentaryContent":i=t.find("> div").filter(function(n,t){return $(t).text().trim().length==0}).length+1}}return i}(function(n){if(typeof exports=="object"&&typeof module!="undefined")module.exports=n();else if(typeof define=="function"&&define.amd)define([],n);else{var t;t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this;t.videojs=n()}})(function(){var n;return function t(n,i,r){function f(u,o){var h,c,s;if(!i[u]){if(!n[u]){if(h=typeof require=="function"&&require,!o&&h)return h(u,!0);if(e)return e(u,!0);c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[u]={exports:{}};n[u][0].call(s.exports,function(t){var i=n[u][1][t];return f(i?i:t)},s,s.exports,t,n,i,r)}return i[u].exports}for(var e=typeof require=="function"&&require,u=0;u
0&&arguments[0]!==undefined?arguments[0]:"button",n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},f;return n=r.assign({className:this.buildCSSClass()},n),i!=="button"&&(o["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),f=u["default"].prototype.createEl.call(this,i,n,t),this.createControlTextEl(f),f},t.prototype.addChild=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=this.constructor.name;return o["default"].warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),u["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){t.which!==32&&t.which!==13&&n.prototype.handleKeyPress.call(this,t)},t}(h["default"]);u["default"].registerComponent("Button",e);i["default"]=e},{"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={},n!=null)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 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&&(typeof t=="object"||typeof t=="function")?t:n}function nt(n,t){if(typeof t!="function"&&t!==null)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;i.__esModule=!0;var l=n(5),e=u(l),a=n(81),v=r(a),y=n(82),o=r(y),p=n(83),s=r(p),w=n(86),b=u(w),k=n(94),h=u(k),c=n(88);f=function(n){function t(i,r){d(this,t);var u=g(this,n.call(this,i,r));return u.emitTapEvents(),u.enable(),u}return nt(t,n),t.prototype.createEl=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"div",t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},u;return t=c.assign({className:this.buildCSSClass(),tabIndex:0},t),i==="button"&&b["default"].error("Creating a ClickableComponent with an HTML element of "+i+" is not supported; use a Button instead."),r=c.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_=v.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&&arguments[1]!==undefined?arguments[1]:this.el(),t;return n?(t=this.localize(n),this.controlText_=n,this.controlTextEl_.innerHTML=t,this.nonIconControl||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(){this.removeClass("vjs-disabled");this.el_.setAttribute("aria-disabled","false");typeof this.tabIndex_!="undefined"&&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);return this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),typeof this.tabIndex_!="undefined"&&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(){o.on(h["default"],"keydown",s.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){t.which===32||t.which===13?(t.preventDefault(),this.handleClick(t)):n.prototype.handleKeyPress&&n.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(){o.off(h["default"],"keydown",s.bind(this,this.handleKeyPress))},t}(e["default"]);e["default"].registerComponent("ClickableComponent",f);i["default"]=f},{"5":5,"81":81,"82":82,"83":83,"86":86,"88":88,"94":94}],4:[function(n,t,i){"use strict";function u(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&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)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 f=n(2),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));return u.controlText(r&&r.controlText||u.localize("Close")),u}return l(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}(e["default"]);s["default"].registerComponent("CloseButton",r);i["default"]=r},{"2":2,"5":5}],5:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n){return n&&n.__esModule?n:{"default":n}}function tt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var l;i.__esModule=!0;var v=n(95),u=c(v),y=n(81),r=h(y),p=n(83),f=h(p),w=n(85),b=h(w),k=n(82),e=h(k),d=n(86),s=c(d),g=n(91),o=c(g),nt=n(87),a=c(nt);l=function(){function n(t,i,r){if(tt(this,n),this.player_=!t&&this.play?t=this:t,this.options_=a["default"]({},this.options_),i=this.options_=a["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_"+b.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(s["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),!n)?this.options_:(this.options_=a["default"](this.options_,n),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&&arguments[1]!==undefined?arguments[1]:{},h=arguments.length>2&&arguments[2]!==undefined?arguments[2]:this.children_.length,i=void 0,u=void 0,e,f,c,l;if(typeof t=="string"){if(u=o["default"](t),r||(r={}),r===!0&&(s["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(typeof f!="function")return null;i=new f(this.player_||this,r)}else i=t;return this.children_.splice(h,0,i),typeof i.id=="function"&&(this.childIndex_[i.id()]=i),u=u||i.name&&o["default"](i.name()),u&&(this.childNameIndex_[u]=i),typeof i.el=="function"&&i.el()&&(c=this.contentEl().children,l=c[h]||null,this.contentEl().insertBefore(i.el(),l)),i},n.prototype.removeChild=function(n){var i,t,r;if(typeof n=="string"&&(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 i=this,t=this.options_.children;if(t){var u=this.options_,f=function(n){var r=n.name,t=n.opts,f;(u[r]!==undefined&&(t=u[r]),t!==!1)&&(t===!0&&(t={}),t.playerOptions=i.options_.playerOptions,f=i.addChild(r,t),f&&(i[r]=f))},r=void 0,e=n.getComponent("Tech");r=Array.isArray(t)?t:Object.keys(t);r.concat(Object.keys(this.options_).filter(function(n){return!r.some(function(t){return typeof t=="string"?n===t:n===t.name})})).map(function(n){var r=void 0,u=void 0;return typeof n=="string"?(r=n,u=t[r]||i.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 c=this,o;if(typeof n=="string"||Array.isArray(n))e.on(this.el_,n,f.bind(this,t));else{var r=n,s=t,u=f.bind(this,i),h=function(){return c.off(r,s,u)};h.guid=u.guid;this.on("dispose",h);if(o=function(){return c.off("dispose",h)},o.guid=u.guid,n.nodeName){e.on(r,s,u);e.on(r,"dispose",o)}else if(typeof n.on=="function"){r.on(s,u);r.on("dispose",o)}}return this},n.prototype.off=function(n,t,i){if(!n||typeof n=="string"||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 h=this,c=arguments;if(typeof n=="string"||Array.isArray(n))e.one(this.el_,n,f.bind(this,t));else{var u=n,o=t,s=f.bind(this,i),r=function r(){h.off(u,o,r);s.apply(null,c)};r.guid=s.guid;this.on(u,o,r)}return 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&&arguments[1]!==undefined?arguments[1]:!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(t!==undefined)return(t===null||t!==t)&&(t=0),this.el_.style[n]=(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?t:t==="auto"?"":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(n!=="width"&&n!=="height")throw new Error("currentDimension only accepts width or height value");return typeof u["default"].getComputedStyle=="function"&&(i=u["default"].getComputedStyle(this.el_),t=i.getPropertyValue(n)||i[n]),t=parseFloat(t),t===0&&(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.focus=function(){this.el_.focus()},n.prototype.blur=function(){this.el_.blur()},n.prototype.emitTapEvents=function(){var r=0,n=null,u=10,f=200,t=void 0,i;this.on("touchstart",function(i){i.touches.length===1&&(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;u0&&Object.keys(r.players).map(function(n){return r.players[n]}).every(Boolean))throw new Error("Can not register Player component after player has been created");}return 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]?(s["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||{};s["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}();l.registerComponent("Component",l);i["default"]=l},{"81":81,"82":82,"83":83,"85":85,"86":86,"87":87,"91":91,"95":95}],6:[function(n,t,i){"use strict";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&&(typeof t=="object"||typeof t=="function")?t:n}function v(n,t){if(typeof t!="function"&&t!==null)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 f=n(36),e=u(f),o=n(5),s=u(o),h=n(7),c=u(h);r=function(n){function t(i){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r;return l(this,t),u.tracks=i.audioTracks&&i.audioTracks(),r=a(this,n.call(this,i,u)),r.el_.setAttribute("aria-label","Audio Menu"),r}return v(t,n),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+n.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],n,t,r;if(this.hideThreshold_=1,n=this.player_.audioTracks&&this.player_.audioTracks(),!n)return i;for(t=0;t'+this.localize("Stream Type")+"<\/span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateShowing=function(){this.player().duration()===Infinity?this.show():this.hide()},t}(u["default"]);u["default"].registerComponent("LiveDisplay",r);i["default"]=r},{"5":5,"81":81}],11:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)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 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&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)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 e=n(2),o=f(e),s=n(5),h=f(s),c=n(81),u=l(c);r=function(n){function t(i,r){a(this,t);var u=v(this,n.call(this,i,r));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")});return u}return y(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()?!1:!0)},t.prototype.update=function(){var i=this.player_.volume(),n=3,r,t;for(i===0||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++)u.removeElClass(this.el_,"vjs-vol-"+t);u.addElClass(this.el_,"vjs-vol-"+n)},t}(o["default"]);r.prototype.controlText_="Mute";h["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 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&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)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 f=n(2),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));u.on(i,"play",u.handlePlay);u.on(i,"pause",u.handlePause);return u}return l(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}(e["default"]);r.prototype.controlText_="Play";s["default"].registerComponent("PlayToggle",r);i["default"]=r},{"2":2,"5":5}],13:[function(n,t,i){"use strict";function p(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)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 w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function k(n,t){if(typeof t!="function"&&t!==null)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 u;i.__esModule=!0;var f=n(47),e=r(f),o=n(49),s=r(o),h=n(14),c=r(h),l=n(5),a=r(l),v=n(81),y=p(v);u=function(n){function t(i,r){w(this,t);var u=b(this,n.call(this,i,r));u.updateVisibility();u.updateLabel();u.on(i,"loadstart",u.updateVisibility);u.on(i,"ratechange",u.updateLabel);return u}return k(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelEl_=y.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 s["default"](this.player()),t=this.playbackRates(),n;if(t)for(n=t.length-1;n>=0;n--)i.addChild(new c["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(),t=this.playbackRates(),i=t[0],n=0;nr){i=t[n];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}(e["default"]);u.prototype.controlText_="Playback Rate";a["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 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&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)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 f=n(48),e=u(f),o=n(5),s=u(o);r=function(n){function t(i,r){var f,e,u;h(this,t);f=r.rate;e=parseFloat(f,10);r.label=f;r.selected=e===1;r.selectable=!0;u=c(this,n.call(this,i,r));u.label=f;u.rate=e;u.on(i,"ratechange",u.update);return u}return l(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}(e["default"]);r.prototype.contentElType="button";s["default"].registerComponent("PlaybackRateMenuItem",r);i["default"]=r},{"48":48,"5":5}],15:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)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 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&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)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 f=n(5),u=h(f),e=n(81),o=s(e);r=function(n){function t(i,r){c(this,t);var u=l(this,n.call(this,i,r));u.partEls_=[];u.on(i,"progress",u.update);return u}return a(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:''+this.localize("Loaded")+"<\/span>: 0%<\/span>"})},t.prototype.update=function(){var t=this.player_.buffered(),h=this.player_.duration(),f=this.player_.bufferedEnd(),i=this.partEls_,e=function(n,t){var i=n/t||0;return(i>=1?1:i)*100+"%"},n,u;for(this.el_.style.width=e(f,h),n=0;nt.length;u--)this.el_.removeChild(i[u-1]);i.length=t.length},t}(u["default"]);u["default"].registerComponent("LoadProgressBar",r);i["default"]=r},{"5":5,"81":81}],16:[function(n,t,i){"use strict";function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)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 w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function k(n,t){if(typeof t!="function"&&t!==null)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(5),o=f(c),l=n(81),r=h(l),a=n(83),s=h(a),v=n(84),y=f(v),p=n(80),u=f(p);e=function(n){function t(i,u){w(this,t);var f=b(this,n.call(this,i,u));u.playerOptions&&u.playerOptions.controlBar&&u.playerOptions.controlBar.progressControl&&u.playerOptions.controlBar.progressControl.keepTooltipsInside&&(f.keepTooltipsInside=u.playerOptions.controlBar.progressControl.keepTooltipsInside);f.keepTooltipsInside&&(f.tooltip=r.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))});return f}return k(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,u=n.pageX-r.findElPosition(this.el().parentNode).left;this.update(i,u)},t.prototype.update=function(n,t){var i=y["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),f=t-r+1,e=parseFloat(u["default"](this.tooltip,"width")),o=e/2;this.tooltip.innerHTML=i;this.tooltip.style.right="-"+(o-f)+"px"}},t.prototype.calculateDistance=function(n){return r.getPointerPosition(this.el().parentNode,n).x},t.prototype.clampPosition_=function(n){if(!this.keepTooltipsInside)return n;var r=parseFloat(u["default"](this.player().el(),"width")),f=parseFloat(u["default"](this.tooltip,"width")),t=f/2,i=n;return nr-t&&(i=Math.floor(r-t)),i},t}(o["default"]);o["default"].registerComponent("MouseTimeDisplay",e);i["default"]=e},{"5":5,"80":80,"81":81,"83":83,"84":84}],17:[function(n,t,i){"use strict";function l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)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 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&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)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 e=n(5),u=f(e),o=n(83),s=l(o),h=n(84),c=f(h);r=function(n){function t(i,r){a(this,t);var u=v(this,n.call(this,i,r));u.updateDataAttr();u.on(i,"timeupdate",u.updateDataAttr);return i.ready(s.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 y(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:''+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",c["default"](n,this.player_.duration()))},t}(u["default"]);u["default"].registerComponent("PlayProgressBar",r);i["default"]=r},{"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&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)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 p(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)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 w(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function b(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function k(n,t){if(typeof t!="function"&&t!==null)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 e=n(57),o=u(e),s=n(5),h=u(s),c=n(83),l=p(c),a=n(84),v=u(a),y=n(80),f=u(y);n(15);n(17);n(20);r=function(n){function t(i,r){w(this,t);var u=b(this,n.call(this,i,r));u.on(i,"timeupdate",u.updateProgress);u.on(i,"ended",u.updateProgress);return i.ready(l.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 k(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",(this.getPercent()*100).toFixed(2));n.setAttribute("aria-valuetext",v["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){this.player_.scrubbing(!0);this.videoWasPlaying=!this.player_.paused();this.player_.pause();n.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(n){var t=this.calculateDistance(n)*this.player_.duration();t===this.player_.duration()&&(t=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}(o["default"]);r.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"};r.prototype.playerEvent="timeupdate";h["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 l(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)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 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&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)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 e=n(5),u=f(e),o=n(83),s=l(o),h=n(84),c=f(h);r=function(n){function t(i,r){a(this,t);var u=v(this,n.call(this,i,r));u.updateDataAttr();u.on(i,"timeupdate",u.updateDataAttr);return i.ready(s.bind(u,u.updateDataAttr)),u}return y(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'